What is {position held} of {William Ewart Gladstone} that is {end cause} is {dissolution of parliament} ?
What was the end cause of the dissolution of parliament according to William Ewart Gladstone?
According to William Ewart Gladstone, what was the end cause of the dissolution of parliament?
SELECT ?z WHERE { ?m property:end_cause resource:dissolution_of_parliament . ?m property:position_held ?z . resource:William_Ewart_Gladstone property:position_held ?m }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160852> .
?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/P1534> <http://wikidata.dbpedia.org/resource/Q741182>
} 

SELECT ?obj WHERE { wd:Q160852 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P1534 wd:Q741182 }