Question: Savages, with production code K0103, has what connection to Benjamin Bratt?
Choices:
cast member
head coach
office held by head of government
had as last meal
genre
business division
doctoral advisor
organisation directed from the office or person
separated from
parent organization
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Savages" . ?e_1 <production_code> ?pv . ?pv <pred:value> "K0103" . ?e_2 <pred:name> "Benjamin Bratt" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Savages
function: FilterStr
dependencies: 0
inputs: production code
K0103
function: Find
inputs: Benjamin Bratt
function: QueryRelation
dependencies: 1
2