I have a simple question about DBipedia, I want to get all the subclasses. I have tried:
Select the difference? Type WHERE {? Type rdfs: subClassOf dbpedia-owl: ship}
The result is empty. If I try:
choose DISTINCT? Type? Y WHERE {? Type? Y dbpedia-owl: Ship}
I get sub-classes, but I do not know why the first query does not work.
I do not see any subclass in the results of your second query. It seems that ? There are mostly bindings for rdf: type . Actually, there are only two results in the following query. Is Different Select? Y where {? type? Y dbpedia-owl: ship}
y http://www.w3.org/1999/02/22-rdf-syntax-ns #type http://www.w3.org/2000/01/rdf-schema#domain There is no sub category of Ship in DBPDA ontology , And you will see that Ship , along with some other classes, has subclasses of MeanOfTransportation , but none of these is sub-classes.
No comments:
Post a Comment