Question: How many water areas whose detail map is North Sea map-de.png or whose country is Kingdom of Sardinia?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "water area" .  { ?e <detail_map> ?pv . ?pv <pred:value> "North Sea map-de.png" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Kingdom of Sardinia" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: detail map
North Sea map-de.png
function: FilterConcept
dependencies: 1
inputs: water area
function: Find
inputs: Kingdom of Sardinia
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: water area
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1