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