what is the {end time} for {Septimius Severus} has {position held} as {Roman emperor} ?
Regarding the Roman Emperor, what was the time that Septimius Severu's reign ended?
When did Septimius Severus's reign as Roman Emperor end?
SELECT ?i WHERE { ?i property:end_time ?i . ?i property:position_held resource:Roman_emperor . resource:Septimius_Severus property:position_held ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1442> .
?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> <http://wikidata.dbpedia.org/resource/Q842606> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q1442 p:P39 ?s . ?s ps:P39 wd:Q842606 . ?s pq:P582 ?value}