Question: Is the date of birth before 1933 for the person starring in Iron Man which is 81 minutes long?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Iron Man" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "81"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1933 ) .  }
Program:
function: Find
inputs: Iron Man
function: FilterNum
dependencies: 0
inputs: duration
81 minute
=
function: Relate
dependencies: 1
inputs: cast member
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1933
<
Answer: yes