Question: Tell me the number of Italian provinces that have an area of exactly 2300000 square foot or that have a zip code of 90010–90049
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
2300000 square foot
=
function: FilterConcept
dependencies: 1
inputs: province of Italy
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
90010–90049
function: FilterConcept
dependencies: 4
inputs: province of Italy
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> "province of Italy" .  { ?e <area> ?pv . ?pv <pred:unit> "square foot" . ?pv <pred:value> "2300000"^^xsd:double .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "90010–90049" .  } }
Answer: 1