Question: The TV comedy Hercules was first aired in which location by the American Broadcasting Company?
Choices:
Czech Republic
Chicago
People's Republic of China
Lithuania
United States of America
New Zealand
Quebec
Sydney
Switzerland
Greece
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "television comedy" . ?e_2 <pred:name> "American Broadcasting Company" . ?e_1 <original_network> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <original_network> ; <pred:fact_t> ?e_2 ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: television comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: American Broadcasting Company
function: QueryRelationQualifier
dependencies: 3
4
inputs: original network
place of publication