Question: How many states are a part of the geographic region whose area is equal to 14364 square kilometers?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "geographic region" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "14364"^^xsd:double .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
14364 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Relate
dependencies: 2
inputs: part of
backward
function: FilterConcept
dependencies: 3
inputs: state
function: Count
dependencies: 4