Question: What is the connection between Genesis (the one whose production code is 271) to Brent Spiner?
Choices:
medical treatment
narrator
designed by
platform
maintained by
archives at
cast member
soundtrack album
office held by head of the organisation
practiced by
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Genesis" . ?e_1 <production_code> ?pv . ?pv <pred:value> "271" . ?e_2 <pred:name> "Brent Spiner" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Genesis
function: FilterStr
dependencies: 0
inputs: production code
271
function: Find
inputs: Brent Spiner
function: QueryRelation
dependencies: 1
2