Question: How is "Sex and the City," which originally aired on HBO, related to Kim Cattrall?
Choices:
theme music
director of photography
architect
ethnic group
part of the series
office held by head of the organisation
movement
film crew member
start point
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sex and the City" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> "HBO" . ?e_2 <pred:name> "Kim Cattrall" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: HBO
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Sex and the City
function: And
dependencies: 1
2
function: Find
inputs: Kim Cattrall
function: QueryRelation
dependencies: 3
4