Question: Who has more children, Chris Evans (the one whose ISNI is 0000 0000 4338 8966) or Olivia Wilde?
Choices:
Max Fleischer
David Byrne
Olivia Wilde
James E. Reilly
Rahul Dev Burman
William Henry Harrison
Simon Cowell
Sylvester Stallone
Paul Simon
Chris Evans
Program:
function: Find
inputs: Chris Evans
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 4338 8966
function: Find
inputs: Olivia Wilde
function: SelectBetween
dependencies: 1
2
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Evans" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0000 4338 8966" . } UNION { ?e <pred:name> "Olivia Wilde" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Evans