Question: Does Craig Ferguson, who is a member of Calgary Flames, or Lewis Gilbert, who was born as Lewis Howe Gilbert, Jr., have less mass?
Choices: Paul Simon
Sylvester Stallone
Simon Cowell
Lewis Gilbert
James E. Reilly
David Byrne
Craig Ferguson
Max Fleischer
Rahul Dev Burman
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Craig Ferguson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Calgary Flames" . } UNION { ?e <pred:name> "Lewis Gilbert" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> "Lewis Howe Gilbert, Jr." . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Calgary Flames
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Craig Ferguson
function: And
dependencies: 1
2
function: Find
inputs: Lewis Gilbert
function: FilterStr
dependencies: 4
inputs: birth name
Lewis Howe Gilbert, Jr.
function: SelectBetween
dependencies: 3
5
inputs: mass
less
Answer: Craig Ferguson