Question: How is Richard III, with a story set in the UK, related to Annette Bening?
Choices:
month of the year
basic form of government
dialect of
enclave within
medical treatment
member of sports team
located in the administrative territorial entity
afflicts
cast member
director of photography
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard III" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Annette Bening" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Richard III
function: And
dependencies: 1
2
function: Find
inputs: Annette Bening
function: QueryRelation
dependencies: 3
4