Question: What are the number of counties of Washington that include Seattle as a part and has population less than 1700000000 ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Seattle
function: Relate
dependencies: 0
inputs: has part
backward
function: FilterConcept
dependencies: 1
inputs: county of Washington
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
1700000000
<
function: FilterConcept
dependencies: 4
inputs: county of Washington
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Washington" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "Seattle" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "1700000000"^^xsd:double ) .  }
Answer: 1