Question: How many republics have the demonym of Sierra Leoner or are the distribution region of Inside Deep Throat?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" .  { ?e <demonym> ?pv . ?pv <pred:value> "Sierra Leoner" .  } UNION { ?e_1 <film_distribute_region> ?e . ?e_1 <pred:name> "Inside Deep Throat" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Sierra Leoner
function: FilterConcept
dependencies: 1
inputs: republic
function: Find
inputs: Inside Deep Throat
function: Relate
dependencies: 3
inputs: film distribute region
forward
function: FilterConcept
dependencies: 4
inputs: republic
function: Or
dependencies: 2
5
function: Count
dependencies: 6