Question: Which poet wrote The Hobbit: An Unexpected Journey?
Choices:
Jack Kerouac
William Henry Harrison
Richard Gere
Tonino Guerra
William Shakespeare
James Joyce
Max Fleischer
Sylvester Stallone
J. R. R. Tolkien
Common
Answer: J. R. R. Tolkien
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "poet" .  ?e_2 <after_a_work_by> ?e . ?e_2 <pred:name> "The Hobbit: An Unexpected Journey" .  }
Program:
function: Find
inputs: poet
function: Relate
dependencies: 0
inputs: occupation
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: The Hobbit: An Unexpected Journey
function: Relate
dependencies: 3
inputs: after a work by
forward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6