What is {shares border with} of {Centre-Val de Loire} that is {end time} is {2015-12-31} ?
Up to the end of 2015 what joined a border with Centre-Val de Loire?
What shared a border with Centre-Val de Loire up to the end of 2015 ?
SELECT ?l WHERE { ?t property:shares_border_with ?l . resource:Centre-Val_de_Loire property:shares_border_with ?t . ?t property:end_time ?j . FILTER ( CONTAINS ( YEAR ( ?j ) , '2015' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q13947> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P582> <2015-12-31>
} 

SELECT ?obj WHERE { wd:Q13947 p:P47 ?s . ?s ps:P47 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'2015')) }