Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subproperty hierarchy not visualized #173

Open
wouterbeek opened this issue Aug 5, 2020 · 1 comment
Open

Subproperty hierarchy not visualized #173

wouterbeek opened this issue Aug 5, 2020 · 1 comment

Comments

@wouterbeek
Copy link

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 wouterbeek changed the title Subproperty hierarchy breaks visualization Subproperty hierarchy not visualized Aug 5, 2020
@nandikajain
Copy link
Contributor

@vitalis-wiens Can I work on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants