What is {position held} of {Joseph Chamberlain} and {elected in}
What is Joseph Chamberlain's title and what was he elected for?
What position does Joseph Chamberlain hold and what  position was he elected in?
SELECT ?f ?n WHERE { resource:Joseph_Chamberlain property:position_held ?r . ?r property:elected_in ?f . . ?r property:position_held ?n }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q315999> . ?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:Q315999 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P2715 ?value1 . }