Question: What does Doctor Zhivago (which is in the English language) have to do with the United Kingdom?
Choices:
candidate
editor
penalty
country of origin
educated at
continent
genre
soundtrack album
official color
has cause
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Doctor Zhivago
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Doctor Zhivago" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of origin