Question: How many Japan prefectures whose percent of water area is not 5 percent or whose ISNI is 0000 0001 0728 9853?
Choices: 9
10
11
12
13
14
15
16
17
18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" .  { ?e <water_as_percent_of_area> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v != "5"^^xsd:double ) .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 0728 9853" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: water as percent of area
5 percentage
!=
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0001 0728 9853
function: FilterConcept
dependencies: 4
inputs: prefecture of Japan
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 11