Simple Question (Direct)
Simple Question
Q1747768
P734
Q82799
USER
Who is associated with Jacques Novicow ?
(Q1747768,P734,c(Q82799))
action filter_type
action find
entity Q1747768
relation P734
type Q82799
['Q1747768', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q1747768 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Jacques Novicow
action filter_type
action find
entity Jacques Novicow
relation family name
type name
['Jacques Novicow', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Jacques_Novicow property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q23304099
SYSTEM
Novikov
Q23304099
(Q1747768,P734,c(Q82799))
action filter_type
action find
entity Q1747768
relation P734
type Q82799
[ANSWER] is associated with Jacques Novicow
['Q1747768', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q1747768 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Novikov
Novikov is associated with Jacques Novicow
Novikov
action filter_type
action find
entity Jacques Novicow
relation family name
type name
['Jacques Novicow', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Jacques_Novicow property:family_name ?g . ?g rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1747768
P19
Q56061
USER
Which administrative territory is the place of birth of Jacques Novicow ?
(Q1747768,P19,c(Q56061))
action filter_type
action find
entity Q1747768
relation P19
type Q56061
['Q1747768', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1747768 property:P19 ?x }
Jacques Novicow
action filter_type
action find
entity Jacques Novicow
relation place of birth
type administrative territorial entity
['Jacques Novicow', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Jacques_Novicow property:place_of_birth ?x }
[]
administrative territorial entity
Q406
SYSTEM
Istanbul
Q406
(Q1747768,P19,c(Q56061))
action filter_type
action find
entity Q1747768
relation P19
type Q56061
[ANSWER] is the place of birth of Jacques Novicow
['Q1747768', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1747768 property:P19 ?x }
Istanbul
Istanbul is the place of birth of Jacques Novicow
Istanbul
action filter_type
action find
entity Jacques Novicow
relation place of birth
type administrative territorial entity
['Jacques Novicow', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Jacques_Novicow property:place_of_birth ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1747768
P27
Q3024240
USER
Which former country is that person a civilian of ?
(Q406,P27,c(Q3024240))
action filter_type
action find
entity Q1747768
relation P27
type Q3024240
['Q406', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?u WHERE { resource:Q1747768 property:P27 ?u . ?u rdf:type ontology:Q3024240 }
Jacques Novicow
action filter_type
action find
entity Jacques Novicow
relation country of citizenship
type former country
['Istanbul', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?u WHERE { resource:Jacques_Novicow property:country_of_citizenship ?u . ?u rdf:type ontology:former_country }
[]
former country
Q34266
SYSTEM
Russian Empire
Q34266
(Q406,P27,c(Q3024240))
action filter_type
action find
entity Q1747768
relation P27
type Q3024240
The [ANSWER] is that person a civilian of
['Q406', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?u WHERE { resource:Q1747768 property:P27 ?u . ?u rdf:type ontology:Q3024240 }
Russian Empire
The Russian Empire is that person a civilian of
Russian Empire
action filter_type
action find
entity Jacques Novicow
relation country of citizenship
type former country
['Istanbul', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?u WHERE { resource:Jacques_Novicow property:country_of_citizenship ?u . ?u rdf:type ontology:former_country }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q7275 Q3024240
USER
How many states or former countries do that former country share a border with ?
(c(Q7275),P47,Q34266) (c(Q3024240),P47,Q34266) (c(Q7275),P47,Q34266) (c(Q3024240),P47,Q34266)
action count
action union
action filter_type
action find_reverse
entity Q34266
relation P47
type Q7275
action filter_type
action find_reverse
entity Q34266
relation P47
type Q3024240
[{'concept': 'Q7275'}, 'P47', 'Q34266'] [{'concept': 'Q3024240'}, 'P47', 'Q34266'] [{'concept': 'Q7275'}, 'P47', 'Q34266'] [{'concept': 'Q3024240'}, 'P47', 'Q34266']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:P47 resource:Q34266 . ?c rdf:type ontology:Q7275 } UNION { ?c property:P47 resource:Q34266 . ?c rdf:type ontology:Q3024240 } }
action count
action union
action filter_type
action find_reverse
entity Russian Empire
relation shares border with
type state
action filter_type
action find_reverse
entity Russian Empire
relation shares border with
type former country
[{'concept': 'state'}, 'shares border with', 'Russian Empire'] [{'concept': 'former country'}, 'shares border with', 'Russian Empire'] [{'concept': 'state'}, 'shares border with', 'Russian Empire'] [{'concept': 'former country'}, 'shares border with', 'Russian Empire']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:shares_border_with resource:Russian_Empire . ?c rdf:type ontology:state } UNION { ?c property:shares_border_with resource:Russian_Empire . ?c rdf:type ontology:former_country } }
[]
state former country
SYSTEM
2
Q28513 Q131964
(c(Q7275),P47,Q34266) (c(Q3024240),P47,Q34266) (c(Q7275),P47,Q34266) (c(Q3024240),P47,Q34266)
action count
action union
action filter_type
action find_reverse
entity Q34266
relation P47
type Q7275
action filter_type
action find_reverse
entity Q34266
relation P47
type Q3024240
[ANSWER]
[{'concept': 'Q7275'}, 'P47', 'Q34266'] [{'concept': 'Q3024240'}, 'P47', 'Q34266'] [{'concept': 'Q7275'}, 'P47', 'Q34266'] [{'concept': 'Q3024240'}, 'P47', 'Q34266']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:P47 resource:Q34266 . ?c rdf:type ontology:Q7275 } UNION { ?c property:P47 resource:Q34266 . ?c rdf:type ontology:Q3024240 } }
Austria-Hungary Austrian Empire
2
action count
action union
action filter_type
action find_reverse
entity Russian Empire
relation shares border with
type state
action filter_type
action find_reverse
entity Russian Empire
relation shares border with
type former country
[{'concept': 'state'}, 'shares border with', 'Russian Empire'] [{'concept': 'former country'}, 'shares border with', 'Russian Empire'] [{'concept': 'state'}, 'shares border with', 'Russian Empire'] [{'concept': 'former country'}, 'shares border with', 'Russian Empire']
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:shares_border_with resource:Russian_Empire . ?c rdf:type ontology:state } UNION { ?c property:shares_border_with resource:Russian_Empire . ?c rdf:type ontology:former_country } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q672729
P122
Q1307214 Q3024240
USER
How many forms of government best describe the government of around the same number of former countries as Islamic republic ?
(c(Q3024240),P122,c(Q1307214))
action count
action approx
action find_reverse_tuple_counts
relation P122
type Q1307214
type Q3024240
action count
action filter_type
action find
entity Q672729
relation P122
type Q1307214
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:Q1307214 . resource:Q672729 property:P122 ?s } } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P122 ?w . ?w rdf:type ontology:Q1307214 . ?x rdf:type ontology:Q3024240 } GROUP BY ?w } }
Islamic republic
action count
action approx
action find_reverse_tuple_counts
relation basic form of government
type form of government
type former country
action count
action filter_type
action find
entity Islamic republic
relation basic form of government
type form of government
[{'concept': 'former country'}, 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:form_of_government . resource:Islamic_republic property:basic_form_of_government ?s } } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:basic_form_of_government ?w . ?w rdf:type ontology:form_of_government . ?x rdf:type ontology:former_country } GROUP BY ?w } }
[]
form of government former country
SYSTEM
5
Q5433328 Q171174 Q131401 Q43702 Q672729
(c(Q3024240),P122,c(Q1307214))
action count
action approx
action find_reverse_tuple_counts
relation P122
type Q1307214
type Q3024240
action count
action filter_type
action find
entity Q672729
relation P122
type Q1307214
[ANSWER]
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:Q1307214 . resource:Q672729 property:P122 ?s } } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P122 ?w . ?w rdf:type ontology:Q1307214 . ?x rdf:type ontology:Q3024240 } GROUP BY ?w } }
family dictatorship direct democracy caliphate federation Islamic republic
5
action count
action approx
action find_reverse_tuple_counts
relation basic form of government
type form of government
type former country
action count
action filter_type
action find
entity Islamic republic
relation basic form of government
type form of government
[{'concept': 'former country'}, 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:form_of_government . resource:Islamic_republic property:basic_form_of_government ?s } } . FILTER ( ?v = ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:basic_form_of_government ?w . ?w rdf:type ontology:form_of_government . ?x rdf:type ontology:former_country } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q34266
P122
Q1307214 Q28108 Q3024240
USER
Which former countries have approximately the same number of forms of government or political systems as the type of government as Russian Empire ?
(c(Q3024240),P122,c(Q1307214)|c(Q28108))
action approx
action union
action find_tuple_counts
relation P122
type Q3024240
type Q1307214
action find_tuple_counts
relation P122
type Q3024240
type Q28108
action count
action filter_multi_types
action find
entity Q34266
relation P122
type Q1307214
type Q28108
[{'concept': 'Q3024240'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q28108'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q34266 property:P122 ?b . { { ?b rdf:type ontology:Q1307214 } UNION { ?b rdf:type ontology:Q28108 } } } } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ?h . VALUES ( ?h ) { ( ontology:Q28108 ) ( ontology:Q1307214 ) } } GROUP BY ?j } }
Russian Empire
action approx
action union
action find_tuple_counts
relation basic form of government
type former country
type form of government
action find_tuple_counts
relation basic form of government
type former country
type political system
action count
action filter_multi_types
action find
entity Russian Empire
relation basic form of government
type form of government
type political system
[{'concept': 'former country'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'political system'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Russian_Empire property:basic_form_of_government ?b . { { ?b rdf:type ontology:form_of_government } UNION { ?b rdf:type ontology:political_system } } } } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ?h . VALUES ( ?h ) { ( ontology:political_system ) ( ontology:form_of_government ) } } GROUP BY ?j } }
[]
form of government political system former country
Q28513 Q12560 Q43287
SYSTEM
Austria-Hungary, Ottoman Empire, German Empire
Q34756 Q28513 Q912052 Q34266 Q201705 Q12560 Q62943 Q484195 Q188712 Q43287
(c(Q3024240),P122,c(Q1307214)|c(Q28108))
action approx
action union
action find_tuple_counts
relation P122
type Q3024240
type Q1307214
action find_tuple_counts
relation P122
type Q3024240
type Q28108
action count
action filter_multi_types
action find
entity Q34266
relation P122
type Q1307214
type Q28108
[ANSWERS] have approximately the same number of forms of government or political systems as the type of government as Russian Empire
[{'concept': 'Q3024240'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q28108'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q34266 property:P122 ?b . { { ?b rdf:type ontology:Q1307214 } UNION { ?b rdf:type ontology:Q28108 } } } } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ?h . VALUES ( ?h ) { ( ontology:Q28108 ) ( ontology:Q1307214 ) } } GROUP BY ?j } }
Qin Austria-Hungary Wei Russian Empire Khmer Empire Ottoman Empire Maurya Empire Timurid Empire Empire of Japan German Empire
Austria-Hungary, Ottoman Empire and German Empire have approximately the same number of forms of government or political systems as the type of government as Russian Empire
Austria-Hungary Ottoman Empire German Empire
action approx
action union
action find_tuple_counts
relation basic form of government
type former country
type form of government
action find_tuple_counts
relation basic form of government
type former country
type political system
action count
action filter_multi_types
action find
entity Russian Empire
relation basic form of government
type form of government
type political system
[{'concept': 'former country'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'political system'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Russian_Empire property:basic_form_of_government ?b . { { ?b rdf:type ontology:form_of_government } UNION { ?b rdf:type ontology:political_system } } } } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ?h . VALUES ( ?h ) { ( ontology:political_system ) ( ontology:form_of_government ) } } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q203817
P122
Q1307214 Q28108 Q3024240
USER
And how about First Bulgarian Empire?
(c(Q3024240),P122,c(Q1307214)|c(Q28108))
action approx
action union
action find_tuple_counts
relation P122
type Q3024240
type Q1307214
action find_tuple_counts
relation P122
type Q3024240
type Q28108
action count
action filter_multi_types
action find
entity Q203817
relation P122
type Q1307214
type Q28108
[{'concept': 'Q3024240'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q28108'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?a WHERE { { ?a property:P122 ?h . ?h rdf:type ontology:Q1307214 . ?a rdf:type ontology:Q3024240 } UNION { ?a property:P122 ?h . ?a rdf:type ontology:Q3024240 . ?h rdf:type ontology:Q28108 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q203817 property:P122 ?p . { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1307214 ) ( ontology:Q28108 ) } } } } . FILTER ( ?l = ?y ) }
First Bulgarian Empire
action approx
action union
action find_tuple_counts
relation basic form of government
type former country
type form of government
action find_tuple_counts
relation basic form of government
type former country
type political system
action count
action filter_multi_types
action find
entity First Bulgarian Empire
relation basic form of government
type form of government
type political system
[{'concept': 'former country'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'political system'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?a WHERE { { ?a property:basic_form_of_government ?h . ?h rdf:type ontology:form_of_government . ?a rdf:type ontology:former_country } UNION { ?a property:basic_form_of_government ?h . ?a rdf:type ontology:former_country . ?h rdf:type ontology:political_system } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:First_Bulgarian_Empire property:basic_form_of_government ?p . { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:form_of_government ) ( ontology:political_system ) } } } } . FILTER ( ?l = ?y ) }
[]
form of government political system former country
Q2277 Q83958 Q837855
SYSTEM
Roman Empire, Macedonian kingdom, Qi
Q420759 Q2277 Q5406 Q83958 Q203817 Q837855
(c(Q3024240),P122,c(Q1307214)|c(Q28108))
action approx
action union
action find_tuple_counts
relation P122
type Q3024240
type Q1307214
action find_tuple_counts
relation P122
type Q3024240
type Q28108
action count
action filter_multi_types
action find
entity Q203817
relation P122
type Q1307214
type Q28108
[ANSWERS]
[{'concept': 'Q3024240'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q28108'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?a WHERE { { ?a property:P122 ?h . ?h rdf:type ontology:Q1307214 . ?a rdf:type ontology:Q3024240 } UNION { ?a property:P122 ?h . ?a rdf:type ontology:Q3024240 . ?h rdf:type ontology:Q28108 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q203817 property:P122 ?p . { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1307214 ) ( ontology:Q28108 ) } } } } . FILTER ( ?l = ?y ) }
Second Bulgarian Empire Roman Empire Hittites Macedonian kingdom First Bulgarian Empire Qi
Roman Empire Macedonian kingdom Qi
action approx
action union
action find_tuple_counts
relation basic form of government
type former country
type form of government
action find_tuple_counts
relation basic form of government
type former country
type political system
action count
action filter_multi_types
action find
entity First Bulgarian Empire
relation basic form of government
type form of government
type political system
[{'concept': 'former country'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'political system'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?a WHERE { { ?a property:basic_form_of_government ?h . ?h rdf:type ontology:form_of_government . ?a rdf:type ontology:former_country } UNION { ?a property:basic_form_of_government ?h . ?a rdf:type ontology:former_country . ?h rdf:type ontology:political_system } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:First_Bulgarian_Empire property:basic_form_of_government ?p . { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:form_of_government ) ( ontology:political_system ) } } } } . FILTER ( ?l = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34266 Q12560
P27
Q502895
USER
How many people are a native of Russian Empire and Ottoman Empire ?
(c(Q502895),P27,Q34266) (c(Q502895),P27,Q12560)
action count
action intersection
action filter_type
action find_reverse
entity Q34266
relation P27
type Q502895
action filter_type
action find_reverse
entity Q12560
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q34266'] [{'concept': 'Q502895'}, 'P27', 'Q12560']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:Q502895 . ?u property:P27 resource:Q34266 . ?u property:P27 resource:Q12560 . ?u rdf:type ontology:Q502895 }
Russian Empire Ottoman Empire
action count
action intersection
action filter_type
action find_reverse
entity Russian Empire
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Ottoman Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Russian Empire'] [{'concept': 'common name'}, 'country of citizenship', 'Ottoman Empire']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:common_name . ?u property:country_of_citizenship resource:Russian_Empire . ?u property:country_of_citizenship resource:Ottoman_Empire . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q2470147 Q7036316
(c(Q502895),P27,Q34266) (c(Q502895),P27,Q12560)
action count
action intersection
action filter_type
action find_reverse
entity Q34266
relation P27
type Q502895
action filter_type
action find_reverse
entity Q12560
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q34266'] [{'concept': 'Q502895'}, 'P27', 'Q12560']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:Q502895 . ?u property:P27 resource:Q34266 . ?u property:P27 resource:Q12560 . ?u rdf:type ontology:Q502895 }
Evstratii Delarov Nikolay Palauzov
2
action count
action intersection
action filter_type
action find_reverse
entity Russian Empire
relation country of citizenship
type common name
action filter_type
action find_reverse
entity Ottoman Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Russian Empire'] [{'concept': 'common name'}, 'country of citizenship', 'Ottoman Empire']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u rdf:type ontology:common_name . ?u property:country_of_citizenship resource:Russian_Empire . ?u property:country_of_citizenship resource:Ottoman_Empire . ?u rdf:type ontology:common_name }
[]