Question: How many islands overlap Equatorial Guinea or correspond to country calling codes +297?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" .  { ?e <territory_overlaps> ?e_1 . ?e_1 <pred:name> "Equatorial Guinea" .  } UNION { ?e <country_calling_code> ?pv . ?pv <pred:value> "+297" .  } }
Program:
function: Find
inputs: Equatorial Guinea
function: Relate
dependencies: 0
inputs: territory overlaps
backward
function: FilterConcept
dependencies: 1
inputs: island
function: FindAll
function: FilterStr
dependencies: 3
inputs: country calling code
+297
function: FilterConcept
dependencies: 4
inputs: island
function: Or
dependencies: 2
5
function: Count
dependencies: 6