Question: Beauty and the Beast, first broadcast on The CW, has what connection to the United States of America?
Choices:
opposite of
newspaper format
cast member
home port
home world
public holiday
stated in
has quality
country of origin
diplomatic relation
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> "The CW" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The CW
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4