Question: What is the relation between Final Destination (the one that has Seann William Scott as a cast member) and Warner Home Video?
Choices:
follows
illustrator
sponsor
production company
performer
used by
has part
political alignment
field of work
legal form
Answer: production company
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Final Destination" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Seann William Scott" . ?e_2 <pred:name> "Warner Home Video" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Seann William Scott
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Final Destination
function: And
dependencies: 1
2
function: Find
inputs: Warner Home Video
function: QueryRelation
dependencies: 3
4