Question: How is the Josh Hartnett-produced August related to Rip Torn?
Choices:
studied by
taxon rank
product or material produced
official symbol
mascot
doctoral student
contains settlement
cast member
sexual orientation
season starts
Program:
function: Find
inputs: Josh Hartnett
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: August
function: And
dependencies: 1
2
function: Find
inputs: Rip Torn
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "August" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Josh Hartnett" . ?e_2 <pred:name> "Rip Torn" . ?e_1 ?p ?e_2 .  }
Answer: cast member