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
Houses
Houses
There are 2 houses.
House of Commons
House of Lords
SPARQL queries used by this page
A list of Houses
# We declare the Parliament and ID namespaces. PREFIX : <https://id.parliament.uk/schema/> PREFIX id: <https://id.parliament.uk/> # We select the relevant properties we want to appear in results. # If all properties are required, an asterisk can be used between SELECT and WHERE instead of listing properties. SELECT * WHERE { # We find all houses and get the name of the house. ?house a :House ; :name ?houseName. } # We order the results by the name of the house. ORDER BY ?houseName