Question: What number of Netherlands provinces have a detail map of Prov-Groningen-OpenTopo.jpg or are Netherlands admin divisions?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" .  { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Netherlands" .  } UNION { ?e <detail_map> ?pv . ?pv <pred:value> "Prov-Groningen-OpenTopo.jpg" .  } }
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: FindAll
function: FilterStr
dependencies: 3
inputs: detail map
Prov-Groningen-OpenTopo.jpg
function: FilterConcept
dependencies: 4
inputs: province of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6