Question: Is the duration of the film based on Great Expectations (whose inception time is 1860) less than 180 minutes?
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> "Great Expectations" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:year> 1860 . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v < "180"^^xsd:double ) .  }
Program:
function: Find
inputs: Great Expectations
function: FilterYear
dependencies: 0
inputs: inception
1860
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 180 minute
<