Question: Does Lost in Space (whose native title is Lost in Space) or The O.C. have more seasons?
Choices:
Seinfeld
Saturday Night's Main Event
Six Feet Under
The O.C.
Dancing with the Stars
Lost in Space
Bleak House
American Horror Story
Phineas and Ferb
Game of Thrones
Program:
function: Find
inputs: Lost in Space
function: FilterStr
dependencies: 0
inputs: native label
Lost in Space
function: Find
inputs: The O.C.
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lost in Space" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Lost in Space" . } UNION { ?e <pred:name> "The O.C." . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The O.C.