Question: What is the connection between Egypt (the one that origins from United Kingdom) to BBC One?
Choices:
honorific prefix
original network
parent astronomical body
programming paradigm
source of income
composer
time period
military rank
film regional debut venue
religious order
Answer: original network
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Egypt" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "BBC One" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Egypt
function: And
dependencies: 1
2
function: Find
inputs: BBC One
function: QueryRelation
dependencies: 3
4