Question: Which chemical compound whose melting point is higher than 220 degree Celsius has the greatest mass?
Choices:
glycine
riboflavin
L-alanine
L-phenylalanine
L-Threonine
L-Tyrosine
L-Histidine
folic acid
L-Valine
L-Serine
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: melting point
220 degree Celsius
>
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: SelectAmong
dependencies: 2
inputs: mass
largest
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 > "220"^^xsd:double ) . ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: folic acid