Question: Which chemical element that is a nutrient of milk has the highest atomic number?
Choices:
selenium
Terminator 2: Judgment Day
phosphorus
zinc
Larry Miller
magnesium
sodium
calcium
manganese
The Count of Monte Cristo
Program:
function: Find
inputs: milk
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> "milk" .  ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: selenium