What is {located in the administrative territorial entity} of {Saint-Barthélemy} that is {end time} is {2007-7-14} ?
What is located in the administrative territorial entity of Saint-Barthélemy before 2007-7-14?
SELECT ?obj WHERE { wd:Q25362 p:P131 ?s . ?s ps:P131 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'2007')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25362> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <2007-7-14>
} 

What is situated in the administrative territorial part of Saint-Barthelemy before July 14, 2007?