Question: Which is shorter, George Hamilton of Heart of Midlothian F.C. or Jason Kidd?
Choices: Simon Cowell
Paul Simon
Sylvester Stallone
James E. Reilly
Jason Kidd
Richard Gere
David Byrne
George Hamilton
William Henry Harrison
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "George Hamilton" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Heart of Midlothian F.C." .   } UNION { ?e <pred:name> "Jason Kidd" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Heart of Midlothian F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: George Hamilton
function: And
dependencies: 1
2
function: Find
inputs: Jason Kidd
function: SelectBetween
dependencies: 3
4
inputs: height
less
Answer: George Hamilton