What is {partner town} of {Marseille}, that has {cfsi} is {Category:Films shot in Marrakesh} ?
"Who is {partner town} of {Marseille}, which has {cfsi} is {Category:Films shot in Marrakesh} ?"
"Who is {partner town} of {Marseille}, which has {cfsi} is {Category:Films shot in Marrakesh} ?"
SELECT ?t WHERE { resource:Marseille property:twinned_administrative_body ?t . ?t property:category_for_films_shot_at_this_location resource:Category:Films_shot_in_Marrakesh }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23482> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190>. ?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/P1740> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q10218915> . }
SELECT ?answer WHERE { wd:Q23482 wdt:P190 ?answer . ?answer wdt:P1740 wd:Q10218915}
Marrakesh