Question: How is the Walt Disney Studios Motion Pictures production of The Little Mermaid related to The Little Mermaid published in 1989?
Choices:
allegiance
professional or sports partner
has quality
original film format
member of
child astronomical body
noble title
derivative work
architectural style
has cause
Answer: derivative work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Little Mermaid" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_2 <pred:name> "The Little Mermaid" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1989 . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Little Mermaid
function: And
dependencies: 1
2
function: Find
inputs: The Little Mermaid
function: FilterYear
dependencies: 4
inputs: publication date
1989
=
function: QueryRelation
dependencies: 3
5