What is {setting location} of {Beauty and the Beast}, that has {has rural cities} is {Midi-Pyrénées} ?
What location is Beauty and the Beast set in, that is a rural town in the Midi-Pyrenees?
What location is Beauty and the Beast set in, that is a rural city in the Midi-Pyrenees?
SELECT ?c WHERE { ?c property:contains_administrative_territorial_entity resource:Midi-Pyrénées . resource:Beauty_and_the_Beast property:narrative_location ?c }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q179673> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P840>. ?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/P150> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q16393> . }
SELECT ?answer WHERE { wd:Q179673 wdt:P840 ?answer . ?answer wdt:P150 wd:Q16393}