Question: What number of Japanese prefectures are smaller than 6700 square miles?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
6700 square mile
<
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" . ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v < "6700"^^xsd:double ) .  }
Answer: 0