What is {position held} of {Éamon de Valera} that is {parliamentary term} is {4th Dáil} ?
What position did Eamon de Valera in Parliament
What's the position held of Éamon de Valera for parliamentary term 4th Dail?
SELECT ?z WHERE { ?s property:position_held ?z . ?s property:parliamentary_term resource:4th_Dáil . resource:Éamon_de_Valera property:position_held ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q173347> .
?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/P2937> <http://wikidata.dbpedia.org/resource/Q29000401>
} 

SELECT ?obj WHERE { wd:Q173347 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P2937 wd:Q29000401 }