Simple Question (Direct)
Simple Question
Q138416
P1412
Q34770
USER
Which language can Carme Chacón understand ?
(Q138416,P1412,c(Q34770))
action filter_type
action find
entity Q138416
relation P1412
type Q34770
['Q138416', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q138416 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Carme Chacón
action filter_type
action find
entity Carme Chacón
relation languages spoken, written or signed
type language
['Carme Chacón', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Carme_Chacón property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q138416,P1412,c(Q34770))
action filter_type
action find
entity Q138416
relation P1412
type Q34770
Carme Chacón can understand the [ANSWER]
['Q138416', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q138416 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Spanish
Carme Chacón can understand the Spanish
Spanish
action filter_type
action find
entity Carme Chacón
relation languages spoken, written or signed
type language
['Carme Chacón', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Carme_Chacón property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1136259
P37
Q34770 Q7275
USER
Which states are more number of languages associated to as the official language than Southwestern Somalia ?
(c(Q7275),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q1136259
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?a ) WHERE { ?l property:P37 ?m . ?l rdf:type ontology:Q7275 . ?m rdf:type ontology:Q34770 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Q1136259 property:P37 ?j . ?j rdf:type ontology:Q7275 } } . FILTER ( ?a > ?s ) }
Southwestern Somalia
action greater
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Southwestern Somalia
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?a ) WHERE { ?l property:official_language ?m . ?l rdf:type ontology:state . ?m rdf:type ontology:language } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Southwestern_Somalia property:official_language ?j . ?j rdf:type ontology:state } } . FILTER ( ?a > ?s ) }
[]
language state
Q33946 Q26273 Q25279
SYSTEM
Czechoslovakia, Sint Maarten, Curaçao
Q105092 Q6083755 Q33946 Q1194329 Q947153 Q172107 Q1152445 Q1617495 Q185488 Q25279 Q4948 Q1322229 Q953432 Q2353425 Q1709185 Q7251405 Q746443 Q1123960 Q1423680 Q1083009 Q26988 Q26273 Q551798 Q19801186 Q188586 Q204920 Q25227 Q744042 Q49683
(c(Q7275),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q1136259
relation P37
type Q7275
[ANSWERS] are more number of languages associated to as the official language than Southwestern Somalia
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?a ) WHERE { ?l property:P37 ?m . ?l rdf:type ontology:Q7275 . ?m rdf:type ontology:Q34770 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Q1136259 property:P37 ?j . ?j rdf:type ontology:Q7275 } } . FILTER ( ?a > ?s ) }
Kingdom of Mercia Islands of Refreshment Czechoslovakia Nova Roma Kingdom of Tavolara Polish–Lithuanian Commonwealth Aerican Empire Kingdom of Jaén Volga Bulgaria Curaçao Republic of Venice Enlightenment in Spain Couto Misto Talossa Kingdom of Spain under Joseph Bonaparte Protectorate of Peru Golden Ambrosian Republic Conch Republic Gay and Lesbian Kingdom of the Coral Sea Islands Principality of Wy Cook Islands Sint Maarten Grand Duchy of Flandrensis Liberland Kingdom of Sicily Crown of Aragon Netherlands Antilles Grand Duchy of Avram Grand Duchy of Lithuania
Czechoslovakia, Sint Maarten and Curaçao are more number of languages associated to as the official language than Southwestern Somalia
Czechoslovakia Sint Maarten Curaçao
action greater
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Southwestern Somalia
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?a ) WHERE { ?l property:official_language ?m . ?l rdf:type ontology:state . ?m rdf:type ontology:language } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { resource:Southwestern_Somalia property:official_language ?j . ?j rdf:type ontology:state } } . FILTER ( ?a > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q29572
P282
Q8192 Q9779 Q34770
USER
How many languages utilizes around the same number of writing systems and alphabets as the writing system as Avestan ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q29572
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q29572 property:P282 ?f . { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?y = ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { { ?e property:P282 ?k . ?e rdf:type ontology:Q34770 . ?k rdf:type ontology:Q8192 } UNION { ?e property:P282 ?k . ?e rdf:type ontology:Q34770 . ?k rdf:type ontology:Q9779 } } GROUP BY ?e } }
Avestan
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Avestan
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Avestan property:writing_system ?f . { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?y = ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { { ?e property:writing_system ?k . ?e rdf:type ontology:language . ?k rdf:type ontology:writing_system } UNION { ?e property:writing_system ?k . ?e rdf:type ontology:language . ?k rdf:type ontology:alphabet } } GROUP BY ?e } }
[]
writing system alphabet language
SYSTEM
49
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q29572
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q29572 property:P282 ?f . { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?y = ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { { ?e property:P282 ?k . ?e rdf:type ontology:Q34770 . ?k rdf:type ontology:Q8192 } UNION { ?e property:P282 ?k . ?e rdf:type ontology:Q34770 . ?k rdf:type ontology:Q9779 } } GROUP BY ?e } }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
49
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Avestan
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Avestan property:writing_system ?f . { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?y = ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?y ) WHERE { { ?e property:writing_system ?k . ?e rdf:type ontology:language . ?k rdf:type ontology:writing_system } UNION { ?e property:writing_system ?k . ?e rdf:type ontology:language . ?k rdf:type ontology:alphabet } } GROUP BY ?e } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q33138 Q29572
P282
Q2001982
USER
Which notations are used as the scripts for Avestan and Khwarezmian language ?
AND((Q29572,P282,c(Q2001982)), (Q33138,P282,c(Q2001982)))
action filter_type
action intersection
action find
entity Q29572
relation P282
action find
entity Q33138
relation P282
type Q2001982
{'AND': [['Q29572', 'P282', {'concept': 'Q2001982'}], ['Q33138', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?r WHERE { resource:Q29572 property:P282 ?r . resource:Q33138 property:P282 ?r . ?r rdf:type ontology:Q2001982 }
Khwarezmian language Avestan
action filter_type
action intersection
action find
entity Avestan
relation writing system
action find
entity Khwarezmian language
relation writing system
type notation
{'AND': [['Avestan', 'writing system', {'concept': 'notation'}], ['Khwarezmian language', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?r WHERE { resource:Avestan property:writing_system ?r . resource:Khwarezmian_language property:writing_system ?r . ?r rdf:type ontology:notation }
[]
notation
Q1771716
SYSTEM
Pahlavi scripts
Q1771716
AND((Q29572,P282,c(Q2001982)), (Q33138,P282,c(Q2001982)))
action filter_type
action intersection
action find
entity Q29572
relation P282
action find
entity Q33138
relation P282
type Q2001982
[ANSWER] is used as the scripts for Avestan and Khwarezmian language
{'AND': [['Q29572', 'P282', {'concept': 'Q2001982'}], ['Q33138', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?r WHERE { resource:Q29572 property:P282 ?r . resource:Q33138 property:P282 ?r . ?r rdf:type ontology:Q2001982 }
Pahlavi scripts
Pahlavi scripts is used as the scripts for Avestan and Khwarezmian language
Pahlavi scripts
action filter_type
action intersection
action find
entity Avestan
relation writing system
action find
entity Khwarezmian language
relation writing system
type notation
{'AND': [['Avestan', 'writing system', {'concept': 'notation'}], ['Khwarezmian language', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?r WHERE { resource:Avestan property:writing_system ?r . resource:Khwarezmian_language property:writing_system ?r . ?r rdf:type ontology:notation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P282
Q34770
USER
How many languages utilizes that notation as the writing system ?
(c(Q34770),P282,Q1771716)
action count
action filter_type
action find_reverse
entity Q1771716
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q1771716']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P282 resource:Q1771716 . ?d rdf:type ontology:Q34770 }
action count
action filter_type
action find_reverse
entity Pahlavi scripts
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'Pahlavi scripts']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:writing_system resource:Pahlavi_scripts . ?d rdf:type ontology:language }
[]
language
SYSTEM
1
Q29572
(c(Q34770),P282,Q1771716)
action count
action filter_type
action find_reverse
entity Q1771716
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', 'Q1771716']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P282 resource:Q1771716 . ?d rdf:type ontology:Q34770 }
Avestan
1
action count
action filter_type
action find_reverse
entity Pahlavi scripts
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'Pahlavi scripts']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:writing_system resource:Pahlavi_scripts . ?d rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P282
Q2001982 Q25295
USER
Which language families utilizes max number of notations as the writing system ?
(c(Q25295),P282,c(Q2001982))
action argmax
action find_tuple_counts
relation P282
type Q25295
type Q2001982
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?t ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?n ) WHERE { ?l property:P282 ?x . ?x rdf:type ontology:Q2001982 . ?l rdf:type ontology:Q25295 } GROUP BY ?l } } . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?q ) WHERE { ?f property:P282 ?g . ?f rdf:type ontology:Q25295 . ?g rdf:type ontology:Q2001982 } GROUP BY ?f } . FILTER ( ?q = ?t ) }
action argmax
action find_tuple_counts
relation writing system
type language family
type notation
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?t ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?n ) WHERE { ?l property:writing_system ?x . ?x rdf:type ontology:notation . ?l rdf:type ontology:language_family } GROUP BY ?l } } . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?q ) WHERE { ?f property:writing_system ?g . ?f rdf:type ontology:language_family . ?g rdf:type ontology:notation } GROUP BY ?f } . FILTER ( ?q = ?t ) }
[]
notation language family
Q35518
SYSTEM
Akkadian
Q35518
(c(Q25295),P282,c(Q2001982))
action argmax
action find_tuple_counts
relation P282
type Q25295
type Q2001982
[ANSWER] utilizes max number of notations as the writing system
[{'concept': 'Q25295'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?t ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?n ) WHERE { ?l property:P282 ?x . ?x rdf:type ontology:Q2001982 . ?l rdf:type ontology:Q25295 } GROUP BY ?l } } . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?q ) WHERE { ?f property:P282 ?g . ?f rdf:type ontology:Q25295 . ?g rdf:type ontology:Q2001982 } GROUP BY ?f } . FILTER ( ?q = ?t ) }
Akkadian
Akkadian utilizes max number of notations as the writing system
Akkadian
action argmax
action find_tuple_counts
relation writing system
type language family
type notation
[{'concept': 'language family'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?t ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?n ) WHERE { ?l property:writing_system ?x . ?x rdf:type ontology:notation . ?l rdf:type ontology:language_family } GROUP BY ?l } } . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?q ) WHERE { ?f property:writing_system ?g . ?f rdf:type ontology:language_family . ?g rdf:type ontology:notation } GROUP BY ?f } . FILTER ( ?q = ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P282
Q8192 Q25295
USER
Which writing systems are the writing systems used for max number of language families ?
(c(Q25295),P282,Q26803)
action argmax
action find_reverse_tuple_counts
relation P282
type Q8192
type Q25295
[{'concept': 'Q25295'}, 'P282', 'Q26803']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?v ) { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P282 ?t . ?j rdf:type ontology:Q25295 . ?t rdf:type ontology:Q8192 } GROUP BY ?t } } . FILTER ( ?b = ?v ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P282 ?h . ?h rdf:type ontology:Q8192 . ?u rdf:type ontology:Q25295 } GROUP BY ?h } }
action argmax
action find_reverse_tuple_counts
relation writing system
type writing system
type language family
[{'concept': 'language family'}, 'writing system', 'Tamil script']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?v ) { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:writing_system ?t . ?j rdf:type ontology:language_family . ?t rdf:type ontology:writing_system } GROUP BY ?t } } . FILTER ( ?b = ?v ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:writing_system ?h . ?h rdf:type ontology:writing_system . ?u rdf:type ontology:language_family } GROUP BY ?h } }
[]
writing system language family
Q257634
SYSTEM
Ge'ez script
Q257634
(c(Q25295),P282,Q26803)
action argmax
action find_reverse_tuple_counts
relation P282
type Q8192
type Q25295
[ANSWER] is the writing systems used for max number of language families
[{'concept': 'Q25295'}, 'P282', 'Q26803']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?v ) { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P282 ?t . ?j rdf:type ontology:Q25295 . ?t rdf:type ontology:Q8192 } GROUP BY ?t } } . FILTER ( ?b = ?v ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P282 ?h . ?h rdf:type ontology:Q8192 . ?u rdf:type ontology:Q25295 } GROUP BY ?h } }
Ge'ez script
Ge'ez script is the writing systems used for max number of language families
Ge'ez script
action argmax
action find_reverse_tuple_counts
relation writing system
type writing system
type language family
[{'concept': 'language family'}, 'writing system', 'Tamil script']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?v ) { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:writing_system ?t . ?j rdf:type ontology:language_family . ?t rdf:type ontology:writing_system } GROUP BY ?t } } . FILTER ( ?b = ?v ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:writing_system ?h . ?h rdf:type ontology:writing_system . ?u rdf:type ontology:language_family } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q7275 Q7257 Q7275
USER
How many states have atmost 1 states and ideologies as the form of government ?
(c(Q7275),P122,c(Q7275)|c(Q7257))
action count
action atmost
action union
action find_tuple_counts
relation P122
type Q7275
type Q7275
action find_tuple_counts
relation P122
type Q7275
type Q7257
value 1
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q7275'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?r ) WHERE { { ?w property:P122 ?t . ?w rdf:type ontology:Q7275 . ?t rdf:type ontology:Q7275 } UNION { ?w property:P122 ?t . ?w rdf:type ontology:Q7275 . ?t rdf:type ontology:Q7257 } } GROUP BY ?w } . FILTER ( ?r <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation basic form of government
type state
type state
action find_tuple_counts
relation basic form of government
type state
type ideology
value 1
[{'concept': 'state'}, 'basic form of government', [{'concept': 'state'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?r ) WHERE { { ?w property:basic_form_of_government ?t . ?w rdf:type ontology:state . ?t rdf:type ontology:state } UNION { ?w property:basic_form_of_government ?t . ?w rdf:type ontology:state . ?t rdf:type ontology:ideology } } GROUP BY ?w } . FILTER ( ?r <= 1 ) }
[]
state ideology state
SYSTEM
257
Q241748 Q211853 Q484104 Q180573 Q105092 Q210163 Q3185305 Q2340665 Q172107 Q1538311 Q476757 Q152115 Q285658 Q18285930 Q2414171 Q179876 Q2475921 Q218023 Q889374 Q798431 Q3456417 Q154401 Q174193 Q965174 Q282475 Q1269234 Q889394 Q48685 Q552157 Q229411 Q201038 Q761370 Q431731 Q175881 Q330988 Q1852345 Q1194329 Q533558 Q1423680 Q617218 Q2253783 Q1247508 Q13107370 Q986665 Q744042 Q209065 Q190513 Q10988528 Q631210 Q1811029 Q2308237 Q19801186 Q204920 Q1998866 Q207162 Q142417 Q834486 Q2006542 Q545205 Q131964 Q726798 Q133356 Q215530 Q150058 Q62589 Q161885 Q4461035 Q33946 Q150056 Q83572 Q11876909 Q139319 Q191077 Q234009 Q271570 Q903779 Q841364 Q16957 Q558596 Q1649871 Q941881 Q1194765 Q514423 Q62623 Q870055 Q713750 Q544630 Q1057542 Q16949002 Q1789596 Q550374 Q1152126 Q44642 Q853348 Q203493 Q696908 Q147909 Q555994 Q980 Q652560 Q220167 Q2980623 Q1636212 Q737040 Q112558 Q124943 Q37024 Q317078 Q62519 Q503623 Q940123 Q14934927 Q137766 Q172579 Q153128 Q867782 Q877579 Q551798 Q83286 Q210036 Q1277557 Q186537 Q633573 Q1483430 Q200896 Q1068408 Q623751 Q49683 Q330362 Q736936 Q8146595 Q12557 Q2456191 Q310293 Q15864 Q212439 Q844250 Q1362278 Q267584 Q303421 Q207521 Q1658411 Q153015 Q2342822 Q1078602 Q75613 Q71092 Q1479726 Q15180 Q6083755 Q698089 Q1406298 Q179293 Q28278 Q157734 Q600093 Q170072 Q7382038 Q467864 Q76236 Q209857 Q1415585 Q953432 Q1115291 Q170174 Q4843701 Q212056 Q21005050 Q175276 Q210542 Q422065 Q7318 Q42585 Q170468 Q146328 Q487829 Q2365048 Q1138904 Q956451 Q27306 Q1493843 Q1508143 Q1477220 Q146713 Q156038 Q30623 Q736727 Q230407 Q940821 Q824489 Q157727 Q2088324 Q248572 Q189988 Q1192936 Q199841 Q71747 Q615902 Q1077630 Q1322229 Q173761 Q217196 Q16624774 Q23541302 Q199442 Q154195 Q10921634 Q13706 Q498735 Q1775277 Q173082 Q121932 Q680997 Q38872 Q4948 Q1152445 Q156020 Q16410 Q153660 Q1240096 Q1771831 Q70972 Q1986139 Q2145397 Q2353425 Q582861 Q1517772 Q1142179 Q12548 Q211274 Q158725 Q588672 Q6412664 Q6500954 Q1083009 Q391980 Q80211 Q1054184 Q1029847 Q832554 Q1155768 Q157367 Q427941 Q1044668 Q161036 Q266923 Q1061488 Q5148517 Q41304 Q752662 Q797422 Q206411 Q2305337 Q2184 Q2578706 Q1885093 Q149805
(c(Q7275),P122,c(Q7275)|c(Q7257))
action count
action atmost
action union
action find_tuple_counts
relation P122
type Q7275
type Q7275
action find_tuple_counts
relation P122
type Q7275
type Q7257
value 1
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q7275'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?r ) WHERE { { ?w property:P122 ?t . ?w rdf:type ontology:Q7275 . ?t rdf:type ontology:Q7275 } UNION { ?w property:P122 ?t . ?w rdf:type ontology:Q7275 . ?t rdf:type ontology:Q7257 } } GROUP BY ?w } . FILTER ( ?r <= 1 ) }
Kingdom of Serbia Republic of Serbian Krajina United States Army Military Government in Korea South Vietnam Kingdom of Mercia Astrakhan Khanate Kingdom of Israel Basutoland Polish–Lithuanian Commonwealth Travancore-Cochin Democratic Republic of Afghanistan Duchy of Warsaw First Mexican Empire German Empire of 1848/1849 First Brazilian Republic Kingdom of England Outer Mongolia Orange Free State Warsangali Sultanate Republic of Dahomey Republic of Saint-Malo Slovak Republic United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Kartli-Kakheti Stellaland Portuguese Mozambique Judah Nieuwe Republiek Delhi Sultanate Roman Kingdom Aro Confederacy Tanganyika Roman Republic Democratic Kampuchea Trucial States Nova Roma Kingdom of Croatia-Slavonia Gay and Lesbian Kingdom of the Coral Sea Islands Yamhad Kingdom of Glywysing Domain of Soissons Principality of Serbia First East Turkestan Republic Grand Duchy of Avram Kingdom of Greece Khanate of Sibir Second East Turkestan Republic Nogai Horde Finnish Socialist Workers' Republic Ahom kingdom Liberland Crown of Aragon Czech and Slovak Federal Republic Bourbon Restoration Kingdom of Valencia Federation of South Arabia Dominion of Pakistan Transcaucasian Socialist Federative Soviet Republic Austrian Empire Tulunids Ukrainian Soviet Socialist Republic Kingdom of Ireland Travancore Union between Sweden and Norway Kingdom of Great Britain Akkadian empire Czechoslovakia Kingdom of Cochin Sikh Empire State of Brazil Russian Republic Kingdom of Yugoslavia Magadha Kingdom of Araucanía and Patagonia United Kingdom of Portugal, Brazil and the Algarves Ayutthaya Kingdom East Germany Hadiya Kingdom Kingdom of Poland Netherlands New Guinea Kamarupa Parthenopean Republic Kalmar Union Kingdom of Laos West Germany Republic of Maryland Republic of Hawaii Lordship of Brecknock Croatia in personal union with Hungary South African Republic People's Republic of the Congo Federation of Arab Republics Czechoslovak Socialist Republic Kingdom of Romania Kingdom of Poland Kingdom of Bulgaria Ag Qoyunlu Bavaria West Indies Federation Lydenburg Republic Kingdom of Bosnia Karabakh Khanate Islamic Courts Union Republic of Saugeais Kingdom of Egypt Serbia and Montenegro Pskov Republic Finnish Democratic Republic Gold Coast Rustamid dynasty Murrawarri Republic Free Republic of Wendland Kingdom of Italy Independent State of Croatia Kingdom of Funan Kugelmugel Grand Duchy of Flandrensis Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Democratic Federal Yugoslavia Khanate of Kazan Kingdom of Rheged Principality of Kiev Slovak Soviet Republic Kuru Kingdom Kingdom of Bernicia Grand Duchy of Lithuania Commonwealth of England Lu Upingtonia Mongol Empire Kingdom of Seisyllwg Saar Protectorate United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland United States of Stellaland Yemen Arab Republic Kingdom of Galicia Abyssinia Kingdom of Sarawak Kingdom of Saxony West Pakistan Kingdom of Nepal Almoravid dynasty Second French Empire Federation of Malaya Soviet Union Islands of Refreshment Grand Duchy of Würzburg Serbian Empire Kingdom of Castile Provisional Government of the Republic of Korea Muscat and Oman Habsburg Spain Dutch Republic Imperial Throne People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Islamic State of Afghanistan Couto Misto Thonburi Kingdom Papal States Libyan Arab Jamahiriya Mongolian People's Republic Kingdom of Morgannwg Kingdom of León Second Brazilian Republic Sultanate of Sulu Nazi Germany Kingdom of Bohemia United Arab Republic Commonwealth of the Philippines Chagatai Khanate Adal Sultanate Kingdom of Afghanistan Kingdom of Dyfed Kingdom of Prussia Klein Vrystaat Ukrainian State Somali Democratic Republic Arab Federation Duchy of Courland and Semigallia Manchukuo Republic of Siena Kingdom of Israel People's Democratic Republic of Ethiopia Estado Novo Ifat Sultanate Colonial Brazil Sultanate of Maguindanao Central African Empire Kingdom of Burundi South Yemen Duchy of Brittany Kingdom of Finland Septinsular Republic Enlightenment in Spain Lithuanian Soviet Socialist Republic Crown of Castile Kingdom of Nicoya Kaluga Soviet Republic Kingdom of Aragon Kingdom of Bavaria Khoshut Khanate Principality of Sealand division of Korea Dominion of India Dacia People's Republic of Bulgaria Principality of Lower Pannonia Prussia Republic of Venice Aerican Empire State of the Teutonic Order People's Republic of Hungary Italian Social Republic Hyderabad State Kruševo Republic Kingdom of France Parthian Empire Goshen (South Africa) Talossa Marinid dynasty Protectorate of South Arabia Orange River Colony Holy Roman Empire People's Republic of Poland Tanganyika Territory Hammadid dynasty Realm of Stefan Dragutin Zaire Principality of Wy Free Territory of Trieste Lithuanian Soviet Socialist Republic Khmer Republic Natalia Republic Argentine Confederation Republic of Molossia Brandenburg-Prussia Islamic Emirate of Afghanistan Republic of Rose Island Free State of Prussia Kingdom of Mysore United States of Colombia Colony and Protectorate of Nigeria Weimar Republic Hafsid dynasty Republic of Upper Volta Democratic Republic of Azerbaijan Azerbaijan People's Government Russian Soviet Federative Socialist Republic Kingdom of Ceredigion Mahra Sultanate Kingdom of Iraq
257
action count
action atmost
action union
action find_tuple_counts
relation basic form of government
type state
type state
action find_tuple_counts
relation basic form of government
type state
type ideology
value 1
[{'concept': 'state'}, 'basic form of government', [{'concept': 'state'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?r ) WHERE { { ?w property:basic_form_of_government ?t . ?w rdf:type ontology:state . ?t rdf:type ontology:state } UNION { ?w property:basic_form_of_government ?t . ?w rdf:type ontology:state . ?t rdf:type ontology:ideology } } GROUP BY ?w } . FILTER ( ?r <= 1 ) }
[]