Question: How many former French regions have the native label Champagne-Ardenne or smaller than 550 square mile area?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" .  { ?e <native_label> ?pv . ?pv <pred:value> "Champagne-Ardenne" .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v < "550"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Champagne-Ardenne
function: FilterConcept
dependencies: 1
inputs: former French region
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
550 square mile
<
function: FilterConcept
dependencies: 4
inputs: former French region
function: Or
dependencies: 2
5
function: Count
dependencies: 6