Question: What's the name of the person who is an Irish citizen, was named Alan John Bennett at birth, and has ирландцы as a demonym?
Choices:
Mark Strong
Max Fleischer
George Bernard Shaw
David Byrne
Mischa Barton
Peter O'Toole
Aphex Twin
Alan Bennett
William Henry Harrison
Richard Gere
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
Alan John Bennett
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Ireland
function: FilterStr
dependencies: 3
inputs: demonym
ирландцы
function: Relate
dependencies: 4
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <birth_name> ?pv . ?pv <pred:value> "Alan John Bennett" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Ireland" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "ирландцы" .  }
Answer: Alan Bennett