Question: What is the association of Angels & Demons (that was released in the year 2005) to adventure?
Choices:
cites
costume designer
record label
has part
applies to jurisdiction
genre
occupant
found
languages spoken, written or signed
architect
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Angels & Demons" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 2005 . ?e_2 <pred:name> "adventure" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Angels & Demons
function: FilterYear
dependencies: 0
inputs: publication date
2005
=
function: Find
inputs: adventure
function: QueryRelation
dependencies: 1
2