Question: What written work derives from Great Expectations (the one that has Robbie Coltrane as a cast member) and has available full works at http://www.gutenberg.org/ebooks/1400?
Choices:
Interview with the Vampire
A Single Man
The Maltese Falcon
Along Came a Spider
Starship Troopers
Live and Let Die
The Painted Veil
listed building in the United Kingdom
Great Expectations
Contact
Answer: Great Expectations
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Great Expectations" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Robbie Coltrane" .  ?e <full_work_available_at> ?pv . ?pv <pred:value> "http://www.gutenberg.org/ebooks/1400" .  }
Program:
function: Find
inputs: Robbie Coltrane
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: written work
function: FindAll
function: FilterStr
dependencies: 6
inputs: full work available at
http://www.gutenberg.org/ebooks/1400
function: FilterConcept
dependencies: 7
inputs: written work
function: And
dependencies: 5
8
function: What
dependencies: 9