Data
You can query our SPARQL database by using our endpoint: http://sparql.esd.org.uk/ds/query
What is this?
All guidance information is freely available as Open Linked Data that can be queried using the SPARQL query language.
Power and duties data is licenced under the Open Government Licence and must be attributed to the esd-toolkit programme.
LG Inform Plus subscribers can use the guidance page to browse guidance and download it in a variety of formats.
Example queries
Retrieve all services
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT ?id ?title WHERE { ?s a <http://def.esd.org.uk/Service> . ?s <http://www.w3.org/2004/02/skos/core#prefLabel> ?title . ?s <http://purl.org/dc/terms/identifier> ?id } ORDER BY xsd:integer(?id)Get id and description of all powers and duties
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT ?id ?description WHERE { {?s a <http://def.esd.org.uk/Power> .} UNION {?s a <http://def.esd.org.uk/Duty> .} ?s <http://purl.org/dc/terms/description> ?description . ?s <http://purl.org/dc/terms/identifier> ?id } ORDER BY xsd:integer(?id)