Question: Does the filming-location city for Merry Christmas, Mr. Lawrence, have its population equal to 4.2 (the point in time of this statement is 2014)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Merry Christmas, Mr. Lawrence" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "4.2"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2014 .  }
Program:
function: Find
inputs: Merry Christmas, Mr. Lawrence
function: Relate
dependencies: 0
inputs: filming location
forward
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2014
function: VerifyNum
dependencies: 3
inputs: 4.2
=