Question: How is The Lord of the Rings (the one that received Prometheus Award) related to an adventure novel ?
Choices:
instrument
member of sports team
rector
contains settlement
genre
copyright holder
subject has role
registered with
doctoral student
subsidiary
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Lord of the Rings" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Prometheus Award" . ?e_2 <pred:name> "adventure novel" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Prometheus Award
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Lord of the Rings
function: And
dependencies: 1
2
function: Find
inputs: adventure novel
function: QueryRelation
dependencies: 3
4