Question: How many states in Germany have the detail map Topografische Karte Bayern.tif or are an enclave within Lower Saxony?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" .  { ?e <detail_map> ?pv . ?pv <pred:value> "Topografische Karte Bayern.tif" .  } UNION { ?e <enclave_within> ?e_1 . ?e_1 <pred:name> "Lower Saxony" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: detail map
Topografische Karte Bayern.tif
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: Find
inputs: Lower Saxony
function: Relate
dependencies: 3
inputs: enclave within
backward
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6