Question: Which human, whose birth name is Harry Bernard Cross, plays the character Sarek as a cast member of Star Trek (which has Ben Cross as a cast member)?
Choices:
Babyface
Paul Simon
Richard Gere
Sylvester Stallone
William Henry Harrison
Simon Cowell
David Byrne
Ben Cross
Max Fleischer
Rahul Dev Burman
Answer: Ben Cross
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <birth_name> ?pv . ?pv <pred:value> "Harry Bernard Cross" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Star Trek" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Ben Cross" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Sarek" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
Harry Bernard Cross
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Ben Cross
function: Relate
dependencies: 3
inputs: cast member
backward
function: Find
inputs: Star Trek
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: cast member
forward
function: QFilterStr
dependencies: 7
inputs: character role
Sarek
function: FilterConcept
dependencies: 8
inputs: human
function: And
dependencies: 2
9
function: What
dependencies: 10