Question: What activity makes up a part of the activity matching the publisher of Superman (the one that is authored by Geoff Johns) ?
Choices:
Harry Potter and the Half-Blood Prince
Batman
Dark Horse Comics
journalism
2008 Tour de France
Journey
rape
Constantine
Vertigo
Battleship
Answer: Vertigo
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "activity" . ?e_2 <publisher> ?e_1 . ?e_2 <pred:name> "Superman" . ?e_2 <author> ?e_3 . ?e_3 <pred:name> "Geoff Johns" .   }
Program:
function: Find
inputs: Geoff Johns
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: publisher
forward
function: FilterConcept
dependencies: 4
inputs: activity
function: Relate
dependencies: 5
inputs: part of
backward
function: FilterConcept
dependencies: 6
inputs: activity
function: What
dependencies: 7