Question: Which has a greater height, Ronaldo (a member of Real Madrid CF) or Craig Robinson (whose date of birth is 1961-12-27)?
Choices: Ronaldo
Rahul Dev Burman
David Byrne
Craig Robinson
Simon Cowell
William Henry Harrison
Max Fleischer
James E. Reilly
Paul Simon
Sylvester Stallone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ronaldo" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Real Madrid CF" . } UNION { ?e <pred:name> "Craig Robinson" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1961-12-27"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Real Madrid CF
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Ronaldo
function: And
dependencies: 1
2
function: Find
inputs: Craig Robinson
function: FilterDate
dependencies: 4
inputs: date of birth
1961-12-27
=
function: SelectBetween
dependencies: 3
5
inputs: height
greater
Answer: Craig Robinson