Question: Was the movie based on Fist of the North Star (the one whose duration is 25 minute) published before 2006?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Fist of the North Star" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "25"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) .  }
Program:
function: Find
inputs: Fist of the North Star
function: FilterNum
dependencies: 0
inputs: duration
25 minute
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2006
<