Question: Are there fewer episodes of the political thriller 24 or of Dynasty, with the Twitter handle cw_dynasty?
Choices:
Robot Chicken
American Horror Story
Saturday Night's Main Event
Dancing with the Stars
Bleak House
Seinfeld
Game of Thrones
24
Dynasty
Six Feet Under
Answer: Dynasty
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "24" . ?e <genre> ?e_1 . ?e_1 <pred:name> "political thriller" . } UNION { ?e <pred:name> "Dynasty" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "cw_dynasty" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: political thriller
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: 24
function: And
dependencies: 1
2
function: Find
inputs: Dynasty
function: FilterStr
dependencies: 4
inputs: Twitter username
cw_dynasty
function: SelectBetween
dependencies: 3
5
inputs: number of episodes
less