Question: How many film festivals have the Twitter username Festival_Cannes or are located in Utah (whose abbreviated name is UT)?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
Festival_Cannes
function: FilterConcept
dependencies: 1
inputs: film festival
function: Find
inputs: Utah
function: FilterStr
dependencies: 3
inputs: short name
UT
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 5
inputs: film festival
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "Festival_Cannes" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Utah" . ?e_1 <short_name> ?pv . ?pv <pred:value> "UT" .  } }
Answer: 2