Question: What is the relationship between The Polar Express (the one whose genre is picture book) and children's literature?
Choices:
genre
medical condition
academic degree
narrative role
edition or translation of
programming paradigm
has contributing factor
source of income
mountain range
capital
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Polar Express" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "picture book" . ?e_2 <pred:name> "children's literature" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: picture book
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Polar Express
function: And
dependencies: 1
2
function: Find
inputs: children's literature
function: QueryRelation
dependencies: 3
4