What is {position held} of {Edward VII} that is {end time} is {1910-5-6} ?
Which position did Edward VII have that ended on 1910-5-6?
What position did Edward VII have that ended on 1910-5-6?
SELECT ?i WHERE { FILTER ( CONTAINS ( YEAR ( ?m ) , '1910' ) ) . resource:Edward_VII property:position_held ?c . ?c property:position_held ?i . ?c property:end_time ?m }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q20875> .
?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/P582> <1910-5-6>
} 

SELECT ?obj WHERE { wd:Q20875 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1910')) }