Question: Star Trek, represented by the website www.startrekmovie.com, has what connection to Victor Garber, cast member of Argo?
Choices:
professorship
cast member
student of
programming language
author
found
newspaper format
has quality
update method
art director
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Star Trek" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.startrekmovie.com/" . ?e_2 <pred:name> "Victor Garber" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Argo" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Star Trek
function: FilterStr
dependencies: 0
inputs: official website
http://www.startrekmovie.com/
function: Find
inputs: Argo
function: Relate
dependencies: 2
inputs: cast member
forward
function: Find
inputs: Victor Garber
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5