Question: Tell me the relationship between Porto (which is a drama film genre) to France.
Choices:
works in collection
separated from
industry
material used
costume designer
lyrics by
symptoms
country of origin
political ideology
spouse
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Porto" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "drama film" . ?e_2 <pred:name> "France" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Porto
function: And
dependencies: 1
2
function: Find
inputs: France
function: QueryRelation
dependencies: 3
4