Question: Is the annual number of weddings in the first-level administrative country subdivision that has the capital Lausanne less than 3500 as of 2006-01-01?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Lausanne" .  ?e <annual_number_of_weddings> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "3500"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <annual_number_of_weddings> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2006-01-01"^^xsd:date .  }
Program:
function: Find
inputs: Lausanne
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: QueryAttrUnderCondition
dependencies: 2
inputs: annual number of weddings
point in time
2006-01-01
function: VerifyNum
dependencies: 3
inputs: 3500
<
Answer: no