Jump to content

User:Dhx1/sandbox

From Wikipedia, the free encyclopedia
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/> 
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>

SELECT ?serial ?pm ?pmLabel ?image ?termStart ?termEnd ?party ?partyLabel ?electorate ?electorateLabel WHERE {
  ?pm wdt:P31 wd:Q5 .
  ?pm p:P39 ?pmPosition .
  ?pmPosition v:P39 wd:Q319145 .
  ?pm rdfs:label ?pmLabel filter (lang(?pmLabel) = "en") .
  OPTIONAL {
    ?pmPosition pq:P1545 ?serial .
  } .
  OPTIONAL {
    ?pm wdt:P18 ?image .
  } .
  OPTIONAL {
    ?pmPosition pq:P580 ?termStart .
    ?pmPosition pq:P582 ?termEnd .
  } .
  OPTIONAL {
    ?pm p:P39 ?mhrPosition .
    ?mhrPosition v:P39 wd:Q18912794 .
    ?mhrPosition pq:P768 ?electorate .
    ?electorate rdfs:label ?electorateLabel filter (lang(?electorateLabel) = "en") .
  } .
  OPTIONAL {
    ?pm wdt:P102 ?party .
    ?party rdfs:label ?partyLabel filter (lang(?partyLabel) = "en") .
  } .
} ORDER BY ?serial ?termEnd


This list is automatically generated from data in Wikidata and is periodically updated by Listeriabot.
Edits made within the list area will be removed on the next update!

Serial Name Image Political party Start date of term End date of term Electorate served
Gough Whitlam
1972-12-05 1975-11-11 Werriwa
Edmund Barton
1901-01-01 1903-09-24 Hunter
Chris Watson
1904-04-27 1904-08-18 South Sydney
Bland
George Reid
1904-08-18 1905-07-05 East Sydney
Stanley Bruce
1923-02-09 1929-10-22 Flinders
James Scullin
1929-10-22 1932-01-06 Yarra
Corangamite
Arthur Fadden
1941-08-29 1941-10-07 Darling Downs
McPherson
John Curtin
1941-10-07 1945-07-05 Fremantle
Ben Chifley
1945-07-13 1949-12-19 Macquarie
John McEwen
1967-12-19 1968-01-10 Indi
Murray
Echuca
Julia Gillard
2010-06-24 2013-06-27 Lalor
Kevin Rudd
2013-06-27
2007-12-03
2013-09-18
2010-06-24
Griffith
John Howard
1996-03-11 2007-12-03 Bennelong
Billy Hughes
1915-10-27 1923-02-09 West Sydney
Bendigo
North Sydney
Bradfield
Robert Menzies
1949-12-19
1939-04-26
1966-01-26
1941-08-29
Kooyong
Paul Keating
1991-12-20 1996-03-11 Blaxland
Bob Hawke
1983-03-11 1991-12-20 Wills
Harold Holt
1966-01-26 1967-12-17 Higgins
Fawkner
Alfred Deakin
1903-09-24
1905-07-05
1909-06-02
1904-04-27
1908-11-13
1910-04-29
Ballarat
Andrew Fisher
1908-11-13
1910-04-29
1914-09-17
1909-06-02
1913-06-24
1915-10-27
Wide Bay
Malcolm Fraser
1975-11-11 1983-03-11 Wannon
Anthony Albanese
2022-05-23 Grayndler
Tony Abbott
2013-09-18 2015-09-15 Warringah
Joseph Cook
1913-06-24 1914-09-17 Parramatta
William McMahon
1971-03-10 1972-12-05 Lowe
John Gorton
1968-01-10 1971-03-10 Higgins
Earle Page
1939-04-07 1939-04-26 Cowper
Joseph Lyons
1932-01-06 1939-04-07 Wilmot
Frank Forde
1945-07-06 1945-07-13 Capricornia
Malcolm Turnbull
2015-09-15 2018-08-24 Wentworth
Scott Morrison
2018-08-24 2022-05-23 Cook
End of auto-generated list.