What is {position held} of {Leo I} that is {end time} is {0461-11-10} ?
What was Leo I's position in 0461-11-10?
What position was held by Leo I in the year 0461-11-10?
SELECT ?c WHERE { FILTER ( CONTAINS ( YEAR ( ?s ) , '0461' ) ) . resource:Leo_I property:position_held ?q . ?q property:end_time ?s . ?q property:position_held ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43954> .
?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> <0461-11-10>
} 

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