Question: Rock of Ages, released in Taiwan, has what connection to romantic comedy?
Choices:
member of
copyright representative
genre
update method
sports season of league or competition
has edition
drafted by
natural product of taxon
language used
office held by head of state
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rock of Ages" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Taiwan" . ?e_2 <pred:name> "romantic comedy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Rock of Ages
function: And
dependencies: 1
2
function: Find
inputs: romantic comedy
function: QueryRelation
dependencies: 3
4