Content of this page
Get all distinct graphs in a repo
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?g
WHERE {
GRAPH ?g { }
}
Get all triples in a given graph
SELECT * from named <https://unstats.un.org/classifications/CPC/v2.1/> {
GRAPH ?g { ?s ?p ?o }.
}
Get all skos:ConceptScheme in a repo
SELECT ?s
WHERE {
?s rdf:type skos:ConceptScheme .
}