Question: What is the connection between House (the one whose number of episodes is 177) and Amy Irving?
Choices:
cast member
territory overlaps
start point
hair color
operating system
donated by
sidekick of
sibling
replaced by
commander of
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "House" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "177"^^xsd:double . ?e_2 <pred:name> "Amy Irving" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: House
function: FilterNum
dependencies: 0
inputs: number of episodes
177
=
function: Find
inputs: Amy Irving
function: QueryRelation
dependencies: 1
2