Question: What is the relationship between Wonder Woman (the one whose number of seasons is 3) and Debra Winger?
Choices:
season starts
musical conductor
programming paradigm
significant event
board member
present in work
cast member
educated at
occupant
production company
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wonder Woman" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3"^^xsd:double . ?e_2 <pred:name> "Debra Winger" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Wonder Woman
function: FilterNum
dependencies: 0
inputs: number of seasons
3
=
function: Find
inputs: Debra Winger
function: QueryRelation
dependencies: 1
2