Question: What is the title of Beauty and the Beast that has 56 episodes?
Choices:
Cats & Dogs
Shrek Forever After
The Man with the Golden Gun
Superman II
Hello, Dolly!
The League of Extraordinary Gentlemen
Piranha 3DD
Beauty and the Beast
The Dresser
Finding Nemo
Answer: Beauty and the Beast
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Beauty and the Beast" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "56"^^xsd:double . ?e <title> ?pv .  }
Program:
function: Find
inputs: Beauty and the Beast
function: FilterNum
dependencies: 0
inputs: number of episodes
56
=
function: QueryAttr
dependencies: 1
inputs: title