Question: Which human has the native-language name of Seosamh MacCathmhaoil and has the occupation of poet?
Choices:
W. H. Auden
Joseph Campbell
Norman Mailer
Thomas Hardy
David Byrne
Jean Cocteau
G. K. Chesterton
Richard Gere
Max Fleischer
Sylvester Stallone
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Seosamh MacCathmhaoil
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: poet
function: Relate
dependencies: 3
inputs: occupation
backward
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> "Seosamh MacCathmhaoil" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "poet" .  }
Answer: Joseph Campbell