Question: Does the Long Beach where L.A. Confidential was shot have an elevation higher than 5 feet ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Long Beach" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "L.A. Confidential" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> ?v . FILTER ( ?v > "5"^^xsd:double ) .  }
Program:
function: Find
inputs: L.A. Confidential
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Long Beach
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: elevation above sea level
function: VerifyNum
dependencies: 4
inputs: 5 foot
>