Simple Question (Direct)
Simple Question
Q7347027
P39
Q12737077
USER
What were the positions for which Robert Lowther were appointed ?
(Q7347027,P39,c(Q12737077))
action filter_type
action find
entity Q7347027
relation P39
type Q12737077
['Q7347027', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7347027 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Robert Lowther
action filter_type
action find
entity Robert Lowther
relation position held
type occupation
['Robert Lowther', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Robert_Lowther property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q18018860 Q18015642
SYSTEM
Member of Parliament in the Parliament of England, Member of Parliament in the Parliament of Great Britain
Q18018860 Q18015642
(Q7347027,P39,c(Q12737077))
action filter_type
action find
entity Q7347027
relation P39
type Q12737077
[ANSWERS]
['Q7347027', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7347027 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of England Member of Parliament in the Parliament of Great Britain
Member of Parliament in the Parliament of England and Member of Parliament in the Parliament of Great Britain
Member of Parliament in the Parliament of England Member of Parliament in the Parliament of Great Britain
action filter_type
action find
entity Robert Lowther
relation position held
type occupation
['Robert Lowther', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Robert_Lowther property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7347027
P106
Q12737077
USER
Which occupation is the profession of Robert Lowther ?
(Q7347027,P106,c(Q12737077))
action filter_type
action find
entity Q7347027
relation P106
type Q12737077
['Q7347027', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7347027 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Robert Lowther
action filter_type
action find
entity Robert Lowther
relation occupation
type occupation
['Robert Lowther', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Robert_Lowther property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7347027,P106,c(Q12737077))
action filter_type
action find
entity Q7347027
relation P106
type Q12737077
The [ANSWER] is the profession of Robert Lowther
['Q7347027', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7347027 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
politician
The politician is the profession of Robert Lowther
politician
action filter_type
action find
entity Robert Lowther
relation occupation
type occupation
['Robert Lowther', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Robert_Lowther property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Who is associated with the field of occupation that one ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?r WHERE { resource:Q82955 property:P425 ?r . ?r rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?r WHERE { resource:politician property:field_of_this_occupation ?r . ?r rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
That [ANSWER] is associated with the field of occupation that one
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?r WHERE { resource:Q82955 property:P425 ?r . ?r rdf:type ontology:Q3769299 }
politics
That politics is associated with the field of occupation that one
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?r WHERE { resource:politician property:field_of_this_occupation ?r . ?r rdf:type ontology:human_behaviour }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18018860
P361
Q375928
USER
Which lower house is Member of Parliament in the Parliament of England a component of ?
(Q18018860,P361,c(Q375928))
action filter_type
action find
entity Q18018860
relation P361
type Q375928
['Q18018860', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?l WHERE { resource:Q18018860 property:P361 ?l . ?l rdf:type ontology:Q375928 }
Member of Parliament in the Parliament of England
action filter_type
action find
entity Member of Parliament in the Parliament of England
relation part of
type lower house
['Member of Parliament in the Parliament of England', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_Parliament_in_the_Parliament_of_England property:part_of ?l . ?l rdf:type ontology:lower_house }
[]
lower house
Q5914849
SYSTEM
House of Commons of England
Q5914849
(Q18018860,P361,c(Q375928))
action filter_type
action find
entity Q18018860
relation P361
type Q375928
The [ANSWER] is Member of Parliament in the Parliament of England a component of
['Q18018860', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?l WHERE { resource:Q18018860 property:P361 ?l . ?l rdf:type ontology:Q375928 }
House of Commons of England
The House of Commons of England is Member of Parliament in the Parliament of England a component of
House of Commons of England
action filter_type
action find
entity Member of Parliament in the Parliament of England
relation part of
type lower house
['Member of Parliament in the Parliament of England', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_Parliament_in_the_Parliament_of_England property:part_of ?l . ?l rdf:type ontology:lower_house }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15964890
Q375928
USER
And also tell me about member of the House of Commons of Canada?
(Q15964890,P361,c(Q375928))
action filter_type
action find
entity Q15964890
relation P361
type Q375928
['Q15964890', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q375928 . resource:Q15964890 property:P361 ?w }
member of the House of Commons of Canada
action filter_type
action find
entity member of the House of Commons of Canada
relation part of
type lower house
['member of the House of Commons of Canada', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:lower_house . resource:member_of_the_House_of_Commons_of_Canada property:part_of ?w }
[]
lower house
Q383590
SYSTEM
House of Commons
Q383590
(Q15964890,P361,c(Q375928))
action filter_type
action find
entity Q15964890
relation P361
type Q375928
[ANSWER]
['Q15964890', 'P361', {'concept': 'Q375928'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q375928 . resource:Q15964890 property:P361 ?w }
House of Commons
House of Commons
action filter_type
action find
entity member of the House of Commons of Canada
relation part of
type lower house
['member of the House of Commons of Canada', 'part of', {'concept': 'lower house'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:lower_house . resource:member_of_the_House_of_Commons_of_Canada property:part_of ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18018860
P1001
Q7275
USER
Which state belongs to jurisdiction of Member of Parliament in the Parliament of England ?
(Q18018860,P1001,c(Q7275))
action filter_type
action find
entity Q18018860
relation P1001
type Q7275
['Q18018860', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q18018860 property:P1001 ?t . ?t rdf:type ontology:Q7275 }
Member of Parliament in the Parliament of England
action filter_type
action find
entity Member of Parliament in the Parliament of England
relation applies to jurisdiction
type state
['Member of Parliament in the Parliament of England', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Member_of_Parliament_in_the_Parliament_of_England property:applies_to_jurisdiction ?t . ?t rdf:type ontology:state }
[]
state
Q179876
SYSTEM
Kingdom of England
Q179876
(Q18018860,P1001,c(Q7275))
action filter_type
action find
entity Q18018860
relation P1001
type Q7275
[ANSWER] belongs to jurisdiction of Member of Parliament in the Parliament of England
['Q18018860', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q18018860 property:P1001 ?t . ?t rdf:type ontology:Q7275 }
Kingdom of England
Kingdom of England belongs to jurisdiction of Member of Parliament in the Parliament of England
Kingdom of England
action filter_type
action find
entity Member of Parliament in the Parliament of England
relation applies to jurisdiction
type state
['Member of Parliament in the Parliament of England', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Member_of_Parliament_in_the_Parliament_of_England property:applies_to_jurisdiction ?t . ?t rdf:type ontology:state }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q7275 Q486972
USER
Which human settlements are the county seat of max number of states ?
(c(Q486972),P1376,c(Q7275))
action argmax
action find_tuple_counts
relation P1376
type Q486972
type Q7275
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?u ) { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?k ) WHERE { ?a rdf:type ontology:Q486972 . ?q rdf:type ontology:Q7275 . ?a property:P1376 ?q } GROUP BY ?a } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?x ) WHERE { ?d property:P1376 ?o . ?d rdf:type ontology:Q486972 . ?o rdf:type ontology:Q7275 } GROUP BY ?d } . FILTER ( ?x = ?u ) }
action argmax
action find_tuple_counts
relation capital of
type human settlement
type state
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?u ) { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?k ) WHERE { ?a rdf:type ontology:human_settlement . ?q rdf:type ontology:state . ?a property:capital_of ?q } GROUP BY ?a } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?x ) WHERE { ?d property:capital_of ?o . ?d rdf:type ontology:human_settlement . ?o rdf:type ontology:state } GROUP BY ?d } . FILTER ( ?x = ?u ) }
[]
state human settlement
Q31487
SYSTEM
Kraków
Q31487
(c(Q486972),P1376,c(Q7275))
action argmax
action find_tuple_counts
relation P1376
type Q486972
type Q7275
[ANSWER] is the county seat of max number of states
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?u ) { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?k ) WHERE { ?a rdf:type ontology:Q486972 . ?q rdf:type ontology:Q7275 . ?a property:P1376 ?q } GROUP BY ?a } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?x ) WHERE { ?d property:P1376 ?o . ?d rdf:type ontology:Q486972 . ?o rdf:type ontology:Q7275 } GROUP BY ?d } . FILTER ( ?x = ?u ) }
Kraków
Kraków is the county seat of max number of states
Kraków
action argmax
action find_tuple_counts
relation capital of
type human settlement
type state
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?u ) { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?k ) WHERE { ?a rdf:type ontology:human_settlement . ?q rdf:type ontology:state . ?a property:capital_of ?q } GROUP BY ?a } } . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?x ) WHERE { ?d property:capital_of ?o . ?d rdf:type ontology:human_settlement . ?o rdf:type ontology:state } GROUP BY ?d } . FILTER ( ?x = ?u ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31487
P6
Q502895
USER
What people are that human settlement the head of goverment of ?
(Q31487,P6,c(Q502895))
action filter_type
action find
entity Q31487
relation P6
type Q502895
['Q31487', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q31487 property:P6 ?o }
Kraków
action filter_type
action find
entity Kraków
relation head of government
type common name
['Kraków', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Kraków property:head_of_government ?o }
[]
common name
Q179502 Q11731570
SYSTEM
Jacek Majchrowski, Józef Walenty Krzyżanowski
Q179502 Q11731570
(Q31487,P6,c(Q502895))
action filter_type
action find
entity Q31487
relation P6
type Q502895
That human settlement the head of goverment of are [ANSWERS]
['Q31487', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q31487 property:P6 ?o }
Jacek Majchrowski Józef Walenty Krzyżanowski
That human settlement the head of goverment of are Jacek Majchrowski and Józef Walenty Krzyżanowski
Jacek Majchrowski Józef Walenty Krzyżanowski
action filter_type
action find
entity Kraków
relation head of government
type common name
['Kraków', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Kraków property:head_of_government ?o }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q41304
P36
Q486972 Q20667921 Q7275
USER
Which states have approximately the same number of human settlements or french administrative divisions as their capital as Weimar Republic ?
(c(Q7275),P36,c(Q486972)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q486972
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q41304
relation P36
type Q486972
type Q20667921
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?s ) WHERE { { ?v property:P36 ?d . ?d rdf:type ontology:Q486972 . ?v rdf:type ontology:Q7275 } UNION { ?v property:P36 ?d . ?v rdf:type ontology:Q7275 . ?d rdf:type ontology:Q20667921 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q41304 property:P36 ?p . { { ?p rdf:type ontology:Q486972 } UNION { ?p rdf:type ontology:Q20667921 } } } } . FILTER ( ?s = ?m ) }
Weimar Republic
action approx
action union
action find_tuple_counts
relation capital
type state
type human settlement
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Weimar Republic
relation capital
type human settlement
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?s ) WHERE { { ?v property:capital ?d . ?d rdf:type ontology:human_settlement . ?v rdf:type ontology:state } UNION { ?v property:capital ?d . ?v rdf:type ontology:state . ?d rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Weimar_Republic property:capital ?p . { { ?p rdf:type ontology:human_settlement } UNION { ?p rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?s = ?m ) }
[]
human settlement type of french administrative division state
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q15102440 Q46652 Q7559152 Q568523 Q18285930 Q788071 Q207162 Q572222 Q1275158 Q152855 Q174193 Q855044 Q466581 Q110888 Q2145402 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q72785 Q210198 Q31454 Q834486 Q2006542 Q186096 Q133356 Q215530 Q912043 Q501684 Q164079 Q588672 Q2564694 Q62623 Q870055 Q282475 Q1789596 Q184536 Q203493 Q523380 Q980 Q1574107 Q154401 Q746443 Q252580 Q3446210 Q317078 Q332005 Q940123 Q874954 Q172579 Q867782 Q798431 Q1269910 Q506008 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q23366230 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q918204 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q698089 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q13107370 Q8733 Q1462877 Q156038 Q7405 Q761370 Q2114397 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q220110 Q2670639 Q2412900 Q1414395 Q756895 Q190025 Q229411 Q240123 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q6500954 Q38872 Q107299 Q546282 Q466803 Q274488 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q476757 Q1274468 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q6412669 Q5148520 Q2419932 Q234197 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q49697 Q551375 Q762943 Q1998866 Q106577 Q146246 Q1198071 Q1240096 Q153080 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q37024 Q1194765 Q1154540 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q550374 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q19831559 Q1048918 Q1322229 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q783489 Q28428 Q1479952 Q303421 Q19083 Q83618 Q449639 Q1395320 Q1143524 Q2086556 Q26988 Q16949002 Q618399 Q180573 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q4159675 Q269864 Q199841 Q335088 Q325461 Q12557 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q216786 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q862701 Q139315 Q28370 Q139319 Q832554 Q171150 Q3271735 Q160440 Q752662 Q2305337 Q1668970 Q320930 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q849623 Q1149230 Q324470 Q551067 Q176495 Q2264735 Q28511 Q796583 Q330988 Q139670 Q1136259 Q1194329 Q1138904 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q75903 Q402580 Q7352 Q2086608 Q733799 Q9903 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q1774 Q941881 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q696908 Q147909 Q319881 Q1709185 Q894030 Q38060 Q39760 Q1192067 Q62519 Q736727 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q7771127 Q844250 Q181254 Q738144 Q207521 Q2396442 Q1658411 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q157734 Q2088324 Q11909456 Q580188 Q1796198 Q1415585 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q146328 Q248452 Q175379 Q552157 Q1508143 Q170770 Q30623 Q940821 Q248572 Q697084 Q747314 Q5157575 Q213586 Q3456373 Q862304 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q11196 Q70972 Q268970 Q187684 Q1143164 Q1324889 Q1562357 Q146713 Q1164500 Q427941 Q161036 Q2314907 Q2184 Q697837 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q13496558 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q225890 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q102679 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q150056 Q762084 Q271570 Q307069 Q28278 Q107380 Q206696 Q544630 Q180114 Q431731 Q1320058 Q36704 Q62454 Q1472004 Q28233 Q889884 Q698239 Q1142179 Q1277557 Q4453003 Q1483430 Q2372248 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q505503 Q169705 Q212439 Q1751495 Q738264 Q153015 Q846670 Q386496 Q696241 Q696242 Q152420 Q11774 Q4843701 Q422065 Q1479726 Q467864 Q76236 Q209857 Q2712121 Q212056 Q13426199 Q964024 Q877155 Q777981 Q26273 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q28405 Q71747 Q676184 Q128938 Q837136 Q3041595 Q146597 Q1072362 Q185488 Q484104 Q680997 Q5362837 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q899706 Q1029847 Q6415938 Q5148517 Q41304 Q648297 Q149805
(c(Q7275),P36,c(Q486972)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q486972
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q41304
relation P36
type Q486972
type Q20667921
[ANSWERS] have approximately the same number of human settlements or french administrative divisions as their capital as Weimar Republic
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?s ) WHERE { { ?v property:P36 ?d . ?d rdf:type ontology:Q486972 . ?v rdf:type ontology:Q7275 } UNION { ?v property:P36 ?d . ?v rdf:type ontology:Q7275 . ?d rdf:type ontology:Q20667921 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q41304 property:P36 ?p . { { ?p rdf:type ontology:Q486972 } UNION { ?p rdf:type ontology:Q20667921 } } } } . FILTER ( ?s = ?m ) }
Kingdom of Scotland Wuyue Kingdom of Serbs, Croatians and Slovenes Malacca sultanate Somali Republic Nobatia German Empire of 1848/1849 Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Kingdom of Tungning United Kingdom of Great Britain and Ireland Bhopal State Hoysala Empire Kingdom of Essex Republic of South Peru 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 Cretan State Erivan Khanate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Laos Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Kingdom of Romania Republic of Central Lithuania Bavaria Han Zhao Slovak Republic Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Rustamid dynasty Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Kingdom of Deira Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Republic of Geneva Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Rajpipla State Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Grand Duchy of Würzburg Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Principality of Serbia Qing dynasty Kingdom of Kaffa Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Yogyakarta Sultanate Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Rohan Powys Wenwynwyn Republic of Salé Republic of South Maluku Kediri Federal Republic of Central America Delhi Sultanate Indo-Scythians Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Zaire Prussia Kingdom of Northumbria Xia Pallava Eastern Wu State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Tunisia Colony of Niger Kingdom of Redonda Srivijaya 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 Liu Song dynasty Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Southern Han Hyderabad State East Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Serbia and Montenegro Kamarupa Later Jin Dynasty Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia South African Republic People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Oldenburg Suebic Kingdom of Galicia Enlightenment in Spain Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Later Liang dynasty Baekje Kadamba Dynasty Kingdom of Galicia Iberia Maratha Empire Alodia Duchy of Siewierz Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Republic of the Congo South Vietnam 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 Javad khanate Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Mongol Empire 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 Champa First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory People's Republic of Benin Dʿmt Goguryeo Russian Republic Argentine Confederation Kingdom of Hungary Kingdom of Arles Crimean Khanate Hafsid dynasty Azerbaijan People's Government Western Qin Cao Wei Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Oyo Empire Western Yan Kara Koyunlu Northern Zhou Federal State of Austria Arthedain Buyeo kingdom Kingdom of Kongo Democratic Kampuchea Democratic Republic of Armenia Southwestern Somalia Nova Roma Kingdom of Afghanistan Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Turkestan Autonomous Soviet Socialist Republic Medang Kingdom Jin dynasty Western Satraps Kingdom of the Hwicce Ming imperium 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 Zanzibar Netherlands New Guinea Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Poland Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Gaul Gaza Strip Min Finnish Democratic Republic Republic of Siena Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Pohnpei State Lordship of Ireland Empire of Nicea United Provinces of the Río de la Plata Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Sarawak Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Kingdom of Córdoba Islamic State of Afghanistan Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty Commonwealth of the Philippines British North America Empire of China Nieuwe Republiek Ukrainian State Grand Duchy of Moscow Manchukuo People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Bechuanaland Protectorate Griqualand East Gondor Republic of Brescia Kara-Khitan Khanate 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 Republika Srpska Kingdom of France Republic of German-Austria Despotate of Epirus Western Wei Germiyanids Republic of Central Albania Arab Federation Kingdom of Murcia Islamic Emirate of Afghanistan Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Mengjiang Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Bishopric of Brixen Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Kingdom of Strathclyde Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Numidia Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Kingdom of Cochin Bamana Empire Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika History of Laos to 1945 Yugoslavia Chen dynasty Former Yan Korean Empire Kingdom of Rwanda Hubaekje Orange River Colony Democratic Federal Yugoslavia Tashkent State Principality of Kiev Free State of Oldenburg Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Cochinchina Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Saxony Danishmends Kingdom of Montenegro Khanate of Kokand Reorganized National Government of China Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Mongolian People's Republic Republic of China Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Sint Maarten 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 Gojoseon Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Republic of Iraq Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Volga Bulgaria United States Army Military Government in Korea Principality of Lower Pannonia Emirate of Jabal Shammar 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 Peru–Bolivian Confederation Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic Free State of Brunswick Kingdom of Iraq
Czechoslovakia, Soviet Union and Bavaria have approximately the same number of human settlements or french administrative divisions as their capital as Weimar Republic
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_tuple_counts
relation capital
type state
type human settlement
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Weimar Republic
relation capital
type human settlement
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?s ) WHERE { { ?v property:capital ?d . ?d rdf:type ontology:human_settlement . ?v rdf:type ontology:state } UNION { ?v property:capital ?d . ?v rdf:type ontology:state . ?d rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Weimar_Republic property:capital ?p . { { ?p rdf:type ontology:human_settlement } UNION { ?p rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?s = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q501684
P36
Q486972 Q20667921 Q7275
USER
And how about Kingdom of Gomma?
(c(Q7275),P36,c(Q486972)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q486972
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q501684
relation P36
type Q486972
type Q20667921
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?t WHERE { { ?t property:P36 ?o . ?o rdf:type ontology:Q486972 . ?t rdf:type ontology:Q7275 } UNION { ?t property:P36 ?o . ?t rdf:type ontology:Q7275 . ?o rdf:type ontology:Q20667921 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q501684 property:P36 ?v . { { ?v rdf:type ontology:Q486972 } UNION { ?v rdf:type ontology:Q20667921 } } } } . FILTER ( ?m = ?x ) }
Kingdom of Gomma
action approx
action union
action find_tuple_counts
relation capital
type state
type human settlement
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Kingdom of Gomma
relation capital
type human settlement
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?t WHERE { { ?t property:capital ?o . ?o rdf:type ontology:human_settlement . ?t rdf:type ontology:state } UNION { ?t property:capital ?o . ?t rdf:type ontology:state . ?o rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Kingdom_of_Gomma property:capital ?v . { { ?v rdf:type ontology:human_settlement } UNION { ?v rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?m = ?x ) }
[]
human settlement type of french administrative division state
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q15102440 Q46652 Q7559152 Q568523 Q18285930 Q788071 Q207162 Q572222 Q1275158 Q152855 Q174193 Q855044 Q466581 Q110888 Q2145402 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q72785 Q210198 Q31454 Q834486 Q2006542 Q186096 Q133356 Q215530 Q912043 Q501684 Q164079 Q588672 Q2564694 Q62623 Q870055 Q282475 Q1789596 Q184536 Q203493 Q523380 Q980 Q1574107 Q154401 Q746443 Q252580 Q3446210 Q317078 Q332005 Q940123 Q874954 Q172579 Q867782 Q798431 Q1269910 Q506008 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q23366230 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q918204 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q698089 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q13107370 Q8733 Q1462877 Q156038 Q7405 Q761370 Q2114397 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q220110 Q2670639 Q2412900 Q1414395 Q756895 Q190025 Q229411 Q240123 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q6500954 Q38872 Q107299 Q546282 Q466803 Q274488 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q476757 Q1274468 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q6412669 Q5148520 Q2419932 Q234197 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q49697 Q551375 Q762943 Q1998866 Q106577 Q146246 Q1198071 Q1240096 Q153080 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q37024 Q1194765 Q1154540 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q550374 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q19831559 Q1048918 Q1322229 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q783489 Q28428 Q1479952 Q303421 Q19083 Q83618 Q449639 Q1395320 Q1143524 Q2086556 Q26988 Q16949002 Q618399 Q180573 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q4159675 Q269864 Q199841 Q335088 Q325461 Q12557 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q216786 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q862701 Q139315 Q28370 Q139319 Q832554 Q171150 Q3271735 Q160440 Q752662 Q2305337 Q1668970 Q320930 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q849623 Q1149230 Q324470 Q551067 Q176495 Q2264735 Q28511 Q796583 Q330988 Q139670 Q1136259 Q1194329 Q1138904 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q75903 Q402580 Q7352 Q2086608 Q733799 Q9903 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q1774 Q941881 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q696908 Q147909 Q319881 Q1709185 Q894030 Q38060 Q39760 Q1192067 Q62519 Q736727 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q7771127 Q844250 Q181254 Q738144 Q207521 Q2396442 Q1658411 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q157734 Q2088324 Q11909456 Q580188 Q1796198 Q1415585 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q146328 Q248452 Q175379 Q552157 Q1508143 Q170770 Q30623 Q940821 Q248572 Q697084 Q747314 Q5157575 Q213586 Q3456373 Q862304 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q11196 Q70972 Q268970 Q187684 Q1143164 Q1324889 Q1562357 Q146713 Q1164500 Q427941 Q161036 Q2314907 Q2184 Q697837 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q13496558 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q225890 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q102679 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q150056 Q762084 Q271570 Q307069 Q28278 Q107380 Q206696 Q544630 Q180114 Q431731 Q1320058 Q36704 Q62454 Q1472004 Q28233 Q889884 Q698239 Q1142179 Q1277557 Q4453003 Q1483430 Q2372248 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q505503 Q169705 Q212439 Q1751495 Q738264 Q153015 Q846670 Q386496 Q696241 Q696242 Q152420 Q11774 Q4843701 Q422065 Q1479726 Q467864 Q76236 Q209857 Q2712121 Q212056 Q13426199 Q964024 Q877155 Q777981 Q26273 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q28405 Q71747 Q676184 Q128938 Q837136 Q3041595 Q146597 Q1072362 Q185488 Q484104 Q680997 Q5362837 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q899706 Q1029847 Q6415938 Q5148517 Q41304 Q648297 Q149805
(c(Q7275),P36,c(Q486972)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q486972
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q501684
relation P36
type Q486972
type Q20667921
[ANSWERS]
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?t WHERE { { ?t property:P36 ?o . ?o rdf:type ontology:Q486972 . ?t rdf:type ontology:Q7275 } UNION { ?t property:P36 ?o . ?t rdf:type ontology:Q7275 . ?o rdf:type ontology:Q20667921 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q501684 property:P36 ?v . { { ?v rdf:type ontology:Q486972 } UNION { ?v rdf:type ontology:Q20667921 } } } } . FILTER ( ?m = ?x ) }
Kingdom of Scotland Wuyue Kingdom of Serbs, Croatians and Slovenes Malacca sultanate Somali Republic Nobatia German Empire of 1848/1849 Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Kingdom of Tungning United Kingdom of Great Britain and Ireland Bhopal State Hoysala Empire Kingdom of Essex Republic of South Peru 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 Cretan State Erivan Khanate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Laos Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Kingdom of Romania Republic of Central Lithuania Bavaria Han Zhao Slovak Republic Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Rustamid dynasty Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Kingdom of Deira Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Republic of Geneva Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Rajpipla State Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Grand Duchy of Würzburg Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Principality of Serbia Qing dynasty Kingdom of Kaffa Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Yogyakarta Sultanate Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Rohan Powys Wenwynwyn Republic of Salé Republic of South Maluku Kediri Federal Republic of Central America Delhi Sultanate Indo-Scythians Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Zaire Prussia Kingdom of Northumbria Xia Pallava Eastern Wu State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Tunisia Colony of Niger Kingdom of Redonda Srivijaya 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 Liu Song dynasty Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Southern Han Hyderabad State East Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Serbia and Montenegro Kamarupa Later Jin Dynasty Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia South African Republic People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Oldenburg Suebic Kingdom of Galicia Enlightenment in Spain Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Later Liang dynasty Baekje Kadamba Dynasty Kingdom of Galicia Iberia Maratha Empire Alodia Duchy of Siewierz Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Republic of the Congo South Vietnam 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 Javad khanate Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Mongol Empire 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 Champa First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory People's Republic of Benin Dʿmt Goguryeo Russian Republic Argentine Confederation Kingdom of Hungary Kingdom of Arles Crimean Khanate Hafsid dynasty Azerbaijan People's Government Western Qin Cao Wei Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Oyo Empire Western Yan Kara Koyunlu Northern Zhou Federal State of Austria Arthedain Buyeo kingdom Kingdom of Kongo Democratic Kampuchea Democratic Republic of Armenia Southwestern Somalia Nova Roma Kingdom of Afghanistan Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Turkestan Autonomous Soviet Socialist Republic Medang Kingdom Jin dynasty Western Satraps Kingdom of the Hwicce Ming imperium 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 Zanzibar Netherlands New Guinea Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Poland Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Gaul Gaza Strip Min Finnish Democratic Republic Republic of Siena Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Pohnpei State Lordship of Ireland Empire of Nicea United Provinces of the Río de la Plata Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Sarawak Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Kingdom of Córdoba Islamic State of Afghanistan Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty Commonwealth of the Philippines British North America Empire of China Nieuwe Republiek Ukrainian State Grand Duchy of Moscow Manchukuo People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Bechuanaland Protectorate Griqualand East Gondor Republic of Brescia Kara-Khitan Khanate 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 Republika Srpska Kingdom of France Republic of German-Austria Despotate of Epirus Western Wei Germiyanids Republic of Central Albania Arab Federation Kingdom of Murcia Islamic Emirate of Afghanistan Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Mengjiang Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Bishopric of Brixen Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Kingdom of Strathclyde Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Numidia Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Kingdom of Cochin Bamana Empire Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika History of Laos to 1945 Yugoslavia Chen dynasty Former Yan Korean Empire Kingdom of Rwanda Hubaekje Orange River Colony Democratic Federal Yugoslavia Tashkent State Principality of Kiev Free State of Oldenburg Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Cochinchina Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Saxony Danishmends Kingdom of Montenegro Khanate of Kokand Reorganized National Government of China Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Mongolian People's Republic Republic of China Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Sint Maarten 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 Gojoseon Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Republic of Iraq Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Volga Bulgaria United States Army Military Government in Korea Principality of Lower Pannonia Emirate of Jabal Shammar 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 Peru–Bolivian Confederation Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic Free State of Brunswick Kingdom of Iraq
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_tuple_counts
relation capital
type state
type human settlement
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Kingdom of Gomma
relation capital
type human settlement
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) ?t WHERE { { ?t property:capital ?o . ?o rdf:type ontology:human_settlement . ?t rdf:type ontology:state } UNION { ?t property:capital ?o . ?t rdf:type ontology:state . ?o rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Kingdom_of_Gomma property:capital ?v . { { ?v rdf:type ontology:human_settlement } UNION { ?v rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?m = ?x ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P85
Q484692 Q7725634 Q7275
USER
How many states have more number of hymns or literary works as their anthem than that state ?
(c(Q7275),P85,c(Q484692)|c(Q7725634))
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:Q541947 ?e } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q484692 . ?x rdf:type ontology:Q7725634 }
[{'concept': 'state'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:anthem ?e } . ?z rdf:type ontology:state . ?y rdf:type ontology:hymn . ?x rdf:type ontology:literary_work }
[]
hymn literary work state
Comparative|Count over More/Less|Mult. entity type|Clarification
Q15180
SYSTEM
Did you mean Soviet Union ?
(c(Q7275),P85,c(Q484692)|c(Q7725634))
[ANSWER]
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:Q541947 ?e } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q484692 . ?x rdf:type ontology:Q7725634 }
Did you mean Soviet Union ?
Soviet Union
[{'concept': 'state'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:anthem ?e } . ?z rdf:type ontology:state . ?y rdf:type ontology:hymn . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Czechoslovakia. Could you tell me the answer for that?
(c(Q7275),P85,c(Q484692)|c(Q7725634))
Q33946
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
[{'concept': 'state'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
[]
SYSTEM
1
Q15180
(c(Q7275),P85,c(Q484692)|c(Q7725634))
[ANSWER]
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q541947 ?y } UNION { ?z property:Q541947 ?x } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q484692 . ?x rdf:type ontology:Q7725634 }
Soviet Union
1
[{'concept': 'state'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:anthem ?y } UNION { ?z property:anthem ?x } } . ?z rdf:type ontology:state . ?y rdf:type ontology:hymn . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q128852
P194
Q1752346 Q7275
USER
Which assemblies are the legislative bodies for greater number of states than Gibraltar Parliament ?
(c(Q7275),P194,c(Q1752346))
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q128852
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P194 ?t . ?e rdf:type ontology:Q7275 . ?t rdf:type ontology:Q1752346 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q128852 property:P194 ?r . ?r rdf:type ontology:Q1752346 } } . FILTER ( ?a > ?l ) }
Gibraltar Parliament
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Gibraltar Parliament
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:legislative_body ?t . ?e rdf:type ontology:state . ?t rdf:type ontology:assembly } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Gibraltar_Parliament property:legislative_body ?r . ?r rdf:type ontology:assembly } } . FILTER ( ?a > ?l ) }
[]
assembly state
Q157638 Q641439 Q1371388
SYSTEM
Frankfurt Parliament, Landtag of Bavaria, States General
Q949699 Q17063844 Q1283189 Q1889821 Q1813360 Q650248 Q641439 Q2282872 Q11010 Q1371388 Q371576 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q1484825 Q157638 Q219825 Q321246 Q7253170 Q697775 Q632552 Q1269552 Q878525 Q639704 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q128852
relation P194
type Q1752346
[ANSWERS] are the legislative bodies for greater number of states than Gibraltar Parliament
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P194 ?t . ?e rdf:type ontology:Q7275 . ?t rdf:type ontology:Q1752346 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Q128852 property:P194 ?r . ?r rdf:type ontology:Q1752346 } } . FILTER ( ?a > ?l ) }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Irish Parliament Parliament of Romania Landtag of Prussia Landtag of Bavaria diet Parliament of the United Kingdom States General Parliament of Croatia National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Congress of the Union Frankfurt Parliament National Convention Reichstag Prussian estates Imperial Council French Parliament Dáil Éireann Reichstag National Assembly 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, Landtag of Bavaria and States General are the legislative bodies for greater number of states than Gibraltar Parliament
Frankfurt Parliament Landtag of Bavaria States General
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Gibraltar Parliament
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:legislative_body ?t . ?e rdf:type ontology:state . ?t rdf:type ontology:assembly } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { resource:Gibraltar_Parliament property:legislative_body ?r . ?r rdf:type ontology:assembly } } . FILTER ( ?a > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1258164
P194
Q1752346 Q7275
USER
And how about Assembly of the Republic of Macedonia?
(c(Q7275),P194,c(Q1752346))
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q1258164
relation P194
type Q1752346
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?n ) WHERE { ?r rdf:type ontology:Q1752346 . ?u rdf:type ontology:Q7275 . ?u property:P194 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q1258164 property:P194 ?k . ?k rdf:type ontology:Q1752346 } } . FILTER ( ?n > ?s ) }
Assembly of the Republic of Macedonia
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Assembly of the Republic of Macedonia
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?n ) WHERE { ?r rdf:type ontology:assembly . ?u rdf:type ontology:state . ?u property:legislative_body ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Assembly_of_the_Republic_of_Macedonia property:legislative_body ?k . ?k rdf:type ontology:assembly } } . FILTER ( ?n > ?s ) }
[]
assembly state
Q157638 Q641439 Q1371388
SYSTEM
Frankfurt Parliament, Landtag of Bavaria, States General
Q949699 Q17063844 Q1283189 Q1889821 Q1813360 Q650248 Q641439 Q2282872 Q11010 Q1371388 Q371576 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q1484825 Q157638 Q219825 Q321246 Q7253170 Q697775 Q632552 Q1269552 Q878525 Q639704 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action greater
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find
entity Q1258164
relation P194
type Q1752346
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?n ) WHERE { ?r rdf:type ontology:Q1752346 . ?u rdf:type ontology:Q7275 . ?u property:P194 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q1258164 property:P194 ?k . ?k rdf:type ontology:Q1752346 } } . FILTER ( ?n > ?s ) }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Irish Parliament Parliament of Romania Landtag of Prussia Landtag of Bavaria diet Parliament of the United Kingdom States General Parliament of Croatia National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Congress of the Union Frankfurt Parliament National Convention Reichstag Prussian estates Imperial Council French Parliament Dáil Éireann Reichstag National Assembly 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 Landtag of Bavaria States General
action greater
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find
entity Assembly of the Republic of Macedonia
relation legislative body
type assembly
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?n ) WHERE { ?r rdf:type ontology:assembly . ?u rdf:type ontology:state . ?u property:legislative_body ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Assembly_of_the_Republic_of_Macedonia property:legislative_body ?k . ?k rdf:type ontology:assembly } } . FILTER ( ?n > ?s ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P488
Q502895 Q1752346
USER
How many assemblies do greater number of people lead than that assembly ?
(c(Q1752346),P488,c(Q502895))
[{'concept': 'Q1752346'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q1752346 . ?y rdf:type ontology:Q502895 }
[{'concept': 'assembly'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:assembly . ?y rdf:type ontology:common_name }
[]
common name assembly
Comparative|Count over More/Less|Single entity type|Clarification
Q641439
SYSTEM
Did you mean Landtag of Bavaria ?
(c(Q1752346),P488,c(Q502895))
[ANSWER]
[{'concept': 'Q1752346'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q1752346 . ?y rdf:type ontology:Q502895 }
Did you mean Landtag of Bavaria ?
Landtag of Bavaria
[{'concept': 'assembly'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:assembly . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q1752346),P488,c(Q502895))
[{'concept': 'Q1752346'}, 'P488', {'concept': 'Q502895'}]
[{'concept': 'assembly'}, 'chairperson', {'concept': 'common name'}]
[]
SYSTEM
4
Q209151 Q157638 Q154797 Q1969585
(c(Q1752346),P488,c(Q502895))
[ANSWER]
[{'concept': 'Q1752346'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q1752346 . ?y rdf:type ontology:Q502895 }
Folketing Frankfurt Parliament Bundestag of Germany National Assembly
4
[{'concept': 'assembly'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:assembly . ?y rdf:type ontology:common_name }
[]