Question: Which has fewer seasons, Charmed which is in the fantasy genre, or Street Fighter II V?
Choices:
Six Feet Under
Game of Thrones
Seinfeld
American Horror Story
Charmed
Street Fighter II V
Phineas and Ferb
Robot Chicken
Dancing with the Stars
Bleak House
Program:
function: Find
inputs: Street Fighter II V
function: Find
inputs: fantasy
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Charmed
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Street Fighter II V" .  } UNION { ?e <pred:name> "Charmed" . ?e <genre> ?e_1 . ?e_1 <pred:name> "fantasy" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Street Fighter II V