Question: What is the connection between The Little Mermaid (the one that is owned by The Walt Disney Company) to The Little Mermaid (the one whose publication date is 1990-11-30)?
Choices:
eye color
place of death
student
uses
parent club
license
depicts
based on
appointed by
permanent resident of
Answer: based on
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Little Mermaid" . ?e_1 <owned_by> ?e_3 . ?e_3 <pred:name> "The Walt Disney Company" . ?e_2 <pred:name> "The Little Mermaid" . ?e_2 <publication_date> ?pv . ?pv <pred:date> "1990-11-30"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Walt Disney Company
function: Relate
dependencies: 0
inputs: owned by
backward
function: Find
inputs: The Little Mermaid
function: And
dependencies: 1
2
function: Find
inputs: The Little Mermaid
function: FilterDate
dependencies: 4
inputs: publication date
1990-11-30
=
function: QueryRelation
dependencies: 3
5