Give me {metropolis} that {category for films shot at this location} {Category:Films shot in Karachi} and which contains the word {karachi} in their name
Name metropolis where many films are shot that contains the phrase "Karachi" in its identify
Name city where many movies are shot that contains the word "Karachi" in its name
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Metropolis . FILTER ( CONTAINS ( LCASE ( ?m ) , 'karachi' ) ) . ?m property:category_for_films_shot_at_this_location resource:Category:Films_shot_in_Karachi }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q200250>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1740> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q19359121>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'karachi')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q200250 . ?sbj wdt:P1740 wd:Q19359121 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'karachi')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Karachi Karachi