Question: What are the number of provinces of China whose ISO 3166-2 code is CN-35 or whose area is greater than 11000 square kilometre ?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" .  { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "CN-35" .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "11000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
CN-35
function: FilterConcept
dependencies: 1
inputs: province of China
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
11000 square kilometre
>
function: FilterConcept
dependencies: 4
inputs: province of China
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 12