Question: Is the date of birth of the person who was born in York (whose elevation is 223 meters above sea level) prior to the year 1952?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "York" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "223"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1952 ) .  }
Program:
function: Find
inputs: York
function: FilterNum
dependencies: 0
inputs: elevation above sea level
223 metre
=
function: Relate
dependencies: 1
inputs: place of birth
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1952
<