Question: Which visual artwork is derived from Scarlett, about the American Civil War?
Choices:
The Goodbye Girl
The Music Man
Dredd
The Three Musketeers
Easy Rider
A Christmas Carol
A Streetcar Named Desire
Scarlett
Shackleton
House
Program:
function: Find
inputs: American Civil War
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Scarlett
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Scarlett" . ?e_1 <main_subject> ?e_2 . ?e_2 <pred:name> "American Civil War" .   }
Answer: Scarlett