Question: How many chemical compounds whose boiling point is 320 degree Celsius or whose color is garnet?
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 compound" .  { ?e <boiling_point> ?pv . ?pv <pred:unit> "degree Celsius" . ?pv <pred:value> "320"^^xsd:double .  } UNION { ?e <color> ?e_1 . ?e_1 <pred:name> "garnet" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: boiling point
320 degree Celsius
=
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: Find
inputs: garnet
function: Relate
dependencies: 3
inputs: color
backward
function: FilterConcept
dependencies: 4
inputs: chemical compound
function: Or
dependencies: 2
5
function: Count
dependencies: 6