Question: How is The Contender (with Sylvester Stallone) related to a reality television?
Choices: member of political party
draft pick from school
commissioned by
award received
significant event
has effect
executive producer
genre
location
famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Contender" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sylvester Stallone" . ?e_2 <pred:name> "reality television" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sylvester Stallone
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Contender
function: And
dependencies: 1
2
function: Find
inputs: reality television
function: QueryRelation
dependencies: 3
4
Answer: genre