Question: How many administrative territorial entity whose population is higher than 5500000 or this is the capital of Washington County (the one that is located in Vermont).
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
5500000
>
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Find
inputs: Vermont
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Washington County
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: capital
forward
function: FilterConcept
dependencies: 7
inputs: administrative territorial entity
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "5500000"^^xsd:double ) .  } UNION { ?e_1 <capital> ?e . ?e_1 <pred:name> "Washington County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Vermont" .  } }
Answer: 4