Question: What is the relationship between Quo Vadis, originating in Italy, and silent film?
Choices:
contains settlement
capital
sibling
executive producer
enclave within
doctoral advisor
depicted by
position held
genre
office held by head of state
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Quo Vadis" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Italy" . ?e_2 <pred:name> "silent film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Quo Vadis
function: And
dependencies: 1
2
function: Find
inputs: silent film
function: QueryRelation
dependencies: 3
4