What is {town} of {Capua}, that has {has cities} is {Tora e Piccilli} ?
What are the cities of Capua called Tora and Piccilli?
What is the town of Capua with cities called Tora e Piccilli?
SELECT ?n WHERE { ?n property:contains_administrative_territorial_entity resource:Tora_e_Piccilli . resource:Capua property:located_in_the_administrative_territorial_entity ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q58477> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?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/Q58909> . }
SELECT ?answer WHERE { wd:Q58477 wdt:P131 ?answer . ?answer wdt:P150 wd:Q58909}
Province of Caserta