SHARE
TWEET

Untitled

a guest Sep 30th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 ?p ?o ?uri2 ?name 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.   ?superClass rdfs:subClassOf ?super2Class.
  13.   ?classShape2 rdf:type sh:NodeShape.
  14.   ?classShape2 sh:targetClass ?super2Class.
  15.   ?classShape2 sh:property ?uri2.
  16.   ?uri2 sh:path ?path.
  17.   ?uri2 ?p ?o.
  18.   ?uri2 sh:name ?name.
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top