Question: What is the number of United States cities that have a population of 4000000 or are the capital of Allen County (whose population is 355329)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
4000000
=
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Allen County
function: FilterNum
dependencies: 3
inputs: population
355329
=
function: Relate
dependencies: 4
inputs: capital
forward
function: FilterConcept
dependencies: 5
inputs: city of the United States
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "4000000"^^xsd:double .  } UNION { ?e_1 <capital> ?e . ?e_1 <pred:name> "Allen County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "355329"^^xsd:double .  } }
Answer: 1