Question: What person has the character role of Tenth Doctor as a cast member of the television series that contains A Christmas Carol (whose script is written by Steven Moffat)?
Choices:
Max Fleischer
David Byrne
Alex Kingston
Catherine Tate
David Tennant
William Henry Harrison
Rahul Dev Burman
Christopher Eccleston
Sylvester Stallone
Richard Gere
Program:
function: Find
inputs: Steven Moffat
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: A Christmas Carol
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
forward
function: FilterConcept
dependencies: 4
inputs: television series
function: Relate
dependencies: 5
inputs: cast member
forward
function: QFilterStr
dependencies: 6
inputs: character role
Tenth Doctor
function: FilterConcept
dependencies: 7
inputs: human
function: What
dependencies: 8
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series" . ?e_3 <part_of_the_series> ?e_1 . ?e_3 <pred:name> "A Christmas Carol" . ?e_3 <screenwriter> ?e_4 . ?e_4 <pred:name> "Steven Moffat" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Tenth Doctor" .  }
Answer: David Tennant