What is {position held} of {John Stuart Mill} and {electoral district}
Which position and appointive locale does John Stuart Process hold?
Which position and electoral district does John Stuart Mill hold?
SELECT ?u ?f WHERE { ?m property:electoral_district ?u . . ?m property:position_held ?f . resource:John_Stuart_Mill property:position_held ?m }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q50020> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q50020 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P768 ?value1 . }