Question: What is the written work whose narrative location is Paris where William Somerset Maugham was born and has Dewey Decimal Classification 813.54?
Choices:
Contact
Beloved
The Hours
The Three Musketeers
The Da Vinci Code
Live and Let Die
The Devil Wears Prada
The Painted Veil
Starship Troopers
A Single Man
Answer: The Da Vinci Code
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Paris" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "William Somerset Maugham" .  ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "813.54" .  }
Program:
function: Find
inputs: William Somerset Maugham
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Paris
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: FindAll
function: FilterStr
dependencies: 6
inputs: Dewey Decimal Classification
813.54
function: FilterConcept
dependencies: 7
inputs: written work
function: And
dependencies: 5
8
function: What
dependencies: 9