https://api.parliament.uk/sparql
39
 
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 at all statutory instruments considered by the Select Committee on Statutory Instruments (SCSI) which looks at instruments laid before both Houses. It shows the grounds in which the JCSI drew special attention to the Houses. 
4
5
PREFIX : <https://id.parliament.uk/schema/>
6
PREFIX id: <https://id.parliament.uk/>
7
# The above rows describe where the datasets that this query is built on come from. 
8
9
select ?si ?siName ?workPackage ?procedureName ?stepName ?date ?Link where {
10
    # The select row is identifying what information to return from the query. These are all variables from the query below.
11
12
    # SPARQL variables start with a ? and can match any node (resource or literal) in the RDF dataset. 
13
14
  ?si a :StatutoryInstrumentPaper;
15
      :statutoryInstrumentPaperName ?siName;
16
                  :workPackagedThingHasWorkPackage ?workPackage.