Question: What is the connection between Brideshead Revisited (the one that origins from Italy) to Greta Scacchi?
Choices:
parent club
captain
military casualty classification
nominated for
substitute/deputy/replacement of office/officeholder
conferred by
cast member
subsidiary
eye color
performer
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brideshead Revisited" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Italy" . ?e_2 <pred:name> "Greta Scacchi" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Brideshead Revisited
function: And
dependencies: 1
2
function: Find
inputs: Greta Scacchi
function: QueryRelation
dependencies: 3
4