Question: Who has greater mass, Chris Brown (who was drafted by Arizona Coyotes) or Ron Howard (who was born in Oakland)?
Choices:
James E. Reilly
Simon Cowell
Ron Howard
Paul Simon
Sylvester Stallone
William Henry Harrison
Rahul Dev Burman
David Byrne
Richard Gere
Chris Brown
Program:
function: Find
inputs: Arizona Coyotes
function: Relate
dependencies: 0
inputs: drafted by
backward
function: Find
inputs: Chris Brown
function: And
dependencies: 1
2
function: Find
inputs: Oakland
function: Relate
dependencies: 4
inputs: place of birth
backward
function: Find
inputs: Ron Howard
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Brown" . ?e <drafted_by> ?e_1 . ?e_1 <pred:name> "Arizona Coyotes" .   } UNION { ?e <pred:name> "Ron Howard" . ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> "Oakland" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ron Howard