Question: Who has less Erdős number, Enrico Fermi or David Hilbert?
Choices:
Enrico Fermi
William Henry Harrison
James E. Reilly
David Byrne
Max Fleischer
Paul Simon
David Hilbert
Richard Gere
Simon Cowell
Sylvester Stallone
Program:
function: Find
inputs: Enrico Fermi
function: Find
inputs: David Hilbert
function: SelectBetween
dependencies: 0
1
inputs: Erdős number
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Enrico Fermi" .  } UNION { ?e <pred:name> "David Hilbert" .  } ?e <Erdős_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Enrico Fermi