Question: How many U.S. towns whose area is less than 65 square miles or whose Dewey Decimal Classification is 2--74423?
Choices:
9
10
11
12
13
14
15
16
17
18
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
65 square mile
<
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
2--74423
function: FilterConcept
dependencies: 4
inputs: town of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" .  { ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v < "65"^^xsd:double ) .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--74423" .  } }
Answer: 9