Question: Which movie series consists of 3 episodes?
Choices:
Sense and Sensibility
The Fast and the Furious
American Pie
High School Musical
Rocky
Mobile
Die Hard
Why We Fight
Looney Tunes
Infernal Affairs
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
3
=
function: FilterConcept
dependencies: 1
inputs: film series
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film series" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3"^^xsd:double .  }
Answer: Infernal Affairs