Question: How many counties of Oregon belong to USA or cover the area of below 85,000 square km ?
Choices:
7
8
9
10
11
12
13
14
15
16
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: county of Oregon
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
85000 square kilometre
<
function: FilterConcept
dependencies: 4
inputs: county of Oregon
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> "county of Oregon" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "85000"^^xsd:double ) .  } }
Answer: 14