Question: Does Charlie Sheen or Jason Lee (whose ISNI is 0000 0001 2135 9045) have more children?
Choices:
Jason Lee
William Henry Harrison
Paul Simon
Rahul Dev Burman
David Byrne
Richard Gere
James E. Reilly
Max Fleischer
Simon Cowell
Charlie Sheen
Program:
function: Find
inputs: Charlie Sheen
function: Find
inputs: Jason Lee
function: FilterStr
dependencies: 1
inputs: ISNI
0000 0001 2135 9045
function: SelectBetween
dependencies: 0
2
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie Sheen" . } UNION { ?e <pred:name> "Jason Lee" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 2135 9045" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Charlie Sheen