What is the {city} for {contains settlement} of {Seville}
Which is the city that contains the settlement of Seville?
Which is the city that contains the settlement of Seville?
SELECT DISTINCT ?i WHERE { resource:Seville property:contains_settlement ?i . ?i rdf:type ontology:city }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8717> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1383> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q515> } 
 select distinct ?obj where { wd:Q8717 wdt:P1383 ?obj . ?obj wdt:P31 wd:Q515 } 
Sevilla