Question: Who is taller, Jay-Z or Jenny McCarthy?
Choices:
Paul Simon
James E. Reilly
Sylvester Stallone
David Byrne
Jenny McCarthy
Rahul Dev Burman
Richard Gere
Jay-Z
William Henry Harrison
Simon Cowell
Program:
function: Find
inputs: Jay-Z
function: Find
inputs: Jenny McCarthy
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jay-Z" .  } UNION { ?e <pred:name> "Jenny McCarthy" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jay-Z