Question: Romeo and Juliet, released 1954-01-01, is related in what way to romance film?
Choices:
exclave of
film crew member
performer
genre
programming language
licensed to broadcast to
student
seed team
use
head of government
Program:
function: Find
inputs: Romeo and Juliet
function: FilterDate
dependencies: 0
inputs: publication date
1954-01-01
=
function: Find
inputs: romance film
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Romeo and Juliet" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1954-01-01"^^xsd:date . ?e_2 <pred:name> "romance film" . ?e_1 ?p ?e_2 .  }
Answer: genre