Question: How many former regions of France are French administrative divisions or are larger than 1900000000 square meters?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" .  { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "France" .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "square metre" . ?pv <pred:value> ?v . FILTER ( ?v > "1900000000"^^xsd:double ) .  } }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: former French region
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
1900000000 square metre
>
function: FilterConcept
dependencies: 4
inputs: former French region
function: Or
dependencies: 2
5
function: Count
dependencies: 6