Question: How many landforms whose perimeter is not 54000 kilometers or that use English as the official language?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" .  { ?e <perimeter> ?pv . ?pv <pred:unit> "kilometre" . ?pv <pred:value> ?v . FILTER ( ?v != "54000"^^xsd:double ) .  } UNION { ?e <official_language> ?e_1 . ?e_1 <pred:name> "English" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: perimeter
54000 kilometre
!=
function: FilterConcept
dependencies: 1
inputs: landform
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: official language
backward
function: FilterConcept
dependencies: 4
inputs: landform
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 8