Question: I would like to know the person that has a name and native language Leonard Cohen
Choices:
Alfred Newman
Rock Hudson
Richard Gere
William Henry Harrison
Amitabh Bachchan
Max Fleischer
Alicia Silverstone
Sylvester Stallone
Terry Jones
Leonard Cohen
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Leonard Cohen
function: FilterConcept
dependencies: 1
inputs: human
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <name_in_native_language> ?pv . ?pv <pred:value> "Leonard Cohen" .  }
Answer: Leonard Cohen