Question: What does Pirates of the Caribbean: Dead Man's Chest (which has origins in United States of America) have to do with (Jonathan Pryce)?
Choices:
superhuman feature or ability
native language
award received
cause of death
present in work
parent astronomical body
musical conductor
place of birth
patron saint
cast member
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Pirates of the Caribbean: Dead Man's Chest
function: And
dependencies: 1
2
function: Find
inputs: Jonathan Pryce
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pirates of the Caribbean: Dead Man's Chest" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Jonathan Pryce" . ?e_1 ?p ?e_2 .  }
Answer: cast member