Question: Who works as an official?
Choices:
Richard Gere
Cybill Shepherd
Cheech Marin
Sven Nykvist
Chris Patton
Sylvester Stallone
Charles Cornwallis, 1st Marquess Cornwallis
Rick Nowels
Jessica Alba
William Henry Harrison
Program:
function: Find
inputs: official
function: Relate
dependencies: 0
inputs: occupation
backward
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 <occupation> ?e_1 . ?e_1 <pred:name> "official" .   }
Answer: Charles Cornwallis, 1st Marquess Cornwallis