Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.25 KB | None | 0 0
  1. SELECT ?instance ?title ?parent (owl:Class AS ?instanceType) WHERE  {
  2.     ?instance a owl:Class .
  3.     FILTER(CONTAINS(STR(?instance), ?ontology))
  4.     ?instance rdfs:subClassOf ?parent .
  5.     OPTIONAL{
  6.         ?instance dcterms:title ?title
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement