Question: Of the medications that are the nutrient of a carrot, which has the largest density?
Choices:
Bryce Dallas Howard
Serbian
Eau Claire
analgesic
iron
copper
prescription drug
over-the-counter drug
antibiotic
Iqbal Theba
Program:
function: Find
inputs: carrot
function: Relate
dependencies: 0
inputs: nutrient
forward
function: FilterConcept
dependencies: 1
inputs: medication
function: SelectAmong
dependencies: 2
inputs: density
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medication" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> "carrot" .  ?e <density> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: copper