Question: Is the above sea level elevation of the United States city that is the residence of Salman Khan (a citizen of the United States of America) less than 560 metres?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Salman Khan" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "560"^^xsd:double ) .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Salman Khan
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: elevation above sea level
function: VerifyNum
dependencies: 6
inputs: 560 metre
<