What is {position held} of {Arthur Griffith} that is {electoral district} is {East Cavan} ?
Which was the position that Arthur Griffith held in East Cavan?
What position did Arthur Griffith hold in East Cavan?
SELECT ?z WHERE { ?f property:position_held ?z . ?f property:electoral_district resource:East_Cavan . resource:Arthur_Griffith property:position_held ?f }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q342765> .
?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/P768> <http://wikidata.dbpedia.org/resource/Q5328039>
} 

SELECT ?obj WHERE { wd:Q342765 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P768 wd:Q5328039 }