Question: What's the relationship between a novel and Fear and Loathing in Las Vegas (written by Hunter S. Thompson)?
Choices:
genre
librettist
captain
next lower rank
rector
field of this occupation
head of state
afflicts
family name
facet of
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fear and Loathing in Las Vegas" . ?e_1 <author> ?e_3 . ?e_3 <pred:name> "Hunter S. Thompson" . ?e_2 <pred:name> "novel" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hunter S. Thompson
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: Fear and Loathing in Las Vegas
function: And
dependencies: 1
2
function: Find
inputs: novel
function: QueryRelation
dependencies: 3
4