Question: Who is taller, Dwayne Johnson or Charlie Daniels (whose sport number is 11)?
Choices:
Dwayne Johnson
Charlie Daniels
Rahul Dev Burman
Simon Cowell
James E. Reilly
Richard Gere
Paul Simon
David Byrne
Max Fleischer
Sylvester Stallone
Answer: Dwayne Johnson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dwayne Johnson" . } UNION { ?e <pred:name> "Charlie Daniels" . ?e <sport_number> ?pv_1 . ?pv_1 <pred:value> "11" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dwayne Johnson
function: Find
inputs: Charlie Daniels
function: FilterStr
dependencies: 1
inputs: sport number
11
function: SelectBetween
dependencies: 0
2
inputs: height
greater