Question: How many census-designated places are classified by Dewey Decimal as 2--79487 or are designated by zip code 20817?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "census-designated place" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--79487" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "20817" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--79487
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
20817
function: FilterConcept
dependencies: 4
inputs: census-designated place
function: Or
dependencies: 2
5
function: Count
dependencies: 6