Did {German_Empire} {shares border with} {France} and {Austria-Hungary} ?
Is it true that the German Empire shared borders with France and Austria-Hungary?
Did the German Empire share borders with France and Austria-Hungary?
ASK WHERE { resource:German_Empire property:shares_border_with resource:Austria-Hungary . resource:German_Empire property:shares_border_with resource:France }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43287> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q142>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43287> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q28513>. } 
ASK WHERE { wd:Q43287 wdt:P47 wd:Q142 . wd:Q43287 wdt:P47 wd:Q28513 }