Question: Which person weighs less, Jackie Robinson (the one whose Google Doodle is jackie-robinsons-94th-birthday) or Stephen Graham (the one that is an ethnic group of African Americans)?
Choices:
Jackie Robinson
David Byrne
Stephen Graham
Sylvester Stallone
Simon Cowell
William Henry Harrison
Richard Gere
Max Fleischer
James E. Reilly
Paul Simon
Answer: Jackie Robinson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackie Robinson" . ?e <Google_Doodle> ?pv_1 . ?pv_1 <pred:value> "jackie-robinsons-94th-birthday" . } UNION { ?e <pred:name> "Stephen Graham" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> "African Americans" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jackie Robinson
function: FilterStr
dependencies: 0
inputs: Google Doodle
jackie-robinsons-94th-birthday
function: Find
inputs: African Americans
function: Relate
dependencies: 2
inputs: ethnic group
backward
function: Find
inputs: Stephen Graham
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less