Question: Who has the lower Erdős number, David Hilbert or William Goldman (whose ISNI is 0000 0001 1698 3396)?
Choices:
Simon Cowell
David Byrne
Sylvester Stallone
James E. Reilly
William Henry Harrison
Rahul Dev Burman
William Goldman
Richard Gere
Paul Simon
David Hilbert
Program:
function: Find
inputs: David Hilbert
function: Find
inputs: William Goldman
function: FilterStr
dependencies: 1
inputs: ISNI
0000 0001 1698 3396
function: SelectBetween
dependencies: 0
2
inputs: Erdős number
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Hilbert" . } UNION { ?e <pred:name> "William Goldman" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 1698 3396" . } ?e <Erdős_number> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: William Goldman