Question: How many episodes are there for the TV series based on The Flintstones in Viva Rock Vegas?
Choices:
293
124
331
357
151
86
11136
144
166
277
Answer: 166
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "The Flintstones in Viva Rock Vegas" .  ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: The Flintstones in Viva Rock Vegas
function: Relate
dependencies: 0
inputs: based on
forward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of episodes