Question: As of 1997, is the population of the sovereign state with a motto of Ko e ʻOtua mo Tonga ko hoku tofiʻa under 770000000?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> "Ko e ʻOtua mo Tonga ko hoku tofiʻa" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "770000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1997 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: motto text
Ko e ʻOtua mo Tonga ko hoku tofiʻa
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
1997
function: VerifyNum
dependencies: 3
inputs: 770000000
<
Answer: yes