Question: What is the title of the written work penned by William Somerset Maugham?
Choices:
Captain America: The First Avenger
Grease
13 Going on 30
The Painted Veil
Fast Food Nation
Nancy
The Chronicles of Narnia: The Voyage of the Dawn Treader
Velvet Goldmine
ओम शांति ओम
Galileo
Answer: The Painted Veil
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <author> ?e_1 . ?e_1 <pred:name> "William Somerset Maugham" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: William Somerset Maugham
function: Relate
dependencies: 0
inputs: author
backward
function: FilterConcept
dependencies: 1
inputs: written work
function: QueryAttr
dependencies: 2
inputs: title