What is the {Wikimedia category} for {category for films shot at this location} of {Montreal}
What is the Wikimedia category for the Montreal location shot list of films?
What is the Wikimedia category for the list of films shot on location in Montreal?
SELECT DISTINCT ?f WHERE { resource:Montreal property:category_for_films_shot_at_this_location ?f . ?f rdf:type ontology:Wikimedia_category }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q340> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1740> . ?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/Q4167836> } 
 select distinct ?obj where { wd:Q340 wdt:P1740 ?obj . ?obj wdt:P31 wd:Q4167836 } 
Category:Films shot in Montreal