Question the semantic graph of schema.gov.it

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.

What you find in the catalogue
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.
Ontologies
Classes, properties, relationships and formal definitions.

Controlled vocabularies
SKOS concepts, labels and classification structures.

Data schemes and metadata
Resources for modelling and interoperability.

How it works

1

Choose a query

Use one of the proposed queries to start with simple and understandable examples.
2

Paste into the tool

Copy the text and paste it into the SPARQL editor of the on-page viewer.
3

Customise the analysis

Edit filters, prefixes, and limits to delve into specific classes, properties, or concepts.

Example Queries

Copy a query, paste it into the tool below, and customize it to your needs. Queries are designed to help the user explore available graphs and understand the structure of the catalogue.

List of graphs

Returns all RDF graphs loaded in the triple store.

SELECT DISTINCT ?g WHERE { GRAPH ?g { ?s ?p ?o } } ORDER BY ?g

Classes of Ontologies

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

Semantic properties

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

Controlled vocabularies

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
crossmenuchevron-downcross-circle