Question: Who has the greater mass between Ben Johnson (born 1994-06-07) and Craig Ferguson (the member of the Florida Panthers)?
Choices:
William Henry Harrison
Craig Ferguson
Richard Gere
Max Fleischer
Paul Simon
James E. Reilly
Rahul Dev Burman
Sylvester Stallone
Ben Johnson
Simon Cowell
Program:
function: Find
inputs: Ben Johnson
function: FilterDate
dependencies: 0
inputs: date of birth
1994-06-07
=
function: Find
inputs: Florida Panthers
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Craig Ferguson
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ben Johnson" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1994-06-07"^^xsd:date . } UNION { ?e <pred:name> "Craig Ferguson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Florida Panthers" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Craig Ferguson