Question: What number of US towns have local dialing code 203 or have http://www.andoverma.gov/ as their official website?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" .  { ?e <local_dialing_code> ?pv . ?pv <pred:value> "203" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.andoverma.gov/" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
203
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.andoverma.gov/
function: FilterConcept
dependencies: 4
inputs: town of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6