Question: What is the connection between Roman Holiday (the one whose distributor is NBC) to United States of America?
Choices:
penalty
practiced by
country of origin
replaces
home venue
original network
has contributing factor
appointed by
subsidiary
mascot
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roman Holiday" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "NBC" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Roman Holiday
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4