Question: How many film festivals are represented by the website www.tiff.net or are called Berlinale for short?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.tiff.net/" .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> "Berlinale" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.tiff.net/
function: FilterConcept
dependencies: 1
inputs: film festival
function: FindAll
function: FilterStr
dependencies: 3
inputs: short name
Berlinale
function: FilterConcept
dependencies: 4
inputs: film festival
function: Or
dependencies: 2
5
function: Count
dependencies: 6