Question: Which television series is based on Ben 10 (the one that has John DiMaggio as a voice actor)?
Choices:
Bleak House
Six Feet Under
Bewitched
Star Trek: The Original Series
Ben 10
Wanted
Robot Chicken
Game of Thrones
American Horror Story
Saturday Night's Main Event
Answer: Ben 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Ben 10" . ?e_1 <voice_actor> ?e_2 . ?e_2 <pred:name> "John DiMaggio" .   }
Program:
function: Find
inputs: John DiMaggio
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Ben 10
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: What
dependencies: 5