Simple Question (Direct)
Simple Question
Q16149573
P793
Q151885
USER
What is a significant event associated with Reeyot Alemu ?
(Q16149573,P793,c(Q151885))
action filter_type
action find
entity Q16149573
relation P793
type Q151885
['Q16149573', 'P793', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q16149573 property:P793 ?j . ?j rdf:type ontology:Q151885 }
Reeyot Alemu
action filter_type
action find
entity Reeyot Alemu
relation significant event
type concept
['Reeyot Alemu', 'significant event', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Reeyot_Alemu property:significant_event ?j . ?j rdf:type ontology:concept }
[]
concept
Q4667873
SYSTEM
prisoner of conscience
Q4667873
(Q16149573,P793,c(Q151885))
action filter_type
action find
entity Q16149573
relation P793
type Q151885
A significant event associated with Reeyot Alemu is a [ANSWER]
['Q16149573', 'P793', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q16149573 property:P793 ?j . ?j rdf:type ontology:Q151885 }
prisoner of conscience
A significant event associated with Reeyot Alemu is a prisoner of conscience
prisoner of conscience
action filter_type
action find
entity Reeyot Alemu
relation significant event
type concept
['Reeyot Alemu', 'significant event', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Reeyot_Alemu property:significant_event ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16149573
P19
Q515
USER
Which city was Reeyot Alemu born at ?
(Q16149573,P19,c(Q515))
action filter_type
action find
entity Q16149573
relation P19
type Q515
['Q16149573', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q16149573 property:P19 ?d . ?d rdf:type ontology:Q515 }
Reeyot Alemu
action filter_type
action find
entity Reeyot Alemu
relation place of birth
type city
['Reeyot Alemu', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Reeyot_Alemu property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
city
Q3624
SYSTEM
Addis Ababa
Q3624
(Q16149573,P19,c(Q515))
action filter_type
action find
entity Q16149573
relation P19
type Q515
Reeyot Alemu was born in [ANSWER]
['Q16149573', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q16149573 property:P19 ?d . ?d rdf:type ontology:Q515 }
Addis Ababa
Reeyot Alemu was born in Addis Ababa
Addis Ababa
action filter_type
action find
entity Reeyot Alemu
relation place of birth
type city
['Reeyot Alemu', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Reeyot_Alemu property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16149573
P21
Q290
USER
What is the sex of that person ?
(Q3624,P21,c(Q290))
action filter_type
action find
entity Q16149573
relation P21
type Q290
['Q3624', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q16149573 property:P21 ?t . ?t rdf:type ontology:Q290 }
Reeyot Alemu
action filter_type
action find
entity Reeyot Alemu
relation gender
type sex
['Addis Ababa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Reeyot_Alemu property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3624,P21,c(Q290))
action filter_type
action find
entity Q16149573
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q3624', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q16149573 property:P21 ?t . ?t rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Reeyot Alemu
relation gender
type sex
['Addis Ababa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Reeyot_Alemu property:gender ?t . ?t rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1154540
P1376
Q7275 Q515
USER
Which states have lesser number of cities as their county seat than Later Jin Dynasty ?
(c(Q515),P1376,c(Q7275))
action less
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find_reverse
entity Q1154540
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?s ) WHERE { ?w rdf:type ontology:Q7275 . ?n rdf:type ontology:Q515 . ?n property:P1376 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:P1376 resource:Q1154540 . ?j rdf:type ontology:Q515 } } . FILTER ( ?s < ?h ) }
Later Jin Dynasty
action less
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find_reverse
entity Later Jin Dynasty
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?s ) WHERE { ?w rdf:type ontology:state . ?n rdf:type ontology:city . ?n property:capital_of ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:capital_of resource:Later_Jin_Dynasty . ?j rdf:type ontology:city } } . FILTER ( ?s < ?h ) }
[]
state city
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
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 less
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find_reverse
entity Q1154540
relation P1376
type Q515
[ANSWERS] have lesser number of cities as their county seat than Later Jin Dynasty
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?s ) WHERE { ?w rdf:type ontology:Q7275 . ?n rdf:type ontology:Q515 . ?n property:P1376 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:P1376 resource:Q1154540 . ?j rdf:type ontology:Q515 } } . FILTER ( ?s < ?h ) }
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
Czechoslovakia, Soviet Union and Bavaria have lesser number of cities as their county seat than Later Jin Dynasty
Czechoslovakia Soviet Union Bavaria
action less
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find_reverse
entity Later Jin Dynasty
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?s ) WHERE { ?w rdf:type ontology:state . ?n rdf:type ontology:city . ?n property:capital_of ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:capital_of resource:Later_Jin_Dynasty . ?j rdf:type ontology:city } } . FILTER ( ?s < ?h ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q7275
USER
How many administrative territories or states have a shared border with that state ?
(Q15180,P47,c(Q15617994)) (Q15180,P47,c(Q7275)) (Q33946,P47,c(Q15617994)) (Q33946,P47,c(Q7275)) (Q15180,P47,c(Q15617994)) (Q15180,P47,c(Q7275)) (Q980,P47,c(Q15617994)) (Q980,P47,c(Q7275))
['Q15180', 'P47', {'concept': 'Q15617994'}] ['Q15180', 'P47', {'concept': 'Q7275'}] ['Q33946', 'P47', {'concept': 'Q15617994'}] ['Q33946', 'P47', {'concept': 'Q7275'}] ['Q15180', 'P47', {'concept': 'Q15617994'}] ['Q15180', 'P47', {'concept': 'Q7275'}] ['Q980', 'P47', {'concept': 'Q15617994'}] ['Q980', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q26325591 property:P47 ?z } UNION { resource:Q26325591 property:P47 ?y } UNION { resource:Q5201861 property:P47 ?z } UNION { resource:Q5201861 property:P47 ?y } UNION { resource:Q26325591 property:P47 ?z } UNION { resource:Q26325591 property:P47 ?y } UNION { resource:Q4873638 property:P47 ?z } UNION { resource:Q4873638 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Soviet Union', 'shares border with', {'concept': 'state'}] ['Czechoslovakia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Czechoslovakia', 'shares border with', {'concept': 'state'}] ['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Soviet Union', 'shares border with', {'concept': 'state'}] ['Bavaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bavaria', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Soviet_Union property:shares_border_with ?z } UNION { resource:Soviet_Union property:shares_border_with ?y } UNION { resource:Czechoslovakia property:shares_border_with ?z } UNION { resource:Czechoslovakia property:shares_border_with ?y } UNION { resource:Soviet_Union property:shares_border_with ?z } UNION { resource:Soviet_Union property:shares_border_with ?y } UNION { resource:Bavaria property:shares_border_with ?z } UNION { resource:Bavaria property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]
designation for an administrative territorial entity state
Quantitative|Count|Mult. entity type|Clarification
Q980
SYSTEM
Did you mean Bavaria ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q26325591 property:P47 ?z } UNION { resource:Q26325591 property:P47 ?y } UNION { resource:Q5201861 property:P47 ?z } UNION { resource:Q5201861 property:P47 ?y } UNION { resource:Q26325591 property:P47 ?z } UNION { resource:Q26325591 property:P47 ?y } UNION { resource:Q4873638 property:P47 ?z } UNION { resource:Q4873638 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
Did you mean Bavaria ?
Bavaria
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Soviet_Union property:shares_border_with ?z } UNION { resource:Soviet_Union property:shares_border_with ?y } UNION { resource:Czechoslovakia property:shares_border_with ?z } UNION { resource:Czechoslovakia property:shares_border_with ?y } UNION { resource:Soviet_Union property:shares_border_with ?z } UNION { resource:Soviet_Union property:shares_border_with ?y } UNION { resource:Bavaria property:shares_border_with ?z } UNION { resource:Bavaria property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Soviet Union. Could you tell me the answer for that?
(Q15180,P47,c(Q15617994)) (Q15180,P47,c(Q7275)) (Q33946,P47,c(Q15617994)) (Q33946,P47,c(Q7275)) (Q15180,P47,c(Q15617994)) (Q15180,P47,c(Q7275)) (Q980,P47,c(Q15617994)) (Q980,P47,c(Q7275))
Q15180
['Q15180', 'P47', {'concept': 'Q15617994'}] ['Q15180', 'P47', {'concept': 'Q7275'}] ['Q33946', 'P47', {'concept': 'Q15617994'}] ['Q33946', 'P47', {'concept': 'Q7275'}] ['Q15180', 'P47', {'concept': 'Q15617994'}] ['Q15180', 'P47', {'concept': 'Q7275'}] ['Q980', 'P47', {'concept': 'Q15617994'}] ['Q980', 'P47', {'concept': 'Q7275'}]
['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Soviet Union', 'shares border with', {'concept': 'state'}] ['Czechoslovakia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Czechoslovakia', 'shares border with', {'concept': 'state'}] ['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Soviet Union', 'shares border with', {'concept': 'state'}] ['Bavaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bavaria', 'shares border with', {'concept': 'state'}]
[]
SYSTEM
13
Q423 Q43 Q842794 Q148 Q219 Q33946 Q212056 Q794 Q33 Q17 Q36 Q889 Q211274
(Q15180,P47,c(Q15617994)) (Q15180,P47,c(Q7275)) (Q33946,P47,c(Q15617994)) (Q33946,P47,c(Q7275)) (Q15180,P47,c(Q15617994)) (Q15180,P47,c(Q7275)) (Q980,P47,c(Q15617994)) (Q980,P47,c(Q7275))
[ANSWER]
['Q15180', 'P47', {'concept': 'Q15617994'}] ['Q15180', 'P47', {'concept': 'Q7275'}] ['Q33946', 'P47', {'concept': 'Q15617994'}] ['Q33946', 'P47', {'concept': 'Q7275'}] ['Q15180', 'P47', {'concept': 'Q15617994'}] ['Q15180', 'P47', {'concept': 'Q7275'}] ['Q980', 'P47', {'concept': 'Q15617994'}] ['Q980', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q26325591 property:P47 ?z } UNION { resource:Q26325591 property:P47 ?y } UNION { resource:Q5201861 property:P47 ?z } UNION { resource:Q5201861 property:P47 ?y } UNION { resource:Q26325591 property:P47 ?z } UNION { resource:Q26325591 property:P47 ?y } UNION { resource:Q4873638 property:P47 ?z } UNION { resource:Q4873638 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
North Korea Turkey Socialist Republic of Romania People's Republic of China Bulgaria Czechoslovakia Mongolian People's Republic Iran Finland Japan Poland Afghanistan People's Republic of Poland
13
['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Soviet Union', 'shares border with', {'concept': 'state'}] ['Czechoslovakia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Czechoslovakia', 'shares border with', {'concept': 'state'}] ['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Soviet Union', 'shares border with', {'concept': 'state'}] ['Bavaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bavaria', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Soviet_Union property:shares_border_with ?z } UNION { resource:Soviet_Union property:shares_border_with ?y } UNION { resource:Czechoslovakia property:shares_border_with ?z } UNION { resource:Czechoslovakia property:shares_border_with ?y } UNION { resource:Soviet_Union property:shares_border_with ?z } UNION { resource:Soviet_Union property:shares_border_with ?y } UNION { resource:Bavaria property:shares_border_with ?z } UNION { resource:Bavaria property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q43229 Q15617994 Q7275
USER
How many states have approximately 1 organizations or administrative territories as government ?
(c(Q7275),P122,c(Q43229)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q7275
type Q43229
action find_tuple_counts
relation P122
type Q7275
type Q15617994
value 1
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { { ?n property:P122 ?o . ?n rdf:type ontology:Q7275 . ?o rdf:type ontology:Q43229 } UNION { ?n property:P122 ?o . ?n rdf:type ontology:Q7275 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?m = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type state
type organization
action find_tuple_counts
relation basic form of government
type state
type designation for an administrative territorial entity
value 1
[{'concept': 'state'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { { ?n property:basic_form_of_government ?o . ?n rdf:type ontology:state . ?o rdf:type ontology:organization } UNION { ?n property:basic_form_of_government ?o . ?n rdf:type ontology:state . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?m = 1 ) }
[]
organization designation for an administrative territorial entity state
SYSTEM
19
Q889394 Q834486 Q726798 Q941881 Q44642 Q503623 Q8146595 Q310293 Q1658411 Q170072 Q1493843 Q146713 Q2088324 Q71747 Q680997 Q1517772 Q1142179 Q1083009 Q832554
(c(Q7275),P122,c(Q43229)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q7275
type Q43229
action find_tuple_counts
relation P122
type Q7275
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q43229'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { { ?n property:P122 ?o . ?n rdf:type ontology:Q7275 . ?o rdf:type ontology:Q43229 } UNION { ?n property:P122 ?o . ?n rdf:type ontology:Q7275 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?m = 1 ) }
Portuguese Mozambique Federation of South Arabia Tulunids Netherlands New Guinea Federation of Arab Republics Gold Coast Upingtonia Saar Protectorate Kingdom of Sarawak Dutch Republic Klein Vrystaat Arab Federation Colonial Brazil Duchy of Brittany Principality of Lower Pannonia Protectorate of South Arabia Orange River Colony Principality of Wy Argentine Confederation
19
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type state
type organization
action find_tuple_counts
relation basic form of government
type state
type designation for an administrative territorial entity
value 1
[{'concept': 'state'}, 'basic form of government', [{'concept': 'organization'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { { ?n property:basic_form_of_government ?o . ?n rdf:type ontology:state . ?o rdf:type ontology:organization } UNION { ?n property:basic_form_of_government ?o . ?n rdf:type ontology:state . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?m = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16301331 Q16149573
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Reeyot Alemu or Manuel José Chávez ?
OR((Q16149573,P27,c(Q15617994)), (Q16301331,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16149573
relation P27
action find
entity Q16301331
relation P27
type Q15617994
{'OR': [['Q16149573', 'P27', {'concept': 'Q15617994'}], ['Q16301331', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?h ) { ( resource:Q16301331 ) ( resource:Q16149573 ) } . ?h property:P27 ?d } . ?d rdf:type ontology:Q15617994 }
Manuel José Chávez Reeyot Alemu
action filter_type
action union
action find
entity Reeyot Alemu
relation country of citizenship
action find
entity Manuel José Chávez
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Reeyot Alemu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Manuel José Chávez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?h ) { ( resource:Manuel_José_Chávez ) ( resource:Reeyot_Alemu ) } . ?h property:country_of_citizenship ?d } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q115
SYSTEM
Colombia, Ethiopia
Q739 Q115
OR((Q16149573,P27,c(Q15617994)), (Q16301331,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16149573
relation P27
action find
entity Q16301331
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Reeyot Alemu or Manuel José Chávez
{'OR': [['Q16149573', 'P27', {'concept': 'Q15617994'}], ['Q16301331', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?h ) { ( resource:Q16301331 ) ( resource:Q16149573 ) } . ?h property:P27 ?d } . ?d rdf:type ontology:Q15617994 }
Colombia Ethiopia
Colombia and Ethiopia are the countries of citizenship of Reeyot Alemu or Manuel José Chávez
Colombia Ethiopia
action filter_type
action union
action find
entity Reeyot Alemu
relation country of citizenship
action find
entity Manuel José Chávez
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Reeyot Alemu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Manuel José Chávez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?h ) { ( resource:Manuel_José_Chávez ) ( resource:Reeyot_Alemu ) } . ?h property:country_of_citizenship ?d } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q43229 Q334166 Q151885
USER
Which concepts are a component of max number of organizations or modes of transport ?
(c(Q151885),P361,c(Q43229)|c(Q334166))
action argmax
action union
action find_tuple_counts
relation P361
type Q151885
type Q43229
action find_tuple_counts
relation P361
type Q151885
type Q334166
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q334166'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?z WHERE { { ?z property:P361 ?i . ?z rdf:type ontology:Q151885 . ?i rdf:type ontology:Q43229 } UNION { ?z property:P361 ?i . ?z rdf:type ontology:Q151885 . ?i rdf:type ontology:Q334166 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?t WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q43229 ) ( ontology:Q334166 ) } } GROUP BY ?t } . FILTER ( ?q = ?y ) }
action argmax
action union
action find_tuple_counts
relation part of
type concept
type organization
action find_tuple_counts
relation part of
type concept
type mode of transport
[{'concept': 'concept'}, 'part of', [{'concept': 'organization'}, {'concept': 'mode of transport'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?z WHERE { { ?z property:part_of ?i . ?z rdf:type ontology:concept . ?i rdf:type ontology:organization } UNION { ?z property:part_of ?i . ?z rdf:type ontology:concept . ?i rdf:type ontology:mode_of_transport } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?t WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:organization ) ( ontology:mode_of_transport ) } } GROUP BY ?t } . FILTER ( ?q = ?y ) }
[]
organization mode of transport concept
Q275186 Q228513 Q2285706
SYSTEM
gang, Zugsignal, head of government
Q2285706 Q275186 Q690109 Q703534 Q228513
(c(Q151885),P361,c(Q43229)|c(Q334166))
action argmax
action union
action find_tuple_counts
relation P361
type Q151885
type Q43229
action find_tuple_counts
relation P361
type Q151885
type Q334166
[ANSWERS] are a component of max number of organizations or modes of transport
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q334166'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?z WHERE { { ?z property:P361 ?i . ?z rdf:type ontology:Q151885 . ?i rdf:type ontology:Q43229 } UNION { ?z property:P361 ?i . ?z rdf:type ontology:Q151885 . ?i rdf:type ontology:Q334166 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?t WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q43229 ) ( ontology:Q334166 ) } } GROUP BY ?t } . FILTER ( ?q = ?y ) }
head of government gang branch of service employee Zugsignal
Gang, Zugsignal and head of government are a component of max number of organizations or modes of transport
gang Zugsignal head of government
action argmax
action union
action find_tuple_counts
relation part of
type concept
type organization
action find_tuple_counts
relation part of
type concept
type mode of transport
[{'concept': 'concept'}, 'part of', [{'concept': 'organization'}, {'concept': 'mode of transport'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?z WHERE { { ?z property:part_of ?i . ?z rdf:type ontology:concept . ?i rdf:type ontology:organization } UNION { ?z property:part_of ?i . ?z rdf:type ontology:concept . ?i rdf:type ontology:mode_of_transport } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) ?t WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:organization ) ( ontology:mode_of_transport ) } } GROUP BY ?t } . FILTER ( ?q = ?y ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P106
Q151885 Q502895
USER
Which concepts are the professions of greater number of people than that concept ?
(c(Q502895),P106,c(Q151885))
[{'concept': 'Q502895'}, 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q528892 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q151885 }
[{'concept': 'common name'}, 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:occupation ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:concept }
[]
concept common name
Comparative|More/Less|Single entity type|Clarification
Q275186
SYSTEM
Did you mean gang ?
(c(Q502895),P106,c(Q151885))
[ANSWER]
[{'concept': 'Q502895'}, 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q528892 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q151885 }
Did you mean gang ?
gang
[{'concept': 'common name'}, 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:occupation ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:concept }
[]
Comparative Reasoning (All)
USER
No, I meant head of government. Could you tell me the answer for that?
(c(Q502895),P106,c(Q151885))
Q2285706
[{'concept': 'Q502895'}, 'P106', {'concept': 'Q151885'}]
[{'concept': 'common name'}, 'occupation', {'concept': 'concept'}]
[]
Q1934684 Q4964182 Q23038345
SYSTEM
housewife, philosopher, Wikipedian
Q15978337 Q5154978 Q327055 Q12020057 Q18814623 Q12912932 Q19509201 Q24698392 Q625369 Q2478141 Q22962951 Q15966504 Q21625815 Q389565 Q21694268 Q21993562 Q270141 Q19890761 Q15472169 Q15077007 Q9200127 Q214917 Q959583 Q15980704 Q20971451 Q20725072 Q10732476 Q15627169 Q14948222 Q3562775 Q181043 Q1146843 Q154668 Q24262584 Q1536379 Q806283 Q19831149 Q1225491 Q20740414 Q22058867 Q10370560 Q3303297 Q15962734 Q12039558 Q24716636 Q17351861 Q13382576 Q16003550 Q484188 Q12328016 Q7886765 Q2159907 Q1476215 Q254508 Q24259627 Q20708269 Q619851 Q17010072 Q16532929 Q20650518 Q482980 Q24293741 Q21121588 Q18510179 Q2873500 Q211236 Q18515558 Q12961474 Q7313543 Q19890746 Q18510172 Q189829 Q177826 Q22336956 Q179637 Q7234072 Q8359428 Q779458 Q23770547 Q17125263 Q12004621 Q48942 Q126236 Q21694753 Q2191756 Q12797895 Q14616728 Q12773225 Q618532 Q1364673 Q18667447 Q1125062 Q484260 Q15966439 Q1154323 Q13464374 Q18702210 Q855091 Q27148032 Q2066131 Q16830344 Q2376278 Q18810049 Q16323111 Q1818899 Q16637669 Q11242506 Q27496075 Q937283 Q4330518 Q11513337 Q933495 Q1862087 Q13381376 Q1508239 Q2312865 Q4887411 Q16278103 Q763779 Q16240266 Q13381863 Q1021386 Q42857 Q193432 Q728711 Q1636680 Q1297719 Q11499147 Q26102 Q217731 Q20650523 Q1409420 Q1968442 Q7245795 Q2500638 Q24203053 Q1934684 Q3595924 Q860918 Q485178 Q17176618 Q5405633 Q3578589 Q21578283 Q214970 Q703534 Q27431227 Q1079215 Q1397808 Q4197743 Q1487 Q28640 Q16004471 Q6388 Q20747150 Q19509237 Q13382749 Q17123348 Q46961 Q1251441 Q18120029 Q15982795 Q18814798 Q1413522 Q2142783 Q19801627 Q15020911 Q15986555 Q10860242 Q691522 Q1714828 Q15709642 Q235157 Q3242115 Q23024064 Q2304859 Q3738757 Q11499012 Q22810659 Q322170 Q17769800 Q6010 Q2901587 Q460797 Q13472585 Q24040377 Q1027930 Q212948 Q27431213 Q10729326 Q1344452 Q16755977 Q5276395 Q3014296 Q1097498 Q27158601 Q1539595 Q22812879 Q50637 Q21081635 Q273283 Q24729786 Q48282 Q15253558 Q1184268 Q2917466 Q15980629 Q23663603 Q2798820 Q4964182 Q23038345 Q16961937 Q10871364 Q15095148 Q12327806 Q201948 Q16611574 Q10866633 Q678003 Q931260 Q20706626 Q10843402 Q18664049 Q15883433 Q16003594 Q21550888 Q381160
(c(Q502895),P106,c(Q151885))
[ANSWERS] are the professions of greater number of people than that concept
[{'concept': 'Q502895'}, 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q528892 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q151885 }
social critic community leader worker homeopath autobiographer mufassir LGBT rights activist antiimperialist mistress aristocrat rapist child singer melomaniac ticket controller amateur photographer cultural activist polymath artivist patron of the arts podcaster member playwright Schlager matchmaker radiesthesist torturer art collector trade unionist con artist thief dissident anchorite patrician bible translator golf course designer Bandeirantes conspiracy theorist dilettante base jumper traveller sertanista ironmaster mutineer Go player voluntary worker Gaelic football player rower pacifist serial killer mystic union organizer criminal human rights activist outlaw motorcycle trials rider scrabble player gunfighter militant administrator bank robber author anarcho-syndicalist rowing coach abolitionist adventurer celebrity futsal player anarchist rentier Internet activist women's rights activist hermit clergy humanitarian prisoner of war postal worker social activist ascetic Serologist YouTuber fortune-teller pupil conquistador semiologist seer occultist runner slave landlord informant pesäpallo player rebel guru war criminal spree killer tug of war competitor bandy player guitarist sound recordist sportsperson feminist rejoneador cosplayer peace activist settler Félibresse highwayman Idist pioneer research subject athletics competitor Demimonde prisoner weightlifter Promyshlenniki military athlete benefactor squash player Protestant Reformer pickpocket fencer civil rights advocate prophet fan Playboy Playmate Renaissance humanist French moralists political activist whistleblower Hajduk brigand feudatory donor prison visitor creator gastronomist housewife Qāriʾ Esperantist analyst smuggler research assistant environmentalist rowing official virtuoso employee figure of scandal AV idol resistance fighter player hacker profession kayaker human swimming guerrilla animal rights advocate polar explorer shareholder gangster leader bibliophile bodybuilder wheelchair tennis player impostor founder of religions ski mountaineer amateur astronomer chess organiser bouncer construction foreman hunter snowboarder rasul revolutionary spiritualist sovereign counterfeiter broadcast writer nightclub owner suffragette slave trader rapping yogi unofficial collaborator philanthropist echinodermologist camgirl partisan cookery writer pirate discoverer racial theorist gamer motorcycle racer ruler weaver Klepht digital artist art history ocean rower beggar publican student activist delinquent psychic Romani rights activist acupuncturist hacker philosopher Wikipedian discussion moderator baseball player graffiti artist motocross rider sniper social reformer speed skater driving instructor murderer arms trafficker swimmer ski-orienteer mass murderer socialist plantation owner expert
Housewife, philosopher and Wikipedian are the professions of greater number of people than that concept
housewife philosopher Wikipedian
[{'concept': 'common name'}, 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:occupation ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:concept }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23038345
P106
Q502895
USER
Which people have the profession of that concept ?
(c(Q502895),P106,Q23038345)
action filter_type
action find_reverse
entity Q23038345
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q23038345']
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q23038345 . ?n rdf:type ontology:Q502895 }
Wikipedian
action filter_type
action find_reverse
entity Wikipedian
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Wikipedian']
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:Wikipedian . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1934684
SYSTEM
Did you mean housewife ?
Q1934684 Q4964182 Q23038345
(c(Q502895),P106,Q1934684) (c(Q502895),P106,Q4964182) (c(Q502895),P106,Q23038345)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q1934684'] [{'concept': 'Q502895'}, 'P106', 'Q4964182'] [{'concept': 'Q502895'}, 'P106', 'Q23038345']
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q23038345 . ?n rdf:type ontology:Q502895 }
housewife philosopher Wikipedian
Did you mean housewife ?
housewife
[{'concept': 'common name'}, 'occupation', 'housewife'] [{'concept': 'common name'}, 'occupation', 'philosopher'] [{'concept': 'common name'}, 'occupation', 'Wikipedian']
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:Wikipedian . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Wikipedian. Could you tell me the answer for that?
(c(Q502895),P106,Q23038345)
Q23038345
[{'concept': 'Q502895'}, 'P106', 'Q23038345']
[{'concept': 'common name'}, 'occupation', 'Wikipedian']
[]
Q20980928 Q3331076 Q15080578
SYSTEM
Finn Årup Nielsen, Justin Knapp, Marcus Cyron
Q16225640 Q23978506 Q13520818 Q1299566 Q27096244 Q15813153 Q15080841 Q673718 Q181 Q302817 Q20980928 Q19879675 Q15080578 Q266722 Q21436536 Q24803768 Q15631829 Q20742516 Q3331076 Q26773031
(c(Q502895),P106,Q23038345)
action filter_type
action find_reverse
entity Q23038345
relation P106
type Q502895
[ANSWERS] have the profession of that concept
[{'concept': 'Q502895'}, 'P106', 'Q23038345']
SELECT DISTINCT ?n WHERE { ?n property:P106 resource:Q23038345 . ?n rdf:type ontology:Q502895 }
James Heilman Thomas Springer Magnus Manske Renate Franz Jesús Tramullas Ihor Kostenko John Broughton Rémi Mathis Jimmy Wales Aaron Swartz Finn Årup Nielsen Evan Amos Marcus Cyron Florence Devouard Thomas Wozniak Jérémy Jähnick Pietro Fornitano Roveri Adrienne Charmet Justin Knapp Luca Martinelli
Finn Årup Nielsen, Justin Knapp and Marcus Cyron have the profession of that concept
Finn Årup Nielsen Justin Knapp Marcus Cyron
action filter_type
action find_reverse
entity Wikipedian
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Wikipedian']
SELECT DISTINCT ?n WHERE { ?n property:occupation resource:Wikipedian . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3624
P20
Q502895
USER
How many people have Addis Ababa as place of death ?
(c(Q502895),P20,Q3624)
action count
action filter_type
action find_reverse
entity Q3624
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q3624']
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P20 resource:Q3624 . ?i rdf:type ontology:Q502895 }
Addis Ababa
action count
action filter_type
action find_reverse
entity Addis Ababa
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Addis Ababa']
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:place_of_death resource:Addis_Ababa . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
57
Q318222 Q2821772 Q3285027 Q1881666 Q737191 Q3125590 Q926379 Q382165 Q20738426 Q372208 Q6805282 Q148524 Q298216 Q298213 Q3481063 Q21587642 Q41178 Q3350067 Q6415949 Q351529 Q1340346 Q4726663 Q2365894 Q12017458 Q2866726 Q3305840 Q3606409 Q913749 Q4882009 Q16073477 Q2740796 Q5639281 Q19355285 Q7244234 Q8029754 Q686871 Q733952 Q1380212 Q3306832 Q1507946 Q27611938 Q3338353 Q85792 Q1051063 Q659082 Q52596 Q590935 Q2599927 Q2821656 Q244748 Q4982309 Q357128 Q420192 Q743946 Q2866915 Q4983969 Q7244148
(c(Q502895),P20,Q3624)
action count
action filter_type
action find_reverse
entity Q3624
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q3624']
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:P20 resource:Q3624 . ?i rdf:type ontology:Q502895 }
Abebe Aregai Abune Petros Mammo Wudneh Aman Andom Sebhat Gebre-Egziabher Hayelom Araya Imru Haile Selassie Afewerk Tekle Seifu Mikael Mamo Wolde Medferiashwork Abebe Zewditu I Taytu Betul Sylvia Pankhurst Seyum Mangasha Ugo Attico Fioretti Haile Selassie I of Ethiopia Okoth Ogendo Kiros Alemayehu Hailu Yimenu Endelkachew Makonnen Alimirah Hanfere Alphonse Fondère František Rouček Asnaketch Worku Mengistu Worku Agenore Frangipani Menen Asfaw Belay Zeleke John Robinson Getatchew Mekurya Hailu Tekle Haymanot N. Gugsa Prince Sahle Selassie Wolete Israel Seyoum Armido Gasparini Abune Paulos Reginald Hamlin Mesfin Sileshi Alemayehu Shumye Emmanuel Abraham Nersès Nalbandian Karl Babor Kassa Haile Darge Tafari Benti Abebe Bikila Makonnen Endelkachew Ydnekatchew Tessema Abiye Abebe Menelik II Princess Tenagnework Fritz Morgenthaler Aklilu Habte-Wold Mikael Imru Asrate Medhin Kassa William L. Uanna Prince Makonnen
57
action count
action filter_type
action find_reverse
entity Addis Ababa
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Addis Ababa']
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { ?i property:place_of_death resource:Addis_Ababa . ?i rdf:type ontology:common_name }
[]