Question: What is the title of Restless (the one whose number of seasons is 1)?
Choices:
Restless
Dead Man Walking
Berkeley
A League of Their Own
Training Day
The Devil Wears Prada
Inkheart
The Family Man
Bury My Heart at Wounded Knee
Forgetting Sarah Marshall
Program:
function: Find
inputs: Restless
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: QueryAttr
dependencies: 1
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Restless" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . ?e <title> ?pv .  }
Answer: Restless