https://api.parliament.uk/sparql
35
 
1
# This query uses classes from UK Parliament's procedure ontology: https://ukparliament.github.io/ontologies/procedure/procedure-ontology.html.
2
3
4
5
PREFIX : <https://id.parliament.uk/schema/>
6
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
7
PREFIX id: <https://id.parliament.uk/>
8
select distinct ?PNSI ?PNSIname ?layingBodyName ?workPackage ?SiftingEnds ?date ?Link where { 
9
10
 ?PNSI a :ProposedNegativeStatutoryInstrumentPaper .   
11
     # A PNSI is considered a workpackageable thing which is the focus of a workpackage
12
     ?PNSI rdfs:label ?PNSIname ; 
13
     :laidThingHasLaying/:layingHasLayingBody/:name ?layingBodyName . 
14
  
15
  OPTIONAL {  ?PNSI :workPackagedThingHasWorkPackagedThingWebLink ?Link .}
16
# Proposed negative tatutory instruments will always be published on gov.uk.. We've made this an optional field because sometimes instruments are added to Parliament's data platform before they become available online.