Simple Question (Direct)
Simple Question
Q1353271
P39
Q12737077
USER
What was the position held by Erich Simmel ?
(Q1353271,P39,c(Q12737077))
action filter_type
action find
entity Q1353271
relation P39
type Q12737077
['Q1353271', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1353271 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Erich Simmel
action filter_type
action find
entity Erich Simmel
relation position held
type occupation
['Erich Simmel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Erich_Simmel property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q17586301
SYSTEM
Member of the Landtag of Bavaria
Q17586301
(Q1353271,P39,c(Q12737077))
action filter_type
action find
entity Q1353271
relation P39
type Q12737077
The position held by Erich Simmel was a [ANSWER]
['Q1353271', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1353271 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Member of the Landtag of Bavaria
The position held by Erich Simmel was a Member of the Landtag of Bavaria
Member of the Landtag of Bavaria
action filter_type
action find
entity Erich Simmel
relation position held
type occupation
['Erich Simmel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Erich_Simmel property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1353271
P937
Q56061
USER
Which is the work location of that person ?
(Q17586301,P937,c(Q56061))
action filter_type
action find
entity Q1353271
relation P937
type Q56061
['Q17586301', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1353271 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Erich Simmel
action filter_type
action find
entity Erich Simmel
relation work location
type administrative territorial entity
['Member of the Landtag of Bavaria', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Erich_Simmel property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q17586301,P937,c(Q56061))
action filter_type
action find
entity Q1353271
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q17586301', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q1353271 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Munich
The work location of that person is in Munich
Munich
action filter_type
action find
entity Erich Simmel
relation work location
type administrative territorial entity
['Member of the Landtag of Bavaria', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Erich_Simmel property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1353271
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q1726,P27,c(Q1048835))
action filter_type
action find
entity Q1353271
relation P27
type Q1048835
['Q1726', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1353271 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Erich Simmel
action filter_type
action find
entity Erich Simmel
relation country of citizenship
type political territorial entity
['Munich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Erich_Simmel property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1726,P27,c(Q1048835))
action filter_type
action find
entity Q1353271
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q1726', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1353271 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Germany
Germany is the native country of that person
Germany
action filter_type
action find
entity Erich Simmel
relation country of citizenship
type political territorial entity
['Munich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Erich_Simmel property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1353271
P1344
Q1499496
USER
Which German presidential election did Erich Simmel compete in ?
(Q1353271,P1344,c(Q1499496))
action filter_type
action find
entity Q1353271
relation P1344
type Q1499496
['Q1353271', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?f WHERE { resource:Q1353271 property:P1344 ?f . ?f rdf:type ontology:Q1499496 }
Erich Simmel
action filter_type
action find
entity Erich Simmel
relation participant of
type German presidential election
['Erich Simmel', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?f WHERE { resource:Erich_Simmel property:participant_of ?f . ?f rdf:type ontology:German_presidential_election }
[]
German presidential election
Q314561
SYSTEM
German presidential election, 1949
Q314561
(Q1353271,P1344,c(Q1499496))
action filter_type
action find
entity Q1353271
relation P1344
type Q1499496
Erich Simmel competed in [ANSWER]
['Q1353271', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?f WHERE { resource:Q1353271 property:P1344 ?f . ?f rdf:type ontology:Q1499496 }
German presidential election, 1949
Erich Simmel competed in German presidential election, 1949
German presidential election, 1949
action filter_type
action find
entity Erich Simmel
relation participant of
type German presidential election
['Erich Simmel', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?f WHERE { resource:Erich_Simmel property:participant_of ?f . ?f rdf:type ontology:German_presidential_election }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1353271
P20
Q5119
USER
Where did the demise of Erich Simmel occur ?
(Q1353271,P20,c(Q5119))
action filter_type
action find
entity Q1353271
relation P20
type Q5119
['Q1353271', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?t WHERE { resource:Q1353271 property:P20 ?t . ?t rdf:type ontology:Q5119 }
Erich Simmel
action filter_type
action find
entity Erich Simmel
relation place of death
type capital
['Erich Simmel', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?t WHERE { resource:Erich_Simmel property:place_of_death ?t . ?t rdf:type ontology:capital }
[]
capital
Q494537
SYSTEM
Kronach
Q494537
(Q1353271,P20,c(Q5119))
action filter_type
action find
entity Q1353271
relation P20
type Q5119
The demise of Erich Simmel occurred in [ANSWER]
['Q1353271', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?t WHERE { resource:Q1353271 property:P20 ?t . ?t rdf:type ontology:Q5119 }
Kronach
The demise of Erich Simmel occurred in Kronach
Kronach
action filter_type
action find
entity Erich Simmel
relation place of death
type capital
['Erich Simmel', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?t WHERE { resource:Erich_Simmel property:place_of_death ?t . ?t rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q494537
P190
Q515
USER
Which city is sister town of that capital ?
(Q494537,P190,c(Q515))
action filter_type
action find
entity Q494537
relation P190
type Q515
['Q494537', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q494537 property:P190 ?y . ?y rdf:type ontology:Q515 }
Kronach
action filter_type
action find
entity Kronach
relation sister city
type city
['Kronach', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Kronach property:sister_city ?y . ?y rdf:type ontology:city }
[]
city
Q329775
SYSTEM
Kiskunhalas
Q329775
(Q494537,P190,c(Q515))
action filter_type
action find
entity Q494537
relation P190
type Q515
[ANSWER] is sister town of that capital
['Q494537', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q494537 property:P190 ?y . ?y rdf:type ontology:Q515 }
Kiskunhalas
Kiskunhalas is sister town of that capital
Kiskunhalas
action filter_type
action find
entity Kronach
relation sister city
type city
['Kronach', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Kronach property:sister_city ?y . ?y rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q329775 Q124375
P190
Q515
USER
Is Hódmezővásárhely twin town of that one ?
(Q329775,P190,Q124375)
action is_in
entity Q124375
action find
entity Q329775
relation P190
['Q329775', 'P190', 'Q124375']
ASK WHERE { resource:Q329775 property:P190 resource:Q124375 }
Kiskunhalas Hódmezővásárhely
action is_in
entity Hódmezővásárhely
action find
entity Kiskunhalas
relation sister city
['Kiskunhalas', 'sister city', 'Hódmezővásárhely']
ASK WHERE { resource:Kiskunhalas property:sister_city resource:Hódmezővásárhely }
[]
city
SYSTEM
YES
(Q329775,P190,Q124375)
action is_in
entity Q124375
action find
entity Q329775
relation P190
[ANSWER]
['Q329775', 'P190', 'Q124375']
ASK WHERE { resource:Q329775 property:P190 resource:Q124375 }
Yes
action is_in
entity Hódmezővásárhely
action find
entity Kiskunhalas
relation sister city
['Kiskunhalas', 'sister city', 'Hódmezővásárhely']
ASK WHERE { resource:Kiskunhalas property:sister_city resource:Hódmezővásárhely }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17586301 Q183
P17
Q1048835
USER
Is Member of the Landtag of Bavaria situated in Germany ?
(Q17586301,P17,Q183)
action is_in
entity Q183
action find
entity Q17586301
relation P17
['Q17586301', 'P17', 'Q183']
ASK WHERE { resource:Q17586301 property:P17 resource:Q183 }
Member of the Landtag of Bavaria Germany
action is_in
entity Germany
action find
entity Member of the Landtag of Bavaria
relation country
['Member of the Landtag of Bavaria', 'country', 'Germany']
ASK WHERE { resource:Member_of_the_Landtag_of_Bavaria property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q17586301,P17,Q183)
action is_in
entity Q183
action find
entity Q17586301
relation P17
[ANSWER]
['Q17586301', 'P17', 'Q183']
ASK WHERE { resource:Q17586301 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Member of the Landtag of Bavaria
relation country
['Member of the Landtag of Bavaria', 'country', 'Germany']
ASK WHERE { resource:Member_of_the_Landtag_of_Bavaria property:country resource:Germany }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q536476
P1376
Q7275 Q515
USER
How many states have around the same number of cities have their center of administration as Toucouleur Empire ?
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q536476
relation P1376
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P1376 ?w . ?x rdf:type ontology:Q515 . ?w rdf:type ontology:Q7275 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q536476 property:P1376 ?i . ?i rdf:type ontology:Q7275 } } . FILTER ( ?s = ?l ) }
Toucouleur Empire
action count
action approx
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Toucouleur Empire
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:capital_of ?w . ?x rdf:type ontology:city . ?w rdf:type ontology:state } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Toucouleur_Empire property:capital_of ?i . ?i rdf:type ontology:state } } . FILTER ( ?s = ?l ) }
[]
state city
SYSTEM
419
Q230791 Q1193822 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q152855 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q2006542 Q186096 Q501684 Q164079 Q1649871 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q1362278 Q1269234 Q2361927 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q216173 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q172107 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q797422 Q235030 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q181254 Q2396442 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q2088324 Q11909456 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q842091 Q70972 Q187684 Q1143164 Q1324889 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q112558 Q1198071 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q169705 Q212439 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q422065 Q76236 Q209857 Q2712121 Q964024 Q877155 Q777981 Q487829 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q536476
relation P1376
type Q7275
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P1376 ?w . ?x rdf:type ontology:Q515 . ?w rdf:type ontology:Q7275 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q536476 property:P1376 ?i . ?i rdf:type ontology:Q7275 } } . FILTER ( ?s = ?l ) }
Kingdom of Scotland Wuyue Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo Kingdom of Tungning United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United States of Stellaland Stellaland Duchy of Masovia Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Polish–Lithuanian Commonwealth Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Republic of Upper Volta Principality of Antioch Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Empire of Nicea Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Duchy of Normandy Kingdom of France Despotate of Epirus Western Wei Germiyanids Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Chagatai Khanate Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
419
action count
action approx
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Toucouleur Empire
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:capital_of ?w . ?x rdf:type ontology:city . ?w rdf:type ontology:state } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Toucouleur_Empire property:capital_of ?i . ?i rdf:type ontology:state } } . FILTER ( ?s = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q501684
P1376
Q7275 Q515
USER
And how about Kingdom of Gomma?
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q501684
relation P1376
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P1376 ?x . ?x rdf:type ontology:Q7275 . ?v rdf:type ontology:Q515 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q501684 property:P1376 ?l . ?l rdf:type ontology:Q7275 } } . FILTER ( ?e = ?a ) }
Kingdom of Gomma
action count
action approx
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Kingdom of Gomma
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:capital_of ?x . ?x rdf:type ontology:state . ?v rdf:type ontology:city } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Kingdom_of_Gomma property:capital_of ?l . ?l rdf:type ontology:state } } . FILTER ( ?e = ?a ) }
[]
state city
SYSTEM
419
Q230791 Q1193822 Q46652 Q7559152 Q568523 Q788071 Q207162 Q572222 Q1275158 Q3456417 Q152855 Q174193 Q466581 Q110888 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q31454 Q834486 Q2006542 Q186096 Q501684 Q164079 Q1649871 Q588672 Q2564694 Q62623 Q171150 Q282475 Q1789596 Q184536 Q523380 Q980 Q746443 Q252580 Q3446210 Q317078 Q332005 Q874954 Q172579 Q867782 Q798431 Q1269910 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q267584 Q310293 Q1362278 Q1269234 Q2361927 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 Q953432 Q215643 Q212278 Q223936 Q8735 Q13107370 Q8733 Q156038 Q7405 Q761370 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q2670639 Q2412900 Q190025 Q229411 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q38872 Q107299 Q546282 Q11876909 Q541455 Q216173 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q1796198 Q2419932 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q551375 Q762943 Q1998866 Q106577 Q146246 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q16957 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q172107 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q2444884 Q28428 Q1479952 Q303421 Q449639 Q1143524 Q2086556 Q26988 Q16949002 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q269864 Q199841 Q335088 Q325461 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q139315 Q26273 Q139319 Q832554 Q870055 Q3271735 Q160440 Q797422 Q235030 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q1149230 Q324470 Q551067 Q2264735 Q28511 Q796583 Q1136259 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q402580 Q2086608 Q733799 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q147909 Q319881 Q1709185 Q894030 Q37024 Q62519 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q181254 Q2396442 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q2088324 Q11909456 Q580188 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q248452 Q552157 Q170770 Q30623 Q225890 Q5157575 Q3456373 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q842091 Q70972 Q187684 Q1143164 Q1324889 Q1164500 Q161036 Q2314907 Q2184 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q762084 Q271570 Q2579852 Q107380 Q206696 Q544630 Q180114 Q431731 Q36704 Q112558 Q1198071 Q889884 Q698239 Q1142179 Q4453003 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q169705 Q212439 Q1751495 Q738264 Q386496 Q696241 Q152420 Q11774 Q4843701 Q422065 Q76236 Q209857 Q2712121 Q964024 Q877155 Q777981 Q487829 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q71747 Q676184 Q128938 Q837136 Q146597 Q1072362 Q680997 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q862304 Q1029847 Q6415938 Q5148517 Q41304
(c(Q515),P1376,c(Q7275))
action count
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q501684
relation P1376
type Q7275
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P1376 ?x . ?x rdf:type ontology:Q7275 . ?v rdf:type ontology:Q515 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q501684 property:P1376 ?l . ?l rdf:type ontology:Q7275 } } . FILTER ( ?e = ?a ) }
Kingdom of Scotland Wuyue Malacca sultanate Somali Republic Nobatia Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Republic of Saint-Malo Kingdom of Tungning United Kingdom of Great Britain and Ireland Hoysala Empire Kingdom of Essex Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Kingdom of Gomma Kingdom of Hanover Kingdom of Poland Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Hungary Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Republic of Central Lithuania Bavaria Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Yemen Arab Republic Saar Protectorate United States of Stellaland Stellaland Duchy of Masovia Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Couto Misto Indo-Greek Kingdom Kingdom of Holland Kingdom of Italy Medes Principality of Serbia Qing dynasty Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Powys Wenwynwyn Republic of Salé Federal Republic of Central America Delhi Sultanate Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Prussia Kingdom of Northumbria Xia State of Brazil Anglo-Egyptian Sudan Free City of Danzig French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Córdoba Kingdom of Redonda Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa East Germany Kingdom of Jaén Kamarupa Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Polish–Lithuanian Commonwealth Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Tibet Baekje Kadamba Dynasty Kingdom of Galicia Alodia Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory Dʿmt Sint Maarten Russian Republic Argentine Confederation Kingdom of Laos Kingdom of Arles Crimean Khanate Republic of Upper Volta Principality of Antioch Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Western Yan Kara Koyunlu Northern Zhou Arthedain Buyeo kingdom Kingdom of Kongo Southwestern Somalia Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Medang Kingdom Western Satraps Kingdom of the Hwicce empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Serbia and Montenegro Finnish Democratic Republic Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Empire of Nicea Kingdom of Galicia and Lodomeria Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty British North America Nieuwe Republiek Grand Duchy of Moscow Manchukuo Kingdom of Strathclyde Griqualand East Republic of Brescia Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Duchy of Normandy Kingdom of France Despotate of Epirus Western Wei Germiyanids Kingdom of Murcia Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Bamana Empire Kingdom of Araucanía and Patagonia Taurida Soviet Socialist Republic History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika Yugoslavia Republic of Saugeais Southern Han Kingdom of Rwanda Hubaekje Orange River Colony Tashkent State Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Montenegro Khanate of Kokand Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Chagatai Khanate Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Principality of Lower Pannonia Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Kara-Khitan Khanate Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic
419
action count
action approx
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Kingdom of Gomma
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:capital_of ?x . ?x rdf:type ontology:state . ?v rdf:type ontology:city } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Kingdom_of_Gomma property:capital_of ?l . ?l rdf:type ontology:state } } . FILTER ( ?e = ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q355304 Q515
USER
Which cities are located in the neighbourhood of exactly 2 still waterss or watercourses ?
(c(Q515),P206,c(Q337567)|c(Q355304))
action equal
action union
action find_tuple_counts
relation P206
type Q515
type Q337567
action find_tuple_counts
relation P206
type Q515
type Q355304
value 2
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?s WHERE { VALUES ( ?c ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?g rdf:type ?c } GROUP BY ?s } . FILTER ( ?v = 2 ) }
action equal
action union
action find_tuple_counts
relation located next to body of water
type city
type still waters
action find_tuple_counts
relation located next to body of water
type city
type watercourse
value 2
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?s WHERE { VALUES ( ?c ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?g rdf:type ?c } GROUP BY ?s } . FILTER ( ?v = 2 ) }
[]
still waters watercourse city
Q19689 Q1720 Q3750
SYSTEM
Tirana, Mainz, Gera
Q1865 Q19689 Q2973 Q14821 Q4007 Q7070 Q4174 Q3750 Q3936 Q2936 Q2119 Q1720
(c(Q515),P206,c(Q337567)|c(Q355304))
action equal
action union
action find_tuple_counts
relation P206
type Q515
type Q337567
action find_tuple_counts
relation P206
type Q515
type Q355304
value 2
[ANSWERS] are located in the neighbourhood of exactly 2 still waterss or watercourses
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?s WHERE { VALUES ( ?c ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?g rdf:type ?c } GROUP BY ?s } . FILTER ( ?v = 2 ) }
Kuala Lumpur Tirana Darmstadt Coburg Rosenheim Eisenach Emden Gera Bamberg Oldenburg Mannheim Mainz
Tirana, Mainz and Gera are located in the neighbourhood of exactly 2 still waterss or watercourses
Tirana Mainz Gera
action equal
action union
action find_tuple_counts
relation located next to body of water
type city
type still waters
action find_tuple_counts
relation located next to body of water
type city
type watercourse
value 2
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?s WHERE { VALUES ( ?c ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?g rdf:type ?c } GROUP BY ?s } . FILTER ( ?v = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19689 Q1720 Q3750
P1376
Q15617994
USER
Which administrative territories have those cities have their center of administration ?
(Q19689,P1376,c(Q15617994)) (Q1720,P1376,c(Q15617994)) (Q3750,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
['Q19689', 'P1376', {'concept': 'Q15617994'}] ['Q1720', 'P1376', {'concept': 'Q15617994'}] ['Q3750', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q1865 ) ( resource:Q19689 ) ( resource:Q2973 ) } . ?e property:P1376 ?m }
Tirana Mainz Gera
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Tirana', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Mainz', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Gera', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:Kuala_Lumpur ) ( resource:Tirana ) ( resource:Darmstadt ) } . ?e property:capital_of ?m }
[]
designation for an administrative territorial entity
Q222 Q568751 Q639100
SYSTEM
Albania, Mont-Tonnerre, Principality of Reuss-Gera
Q222 Q568751 Q639100
(Q19689,P1376,c(Q15617994)) (Q1720,P1376,c(Q15617994)) (Q3750,P1376,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P1376
type Q15617994
[ANSWERS] have those cities have their center of administration
['Q19689', 'P1376', {'concept': 'Q15617994'}] ['Q1720', 'P1376', {'concept': 'Q15617994'}] ['Q3750', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q1865 ) ( resource:Q19689 ) ( resource:Q2973 ) } . ?e property:P1376 ?m }
Albania Mont-Tonnerre Principality of Reuss-Gera
Albania, Mont-Tonnerre and Principality of Reuss-Gera have those cities have their center of administration
Albania Mont-Tonnerre Principality of Reuss-Gera
action filter_type
action find
entity prev_answer
relation capital of
type designation for an administrative territorial entity
['Tirana', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Mainz', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Gera', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:Kuala_Lumpur ) ( resource:Tirana ) ( resource:Darmstadt ) } . ?e property:capital_of ?m }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q222 Q568751 Q639100
P1376
Q515
USER
Which cities are the county seat for those administrative territories ?
(c(Q515),P1376,Q222) (c(Q515),P1376,Q568751) (c(Q515),P1376,Q639100)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q222'] [{'concept': 'Q515'}, 'P1376', 'Q568751'] [{'concept': 'Q515'}, 'P1376', 'Q639100']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . ?l property:P1376 ?y . VALUES ( ?y ) { ( resource:Q222 ) ( resource:Q568751 ) ( resource:Q639100 ) } }
Albania Mont-Tonnerre Principality of Reuss-Gera
action filter_type
action find_reverse
entity prev_answer
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Albania'] [{'concept': 'city'}, 'capital of', 'Mont-Tonnerre'] [{'concept': 'city'}, 'capital of', 'Principality of Reuss-Gera']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . ?l property:capital_of ?y . VALUES ( ?y ) { ( resource:Albania ) ( resource:Mont-Tonnerre ) ( resource:Principality_of_Reuss-Gera ) } }
[]
city
Q19689 Q1720 Q3750
SYSTEM
Tirana, Mainz, Gera
Q19689 Q1720 Q3750
(c(Q515),P1376,Q222) (c(Q515),P1376,Q568751) (c(Q515),P1376,Q639100)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q515
[ANSWERS] are the county seat for those administrative territories
[{'concept': 'Q515'}, 'P1376', 'Q222'] [{'concept': 'Q515'}, 'P1376', 'Q568751'] [{'concept': 'Q515'}, 'P1376', 'Q639100']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . ?l property:P1376 ?y . VALUES ( ?y ) { ( resource:Q222 ) ( resource:Q568751 ) ( resource:Q639100 ) } }
Tirana Mainz Gera
Tirana, Mainz and Gera are the county seat for those administrative territories
Tirana Mainz Gera
action filter_type
action find_reverse
entity prev_answer
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Albania'] [{'concept': 'city'}, 'capital of', 'Mont-Tonnerre'] [{'concept': 'city'}, 'capital of', 'Principality of Reuss-Gera']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . ?l property:capital_of ?y . VALUES ( ?y ) { ( resource:Albania ) ( resource:Mont-Tonnerre ) ( resource:Principality_of_Reuss-Gera ) } }
[]