Question: How many historic counties of England have an area less than 680 hectare or a demonym of Yorkshireman?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
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> "hectare" . ?pv <pred:value> ?v . FILTER ( ?v < "680"^^xsd:double ) .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "Yorkshireman" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
680 hectare
<
function: FilterConcept
dependencies: 1
inputs: historic county of England
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
Yorkshireman
function: FilterConcept
dependencies: 4
inputs: historic county of England
function: Or
dependencies: 2
5
function: Count
dependencies: 6