Question: Is the elevation(above sea level) of the city that is the birthplace of James Mason (the one that uses the language Irish) greater than 50 foot ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "James Mason" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "Irish" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> ?v . FILTER ( ?v > "50"^^xsd:double ) .  }
Program:
function: Find
inputs: Irish
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: James Mason
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: QueryAttr
dependencies: 5
inputs: elevation above sea level
function: VerifyNum
dependencies: 6
inputs: 50 foot
>