https://api.parliament.uk/sparql
47
 
1
# This query uses classes from UK Parliament's procedure ontology: https://ukparliament.github.io/ontologies/procedure/procedure-ontology.html.
2
3
# This query looks for all published drafts under Paragraph 14 of Schedule 8 to the European Union (Withdrawal) Act 2018 that Parliament were notified about by the Department for Transport.
4
5
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
6
PREFIX : <https://id.parliament.uk/schema/>
7
PREFIX id: <https://id.parliament.uk/>
8
# The above rows describe where the datasets that this query is built on come from. 
9
10
select distinct ?proc ?procedureName ?publishedDraft ?publishedDraftname ?Link ?workPackage ?procStepName ?date ?laying ?layingBody ?layingBodyName where {
11
  # The select row is identifying what information to return from the query. These are all variables from the query below.
12
  
13
# SPARQL variables start with a ? and can match any node (resource or literal) in the RDF dataset. 
14
  
15
  ?publishedDraft a :PublishedDraftUnderEUWA .  
16
     # An SI is considered a workpackageable thing which is the focus of a workpackage