What is {position held} of {Constantine the Great} that is {start time} is {324-9-19} ?
In 324-9-19, what position was held by Constantine the Great?
What position did Constantine the Great hold in 324-9-19?
SELECT ?i WHERE { resource:Constantine_the_Great property:position_held ?s . FILTER ( CONTAINS ( ?j , '324-9-19' ) ) . ?s property:start_time ?j . ?s property:position_held ?i }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8413> .
?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> <324-9-19>
} 

SELECT ?obj WHERE { wd:Q8413 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?x filter(contains(?x , '324-9-19')) }