Question: What is the link between Red Dragon (whose genre is film based on literature) and Hannibal (whose length is 131 minutes)?
Choices:
depicts
collection
head of government
follows
creator
uses
dedicated to
professional or sports partner
genre
public holiday
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Red Dragon
function: And
dependencies: 1
2
function: Find
inputs: Hannibal
function: FilterNum
dependencies: 4
inputs: duration
131 minute
=
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Red Dragon" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "film based on literature" . ?e_2 <pred:name> "Hannibal" . ?e_2 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "131"^^xsd:double . ?e_1 ?p ?e_2 .  }
Answer: follows