Question: What has Alice in Wonderland (the one whose publication date is 1949-01-01) in common with a  film based on literature
Choices:
main subject
participant of
parent club
industry
works in collection
worshipped by
religion
time period
genre
general manager
Program:
function: Find
inputs: Alice in Wonderland
function: FilterDate
dependencies: 0
inputs: publication date
1949-01-01
=
function: Find
inputs: film based on literature
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alice in Wonderland" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1949-01-01"^^xsd:date . ?e_2 <pred:name> "film based on literature" . ?e_1 ?p ?e_2 .  }
Answer: genre