Question: What person is influenced by Charlie Chaplin and is a member of the political party called the Republican Party?
Choices:
Rob Schneider
Barbara Stanwyck
Michael Jackson
Frank Sinatra
Harold Lloyd
Robert Mitchum
Sylvester Stallone
Federico Fellini
Abraham Lincoln
Max Fleischer
Program:
function: Find
inputs: Charlie Chaplin
function: Relate
dependencies: 0
inputs: influenced by
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Republican Party
function: Relate
dependencies: 3
inputs: member of political party
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 <influenced_by> ?e_1 . ?e_1 <pred:name> "Charlie Chaplin" .  ?e <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Republican Party" .  }
Answer: Harold Lloyd