Question: Which has more episodes, Neighbours whose official website is http://tenplay.com.au/channel-eleven/neighbours or Mr. & Mrs. Smith whose number of episodes is 13?
Choices:
Neighbours
Bleak House
Mr. & Mrs. Smith
Dancing with the Stars
Phineas and Ferb
Six Feet Under
American Horror Story
Game of Thrones
Seinfeld
Saturday Night's Main Event
Answer: Neighbours
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Neighbours" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://tenplay.com.au/channel-eleven/neighbours" . } UNION { ?e <pred:name> "Mr. & Mrs. Smith" . ?e <number_of_episodes> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "13"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Neighbours
function: FilterStr
dependencies: 0
inputs: official website
http://tenplay.com.au/channel-eleven/neighbours
function: Find
inputs: Mr. & Mrs. Smith
function: FilterNum
dependencies: 2
inputs: number of episodes
13
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
greater