Question: Which has a lesser Erdős number, Linus Pauling or Richard Feynman?
Choices:
Richard Feynman
Linus Pauling
Sylvester Stallone
David Byrne
Simon Cowell
Richard Gere
Rahul Dev Burman
William Henry Harrison
Paul Simon
James E. Reilly
Program:
function: Find
inputs: Linus Pauling
function: Find
inputs: Richard Feynman
function: SelectBetween
dependencies: 0
1
inputs: Erdős number
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Linus Pauling" .  } UNION { ?e <pred:name> "Richard Feynman" .  } ?e <Erdős_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Richard Feynman