Question: Of all the chemical elements that are considered a carrot nutrient, which ha the largest mass?
Choices:
Peter Horton
Piranha 3DD
sodium
Ghostbusters II
zinc
calcium
selenium
phosphorus
magnesium
manganese
Program:
function: Find
inputs: carrot
function: Relate
dependencies: 0
inputs: nutrient
forward
function: FilterConcept
dependencies: 1
inputs: chemical element
function: SelectAmong
dependencies: 2
inputs: mass
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical element" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> "carrot" .  ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: selenium