Advertisement
Guest User

Untitled

a guest
Sep 30th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.53 KB | None | 0 0
  1. PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
  2. PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
  3. PREFIX dcterms: <http://purl.org/dc/terms/>
  4. PREFIX sh: <http://www.w3.org/ns/shacl#>
  5. SELECT DISTINCT ?schema ?URI ?title ?path ?IN WHERE {
  6.   ?schema rdf:type rdfs:Class.
  7.   ?schema dcterms:title ?Title.
  8.   ?schema rdfs:subClassOf ?superClass.
  9.   ?classShape rdf:type sh:NodeShape.
  10.   ?classShape sh:targetClass ?superClass.
  11.   ?classShape sh:property ?URI.
  12.   ?URI sh:name ?title;
  13.     sh:path ?path.
  14.   ?URI sh:IN ?IN.
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement