Question: Who has more offspring: Johann Sebastian Bach, of the British Museum person-institution code 64954, or Ryan Gosling?
Choices:
Johann Sebastian Bach
James E. Reilly
Paul Simon
Ryan Gosling
Sylvester Stallone
Max Fleischer
Rahul Dev Burman
Simon Cowell
William Henry Harrison
David Byrne
Answer: Johann Sebastian Bach
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johann Sebastian Bach" . ?e <British_Museum_person-institution> ?pv_1 . ?pv_1 <pred:value> "64954" . } UNION { ?e <pred:name> "Ryan Gosling" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Johann Sebastian Bach
function: FilterStr
dependencies: 0
inputs: British Museum person-institution
64954
function: Find
inputs: Ryan Gosling
function: SelectBetween
dependencies: 1
2
inputs: number of children
greater