Question: How many chemical element  whose UNSPSC Code is 11101511 or whose atomic number is greater than 25
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical element" .  { ?e <atomic_number> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "25"^^xsd:double ) .  } UNION { ?e <UNSPSC_Code> ?pv . ?pv <pred:value> "11101511" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: atomic number
25
>
function: FilterConcept
dependencies: 1
inputs: chemical element
function: FindAll
function: FilterStr
dependencies: 3
inputs: UNSPSC Code
11101511
function: FilterConcept
dependencies: 4
inputs: chemical element
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3