Question: What is the number of landforms that utilize United States dollar as currency or that have perimeter under 25000 miles.
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 <currency> ?e_1 . ?e_1 <pred:name> "United States dollar" .  } UNION { ?e <perimeter> ?pv . ?pv <pred:unit> "mile" . ?pv <pred:value> ?v . FILTER ( ?v < "25000"^^xsd:double ) .  } }
Program:
function: Find
inputs: United States dollar
function: Relate
dependencies: 0
inputs: currency
backward
function: FilterConcept
dependencies: 1
inputs: landform
function: FindAll
function: FilterNum
dependencies: 3
inputs: perimeter
25000 mile
<
function: FilterConcept
dependencies: 4
inputs: landform
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1