Question: Who is the fictional person that has the nickname Tarzan and is said to be identical to Tarzan (that has Tony Goldwyn as a performer)?
Choices:
Forrest Gump
Tarzan
Lois Lane
Oz
Jack Abbott
Michael Dobson
James Bond
Walter Skinner
Doctor Eggman
Ridge Forrester
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: nickname
Tarzan
function: FilterConcept
dependencies: 1
inputs: fictional human
function: Find
inputs: Tony Goldwyn
function: Relate
dependencies: 3
inputs: performer
backward
function: Find
inputs: Tarzan
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: said to be the same as
forward
function: FilterConcept
dependencies: 7
inputs: fictional human
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional human" . ?e <nickname> ?pv . ?pv <pred:value> "Tarzan" . ?e_1 <said_to_be_the_same_as> ?e . ?e_1 <pred:name> "Tarzan" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "Tony Goldwyn" .  }
Answer: Tarzan