Question: Of chemical elements that are nutrients found in carrots, which possesses the highest atomic number?
Choices:
selenium
calcium
The Dukes of Hazzard
I Am Legend
sodium
manganese
magnesium
phosphorus
zinc
Sioux Falls
Program:
function: Find
inputs: carrot
function: Relate
dependencies: 0
inputs: nutrient
forward
function: FilterConcept
dependencies: 1
inputs: chemical element
function: SelectAmong
dependencies: 2
inputs: atomic number
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 <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: selenium