Question: What is the connection between A Christmas Carol (the one whose script is wrote by Steven Moffat) to Doctor Who (the one that takes place in Whoniverse)?
Choices:
commissioned by
employer
author
next higher rank
copyright holder
place of origin (Switzerland)
followed by
designated as terrorist by
part of the series
office contested
Answer: part of the series
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Christmas Carol" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Steven Moffat" . ?e_2 <pred:name> "Doctor Who" . ?e_2 <takes_place_in_fictional_universe> ?e_4 . ?e_4 <pred:name> "Whoniverse" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Steven Moffat
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: A Christmas Carol
function: And
dependencies: 1
2
function: Find
inputs: Whoniverse
function: Relate
dependencies: 4
inputs: takes place in fictional universe
backward
function: Find
inputs: Doctor Who
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7