Question: Tell me the number of towns in the United States that does not have an inception before1793 and uses 617 for dialing area code
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1793 ) . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "617" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1793
!=
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
617
function: FilterConcept
dependencies: 4
inputs: town of the United States
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1