query: SELECT ?item ?itemLabel ?partyLabel ?party_groupLabel ?precededbyLabel ?succeededbyLabel ?districtLabel ?electedinLabel ?start ?end WHERE {
    ?item p:P39 ?statement.
    ?statement ps:P39 _:b1;
      pq:P2937 wd:Q16136932.
    _:b1 (wdt:P279*) wd:Q19468152.
    OPTIONAL { ?statement pq:P580 ?start. }
    OPTIONAL { ?statement pq:P582 ?end. }
    OPTIONAL { ?statement pq:P768 ?district. }
    OPTIONAL { ?statement pq:P4100 ?party_group. }
    OPTIONAL { ?statement pq:P102 ?party. }
    OPTIONAL { ?statement pq:P1365 ?precededby. }
    OPTIONAL { ?statement pq:P1366 ?succeededby. }
    OPTIONAL { ?statement pq:P2715 ?electedin. }
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  }
  ORDER BY (?itemLabel)