Question: What is the connection between Somerset (the one that has Ted Danson as a cast member) to soap opera?
Choices:
sibling
affiliation
present in work
operating area
genre
presenter
developer
fabrication method
this taxon is source of
board member
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Somerset" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ted Danson" . ?e_2 <pred:name> "soap opera" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ted Danson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Somerset
function: And
dependencies: 1
2
function: Find
inputs: soap opera
function: QueryRelation
dependencies: 3
4