Question: Who weighs more, Mark Johnson (the one that is a member of New York Mets) or Larry Miller (the one whose height is 193 centimetre)?
Choices:
Richard Gere
Paul Simon
Mark Johnson
Larry Miller
James E. Reilly
Simon Cowell
David Byrne
Rahul Dev Burman
Max Fleischer
William Henry Harrison
Program:
function: Find
inputs: New York Mets
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Mark Johnson
function: And
dependencies: 1
2
function: Find
inputs: Larry Miller
function: FilterNum
dependencies: 4
inputs: height
193 centimetre
=
function: SelectBetween
dependencies: 3
5
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Johnson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "New York Mets" . } UNION { ?e <pred:name> "Larry Miller" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "193"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mark Johnson