Question: Who is lighter in weight: Colin Wilson, at 212 pounds, or John Carter of the San Jose Sharks?
Choices:
Richard Gere
David Byrne
Simon Cowell
Sylvester Stallone
William Henry Harrison
James E. Reilly
Rahul Dev Burman
John Carter
Colin Wilson
Max Fleischer
Answer: John Carter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Colin Wilson" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "212"^^xsd:double . } UNION { ?e <pred:name> "John Carter" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "San Jose Sharks" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Colin Wilson
function: FilterNum
dependencies: 0
inputs: mass
212 pound
=
function: Find
inputs: San Jose Sharks
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: John Carter
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less