Question: How many Japanese prefectures are associated with Corporate Number (Japan) 1000020200000 and have a population exceeding 640000?
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> "prefecture of Japan" . ?e <Corporate_Number_(Japan)> ?pv . ?pv <pred:value> "1000020200000" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "640000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Corporate Number (Japan)
1000020200000
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
640000
>
function: FilterConcept
dependencies: 4
inputs: prefecture of Japan
function: And
dependencies: 2
5
function: Count
dependencies: 6