Question: Which one is taller, Larsh Hirschfeld or Richard Thompson, 2008 Summer Olympics participant?
Choices:
James E. Reilly
William Henry Harrison
Richard Gere
Paul Simon
Rahul Dev Burman
Simon Cowell
Lars Hirschfeld
Max Fleischer
Richard Thompson
Sylvester Stallone
Program:
function: Find
inputs: Lars Hirschfeld
function: Find
inputs: 2008 Summer Olympics
function: Relate
dependencies: 1
inputs: participant of
backward
function: Find
inputs: Richard Thompson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lars Hirschfeld" .  } UNION { ?e <pred:name> "Richard Thompson" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> "2008 Summer Olympics" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lars Hirschfeld