Question: What city with an elevation of more than 0 metres above sea level is the birthplace of Ross Turnbull, who died from cancer.
Choices:
Newcastle
Bergen
Chihuahua
Wuhan
Dunedin
Kingston
New York City
Kilkenny
Trieste
Jalandhar
Answer: Newcastle
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Ross Turnbull" . ?e_1 <cause_of_death> ?e_2 . ?e_2 <pred:name> "cancer" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Program:
function: Find
inputs: cancer
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: Ross Turnbull
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: FindAll
function: FilterNum
dependencies: 6
inputs: elevation above sea level
0 metre
>
function: FilterConcept
dependencies: 7
inputs: city
function: And
dependencies: 5
8
function: What
dependencies: 9