Question: How many film festivals are held in September (the one that is a common property of a video game) ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival" . ?e <month_of_the_year> ?e_1 . ?e_1 <pred:name> "September" . ?e_2 <properties_for_this_type> ?e_1 . ?e_2 <pred:name> "video game" .   }
Program:
function: Find
inputs: video game
function: Relate
dependencies: 0
inputs: properties for this type
forward
function: Find
inputs: September
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: month of the year
backward
function: FilterConcept
dependencies: 4
inputs: film festival
function: Count
dependencies: 5
Answer: 2