Question: Among the medications that are a nutrient of beef, which one has the smallest atomic number?
Choices:
Mandy Moore
prescription drug
antibiotic
iron
over-the-counter drug
The Girl with the Dragon Tattoo
The Merry Widow
copper
analgesic
Cliff Robertson
Program:
function: Find
inputs: beef
function: Relate
dependencies: 0
inputs: nutrient
forward
function: FilterConcept
dependencies: 1
inputs: medication
function: SelectAmong
dependencies: 2
inputs: atomic number
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medication" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> "beef" .  ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: iron