Question: What is the connection between Doctor Who (the one that derives Torchwood) to BBC HD?
Choices:
composer
notable people with this condition
instrument
father
original network
foundational text
distributor
allegiance
military rank
model item
Answer: original network
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Doctor Who" . ?e_3 <based_on> ?e_1 . ?e_3 <pred:name> "Torchwood" . ?e_2 <pred:name> "BBC HD" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Torchwood
function: Relate
dependencies: 0
inputs: based on
forward
function: Find
inputs: Doctor Who
function: And
dependencies: 1
2
function: Find
inputs: BBC HD
function: QueryRelation
dependencies: 3
4