Question: Which person was cast as the Tenth Doctor on BBC-distributed Doctor Who?
Choices:
David Byrne
Peter Capaldi
Richard Gere
David Tennant
Catherine Tate
Alex Kingston
Max Fleischer
William Henry Harrison
Rahul Dev Burman
John Hurt
Answer: David Tennant
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Doctor Who" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "BBC" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Tenth Doctor" .  }
Program:
function: Find
inputs: BBC
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Doctor Who
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: QFilterStr
dependencies: 4
inputs: character role
Tenth Doctor
function: FilterConcept
dependencies: 5
inputs: human
function: What
dependencies: 6