Question: Who is lighter in weight: Colin Wilson, at 212 lbs, or Brian Jones of the New England Patriots?
Choices:
Paul Simon
James E. Reilly
William Henry Harrison
David Byrne
Brian Jones
Simon Cowell
Max Fleischer
Rahul Dev Burman
Sylvester Stallone
Colin Wilson
Program:
function: Find
inputs: Colin Wilson
function: FilterNum
dependencies: 0
inputs: mass
212 pound
=
function: Find
inputs: New England Patriots
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less
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> "Brian Jones" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "New England Patriots" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Colin Wilson