Question: What is the native-language name of a person, whose birth name is John Joseph Nicholson ?
Choices:
Barry Gibb
Salman Khan
Jack Nicholson
Mia Farrow
Phyllis Smith
Thomas Hobbes
Terry Pratchett
Laura Dern
Stephen Dorff
James Wong Howe
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
John Joseph Nicholson
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: name in native language
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> "John Joseph Nicholson" . ?e <name_in_native_language> ?pv .  }
Answer: Jack Nicholson