Pan-European infrastructure for ocean & marine data management

CDI - SPARQL Endpoint

Query

Enter your SPARQL query, set preffered output format and press "Get Results" or Ctrl + Enter to execute.

Result

Executing query...
Copy Result

				

SPARQL Services

This interface is designed to fetch a small amount of records, to retrieve all records access the service directly using your own SPARQL client. The general SPARQL query service is accessed directly using the SPARQL protocol at /sparql/sparql

Example SPARQL Queries

Below you can find several queries that can be used to query the CDI SPARQL service.

Show the RDF representation of a single dataset (CDI 1018864)
DESCRIBE <https://cdi.seadatanet.org/report/1018864>
Get datasets with a specific theme (SDN:P02::SLCA)
PREFIX dcat: <http://www.w3.org/ns/dcat#>
SELECT ?dataset
WHERE {
?dataset dcat:theme <https://vocab.nerc.ac.uk/collection/P02/current/SLCA/> .
} LIMIT 100
Get the creator(s) of a dataset, and use a federated query to get the name from EDMO
PREFIX dcat: <http://www.w3.org/ns/dcat#>

SELECT ?creator ?edmoName WHERE {
<https://cdi.seadatanet.org/report/1018864> dcat:creator ?creator
SERVICE <http://edmo.seadatanet.org/sparql/sparql> {
?creator <http://www.w3.org/ns/org#name> ?edmoName .
}
} LIMIT 1000
Get datasets created by IFREMER (EDMO nr. 486)
PREFIX dcat: <http://www.w3.org/ns/dcat#>
SELECT ?dataset
WHERE {
?dataset dcat:creator <https://edmo.seadatanet.org/report/486> .
} LIMIT 100
Get datasets within polygon (Bounding box around the Netherlands)
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
SELECT ?dataset
WHERE {
?dataset geo:hasGeometry ?geometry .
?geometry geo:asWKT ?wkt .
FILTER (geof:sfWithin(?wkt, "POLYGON((3.0 50.5, 7.0 50.5, 7.0 53.5, 3.0 53.5, 3.0 50.5))"^^geo:wktLiteral))
} LIMIT 100

Links to SPARQL 1.1 Specifications

The full set of SPARQL specification is: