Simple Question (Direct)
Simple Question
Q6114571
P463
Q874405
USER
Which social group had Ruy Pérez Tamayo as its member ?
(Q6114571,P463,c(Q874405))
action filter_type
action find
entity Q6114571
relation P463
type Q874405
['Q6114571', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { resource:Q6114571 property:P463 ?r . ?r rdf:type ontology:Q874405 }
Ruy Pérez Tamayo
action filter_type
action find
entity Ruy Pérez Tamayo
relation member of
type social group
['Ruy Pérez Tamayo', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { resource:Ruy_Pérez_Tamayo property:member_of ?r . ?r rdf:type ontology:social_group }
[]
social group
Q2749618
SYSTEM
Academia Mexicana de la Lengua
Q2749618
(Q6114571,P463,c(Q874405))
action filter_type
action find
entity Q6114571
relation P463
type Q874405
[ANSWER] had Ruy Pérez Tamayo as its member
['Q6114571', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { resource:Q6114571 property:P463 ?r . ?r rdf:type ontology:Q874405 }
Academia Mexicana de la Lengua
Academia Mexicana de la Lengua had Ruy Pérez Tamayo as its member
Academia Mexicana de la Lengua
action filter_type
action find
entity Ruy Pérez Tamayo
relation member of
type social group
['Ruy Pérez Tamayo', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { resource:Ruy_Pérez_Tamayo property:member_of ?r . ?r rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6114571
P1412
Q34770
USER
Which language is spoken by Ruy Pérez Tamayo ?
(Q6114571,P1412,c(Q34770))
action filter_type
action find
entity Q6114571
relation P1412
type Q34770
['Q6114571', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q6114571 property:P1412 ?c }
Ruy Pérez Tamayo
action filter_type
action find
entity Ruy Pérez Tamayo
relation languages spoken, written or signed
type language
['Ruy Pérez Tamayo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Ruy_Pérez_Tamayo property:languages_spoken,_written_or_signed ?c }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6114571,P1412,c(Q34770))
action filter_type
action find
entity Q6114571
relation P1412
type Q34770
[ANSWER] is spoken by Ruy Pérez Tamayo
['Q6114571', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q6114571 property:P1412 ?c }
Spanish
Spanish is spoken by Ruy Pérez Tamayo
Spanish
action filter_type
action find
entity Ruy Pérez Tamayo
relation languages spoken, written or signed
type language
['Ruy Pérez Tamayo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Ruy_Pérez_Tamayo property:languages_spoken,_written_or_signed ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6114571
P106
Q12737077
USER
What is the profession of that person ?
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q6114571
relation P106
type Q12737077
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q6114571 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Ruy Pérez Tamayo
action filter_type
action find
entity Ruy Pérez Tamayo
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ruy_Pérez_Tamayo property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q39631
SYSTEM
physician
Q39631
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q6114571
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q6114571 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
physician
The profession of that person is a physician
physician
action filter_type
action find
entity Ruy Pérez Tamayo
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ruy_Pérez_Tamayo property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q9779 Q34770
USER
Which languages use approximately 1 notations or alphabets as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } GROUP BY ?d } . FILTER ( ?c = 1 ) }
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:alphabet ) ( ontology:notation ) } } GROUP BY ?d } . FILTER ( ?c = 1 ) }
[]
notation alphabet language
Q182695 Q35499 Q33251
SYSTEM
Late Old Japanese, Old Church Slavonic, Church Slavonic
Q182695 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 1
[ANSWERS] use approximately 1 notations or alphabets as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } GROUP BY ?d } . FILTER ( ?c = 1 ) }
Late Old Japanese Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
Late Old Japanese, Old Church Slavonic and Church Slavonic use approximately 1 notations or alphabets as the writing system
Late Old Japanese Old Church Slavonic Church Slavonic
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?d WHERE { ?p rdf:type ?e . VALUES ( ?e ) { ( ontology:alphabet ) ( ontology:notation ) } } GROUP BY ?d } . FILTER ( ?c = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q182695 Q35499 Q33251
P1412
Q502895
USER
Which people speaks Late Old Japanese, Old Church Slavonic and Church Slavonic ?
(c(Q502895),P1412,Q182695) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q33251)
action union
action filter_type
action find_reverse
entity Q182695
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q33251
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q182695'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q33251']
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Q182695 ) ( resource:Q35499 ) } . ?y property:P1412 ?k }
Late Old Japanese Old Church Slavonic Church Slavonic
action union
action filter_type
action find_reverse
entity Late Old Japanese
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Church Slavonic
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Late Old Japanese'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Late_Old_Japanese ) ( resource:Old_Church_Slavonic ) } . ?y property:languages_spoken,_written_or_signed ?k }
[]
common name
Q723304 Q1146725 Q451991
SYSTEM
Gregory Tsamblak, Constantine of Preslav, Ariwara no Narihira
Q451991 Q650558 Q723304 Q1146725 Q3917646
(c(Q502895),P1412,Q182695) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q33251)
action union
action filter_type
action find_reverse
entity Q182695
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q33251
relation P1412
type Q502895
[ANSWERS] speak Late Old Japanese, Old Church Slavonic and Church Slavonic
[{'concept': 'Q502895'}, 'P1412', 'Q182695'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q33251']
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Q182695 ) ( resource:Q35499 ) } . ?y property:P1412 ?k }
Ariwara no Narihira John Exarch Gregory Tsamblak Constantine of Preslav Kyrylo Stavrovetsky
Gregory Tsamblak, Constantine of Preslav and Ariwara no Narihira speak Late Old Japanese, Old Church Slavonic and Church Slavonic
Gregory Tsamblak Constantine of Preslav Ariwara no Narihira
action union
action filter_type
action find_reverse
entity Late Old Japanese
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Church Slavonic
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Late Old Japanese'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Church Slavonic']
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Late_Old_Japanese ) ( resource:Old_Church_Slavonic ) } . ?y property:languages_spoken,_written_or_signed ?k }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q723304 Q1146725 Q451991
P21
Q290
USER
Which sexes do Gregory Tsamblak, Constantine of Preslav and Ariwara no Narihira have ?
(Q723304,P21,c(Q290)) (Q1146725,P21,c(Q290)) (Q451991,P21,c(Q290))
action union
action filter_type
action find
entity Q723304
relation P21
type Q290
action filter_type
action find
entity Q1146725
relation P21
type Q290
action filter_type
action find
entity Q451991
relation P21
type Q290
['Q723304', 'P21', {'concept': 'Q290'}] ['Q1146725', 'P21', {'concept': 'Q290'}] ['Q451991', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?y property:P21 ?w . VALUES ( ?y ) { ( resource:Q1146725 ) ( resource:Q723304 ) } }
Gregory Tsamblak Constantine of Preslav Ariwara no Narihira
action union
action filter_type
action find
entity Gregory Tsamblak
relation gender
type sex
action filter_type
action find
entity Constantine of Preslav
relation gender
type sex
action filter_type
action find
entity Ariwara no Narihira
relation gender
type sex
['Gregory Tsamblak', 'gender', {'concept': 'sex'}] ['Constantine of Preslav', 'gender', {'concept': 'sex'}] ['Ariwara no Narihira', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?y property:gender ?w . VALUES ( ?y ) { ( resource:Constantine_of_Preslav ) ( resource:Gregory_Tsamblak ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q723304,P21,c(Q290)) (Q1146725,P21,c(Q290)) (Q451991,P21,c(Q290))
action union
action filter_type
action find
entity Q723304
relation P21
type Q290
action filter_type
action find
entity Q1146725
relation P21
type Q290
action filter_type
action find
entity Q451991
relation P21
type Q290
Gregory Tsamblak , Constantine of Preslav and Ariwara no Narihira have been [ANSWER], [ANSWER] and [ANSWER]
['Q723304', 'P21', {'concept': 'Q290'}] ['Q1146725', 'P21', {'concept': 'Q290'}] ['Q451991', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?y property:P21 ?w . VALUES ( ?y ) { ( resource:Q1146725 ) ( resource:Q723304 ) } }
male male male
Gregory Tsamblak , Constantine of Preslav and Ariwara no Narihira have been male, male and male
male male male
action union
action filter_type
action find
entity Gregory Tsamblak
relation gender
type sex
action filter_type
action find
entity Constantine of Preslav
relation gender
type sex
action filter_type
action find
entity Ariwara no Narihira
relation gender
type sex
['Gregory Tsamblak', 'gender', {'concept': 'sex'}] ['Constantine of Preslav', 'gender', {'concept': 'sex'}] ['Ariwara no Narihira', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?y property:gender ?w . VALUES ( ?y ) { ( resource:Constantine_of_Preslav ) ( resource:Gregory_Tsamblak ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q723304
P20
Q515
USER
Which city is the place of death of Gregory Tsamblak ?
(Q723304,P20,c(Q515))
action filter_type
action find
entity Q723304
relation P20
type Q515
['Q723304', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . resource:Q723304 property:P20 ?l }
Gregory Tsamblak
action filter_type
action find
entity Gregory Tsamblak
relation place of death
type city
['Gregory Tsamblak', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . resource:Gregory_Tsamblak property:place_of_death ?l }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
(Q723304,P20,c(Q515))
action filter_type
action find
entity Q723304
relation P20
type Q515
[ANSWER] is the place of death of Gregory Tsamblak
['Q723304', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . resource:Q723304 property:P20 ?l }
Kyiv
Kyiv is the place of death of Gregory Tsamblak
Kyiv
action filter_type
action find
entity Gregory Tsamblak
relation place of death
type city
['Gregory Tsamblak', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . resource:Gregory_Tsamblak property:place_of_death ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q723304
P27
Q7275
USER
Which state is that person an inhabitant of ?
(Q1899,P27,c(Q7275))
action filter_type
action find
entity Q723304
relation P27
type Q7275
['Q1899', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q723304 property:P27 ?e . ?e rdf:type ontology:Q7275 }
Gregory Tsamblak
action filter_type
action find
entity Gregory Tsamblak
relation country of citizenship
type state
['Kyiv', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:Gregory_Tsamblak property:country_of_citizenship ?e . ?e rdf:type ontology:state }
[]
state
Q49683
SYSTEM
Grand Duchy of Lithuania
Q49683
(Q1899,P27,c(Q7275))
action filter_type
action find
entity Q723304
relation P27
type Q7275
[ANSWER] is that person an inhabitant of
['Q1899', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?e WHERE { resource:Q723304 property:P27 ?e . ?e rdf:type ontology:Q7275 }
Grand Duchy of Lithuania
Grand Duchy of Lithuania is that person an inhabitant of
Grand Duchy of Lithuania
action filter_type
action find
entity Gregory Tsamblak
relation country of citizenship
type state
['Kyiv', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?e WHERE { resource:Gregory_Tsamblak property:country_of_citizenship ?e . ?e rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P122
Q151885 Q7275
USER
Which states have around the same number of concepts as the type of government as that state ?
(c(Q7275),P122,c(Q151885))
action approx
action find_tuple_counts
relation P122
type Q7275
type Q151885
action count
action filter_type
action find
entity Q49683
relation P122
type Q7275
[{'concept': 'Q7275'}, 'P122', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?d ) WHERE { ?z property:P122 ?e . ?z rdf:type ontology:Q7275 . ?e rdf:type ontology:Q151885 } GROUP BY ?z } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q49683 property:P122 ?p . ?p rdf:type ontology:Q7275 } } }
action approx
action find_tuple_counts
relation basic form of government
type state
type concept
action count
action filter_type
action find
entity Grand Duchy of Lithuania
relation basic form of government
type state
[{'concept': 'state'}, 'basic form of government', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?d ) WHERE { ?z property:basic_form_of_government ?e . ?z rdf:type ontology:state . ?e rdf:type ontology:concept } GROUP BY ?z } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Grand_Duchy_of_Lithuania property:basic_form_of_government ?p . ?p rdf:type ontology:state } } }
[]
concept state
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
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 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(Q151885))
action approx
action find_tuple_counts
relation P122
type Q7275
type Q151885
action count
action filter_type
action find
entity Q49683
relation P122
type Q7275
[ANSWERS] have around the same number of concepts as the type of government as that state
[{'concept': 'Q7275'}, 'P122', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?d ) WHERE { ?z property:P122 ?e . ?z rdf:type ontology:Q7275 . ?e rdf:type ontology:Q151885 } GROUP BY ?z } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q49683 property:P122 ?p . ?p rdf:type ontology:Q7275 } } }
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 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
Czechoslovakia, Soviet Union and Bavaria have around the same number of concepts as the type of government as that state
Czechoslovakia Soviet Union Bavaria
action approx
action find_tuple_counts
relation basic form of government
type state
type concept
action count
action filter_type
action find
entity Grand Duchy of Lithuania
relation basic form of government
type state
[{'concept': 'state'}, 'basic form of government', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?d ) WHERE { ?z property:basic_form_of_government ?e . ?z rdf:type ontology:state . ?e rdf:type ontology:concept } GROUP BY ?z } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Grand_Duchy_of_Lithuania property:basic_form_of_government ?p . ?p rdf:type ontology:state } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33946 Q15180 Q980
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of Czechoslovakia, Soviet Union and Bavaria ?
(c(Q12737077),P1001,Q33946) (c(Q12737077),P1001,Q15180) (c(Q12737077),P1001,Q980)
action union
action filter_type
action find_reverse
entity Q33946
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q15180
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q980
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q33946'] [{'concept': 'Q12737077'}, 'P1001', 'Q15180'] [{'concept': 'Q12737077'}, 'P1001', 'Q980']
SELECT DISTINCT ?e WHERE { { ?e property:P1001 resource:Q33946 . ?e rdf:type ontology:Q12737077 } UNION { ?e property:P1001 resource:Q15180 . ?e rdf:type ontology:Q12737077 } }
Czechoslovakia Soviet Union Bavaria
action union
action filter_type
action find_reverse
entity Czechoslovakia
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Soviet Union
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Bavaria
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Czechoslovakia'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Soviet Union'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Bavaria']
SELECT DISTINCT ?e WHERE { { ?e property:applies_to_jurisdiction resource:Czechoslovakia . ?e rdf:type ontology:occupation } UNION { ?e property:applies_to_jurisdiction resource:Soviet_Union . ?e rdf:type ontology:occupation } }
[]
occupation
Q17320547 Q18220550 Q15303400
SYSTEM
member of the Federal Assembly of Czechoslovakia, Member of the Bavarian Senate, President of the Landtag of Bavaria
Q17320547 Q4376674 Q1048744 Q5452917 Q1255261 Q462189 Q2367317 Q15303555 Q18220550 Q15303400 Q17586301
(c(Q12737077),P1001,Q33946) (c(Q12737077),P1001,Q15180) (c(Q12737077),P1001,Q980)
action union
action filter_type
action find_reverse
entity Q33946
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q15180
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q980
relation P1001
type Q12737077
[ANSWERS] have control over the jurisdiction of Czechoslovakia, Soviet Union and Bavaria
[{'concept': 'Q12737077'}, 'P1001', 'Q33946'] [{'concept': 'Q12737077'}, 'P1001', 'Q15180'] [{'concept': 'Q12737077'}, 'P1001', 'Q980']
SELECT DISTINCT ?e WHERE { { ?e property:P1001 resource:Q33946 . ?e rdf:type ontology:Q12737077 } UNION { ?e property:P1001 resource:Q15180 . ?e rdf:type ontology:Q12737077 } }
member of the Federal Assembly of Czechoslovakia Deputy Premier of the Soviet Union General Secretary of the Communist Party of the Soviet Union First Deputy Premier of the Soviet Union President of the Soviet Union Premier of the Soviet Union Minister of Defence Ministers-President of Bavaria Member of the Bavarian Senate President of the Landtag of Bavaria Member of the Landtag of Bavaria
Member of the Federal Assembly of Czechoslovakia, Member of the Bavarian Senate and President of the Landtag of Bavaria have control over the jurisdiction of Czechoslovakia, Soviet Union and Bavaria
member of the Federal Assembly of Czechoslovakia Member of the Bavarian Senate President of the Landtag of Bavaria
action union
action filter_type
action find_reverse
entity Czechoslovakia
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Soviet Union
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Bavaria
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Czechoslovakia'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Soviet Union'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Bavaria']
SELECT DISTINCT ?e WHERE { { ?e property:applies_to_jurisdiction resource:Czechoslovakia . ?e rdf:type ontology:occupation } UNION { ?e property:applies_to_jurisdiction resource:Soviet_Union . ?e rdf:type ontology:occupation } }
[]