Question: Is the episode count lower for Veronica Mars, with Leighton Meester as a cast member, or The Hitchhiker's Guide to the Galaxy, composed by the Eagles?
Choices:
Dancing with the Stars
Six Feet Under
Seinfeld
Bleak House
Robot Chicken
Game of Thrones
Phineas and Ferb
Veronica Mars
The Hitchhiker's Guide to the Galaxy
American Horror Story
Program:
function: Find
inputs: Leighton Meester
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Veronica Mars
function: And
dependencies: 1
2
function: Find
inputs: Eagles
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: The Hitchhiker's Guide to the Galaxy
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Veronica Mars" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Leighton Meester" .   } UNION { ?e <pred:name> "The Hitchhiker's Guide to the Galaxy" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Eagles" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Hitchhiker's Guide to the Galaxy