LG Inform Plus
open left menu LG Inform Plus open top menu
Data
Raw Open Data Certificate (beta)
self-certified
GB (beta)
Powers and duties
awarded 1 Mar 2014

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)
close menu