Question: What is the title of Salem (the one whose number of episodes is 36)?
Choices:
Salem
In the Loop
Mission: Impossible III
Think like a Man
Life Is great
The Birdcage
Face/Off
Moneyball
Once Upon a Time in America
Another Year
Program:
function: Find
inputs: Salem
function: FilterNum
dependencies: 0
inputs: number of episodes
36
=
function: QueryAttr
dependencies: 1
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Salem" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "36"^^xsd:double . ?e <title> ?pv .  }
Answer: Salem