Question: How many seas partially contain Nigeria or have a water residence time not equal to 45 years?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sea" .  { ?e <partially_contains> ?e_1 . ?e_1 <pred:name> "Nigeria" .  } UNION { ?e <residence_time_of_water> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "45"^^xsd:double ) .  } }
Program:
function: Find
inputs: Nigeria
function: Relate
dependencies: 0
inputs: partially contains
backward
function: FilterConcept
dependencies: 1
inputs: sea
function: FindAll
function: FilterNum
dependencies: 3
inputs: residence time of water
45 year
!=
function: FilterConcept
dependencies: 4
inputs: sea
function: Or
dependencies: 2
5
function: Count
dependencies: 6