Question: What is the relation between The Spy Who Came in from the Cold (the one whose genre is adventure novel) with the English language?
Choices:
famous people
language of work or name
stated in
child
platform
discoverer or inventor
sexual orientation
conflict
home port
location of final assembly
Answer: language of work or name
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Spy Who Came in from the Cold" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "adventure novel" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: adventure novel
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Spy Who Came in from the Cold
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4