Question: Who is the lightweight between Craig Ferguson of the Calgary Flames or Jim Taylor, at 72 inches tall?
Choices:
James E. Reilly
Craig Ferguson
Jim Taylor
Max Fleischer
Paul Simon
Simon Cowell
Rahul Dev Burman
William Henry Harrison
Richard Gere
David Byrne
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: Jim Taylor
function: FilterNum
dependencies: 4
inputs: height
72 inch
=
function: SelectBetween
dependencies: 3
5
inputs: mass
less
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> "Jim Taylor" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> "72"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Craig Ferguson