What is {country} of {Mantua} that is {start time} is {1805-3-17} ?
Where was Mantua located in 1805-3-17?
what country was mantua located in in 1805-3-17
SELECT ?f WHERE { ?j property:country ?f . resource:Mantua property:country ?j . FILTER ( CONTAINS ( YEAR ( ?e ) , '1805' ) ) . ?j property:start_time ?e }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q6247> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P17> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1805-3-17>
} 

SELECT ?obj WHERE { wd:Q6247 p:P17 ?s . ?s ps:P17 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1805')) }