Question: Which animated feature film, of the series number 11, contains the voice actor whose name is John Goodman (the one that is a cast member of The Artist) ?
Choices:
Shrek 2
Beauty and the Beast
The Rescuers
Peter Pan
Lilo & Stitch
WALL·E
Renaissance
Monsters, Inc.
Winnie the Pooh
The Princess and the Frog
Answer: The Princess and the Frog
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "John Goodman" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "The Artist" .  [ <pred:fact_h> ?e ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> "11" .  }
Program:
function: Find
inputs: The Artist
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: John Goodman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: voice actor
backward
function: QFilterStr
dependencies: 4
inputs: series ordinal
11
function: FilterConcept
dependencies: 5
inputs: animated feature film
function: What
dependencies: 6