What is {religion} of {Roman Empire} that is {start time} is {380-2-27} ?
The Roman empire has practiced what religion since 380 BC
What is the religion of Roman Empire since 380-2-27?
SELECT ?l WHERE { ?e property:start_time ?w . ?e property:religion ?l . resource:Roman_Empire property:religion ?e . FILTER ( CONTAINS ( ?w , '380-2-27' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2277> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P140> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <380-2-27>
} 

SELECT ?obj WHERE { wd:Q2277 p:P140 ?s . ?s ps:P140 ?obj . ?s pq:P580 ?x filter(contains(?x , '380-2-27')) }