Question: Of all chemical elements with the UK as their place of discovery, which possesses the highest atomic number?
Choices:
sodium
calcium
Olympia
Natalie Portman
Wedding Crashers
selenium
magnesium
zinc
manganese
phosphorus
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: location of discovery
backward
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 <location_of_discovery> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <atomic_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: magnesium