List of graphs
Returns all RDF graphs loaded in the triple store.
SELECT DISTINCT ?g WHERE { GRAPH ?g { ?s ?p ?o } } ORDER BY ?g
This tool allows you to explore the triple store of the National Data Catalog through SPARQL queries. You can consult ontologies, controlled vocabularies, classes, properties, and metadata in the catalog's RDF graphs.
Returns all RDF graphs loaded in the triple store.
SELECT DISTINCT ?g WHERE { GRAPH ?g { ?s ?p ?o } } ORDER BY ?g
Shows the OWL classes in the catalog.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX owl: <http://www.w3.org/2002/07/owl#> SELECT DISTINCT ?class WHERE { ?class rdf:type owl:Class . } LIMIT 100
Recover object property and datatype property of ontologies.
SELECT DISTINCT ?property WHERE { ?property a ?type . FILTER(?type IN ( <http://www.w3.org/2002/07/owl#ObjectProperty>, <http://www.w3.org/2002/07/owl#DatatypeProperty> )) } LIMIT 100
Extracts SKOS concepts and their respective labels.
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> SELECT ?concept ?label WHERE { ?concept a skos:Concept . OPTIONAL { ?concept skos:prefLabel ?label } } LIMIT 100