Question: What is the title of the visual artwork scripted by journalist Hans Christian Andersen?
Choices:
Resident Evil
Malcolm X
Il nome della rosa
Thomas and Friends
The Little Mermaid
Mao's Last Dancer
Le Comte de Monte-Cristo
Jackass: The Movie
Modern Family
The Sum of All Fears
Program:
function: Find
inputs: journalist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Hans Christian Andersen
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: screenwriter
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttr
dependencies: 5
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Hans Christian Andersen" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "journalist" .  ?e <title> ?pv .  }
Answer: The Little Mermaid