What is {position held} of {Lady Jane Grey} that is {of} is {Kingdom of England} ?
in which position Lady Jane Grey hold in the Kindom of England
What position does Lady Jane Grey hold in the Kindom of England?
SELECT ?y WHERE { ?a property:position_held ?y . resource:Lady_Jane_Grey property:position_held ?a . ?a property:of resource:Kingdom_of_England }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q162356> .
?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/P642> <http://wikidata.dbpedia.org/resource/Q179876>
} 

SELECT ?obj WHERE { wd:Q162356 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P642 wd:Q179876 }