Question: Crash, penned by J. G. Ballard, has what link to the UK?
Choices:
religious order
head of state
medical treatment
has effect
official language
director of photography
part of
country of origin
platform
terminus
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Crash" . ?e_1 <author> ?e_3 . ?e_3 <pred:name> "J. G. Ballard" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: J. G. Ballard
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: Crash
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4