What is {located in} of {Battle of Sedan}, that has {human population} is {17248} ?
What is located in the Battle of Sedan, that has a human populace of 17,248?
What is located in the Battle of Sedan, that has a human population of 17,248?
SELECT ?h WHERE { FILTER ( ?x = 17248 ) . ?h property:population ?x . resource:Battle_of_Sedan property:location ?h }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q156681> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P276>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1082> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <17248> . }
SELECT ?answer WHERE { wd:Q156681 wdt:P276 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x , '17248'))}