Question: Which chemical element possesses over 5.1 grams per cubic centimeter density at 20 degrees Celsius?
Choices:
phosphorus
selenium
Nitty Gritty Dirt Band
iron
magnesium
manganese
sodium
calcium
zinc
copper
Answer: manganese
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical element" . ?e <density> ?pv . ?pv <pred:unit> "gram per cubic centimetre" . ?pv <pred:value> ?v . FILTER ( ?v > "5.1"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <density> ; <pred:fact_t> ?pv ] <temperature> ?qpv . ?qpv <pred:unit> "degree Celsius" . ?qpv <pred:value> "20"^^xsd:double .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: density
5.1 gram per cubic centimetre
>
function: QFilterNum
dependencies: 1
inputs: temperature
20 degree Celsius
=
function: FilterConcept
dependencies: 2
inputs: chemical element
function: What
dependencies: 3