Question: What is the relationship between Girls (the one whose genre is romantic comedy) and Paramount Pictures?
Choices:
distributor
legislative body
office held by head of state
field of work
basin country
writing system
has edition
domain of saint or deity
located on terrain feature
replaced by
Answer: distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Girls" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "romantic comedy" . ?e_2 <pred:name> "Paramount Pictures" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: romantic comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Girls
function: And
dependencies: 1
2
function: Find
inputs: Paramount Pictures
function: QueryRelation
dependencies: 3
4