WebVOWL icon indicating copy to clipboard operation
WebVOWL copied to clipboard

Subproperty hierarchy not visualized

Open wouterbeek opened this issue 5 years ago • 1 comments

Whenever a dataset contains a subproperty hierarchy, WebVOWL seems unable to visualize this. While this could be thought of a feature, subproperty hierarchies are very common in Linked Data, and display support is part of the VOWL specification (http://vowl.visualdataweb.org/v2/).

Here is a minimal Turtle snippet that illustrates the problem. (To ensure that we do not run into #172, I have added basis assertions for :From and :To.)

prefix : <https://example.com/>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

:child
  rdfs:subPropertyOf :parent.

:parent
  rdfs:domain :From;
  rdfs:range :To.

:From
  a owl:Class;
  rdfs:label "From"@en.

:To
  a owl:Class;
  rdfs:label "To"@en.

The child property is visualized in isolation from the parent property, and in isolation from the domain and range classes:

Screenshot from 2020-08-05 19-24-17

wouterbeek avatar Aug 05 '20 17:08 wouterbeek

@vitalis-wiens Can I work on this issue?

nandikajain avatar May 09 '22 10:05 nandikajain