Skip to main content
Procedure Browser
Librarian mode
Work packages
Procedures
Enabling legislation
Organisations accountable to Parliament
Calculation styles
Steps
Step collections
Clocks
Legislatures
Procedure Browser
Legislatures
UK Parliament
UK Parliament
There are 2 houses.
House of Commons
House of Lords
Legislature identifier
https://id.parliament.uk/4Mapsyb9
SPARQL queries used by this page
A legislature
# We declare the Parliament and ID namespaces. PREFIX : <https://id.parliament.uk/schema/> PREFIX id: <https://id.parliament.uk/> # We select all properties returned. SELECT * # We find all the legislatures and get their name. WHERE { ?legislature a :Legislature ; :name ?legislatureName. # We filter the results to only include the legislature with ID 4Mapsyb9. FILTER ( ?legislature in ( id:4Mapsyb9 ) ) }
PREFIX : <https://id.parliament.uk/schema/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX id: <https://id.parliament.uk/> select * where { ?Legislature a :Legislature ; :name ?LegislatureName; :legislatureHasHouse ?House. ?House :name ?HouseName. filter (?Legislature in (id:4Mapsyb9)) } order by ?HouseName