Question: What is the number of Maine counties whose capital is Portland where the population is 66937?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maine" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Portland" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "66937"^^xsd:double .   }
Program:
function: Find
inputs: Portland
function: FilterNum
dependencies: 0
inputs: population
66937
=
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: county of Maine
function: Count
dependencies: 3
Answer: 1