Question: What is the connection between Barcelona (the one whose publication date is 1994-01-01) to romantic comedy?
Choices: Wikidata property
position held
drafted by
architect
designated as terrorist by
genre
place of birth
famous people
vehicle normally used
board member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Barcelona" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1994-01-01"^^xsd:date . ?e_2 <pred:name> "romantic comedy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Barcelona
function: FilterDate
dependencies: 0
inputs: publication date
1994-01-01
=
function: Find
inputs: romantic comedy
function: QueryRelation
dependencies: 1
2
Answer: genre