Question: What is the connection between The Apartment (the one whose genre is comedy-drama) to Spain?
Choices: director
art director
license
political ideology
part of the series
architectural style
series spin-off
interested in
country of origin
founded by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Apartment" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "comedy-drama" . ?e_2 <pred:name> "Spain" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: comedy-drama
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Apartment
function: And
dependencies: 1
2
function: Find
inputs: Spain
function: QueryRelation
dependencies: 3
4
Answer: country of origin