Question: How many capitals have saint Bertolt Brecht as their patron, or 390 as their local dialing code?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Bertolt Brecht
function: Relate
dependencies: 0
inputs: patron saint
backward
function: FilterConcept
dependencies: 1
inputs: capital
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
390
function: FilterConcept
dependencies: 4
inputs: capital
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" .  { ?e <patron_saint> ?e_1 . ?e_1 <pred:name> "Bertolt Brecht" .  } UNION { ?e <local_dialing_code> ?pv . ?pv <pred:value> "390" .  } }
Answer: 1