Question: What is the connection between Dubai (the one that origins from Philippines) to romance film?
Choices:
screenwriter
member of
father
creator
substitute/deputy/replacement of office/officeholder
cast member
located in or next to body of water
narrator
tributary
genre
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dubai" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Philippines" . ?e_2 <pred:name> "romance film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Philippines
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Dubai
function: And
dependencies: 1
2
function: Find
inputs: romance film
function: QueryRelation
dependencies: 3
4