Question: Was the out-of-school children's number on 1st January 2008 exactly 26,000 in a unitary state which is the narrative location of US-made Cuba ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Cuba" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "26000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <number_of_out-of-school_children> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2008-01-01"^^xsd:date .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Cuba
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: unitary state
function: QueryAttrUnderCondition
dependencies: 5
inputs: number of out-of-school children
point in time
2008-01-01
function: VerifyNum
dependencies: 6
inputs: 26000
!=