Question: What is the relationship between A Beautiful Mind and Judd Hirsch?
Choices:
sidekick of
cast member
next lower rank
nominated for
illustrator
has part
programming paradigm
film crew member
appointed by
military casualty classification
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Beautiful Mind" . ?e_2 <pred:name> "Judd Hirsch" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: A Beautiful Mind
function: Find
inputs: Judd Hirsch
function: QueryRelation
dependencies: 0
1