Question: What is the series ordinal for the voice actor Angela Lansbury in Beauty and the Beast (that has Alan Menken as a crew member)?
Choices: 36
12
10
9
1
51
6
31
41
26
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <film_crew_member> ?e_3 . ?e_3 <pred:name> "Alan Menken" . ?e_2 <pred:name> "Angela Lansbury" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Alan Menken
function: Relate
dependencies: 0
inputs: film crew member
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: Angela Lansbury
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
series ordinal
Answer: 6