Simple Question (Direct)
Simple Question
Q6795612
P19
Q56061
USER
Which administrative territory is the birthplace of Maxim Potîrniche ?
(Q6795612,P19,c(Q56061))
action filter_type
action find
entity Q6795612
relation P19
type Q56061
['Q6795612', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q6795612 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Maxim Potîrniche
action filter_type
action find
entity Maxim Potîrniche
relation place of birth
type administrative territorial entity
['Maxim Potîrniche', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maxim_Potîrniche property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q21197
SYSTEM
Chișinău
Q21197
(Q6795612,P19,c(Q56061))
action filter_type
action find
entity Q6795612
relation P19
type Q56061
[ANSWER] is the birthplace of Maxim Potîrniche
['Q6795612', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q6795612 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Chișinău
Chișinău is the birthplace of Maxim Potîrniche
Chișinău
action filter_type
action find
entity Maxim Potîrniche
relation place of birth
type administrative territorial entity
['Maxim Potîrniche', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Maxim_Potîrniche property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21197
P36
Q7275
USER
Which state has that administrative territory as its administrative centre ?
(c(Q7275),P36,Q21197)
action filter_type
action find_reverse
entity Q21197
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q21197']
SELECT DISTINCT ?f WHERE { ?f property:P36 resource:Q21197 . ?f rdf:type ontology:Q7275 }
Chișinău
action filter_type
action find_reverse
entity Chișinău
relation capital
type state
[{'concept': 'state'}, 'capital', 'Chișinău']
SELECT DISTINCT ?f WHERE { ?f property:capital resource:Chișinău . ?f rdf:type ontology:state }
[]
state
Q964024
SYSTEM
Moldavian Democratic Republic
Q964024
(c(Q7275),P36,Q21197)
action filter_type
action find_reverse
entity Q21197
relation P36
type Q7275
[ANSWER] has that administrative territory as its administrative centre
[{'concept': 'Q7275'}, 'P36', 'Q21197']
SELECT DISTINCT ?f WHERE { ?f property:P36 resource:Q21197 . ?f rdf:type ontology:Q7275 }
Moldavian Democratic Republic
Moldavian Democratic Republic has that administrative territory as its administrative centre
Moldavian Democratic Republic
action filter_type
action find_reverse
entity Chișinău
relation capital
type state
[{'concept': 'state'}, 'capital', 'Chișinău']
SELECT DISTINCT ?f WHERE { ?f property:capital resource:Chișinău . ?f rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5153951
P194
Q1752346 Q7275
USER
Which assemblies govern around the same number of states as Communal Council of Monaco ?
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q5153951
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P194 ?l . ?l rdf:type ontology:Q1752346 . ?r rdf:type ontology:Q7275 } GROUP BY ?l } . FILTER ( ?i = ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q5153951 property:P194 ?v . ?v rdf:type ontology:Q1752346 } } }
Communal Council of Monaco
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Communal Council of Monaco
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:legislative_body ?l . ?l rdf:type ontology:assembly . ?r rdf:type ontology:state } GROUP BY ?l } . FILTER ( ?i = ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Communal_Council_of_Monaco property:legislative_body ?v . ?v rdf:type ontology:assembly } } }
[]
assembly state
Q154797 Q209151 Q133396
SYSTEM
Bundestag of Germany, Folketing, Knesset
Q16980374 Q3154693 Q1253647 Q109016 Q896075 Q4220207 Q2511660 Q4496302 Q3365524 Q1257966 Q18510957 Q2584535 Q1258164 Q1368318 Q128852 Q1572486 Q5153951 Q206171 Q4808730 Q636377 Q458185 Q510511 Q509668 Q5035091 Q1599346 Q1398920 Q3251036 Q2347172 Q6411382 Q1817866 Q319994 Q1450753 Q2089528 Q7138943 Q21516057 Q884824 Q1577158 Q4816040 Q1585014 Q154797 Q2102558 Q19758733 Q1969591 Q1368588 Q4863502 Q4999218 Q24824 Q5265877 Q1112381 Q9633175 Q7447085 Q7186810 Q1798607 Q7205806 Q640859 Q1091494 Q3333555 Q4852810 Q7603047 Q2185780 Q4184925 Q1117578 Q2016884 Q1139204 Q2358985 Q2963301 Q5347180 Q7442079 Q2041767 Q4345419 Q1968458 Q1415847 Q740564 Q1517231 Q946944 Q3365530 Q1972029 Q12114504 Q1870447 Q378605 Q6867972 Q24861263 Q1292 Q571436 Q521764 Q695252 Q209151 Q1520966 Q1284236 Q4938444 Q884829 Q1357543 Q1288169 Q882738 Q2994129 Q1077701 Q26856919 Q645195 Q1280751 Q1135960 Q7063612 Q817979 Q12357499 Q2994125 Q684719 Q1965042 Q4849285 Q477089 Q1968468 Q260372 Q5211293 Q1501988 Q317147 Q382118 Q5132092 Q449304 Q314690 Q5123141 Q646190 Q4947808 Q475689 Q4985519 Q272930 Q11081523 Q15150880 Q822919 Q455697 Q5916428 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q160208 Q7089412 Q1515950 Q701632
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q5153951
relation P194
type Q1752346
[ANSWERS] govern around the same number of states as Communal Council of Monaco
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P194 ?l . ?l rdf:type ontology:Q1752346 . ?r rdf:type ontology:Q7275 } GROUP BY ?l } . FILTER ( ?i = ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q5153951 property:P194 ?v . ?v rdf:type ontology:Q1752346 } } }
Honolulu City Council city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Kiev City Council Congress of Paraguay Kharkiv City Municipality Parliament of Tasmania Parliament of Greenland Supreme Soviet of the Donetsk People's Republic Parliament of Egypt Assembly of the Republic of Macedonia National Assembly Gibraltar Parliament Parliament of The Bahamas Communal Council of Monaco Scottish Parliament Legislative Assembly of São Paulo Hamburg Parliament Landtag of South Tyrol Landtag of Hesse Løgting Cape Town City Council National Assembly General council Legislature of New Brunswick Parliament of the Czech Republic King County Council Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Riga City Council Parliament of Trinidad and Tobago Zurich City Council Landtag of Saxony National Assembly Atlanta City Council National Assembly of Venezuela Bundestag of Germany Parliament of Poland departmental council National Assembly National Assembly of Panama Barrie City Council Burlington City Council General Council of Andorra Detroit City Council House of Representatives Legislative Assembly of Bahia Sejm of Congress Poland Phoenix City Council National Assembly of Belarus Plymouth General Court Abgeordnetenhaus of Berlin Parliament of Åland General Assembly of the Ottoman Empire Baltimore City Council State Assembly of the Mari El Republic Parliament of South Africa Legislative Assembly of Primorsky Krai Italian Parliament Oireachtas of the Irish Free State National Council of Slovakia Congress of People's Deputies of Russia Chicago City Council Eeyou Istchee James Bay Territory Seattle City Council Moscow City Duma Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic Parliament of Singapore States of Jersey Parliament of the Province of Canada Parliament of Nauru Kremenchuk City Municipality Los Angeles City Council Islamic Consultative Assembly Minneapolis City Council Kyoto City Assembly Flemish Parliament Landtag of North Rhine-Westphalia Landtag of Brandenburg Parliament of India Folketing New Zealand Parliament Congress of Colombia Boise City Council Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Quebec City Council Regional Council in Italy Roccarainola city council New York City Council Parliament of Antigua and Barbuda Parliament of Albania Nottingham City Council Grand and General Council Irkutsk Legislative Assembly Ottawa City Council Federal Assembly National Assembly Bakersfield City Council Hellenic Parliament National Congress of Chile Landtag of Saarland Dallas City Council General Assembly of Uruguay Bürgerschaft of Bremen Parliament of Australia Cleveland City Council Landtag of Schleswig-Holstein Landtag of Rhineland-Palatinate City Council of Tehran Argentine National Congress Boston City Council Parliament of Canada Buenos Aires City Legislature Parliament of Sweden New Taipei City Council Legislature of Quebec Saeima Landtag of Baden-Württemberg Houston City Council Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Reichstag Omaha City Council Assembly of the Republic municipal council
Bundestag of Germany, Folketing and Knesset govern around the same number of states as Communal Council of Monaco
Bundestag of Germany Folketing Knesset
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Communal Council of Monaco
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:legislative_body ?l . ?l rdf:type ontology:assembly . ?r rdf:type ontology:state } GROUP BY ?l } . FILTER ( ?i = ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Communal_Council_of_Monaco property:legislative_body ?v . ?v rdf:type ontology:assembly } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q949699
P194
Q1752346 Q7275
USER
And what about National Congress of Brasil?
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q949699
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P194 ?p . ?p rdf:type ontology:Q1752346 . ?t rdf:type ontology:Q7275 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q949699 property:P194 ?z . ?z rdf:type ontology:Q1752346 } } . FILTER ( ?h = ?c ) }
National Congress of Brasil
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity National Congress of Brasil
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:legislative_body ?p . ?p rdf:type ontology:assembly . ?t rdf:type ontology:state } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:National_Congress_of_Brasil property:legislative_body ?z . ?z rdf:type ontology:assembly } } . FILTER ( ?h = ?c ) }
[]
assembly state
Q157638 Q643412 Q949699
SYSTEM
Frankfurt Parliament, Parliament of Finland, National Congress of Brasil
Q949699 Q17063844 Q1283189 Q1813360 Q2282872 Q11010 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q157638 Q219825 Q321246 Q7253170 Q1269552 Q878525 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action approx
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q949699
relation P194
type Q1752346
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P194 ?p . ?p rdf:type ontology:Q1752346 . ?t rdf:type ontology:Q7275 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q949699 property:P194 ?z . ?z rdf:type ontology:Q1752346 } } . FILTER ( ?h = ?c ) }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Parliament of Romania diet Parliament of the United Kingdom National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Frankfurt Parliament National Convention Reichstag Prussian estates Dáil Éireann Reichstag Parliament of Cambodia Sejm of the Duchy of Warsaw Junta of the Kingdom of Galicia Cortes Generales Reichstag Diet of Galicia and Lodomeria bicameral legislature
Frankfurt Parliament Parliament of Finland National Congress of Brasil
action approx
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity National Congress of Brasil
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:legislative_body ?p . ?p rdf:type ontology:assembly . ?t rdf:type ontology:state } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:National_Congress_of_Brasil property:legislative_body ?z . ?z rdf:type ontology:assembly } } . FILTER ( ?h = ?c ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q1752346 Q12737077 Q7210356
USER
Which assemblies are approximately the same number of occupations and political organizations a component of as that assembly ?
(c(Q12737077)|c(Q7210356),P361,c(Q1752346))
[[{'concept': 'Q12737077'}, {'concept': 'Q7210356'}], 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:P361 ?y } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q1752346 . ?x rdf:type ontology:Q7210356 }
[[{'concept': 'occupation'}, {'concept': 'political organization'}], 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:part_of ?y } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:assembly . ?x rdf:type ontology:political_organization }
[]
assembly occupation political organization
Comparative|More/Less|Mult. entity type|Clarification
Q157638
SYSTEM
Did you mean Frankfurt Parliament ?
(c(Q12737077)|c(Q7210356),P361,c(Q1752346))
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q7210356'}], 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:P361 ?y } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q1752346 . ?x rdf:type ontology:Q7210356 }
Did you mean Frankfurt Parliament ?
Frankfurt Parliament
[[{'concept': 'occupation'}, {'concept': 'political organization'}], 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:part_of ?y } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:assembly . ?x rdf:type ontology:political_organization }
[]
Comparative Reasoning (All)
USER
No, I meant Parliament of Finland. Could you tell me the answer for that?
(c(Q12737077)|c(Q7210356),P361,c(Q1752346))
Q643412
[[{'concept': 'Q12737077'}, {'concept': 'Q7210356'}], 'P361', {'concept': 'Q1752346'}]
[[{'concept': 'occupation'}, {'concept': 'political organization'}], 'part of', {'concept': 'assembly'}]
[]
Q154797 Q209151 Q133396
SYSTEM
Bundestag of Germany, Folketing, Knesset
Q3154693 Q896075 Q1422275 Q3365524 Q676484 Q1258164 Q14759322 Q1368318 Q648716 Q636377 Q6518214 Q510511 Q650248 Q314690 Q1599346 Q1969527 Q641439 Q1817866 Q319994 Q1450753 Q2994116 Q3564203 Q2097101 Q2647159 Q884824 Q1577158 Q1585014 Q154797 Q19758733 Q1969591 Q1368588 Q1112381 Q7252745 Q1807513 Q640859 Q1188525 Q230003 Q371576 Q7285832 Q2185780 Q1969585 Q1969587 Q1139204 Q1848595 Q2119357 Q740564 Q1517231 Q1972029 Q643412 Q378605 Q583157 Q1292 Q571436 Q35749 Q521764 Q720753 Q209151 Q219825 Q1138299 Q884829 Q1357543 Q882738 Q321246 Q1135960 Q775767 Q817979 Q1969569 Q714698 Q339033 Q684719 Q160208 Q260372 Q317147 Q878525 Q1853235 Q859658 Q449304 Q17014622 Q6682043 Q654504 Q1973075 Q455697 Q9300937 Q637829 Q5339025 Q133396 Q2444341 Q1760847 Q667464 Q555809 Q1769673
(c(Q12737077)|c(Q7210356),P361,c(Q1752346))
[ANSWERS] are approximately the same number of occupations and political organizations a component of as that assembly
[[{'concept': 'Q12737077'}, {'concept': 'Q7210356'}], 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q1752346 . ?x rdf:type ontology:Q7210356 }
city council Landtag of Thuringia Parliament of Lebanon Parliament of Tasmania National Assembly Assembly of the Republic of Macedonia Senate (Equatorial Guinea) National Assembly National Assembly Hamburg Parliament Legislative Assembly of Queensland Landtag of Hesse Landtag of Prussia Landtag of Rhineland-Palatinate National Assembly National Assembly Landtag of Bavaria Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Queensland Legislative Council Federal Assembly States-Provincial municipal council (France) Landtag of Saxony National Assembly National Assembly of Venezuela Bundestag of Germany departmental council National Assembly National Assembly of Panama House of Representatives Provisional Legislative Council Parliament of Ghana Abgeordnetenhaus of Berlin National Assembly Lok Sabha Parliament of Croatia Rajasthan Legislative Assembly Parliament of South Africa National Assembly National Assembly National Council of Slovakia Assembly of the Republic House of Nationalities Assembly of the Republic Parliament of Singapore Parliament of Nauru Parliament of Finland Islamic Consultative Assembly regional council Flemish Parliament Landtag of North Rhine-Westphalia parliament Landtag of Brandenburg National Assembly of People's Power Folketing National Convention National Assembly Landtag of Saxony-Anhalt Congress of the Republic of Peru Landtag of Mecklenburg-Vorpommern Reichstag Parliament of Albania Chamber of People's Representatives Grand and General Council National Assembly Supreme People's Assembly Palestinian Legislative Council Federal Assembly Reichstag Landtag of Saarland Bürgerschaft of Bremen Reichstag National Assembly National Assembly Landtag of Schleswig-Holstein municipal council Los Angeles Common Council National Assembly Council of Representatives of Iraq Landtag of Baden-Württemberg Parliament of Northern Ireland Reichstag Edmonton City Council Knesset Toronto City Council National Assembly Diet of Galicia and Lodomeria Parliament of the Republic of Moldova National Assembly
Bundestag of Germany, Folketing and Knesset are approximately the same number of occupations and political organizations a component of as that assembly
Bundestag of Germany Folketing Knesset
[[{'concept': 'occupation'}, {'concept': 'political organization'}], 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:assembly . ?x rdf:type ontology:political_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q56061
USER
Which administrative territories are situated close to approximately 2 bodies of water and waterways ?
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
value 2
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?u WHERE { { ?u property:P206 ?i . ?u rdf:type ontology:Q56061 . ?i rdf:type ontology:Q15324 } UNION { ?u property:P206 ?i . ?i rdf:type ontology:Q1267889 . ?u rdf:type ontology:Q56061 } } GROUP BY ?u } . FILTER ( ?k = 2 ) }
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
value 2
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?u WHERE { { ?u property:located_next_to_body_of_water ?i . ?u rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:body_of_water } UNION { ?u property:located_next_to_body_of_water ?i . ?i rdf:type ontology:waterway . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?u } . FILTER ( ?k = 2 ) }
[]
body of water waterway administrative territorial entity
Q9911 Q831527 Q3825
SYSTEM
Den Helder, Djurgården, Libreville
Q9911 Q831527 Q3825
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
value 2
[ANSWERS] are situated close to approximately 2 bodies of water and waterways
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?u WHERE { { ?u property:P206 ?i . ?u rdf:type ontology:Q56061 . ?i rdf:type ontology:Q15324 } UNION { ?u property:P206 ?i . ?i rdf:type ontology:Q1267889 . ?u rdf:type ontology:Q56061 } } GROUP BY ?u } . FILTER ( ?k = 2 ) }
Den Helder Djurgården Libreville
Den Helder, Djurgården and Libreville are situated close to approximately 2 bodies of water and waterways
Den Helder Djurgården Libreville
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
value 2
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?u WHERE { { ?u property:located_next_to_body_of_water ?i . ?u rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:body_of_water } UNION { ?u property:located_next_to_body_of_water ?i . ?i rdf:type ontology:waterway . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?u } . FILTER ( ?k = 2 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have place of birth as that administrative territory ?
(c(Q502895),P19,Q9911)
[{'concept': 'Q502895'}, 'P19', 'Q9911']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q19014961 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Den Helder']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Den_Helder . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q3825
SYSTEM
Did you mean Libreville ?
(c(Q502895),P19,Q9911) (c(Q502895),P19,Q831527) (c(Q502895),P19,Q3825)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q9911'] [{'concept': 'Q502895'}, 'P19', 'Q831527'] [{'concept': 'Q502895'}, 'P19', 'Q3825']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q19014961 . ?z rdf:type ontology:Q502895 }
Did you mean Libreville ?
Libreville
[{'concept': 'common name'}, 'place of birth', 'Den Helder'] [{'concept': 'common name'}, 'place of birth', 'Djurgården'] [{'concept': 'common name'}, 'place of birth', 'Libreville']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Den_Helder . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Den Helder. Could you tell me the answer for that?
(c(Q502895),P19,Q9911)
Q9911
[{'concept': 'Q502895'}, 'P19', 'Q9911']
[{'concept': 'common name'}, 'place of birth', 'Den Helder']
[]
SYSTEM
52
Q2520287 Q510545 Q1133602 Q1986202 Q184592 Q336961 Q2457054 Q4457485 Q589380 Q2471177 Q1862410 Q2535666 Q4774353 Q14852357 Q982418 Q105457 Q2162732 Q4727666 Q17517580 Q764376 Q2233796 Q1729180 Q2302909 Q2027222 Q5407844 Q15957043 Q511388 Q2525290 Q2939104 Q7652054 Q711477 Q2654927 Q241763 Q2260884 Q24705916 Q24705912 Q2971298 Q2608149 Q441751 Q2682251 Q20965940 Q8014690 Q1615827 Q1363151 Q593372 Q2206556 Q2278473 Q1993932 Q581507 Q20970649 Q1884605 Q2120911
(c(Q502895),P19,Q9911)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q9911']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q19014961 . ?z rdf:type ontology:Q502895 }
Swen Nater Marleen Barth Cornelis Vreede Nicolaas Prins Gerard 't Hooft Ed Nijpels Wilco Zuijderwijk Christiaan Timmner Anton Pieck Paul Ruven Rijkman Groenink Maurice van Ham IJf Blokker Lars Nieuwpoort Jan Pronk Johannes Andreas Jolles Dick Ket Steven G. Vandenberg Leen van Tetterode Franciscus Kenninck Theo van der Meer Karel de Bazel Arjan Wisse Sieme Zijm Thea Doelwijt Quincy Treffers Martine Ohr Reindert Wepko van de Wint Karen van Holst Pellekaan Sven Nieuwpoort Frans van Anraat Raimo de Vries Edith Bosch René Eijer Christof Antoon Bekker Jacques Bekker Elien Meijer Welmoet Wijnaendts Francken-Dyserinck Milly Scott Anna Albertina Brons Aletta Ruijsch William Lonsdale Hans Smits Erwin Koen Dorus Rijkers Ali de Vries Aernout van Lennep Martijn Nuijens Petrus Johannes Blok Cees van Rootselaar Feike Asma Paul Rosenmöller
52
[{'concept': 'common name'}, 'place of birth', 'Den Helder']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Den_Helder . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have max number of administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?e ) WHERE { ?u property:P532 ?r . ?u rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 } GROUP BY ?u } } . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?k ) WHERE { ?c property:P532 ?z . ?c rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?c } . FILTER ( ?k = ?m ) }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?e ) WHERE { ?u property:port_of_registry ?r . ?u rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } } . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?k ) WHERE { ?c property:port_of_registry ?z . ?c rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?k = ?m ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER] have max number of administrative territories as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?e ) WHERE { ?u property:P532 ?r . ?u rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q56061 } GROUP BY ?u } } . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?k ) WHERE { ?c property:P532 ?z . ?c rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?c } . FILTER ( ?k = ?m ) }
MS Arrow
MS Arrow have max number of administrative territories as registry port
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?m ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?e ) WHERE { ?u property:port_of_registry ?r . ?u rdf:type ontology:ship_type . ?r rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } } . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?k ) WHERE { ?c property:port_of_registry ?z . ?c rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?k = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1274468
P1376
Q7275 Q20667921 Q515
USER
How many states have lesser number of french administrative divisions or cities have their first city than Republic of Bosnia and Herzegovina ?
(c(Q20667921)|c(Q515),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_multi_types
action find_reverse
entity Q1274468
relation P1376
type Q20667921
type Q515
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?e ) WHERE { VALUES ( ?n ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?b rdf:type ?n } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P1376 resource:Q1274468 . { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } } } } . FILTER ( ?e < ?m ) }
Republic of Bosnia and Herzegovina
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_multi_types
action find_reverse
entity Republic of Bosnia and Herzegovina
relation capital of
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?e ) WHERE { VALUES ( ?n ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?b rdf:type ?n } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:capital_of resource:Republic_of_Bosnia_and_Herzegovina . { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } } } } . FILTER ( ?e < ?m ) }
[]
state type of french administrative division city
SYSTEM
416
Q230791 Q1193822 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q152855 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q2006542 Q186096 Q501684 Q164079 Q1649871 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q1362278 Q1269234 Q2361927 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q216173 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q172107 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q797422 Q235030 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q181254 Q2396442 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q2088324 Q11909456 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q70972 Q187684 Q1143164 Q1324889 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q1198071 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q169705 Q212439 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q422065 Q76236 Q209857 Q2712121 Q964024 Q877155 Q777981 Q487829 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q20667921)|c(Q515),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_multi_types
action find_reverse
entity Q1274468
relation P1376
type Q20667921
type Q515
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?e ) WHERE { VALUES ( ?n ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?b rdf:type ?n } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P1376 resource:Q1274468 . { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } } } } . FILTER ( ?e < ?m ) }
Kingdom of Scotland Wuyue Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Kingdom of Tungning United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United States of Stellaland Stellaland Duchy of Masovia Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Polish–Lithuanian Commonwealth Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Republic of Upper Volta Principality of Antioch Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Empire of Nicea Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Kingdom of France Despotate of Epirus Western Wei Germiyanids Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Chagatai Khanate Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
416
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_multi_types
action find_reverse
entity Republic of Bosnia and Herzegovina
relation capital of
type type of french administrative division
type city
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?e ) WHERE { VALUES ( ?n ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?b rdf:type ?n } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:capital_of resource:Republic_of_Bosnia_and_Herzegovina . { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } } } } . FILTER ( ?e < ?m ) }
[]