Question: Tell me the person whose name is Jonny Lee Miller in their native language and who is married to Angelina Jolie.
Choices:
Jonny Lee Miller
Simon Cowell
Rahul Dev Burman
David Byrne
Brad Pitt
Richard Gere
Billy Bob Thornton
James E. Reilly
Sylvester Stallone
William Henry Harrison
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Jonny Lee Miller
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Angelina Jolie
function: Relate
dependencies: 3
inputs: spouse
forward
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 <name_in_native_language> ?pv . ?pv <pred:value> "Jonny Lee Miller" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Angelina Jolie" .  }
Answer: Jonny Lee Miller