LG Inform Plus
open left menu LGA open top menu
Data
Pilot Open Data Certificate (beta)
self-certified
GB (beta)
Local government records retention
awarded 13 Nov 2013

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.

Retention 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 service retentions
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 

SELECT ?id ?description
WHERE
{
  ?s a <http://def.esd.org.uk/Retention> .
  ?s 
  <http://purl.org/dc/terms/description> 
  ?description .
  ?s <http://purl.org/dc/terms/identifier> ?id
}
ORDER BY xsd:integer(?id)
close menu