Question: Which has more seasons, Charmed whose official website is http://www.tnt.tv/series/charmed or Love of Life?
Choices:
Charmed
Seinfeld
Love of Life
Saturday Night's Main Event
Robot Chicken
American Horror Story
Dancing with the Stars
Game of Thrones
Bleak House
Six Feet Under
Program:
function: Find
inputs: Charmed
function: FilterStr
dependencies: 0
inputs: official website
http://www.tnt.tv/series/charmed
function: Find
inputs: Love of Life
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charmed" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.tnt.tv/series/charmed" . } UNION { ?e <pred:name> "Love of Life" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Love of Life