Question: Does the Andrew Jackson designated by CANTIC-ID a11878150 or does Iain Glen have more kids?
Choices:
Rahul Dev Burman
James E. Reilly
Andrew Jackson
Simon Cowell
Sylvester Stallone
David Byrne
William Henry Harrison
Max Fleischer
Iain Glen
Richard Gere
Program:
function: Find
inputs: Andrew Jackson
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a11878150
function: Find
inputs: Iain Glen
function: SelectBetween
dependencies: 1
2
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Andrew Jackson" . ?e <CANTIC-ID> ?pv_1 . ?pv_1 <pred:value> "a11878150" . } UNION { ?e <pred:name> "Iain Glen" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Andrew Jackson