Question: Tell me the person with name in native language Philip Johnson and who works as a politician.
Choices:
Richard Gere
Philip Johnson
John Davis
William Henry Harrison
Dick Clark
Robert Taylor
Paul Gross
Max Fleischer
Sylvester Stallone
John Carter
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Philip Johnson
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: politician
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> "Philip Johnson" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "politician" .  }
Answer: Philip Johnson