What is {position held} of {Ferdinand I, Holy Roman Emperor} that is {start time} is {1558-1-1} ?
Which was the position that Ferdinand held in 1558?
What position did Ferdinand I hold in 1558?
SELECT ?o WHERE { ?h property:start_time ?k . FILTER ( CONTAINS ( YEAR ( ?k ) , '1558' ) ) . ?h property:position_held ?o . resource:Ferdinand_I,_Holy_Roman_Emperor property:position_held ?h }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q150611> .
?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/P580> <1558-1-1>
} 

SELECT ?obj WHERE { wd:Q150611 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1558')) }