Question: How many states of Germany have an area that is over 870 square kilometers or are the location of the War of the Fourth Coalition?
Choices: 9
10
11
12
13
14
15
16
17
18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" .  { ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "870"^^xsd:double ) .  } UNION { ?e_1 <location> ?e . ?e_1 <pred:name> "War of the Fourth Coalition" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
870 square kilometre
>
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: Find
inputs: War of the Fourth Coalition
function: Relate
dependencies: 3
inputs: location
forward
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 11