Question: Who has greater mass, Art Carney (whose height is 74 inches) or Keith Allen (who is the general manager of Philadelphia Flyers)?
Choices:
James E. Reilly
Paul Simon
Simon Cowell
Keith Allen
Richard Gere
Art Carney
Sylvester Stallone
William Henry Harrison
Max Fleischer
Rahul Dev Burman
Answer: Art Carney
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Art Carney" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> "74"^^xsd:double . } UNION { ?e <pred:name> "Keith Allen" . ?e_1 <general_manager> ?e . ?e_1 <pred:name> "Philadelphia Flyers" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Art Carney
function: FilterNum
dependencies: 0
inputs: height
74 inch
=
function: Find
inputs: Philadelphia Flyers
function: Relate
dependencies: 2
inputs: general manager
forward
function: Find
inputs: Keith Allen
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater