rdf - Extract the superclass of a owl:unionOf list -
is possible superclass of owl:unionof list? have following:
ex:a rdf:type owl:class ; owl:unionof (ex:pet ex:animal1 ) . ex:b rdf:type owl:class ; owl:unionof (ex:pet ex:animal2) .
what i'm trying simple this:
select ?x { ?x superclass ex:pet }
where results should ex:a , ex:b. if ex:pet replaced ex:animal1, result ex:a.
the relationship should other way around: if sparql endpoint supports inferences,
select ?x {ex:pet subclassof ?x. };
should work.
Comments
Post a Comment