Question: Who has fewer children, Franklin Delano Roosevelt or Jason Lee who has ISNI 0000 0001 2135 904?
Choices:
James E. Reilly
Richard Gere
Max Fleischer
William Henry Harrison
Rahul Dev Burman
Franklin Delano Roosevelt
David Byrne
Jason Lee
Sylvester Stallone
Paul Simon
Program:
function: Find
inputs: Jason Lee
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2135 9045
function: Find
inputs: Franklin Delano Roosevelt
function: SelectBetween
dependencies: 1
2
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jason Lee" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 2135 9045" . } UNION { ?e <pred:name> "Franklin Delano Roosevelt" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Franklin Delano Roosevelt