Question: Who is heavier, Chris Carter (the one whose mass is 201 pound) or Craig Ferguson (the one that is drafted by Montreal Canadiens)?
Choices:
Craig Ferguson
Max Fleischer
James E. Reilly
Rahul Dev Burman
William Henry Harrison
Paul Simon
Sylvester Stallone
Chris Carter
Simon Cowell
Richard Gere
Answer: Craig Ferguson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Carter" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "201"^^xsd:double . } UNION { ?e <pred:name> "Craig Ferguson" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "Montreal Canadiens" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chris Carter
function: FilterNum
dependencies: 0
inputs: mass
201 pound
=
function: Find
inputs: Montreal Canadiens
function: Relate
dependencies: 2
inputs: drafted by
backward
function: Find
inputs: Craig Ferguson
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater