Question: What is the smallest atomic number in a chemical element of a nutrient of a carrot?
Choices:
sodium
Search for Tomorrow
zinc
manganese
Sharmila Tagore
California State University, Northridge
magnesium
selenium
phosphorus
calcium
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
smallest
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 ?v LIMIT 1
Answer: sodium