Question: What is the connection between The Host (the one that has Patrick Stewart as a cast member) to Star Trek: The Next Generation (the one whose official website is http://www.startrek.com/startrek/view/series/TNG/)?
Choices:
inspired by
famous people
said to be the same as
source of material
part of the series
country of origin
geography of topic
vehicle normally used
ethnic group
costume designer
Answer: part of the series
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Host" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Patrick Stewart" . ?e_2 <pred:name> "Star Trek: The Next Generation" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://www.startrek.com/startrek/view/series/TNG/" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Patrick Stewart
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Host
function: And
dependencies: 1
2
function: Find
inputs: Star Trek: The Next Generation
function: FilterStr
dependencies: 4
inputs: official website
http://www.startrek.com/startrek/view/series/TNG/
function: QueryRelation
dependencies: 3
5