Give me {şəhər} that {category for films shot at this location} {Category:Films shot in Baku} and which contains the word {baku} in their name
Tell me the şəhər for the class for videos shot at the location of videos shot in Baku whose name contains the word baku?
Tell me the şəhər for the category for films shot at the location of films shot in Baku whose name contains the word baku?
SELECT DISTINCT ?y WHERE { FILTER ( CONTAINS ( LCASE ( ?y ) , 'baku' ) ) . ?y rdf:type ontology:şəhər . ?y property:category_for_films_shot_at_this_location resource:Category:Films_shot_in_Baku }
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/Q56557664>. ?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/Q10047453>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'baku')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q56557664 . ?sbj wdt:P1740 wd:Q10047453 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'baku')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 