Question: What does Dynasty (whose number of episodes is 22) have to do with Dynasty (which has Rock Hudson as a cast member)?
Choices: based on
published in
founded by
currency
history of topic
applies to jurisdiction
candidate
dissertation submitted to
military rank
takes place in fictional universe
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dynasty" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "22"^^xsd:double . ?e_2 <pred:name> "Dynasty" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Rock Hudson" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dynasty
function: FilterNum
dependencies: 0
inputs: number of episodes
22
=
function: Find
inputs: Rock Hudson
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Dynasty
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: based on