Question: Who is taller, Stan Lee (the one whose Twitter username is TheRealStanLee) or James Madison (the one whose ISNI is 0000 0001 0905 3051)?
Choices: Stan Lee
Simon Cowell
Paul Simon
Sylvester Stallone
William Henry Harrison
James E. Reilly
David Byrne
Rahul Dev Burman
Max Fleischer
James Madison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stan Lee" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "TheRealStanLee" . } UNION { ?e <pred:name> "James Madison" . ?e <ISNI> ?pv_2 . ?pv_2 <pred:value> "0000 0001 0905 3051" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Stan Lee
function: FilterStr
dependencies: 0
inputs: Twitter username
TheRealStanLee
function: Find
inputs: James Madison
function: FilterStr
dependencies: 2
inputs: ISNI
0000 0001 0905 3051
function: SelectBetween
dependencies: 1
3
inputs: height
greater
Answer: Stan Lee