Question: Who is a person cast member of Austin Powers: The Spy Who Shagged Me and the birth name is Robert John Wagner?
Choices:
Mike Myers
Will Ferrell
Sylvester Stallone
David Byrne
Heather Graham
William Henry Harrison
Robert Wagner
Richard Gere
Burt Bacharach
Woody Harrelson
Program:
function: Find
inputs: Austin Powers: The Spy Who Shagged Me
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: birth name
Robert John Wagner
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Austin Powers: The Spy Who Shagged Me" .  ?e <birth_name> ?pv . ?pv <pred:value> "Robert John Wagner" .  }
Answer: Robert Wagner