Question: What is the number of historical counties that have a diplomatic relationship with Yugoslavia and that has a demonym of tedesche orientali?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Yugoslavia" .  ?e <demonym> ?pv . ?pv <pred:value> "tedesche orientali" .  }
Program:
function: Find
inputs: Yugoslavia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: FilterConcept
dependencies: 1
inputs: historical country
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
tedesche orientali
function: FilterConcept
dependencies: 4
inputs: historical country
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1