Question: How many landforms have ISO 3166-2 code ID-JW or are located in the Mediterranean Sea?
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> "landform" .  { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "ID-JW" .  } UNION { ?e <location> ?e_1 . ?e_1 <pred:name> "Mediterranean Sea" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
ID-JW
function: FilterConcept
dependencies: 1
inputs: landform
function: Find
inputs: Mediterranean Sea
function: Relate
dependencies: 3
inputs: location
backward
function: FilterConcept
dependencies: 4
inputs: landform
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2