Question: Who is more massive, the 76 inch tall Joe Jackson or Henry James of the United States of America?
Choices:
Paul Simon
Sylvester Stallone
Joe Jackson
Rahul Dev Burman
James E. Reilly
Max Fleischer
David Byrne
Richard Gere
Simon Cowell
William Henry Harrison
Answer: Joe Jackson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joe Jackson" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> "76"^^xsd:double . } UNION { ?e <pred:name> "Henry James" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> "United States of America" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Joe Jackson
function: FilterNum
dependencies: 0
inputs: height
76 inch
=
function: Find
inputs: United States of America
function: Relate
dependencies: 2
inputs: country for sport
backward
function: Find
inputs: Henry James
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater