Question: The mass of how many chemical elements is below 140 yottagrams?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical element" . ?e <mass> ?pv . ?pv <pred:unit> "yottagram" . ?pv <pred:value> ?v . FILTER ( ?v < "140"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: mass
140 yottagram
<
function: FilterConcept
dependencies: 1
inputs: chemical element
function: Count
dependencies: 2