Question: Does Brittany (the one whose annual number of weddings is 10718) have an ISO 3166-2 code equal to FR-BRE (the start time of this statement is 2016-01-01)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Brittany" . ?e <annual_number_of_weddings> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "10718"^^xsd:double . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "FR-BRE" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> "2016-01-01"^^xsd:date .  }
Program:
function: Find
inputs: Brittany
function: FilterNum
dependencies: 0
inputs: annual number of weddings
10718
=
function: QueryAttrUnderCondition
dependencies: 1
inputs: ISO 3166-2 code
start time
2016-01-01
function: VerifyStr
dependencies: 2
inputs: FR-BRE
Answer: yes