Question: How many historic counties of England have area that is less than 670 square miles or area that is 5800000 square meters?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historic county of England" .  { ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v < "670"^^xsd:double ) .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "square metre" . ?pv <pred:value> "5800000"^^xsd:double .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
670 square mile
<
function: FilterConcept
dependencies: 1
inputs: historic county of England
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
5800000 square metre
=
function: FilterConcept
dependencies: 4
inputs: historic county of England
function: Or
dependencies: 2
5
function: Count
dependencies: 6