Question: What is the connection between The Scorpion King (that originates in Belgium) and Bernard Hill?
Choices:
terminus
cast member
named after
director of photography
mountain range
sibling
quotes work
depicts
works in collection
main food source
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Scorpion King" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Belgium" . ?e_2 <pred:name> "Bernard Hill" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Belgium
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Scorpion King
function: And
dependencies: 1
2
function: Find
inputs: Bernard Hill
function: QueryRelation
dependencies: 3
4