Question: Was Hello, Dolly! (the one whose duration is 146 minute) published after 1990?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Hello, Dolly!" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "146"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1990 ) .  }
Program:
function: Find
inputs: Hello, Dolly!
function: FilterNum
dependencies: 0
inputs: duration
146 minute
=
function: QueryAttr
dependencies: 1
inputs: publication date
function: VerifyYear
dependencies: 2
inputs: 1990
<