Question: Which one has less episodes between Girls (the one whose production company is HBO) and Friday Night Lights (the one whose official website is http://www.nbc.com/friday-night-lights/)?
Choices:
Robot Chicken
Saturday Night's Main Event
Friday Night Lights
Game of Thrones
Girls
Phineas and Ferb
Dancing with the Stars
Seinfeld
Bleak House
Six Feet Under
Program:
function: Find
inputs: HBO
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Girls
function: And
dependencies: 1
2
function: Find
inputs: Friday Night Lights
function: FilterStr
dependencies: 4
inputs: official website
http://www.nbc.com/friday-night-lights/
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Girls" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "HBO" . } UNION { ?e <pred:name> "Friday Night Lights" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.nbc.com/friday-night-lights/" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Girls