Question: Does calcium or selenium have the higher atomic number?
Choices:
phosphorus
lute
manganese
selenium
magnesium
calcium
Altoona
sodium
zinc
Michael York
Program:
function: Find
inputs: calcium
function: Find
inputs: selenium
function: SelectBetween
dependencies: 0
1
inputs: atomic number
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "calcium" .  } UNION { ?e <pred:name> "selenium" .  } ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: selenium