Question: Which has the smallest mass among the chemical compounds whose color is white?
Choices:
L-alanine
palmitic acid
cis-oleic acid
D-fructose (open structure)
capric acid
L-Arginine
stearic acid
L-Leucine
thiamine ion
sucrose
Program:
function: Find
inputs: white
function: Relate
dependencies: 0
inputs: color
backward
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: SelectAmong
dependencies: 2
inputs: mass
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical compound" . ?e <color> ?e_1 . ?e_1 <pred:name> "white" .  ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: D-fructose (open structure)