Question: Which has the highest melting point among the chemical compounds whose melting point is greater than 40 degrees Celsius?
Choices:
riboflavin
stearic acid
sucrose
D-fructose (open structure)
folic acid
glycine
L-Serine
L-Tyrosine
palmitic acid
L-Valine
Answer: L-Tyrosine
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical compound" . ?e <melting_point> ?pv_1 . ?pv_1 <pred:unit> "degree Celsius" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "40"^^xsd:double ) . ?e <melting_point> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: melting point
40 degree Celsius
>
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: SelectAmong
dependencies: 2
inputs: melting point
largest