Question: What relation does the genre of soap opera have to the show Dallas, which has 3 total seasons?
Choices:
exported to
said to be the same as
business division
genre
applies to jurisdiction
contains administrative territorial entity
religious order
residence
superhuman feature or ability
child
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dallas" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3"^^xsd:double . ?e_2 <pred:name> "soap opera" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dallas
function: FilterNum
dependencies: 0
inputs: number of seasons
3
=
function: Find
inputs: soap opera
function: QueryRelation
dependencies: 1
2