Question: Does the US city named for Honolulu (demonym Honolulan) occupy under 46000000 square km?
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 <named_after> ?e_1 . ?e_1 <pred:name> "Honolulu" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "Honolulan" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "46000000"^^xsd:double ) .  }
Program:
function: Find
inputs: Honolulu
function: FilterStr
dependencies: 0
inputs: demonym
Honolulan
function: Relate
dependencies: 1
inputs: named after
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: area
function: VerifyNum
dependencies: 4
inputs: 46000000 square kilometre
<