Question: The country of Germany is home to how many arts festivals?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: arts festival
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "arts festival" . ?e <country> ?e_1 . ?e_1 <pred:name> "Germany" .   }
Answer: 1