Simple Question (Direct)
Simple Question
Q6076463
P937
Q56061
USER
Which is the work location of Isaac Hawkins Browne ?
(Q6076463,P937,c(Q56061))
action filter_type
action find
entity Q6076463
relation P937
type Q56061
['Q6076463', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q6076463 property:P937 ?f . ?f rdf:type ontology:Q56061 }
Isaac Hawkins Browne
action filter_type
action find
entity Isaac Hawkins Browne
relation work location
type administrative territorial entity
['Isaac Hawkins Browne', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Isaac_Hawkins_Browne property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q6076463,P937,c(Q56061))
action filter_type
action find
entity Q6076463
relation P937
type Q56061
[ANSWER]
['Q6076463', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q6076463 property:P937 ?f . ?f rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Isaac Hawkins Browne
relation work location
type administrative territorial entity
['Isaac Hawkins Browne', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Isaac_Hawkins_Browne property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6076463
P102
Q7210356
USER
Which party does Isaac Hawkins Browne belong to ?
(Q6076463,P102,c(Q7210356))
action filter_type
action find
entity Q6076463
relation P102
type Q7210356
['Q6076463', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q6076463 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Isaac Hawkins Browne
action filter_type
action find
entity Isaac Hawkins Browne
relation member of political party
type political organization
['Isaac Hawkins Browne', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Isaac_Hawkins_Browne property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q499956
SYSTEM
Tories
Q499956
(Q6076463,P102,c(Q7210356))
action filter_type
action find
entity Q6076463
relation P102
type Q7210356
[ANSWER]
['Q6076463', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q6076463 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Tories
Tories
action filter_type
action find
entity Isaac Hawkins Browne
relation member of political party
type political organization
['Isaac Hawkins Browne', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Isaac_Hawkins_Browne property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q499956
P17
Q7275
USER
Which states are that political organization situated in ?
(Q499956,P17,c(Q7275))
action filter_type
action find
entity Q499956
relation P17
type Q7275
['Q499956', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?l WHERE { resource:Q499956 property:P17 ?l . ?l rdf:type ontology:Q7275 }
Tories
action filter_type
action find
entity Tories
relation country
type state
['Tories', 'country', {'concept': 'state'}]
SELECT DISTINCT ?l WHERE { resource:Tories property:country ?l . ?l rdf:type ontology:state }
[]
state
Q161885 Q174193 Q179876
SYSTEM
Kingdom of Great Britain, United Kingdom of Great Britain and Ireland, Kingdom of England
Q161885 Q174193 Q179876
(Q499956,P17,c(Q7275))
action filter_type
action find
entity Q499956
relation P17
type Q7275
[ANSWERS]
['Q499956', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?l WHERE { resource:Q499956 property:P17 ?l . ?l rdf:type ontology:Q7275 }
Kingdom of Great Britain United Kingdom of Great Britain and Ireland Kingdom of England
Kingdom of Great Britain United Kingdom of Great Britain and Ireland Kingdom of England
action filter_type
action find
entity Tories
relation country
type state
['Tories', 'country', {'concept': 'state'}]
SELECT DISTINCT ?l WHERE { resource:Tories property:country ?l . ?l rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q83247
P1376
Q7275 Q515
USER
How many cities are the capital of around the same number of states as Braga ?
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q7275
action count
action filter_type
action find
entity Q83247
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?s ) WHERE { ?g rdf:type ontology:Q515 . ?o rdf:type ontology:Q7275 . ?g property:P1376 ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r rdf:type ontology:Q515 . resource:Q83247 property:P1376 ?r } } . FILTER ( ?s = ?y ) }
Braga
action count
action approx
action find_tuple_counts
relation capital of
type city
type state
action count
action filter_type
action find
entity Braga
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?s ) WHERE { ?g rdf:type ontology:city . ?o rdf:type ontology:state . ?g property:capital_of ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r rdf:type ontology:city . resource:Braga property:capital_of ?r } } . FILTER ( ?s = ?y ) }
[]
state city
SYSTEM
37
Q3572 Q19689 Q8131 Q27860 Q58650 Q71305 Q18970 Q80989 Q3926 Q665 Q1486 Q220445 Q1461 Q23430 Q1069007 Q7568 Q1731 Q19660 Q9005 Q2773 Q308657 Q3826 Q68481 Q7929221 Q83247 Q11443 Q183584 Q2844 Q11725 Q73156 Q1865 Q18342086 Q107401 Q2069869 Q726993 Q3919 Q2999
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q7275
action count
action filter_type
action find
entity Q83247
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?s ) WHERE { ?g rdf:type ontology:Q515 . ?o rdf:type ontology:Q7275 . ?g property:P1376 ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r rdf:type ontology:Q515 . resource:Q83247 property:P1376 ?r } } . FILTER ( ?s = ?y ) }
Tunis Tirana Palembang Jayapura Zhangjiakou Ezhou Ambon Bhopal Pretoria Lugdunum Buenos Aires Kuching Manila Ulaanbaatar Washukanni Yogyakarta Dresden Bucharest Brussels Braunschweig Minas Tirith Muscat Fuzhou Vijaya Braga Kediri Lanzhou Brasília Chongqing Linfen Kuala Lumpur Oyo-Ile Sivas Edoras Cotabato City Gaborone Würzburg
37
action count
action approx
action find_tuple_counts
relation capital of
type city
type state
action count
action filter_type
action find
entity Braga
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?s ) WHERE { ?g rdf:type ontology:city . ?o rdf:type ontology:state . ?g property:capital_of ?o } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { ?r rdf:type ontology:city . resource:Braga property:capital_of ?r } } . FILTER ( ?s = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q84
P1427
Q31629
USER
Which type of sport originates at London ?
(c(Q31629),P1427,Q84)
action filter_type
action find_reverse
entity Q84
relation P1427
type Q31629
[{'concept': 'Q31629'}, 'P1427', 'Q84']
SELECT DISTINCT ?g WHERE { ?g property:P1427 resource:Q84 . ?g rdf:type ontology:Q31629 }
London
action filter_type
action find_reverse
entity London
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'London']
SELECT DISTINCT ?g WHERE { ?g property:start_point resource:London . ?g rdf:type ontology:type_of_sport }
[]
type of sport
Q26793343
SYSTEM
2016 Tour of Britain, Stage 8
Q26793343
(c(Q31629),P1427,Q84)
action filter_type
action find_reverse
entity Q84
relation P1427
type Q31629
[ANSWER]
[{'concept': 'Q31629'}, 'P1427', 'Q84']
SELECT DISTINCT ?g WHERE { ?g property:P1427 resource:Q84 . ?g rdf:type ontology:Q31629 }
2016 Tour of Britain, Stage 8
2016 Tour of Britain, Stage 8
action filter_type
action find_reverse
entity London
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'London']
SELECT DISTINCT ?g WHERE { ?g property:start_point resource:London . ?g rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26793343
P1444
Q56061
USER
Which administrative territory marks the end of journey for that type of sport ?
(Q26793343,P1444,c(Q56061))
action filter_type
action find
entity Q26793343
relation P1444
type Q56061
['Q26793343', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q26793343 property:P1444 ?k }
2016 Tour of Britain, Stage 8
action filter_type
action find
entity 2016 Tour of Britain, Stage 8
relation destination point
type administrative territorial entity
['2016 Tour of Britain, Stage 8', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:2016_Tour_of_Britain,_Stage_8 property:destination_point ?k }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q26793343,P1444,c(Q56061))
action filter_type
action find
entity Q26793343
relation P1444
type Q56061
[ANSWER]
['Q26793343', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q26793343 property:P1444 ?k }
London
London
action filter_type
action find
entity 2016 Tour of Britain, Stage 8
relation destination point
type administrative territorial entity
['2016 Tour of Britain, Stage 8', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:2016_Tour_of_Britain,_Stage_8 property:destination_point ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P915
Q2424752 Q15416
USER
How many products and television programs were filmed at that administrative territory ?
(c(Q2424752),P915,Q84) (c(Q15416),P915,Q84) (c(Q2424752),P915,Q84) (c(Q15416),P915,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P915
type Q2424752
action filter_type
action find_reverse
entity Q84
relation P915
type Q15416
[{'concept': 'Q2424752'}, 'P915', 'Q84'] [{'concept': 'Q15416'}, 'P915', 'Q84'] [{'concept': 'Q2424752'}, 'P915', 'Q84'] [{'concept': 'Q15416'}, 'P915', 'Q84']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { ?w property:P915 resource:Q84 . ?w rdf:type ontology:Q2424752 } UNION { ?w property:P915 resource:Q84 . ?w rdf:type ontology:Q15416 } }
action count
action union
action filter_type
action find_reverse
entity London
relation filming location
type product
action filter_type
action find_reverse
entity London
relation filming location
type television program
[{'concept': 'product'}, 'filming location', 'London'] [{'concept': 'television program'}, 'filming location', 'London'] [{'concept': 'product'}, 'filming location', 'London'] [{'concept': 'television program'}, 'filming location', 'London']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { ?w property:filming_location resource:London . ?w rdf:type ontology:product } UNION { ?w property:filming_location resource:London . ?w rdf:type ontology:television_program } }
[]
product television program
SYSTEM
1 products and 17 television programs
Q20707362 Q17022528 Q17426152 Q1230632 Q7720493 Q558112 Q7620117 Q14954099 Q3830195 Q7763757 Q14920502 Q18393873 Q16992630 Q17507216 Q7811121 Q6739035 Q16826704 Q26986955
(c(Q2424752),P915,Q84) (c(Q15416),P915,Q84) (c(Q2424752),P915,Q84) (c(Q15416),P915,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P915
type Q2424752
action filter_type
action find_reverse
entity Q84
relation P915
type Q15416
[ANSWER]
[{'concept': 'Q2424752'}, 'P915', 'Q84'] [{'concept': 'Q15416'}, 'P915', 'Q84'] [{'concept': 'Q2424752'}, 'P915', 'Q84'] [{'concept': 'Q15416'}, 'P915', 'Q84']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { ?w property:P915 resource:Q84 . ?w rdf:type ontology:Q2424752 } UNION { ?w property:P915 resource:Q84 . ?w rdf:type ontology:Q15416 } }
The Crown Suspects An Impossible Job Tinker Tailor Soldier Spy The Buddha of Suburbia Black Mirror Storm Damage Second Generation Lennon Naked The Shell Seekers What Remains The Turn of the Screw The Game When Harvey Met Bob To Sir, with Love II Make Me a Tory Banglatown Banquet Make It Count
1 products and 17 television programs
action count
action union
action filter_type
action find_reverse
entity London
relation filming location
type product
action filter_type
action find_reverse
entity London
relation filming location
type television program
[{'concept': 'product'}, 'filming location', 'London'] [{'concept': 'television program'}, 'filming location', 'London'] [{'concept': 'product'}, 'filming location', 'London'] [{'concept': 'television program'}, 'filming location', 'London']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { ?w property:filming_location resource:London . ?w rdf:type ontology:product } UNION { ?w property:filming_location resource:London . ?w rdf:type ontology:television_program } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5157575
P1376
Q7275 Q56061 Q20667921
USER
Which states have around the same number of administrative territories or french administrative divisions have their first city as Griqualand East ?
(c(Q56061)|c(Q20667921),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q5157575
relation P1376
type Q56061
type Q20667921
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?a rdf:type ?l } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P1376 resource:Q5157575 . { { ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q20667921 } } } } . FILTER ( ?c = ?n ) }
Griqualand East
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Griqualand East
relation capital of
type administrative territorial entity
type type of french administrative division
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?a rdf:type ?l } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:capital_of resource:Griqualand_East . { { ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?c = ?n ) }
[]
state administrative territorial entity type of french administrative division
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q457167 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q834486 Q186096 Q133356 Q501684 Q164079 Q588672 Q62623 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q188553 Q536476 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q1067513 Q1468426 Q71092 Q15180 Q800236 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q8733 Q156038 Q7405 Q208404 Q467627 Q1796239 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q1771831 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q646374 Q241748 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q207272 Q889394 Q151148 Q1796198 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q762943 Q1998866 Q106577 Q473433 Q651377 Q161885 Q191077 Q468814 Q174306 Q1617495 Q1194765 Q157367 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1477220 Q269864 Q199841 Q335088 Q325461 Q583038 Q860407 Q146761 Q200262 Q1296908 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q158725 Q139315 Q26273 Q832554 Q3271735 Q160440 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q631210 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q713750 Q2552742 Q220167 Q147909 Q319881 Q1709185 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q181254 Q2396442 Q142417 Q2428714 Q1406298 Q14934927 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q154195 Q266923 Q285658 Q150061 Q842091 Q70972 Q1143164 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q105092 Q178038 Q206279 Q1469100 Q25279 Q1078602 Q2378381 Q747314 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q150058 Q4461035 Q33946 Q762084 Q2579852 Q544630 Q180114 Q431731 Q36704 Q112558 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q764697 Q853477 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q2712121 Q13426199 Q964024 Q877155 Q2365048 Q4274522 Q230407 Q49683 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q93180 Q28573 Q949268 Q1986139 Q151536 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q56061)|c(Q20667921),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q5157575
relation P1376
type Q56061
type Q20667921
[ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?a rdf:type ?l } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P1376 resource:Q5157575 . { { ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q20667921 } } } } . FILTER ( ?c = ?n ) }
Kingdom of Scotland Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa West Ukrainian People's Republic British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Federation of South Arabia Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Kalmar Union Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Batavian Republic Toucouleur Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Injuids Limmu-Ennarea Second French Empire Soviet Union Bahawalpur State Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Qing dynasty Duchy of Courland and Semigallia Sui dynasty Kingdom of Armenia Durrani Empire Kingdom of Seville Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Kruševo Republic Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba 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 County of Holland Czech and Slovak Federal Republic Neustria Ammon Shunga Empire Kingdom of Great Britain Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Kamarupa Brandenburg-Prussia Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Somali Democratic Republic Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kahlur State Hatay State Kingdom of Navarre Kathiri Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Tanganyika Territory Dʿmt Sint Maarten Argentine Confederation Kingdom of Arles Crimean Khanate Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Nogai Horde Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem West Germany Northland State Lydenburg Republic Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Empire of Nicea Kingdom of Galicia and Lodomeria Kingdom of Valencia Sena dynasty Serbian Empire Murrawarri Republic Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Bavaria Kingdom of Mysore First Mexican Empire Republic of Ararat Duchy of Normandy Kingdom of France Western Wei Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Kingdom of Mercia Second Spanish Republic Waalo Karamanids Curaçao Kingdom of Nepal State of Aden Bechuanaland Protectorate Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Travancore Akkadian empire Czechoslovakia Bamana Empire Taurida Soviet Socialist Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Taifa of Orihuela Lan Xang Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Republic of Connaught Republic of China Moldavian Democratic Republic Chera Dynasty Adal Sultanate Tyrconnell Kingdom of Israel Grand Duchy of Lithuania Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Griqualand East
relation capital of
type administrative territorial entity
type type of french administrative division
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?a rdf:type ?l } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:capital_of resource:Griqualand_East . { { ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?c = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q310293
P1376
Q7275 Q56061 Q20667921
USER
And what about Saar Protectorate?
(c(Q56061)|c(Q20667921),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q310293
relation P1376
type Q56061
type Q20667921
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?s rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:P1376 resource:Q310293 . { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?a = ?b ) }
Saar Protectorate
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Saar Protectorate
relation capital of
type administrative territorial entity
type type of french administrative division
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?s rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:capital_of resource:Saar_Protectorate . { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?a = ?b ) }
[]
state administrative territorial entity type of french administrative division
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q457167 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q834486 Q186096 Q133356 Q501684 Q164079 Q588672 Q62623 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q188553 Q536476 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q1067513 Q1468426 Q71092 Q15180 Q800236 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q8733 Q156038 Q7405 Q208404 Q467627 Q1796239 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q1771831 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q646374 Q241748 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q207272 Q889394 Q151148 Q1796198 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q762943 Q1998866 Q106577 Q473433 Q651377 Q161885 Q191077 Q468814 Q174306 Q1617495 Q1194765 Q157367 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1477220 Q269864 Q199841 Q335088 Q325461 Q583038 Q860407 Q146761 Q200262 Q1296908 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q158725 Q139315 Q26273 Q832554 Q3271735 Q160440 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q631210 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q713750 Q2552742 Q220167 Q147909 Q319881 Q1709185 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q181254 Q2396442 Q142417 Q2428714 Q1406298 Q14934927 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q154195 Q266923 Q285658 Q150061 Q842091 Q70972 Q1143164 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q105092 Q178038 Q206279 Q1469100 Q25279 Q1078602 Q2378381 Q747314 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q150058 Q4461035 Q33946 Q762084 Q2579852 Q544630 Q180114 Q431731 Q36704 Q112558 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q764697 Q853477 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q2712121 Q13426199 Q964024 Q877155 Q2365048 Q4274522 Q230407 Q49683 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q93180 Q28573 Q949268 Q1986139 Q151536 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q56061)|c(Q20667921),P1376,c(Q7275))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q310293
relation P1376
type Q56061
type Q20667921
[ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?s rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:P1376 resource:Q310293 . { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?a = ?b ) }
Kingdom of Scotland Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa West Ukrainian People's Republic British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Federation of South Arabia Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Kalmar Union Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Batavian Republic Toucouleur Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Injuids Limmu-Ennarea Second French Empire Soviet Union Bahawalpur State Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Qing dynasty Duchy of Courland and Semigallia Sui dynasty Kingdom of Armenia Durrani Empire Kingdom of Seville Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Kruševo Republic Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba 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 County of Holland Czech and Slovak Federal Republic Neustria Ammon Shunga Empire Kingdom of Great Britain Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Kamarupa Brandenburg-Prussia Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Somali Democratic Republic Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kahlur State Hatay State Kingdom of Navarre Kathiri Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Tanganyika Territory Dʿmt Sint Maarten Argentine Confederation Kingdom of Arles Crimean Khanate Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Nogai Horde Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem West Germany Northland State Lydenburg Republic Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Empire of Nicea Kingdom of Galicia and Lodomeria Kingdom of Valencia Sena dynasty Serbian Empire Murrawarri Republic Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Bavaria Kingdom of Mysore First Mexican Empire Republic of Ararat Duchy of Normandy Kingdom of France Western Wei Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Kingdom of Mercia Second Spanish Republic Waalo Karamanids Curaçao Kingdom of Nepal State of Aden Bechuanaland Protectorate Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Travancore Akkadian empire Czechoslovakia Bamana Empire Taurida Soviet Socialist Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Taifa of Orihuela Lan Xang Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Republic of Connaught Republic of China Moldavian Democratic Republic Chera Dynasty Adal Sultanate Tyrconnell Kingdom of Israel Grand Duchy of Lithuania Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Saar Protectorate
relation capital of
type administrative territorial entity
type type of french administrative division
[[{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?a ) WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?s rdf:type ?g } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e property:capital_of resource:Saar_Protectorate . { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?a = ?b ) }
[]