Parlament Spojeného království
UK Parliament
Prozkoumejte poslance parlamentu Spojeného království.
Explore members of the UK Parliament.
Government position
PREFIX ukp: <https://id.parliament.uk/schema/> ASK { ?node a ukp:GovernmentPosition . }
Member of UK Parliament
PREFIX ukp: <https://id.parliament.uk/schema/> ASK { ?person a ukp:Member . ?node ukp:wikidataResourceHasEquivalentWikidataThing ?person . }
Government position occupied by members of UK parliament
Member of UK parliament in government positions
Members of UK parliament in government position
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ukp: <https://id.parliament.uk/schema/> PREFIX ukpb: <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/ukparliament/> PREFIX browser: <https://linked.opendata.cz/ontology/knowledge-graph-browser/> CONSTRUCT { ?personwd a ukp:Member ; rdfs:label ?personName ; ukpb:hasPosition ?node ; browser:class "ukparliamentmember" . ukpb:hasPosition browser:class "hasukgovernmentposition" . } WHERE { ?incumbency a ukp:GovernmentIncumbency ; ukp:governmentIncumbencyHasGovernmentPosition ?node ; ukp:governmentIncumbencyHasGovernmentPerson ?person . ?person a ukp:Member ; ukp:personGivenName ?givenName ; ukp:personFamilyName ?familyName . BIND(CONCAT(STR(?givenName), " ", STR(?familyName)) AS ?personName) ?personwd ukp:wikidataResourceHasEquivalentWikidataThing ?person . }
Government positions of member of UK parliament
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ukp: <https://id.parliament.uk/schema/> PREFIX ukpb: <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/ukparliament/> PREFIX browser: <https://linked.opendata.cz/ontology/knowledge-graph-browser/> CONSTRUCT { ?position a ukp:GovernmentPosition ; rdfs:label ?name ; browser:class "ukgovernmentposition" . ?node ukpb:hasPosition ?position . ukpb:hasPosition browser:class "hasukgovernmentposition" . } WHERE { ?node ukp:wikidataResourceHasEquivalentWikidataThing ?person . ?incumbency a ukp:GovernmentIncumbency ; ukp:governmentIncumbencyHasGovernmentPosition ?position ; ukp:governmentIncumbencyHasGovernmentPerson ?person . ?position a ukp:GovernmentPosition ; ukp:name ?name . }
Basic preview of government position
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ukp: <https://id.parliament.uk/schema/> PREFIX browser: <https://linked.opendata.cz/ontology/knowledge-graph-browser/> CONSTRUCT { ?node a ukp:GovernmentPosition ; rdfs:label ?label ; browser:class "ukgovernmentposition" . } WHERE { ?node rdfs:label ?label . }
Basic preview of member of UK parliament
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ukp: <https://id.parliament.uk/schema/> PREFIX browser: <https://linked.opendata.cz/ontology/knowledge-graph-browser/> CONSTRUCT { ?node a ukp:Member ; rdfs:label ?label ; browser:class "ukparliamentmember" . } WHERE { ?person rdfs:seeAlso ?node ; ukp:personGivenName ?givenName ; ukp:personFamilyName ?familyName . OPTIONAL {?person ukp:personOtherNames ?otherNames.} BIND(CONCAT(STR(?givenName), " ", COALESCE(CONCAT(STR(?otherNames), " "), ""), STR(?familyName)) AS ?label) }
Basic detail of government position
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ukp: <https://id.parliament.uk/schema/> PREFIX ukpb: <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/ukparliament/> CONSTRUCT { ?node a ukp:GovernmentPosition ; ukp:name ?label ; ukpb:positionHasGroupName ?groupName . } WHERE { ?node rdfs:label ?label ; ukp:positionHasGroup ?group . ?group ukp:name ?groupName . }
Basic detail of member of UK parliament
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ukp: <https://id.parliament.uk/schema/> PREFIX ukpb: <https://linked.opendata.cz/resource/vocabulary/knowledge-graph-browser/ukparliament/> CONSTRUCT { ?node a ukp:Member ; ukp:personGivenName ?givenName ; ukp:personFamilyName ?familyName ; ukp:personOtherNames ?otherNames ; ukp:personDateOfBirth ?birthDate ; ukpb:personPartiesNames ?partyNames . } WHERE { ?person rdfs:seeAlso ?node ; ukp:personGivenName ?givenName ; ukp:personFamilyName ?familyName . OPTIONAL {?person ukp:personOtherNames ?otherNames.} OPTIONAL {?person ukp:personDateOfBirth ?birthDate .} OPTIONAL { SELECT ?person (GROUP_CONCAT(DISTINCT ?partyName;SEPARATOR=",") AS ?partyNames) WHERE { ?person ukp:partyMemberHasPartyMembership/ukp:partyMembershipHasParty/rdfs:label ?partyName. } GROUP BY ?person } }
SPARQL endpoint of UK parliament
has position
group name
parties names