Question: Does John Madden (educated at the University of Michigan) or Hulk (sport number is 10) have larger mass?
Choices:
Sylvester Stallone
John Madden
Rahul Dev Burman
David Byrne
William Henry Harrison
Hulk
Max Fleischer
James E. Reilly
Richard Gere
Paul Simon
Answer: John Madden
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Madden" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "University of Michigan" . } UNION { ?e <pred:name> "Hulk" . ?e <sport_number> ?pv_1 . ?pv_1 <pred:value> "10" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: University of Michigan
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Madden
function: And
dependencies: 1
2
function: Find
inputs: Hulk
function: FilterStr
dependencies: 4
inputs: sport number
10
function: SelectBetween
dependencies: 3
5
inputs: mass
greater