I have the following graph:
:Bar rdf:type owl:Class .
:Foo rdf:type owl:Class ;
rdfs:subClassOf :Bar .
:my_foo a :Foo .
When I check the info panel for :my_foo
in GraphDB's visual graph, it displays just the badge for the class :Foo
and not for the superclass :Bar
. Is there a way to have the complete list of types in such a panel?
The sesame:directType
predicate is used, when content for this info panel is retrieved.
Resource I is a direct type of T if:
- I is of type T and
- There is no class U (not equal to T) such that:
a. U is a subclass of T, and
b. I is of type U.
In the describeResource.sparql
file within the graphdb-framework-graph-explore-8.2.0.jar
archive, replace sesame:directType
with rdf:type
.