Question: Is the person residing in Phoenix (demonym Phoenician) shorter than 1200 feet ?
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 <location_of_formation> ?e_1 . ?e_1 <pred:name> "Phoenix" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "Phoenician" . ?e <height> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> ?v . FILTER ( ?v < "1200"^^xsd:double ) .  }
Program:
function: Find
inputs: Phoenix
function: FilterStr
dependencies: 0
inputs: demonym
Phoenician
function: Relate
dependencies: 1
inputs: location of formation
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: height
function: VerifyNum
dependencies: 4
inputs: 1200 foot
<