Simple Question (Direct)
Simple Question
Q2708388
P166
Q1788716
USER
What was awarded to Gavriil Veresov ?
(Q2708388,P166,c(Q1788716))
action filter_type
action find
entity Q2708388
relation P166
type Q1788716
['Q2708388', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?n WHERE { resource:Q2708388 property:P166 ?n . ?n rdf:type ontology:Q1788716 }
Gavriil Veresov
action filter_type
action find
entity Gavriil Veresov
relation award received
type military decoration
['Gavriil Veresov', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?n WHERE { resource:Gavriil_Veresov property:award_received ?n . ?n rdf:type ontology:military_decoration }
[]
military decoration
Q278798
SYSTEM
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
Q278798
(Q2708388,P166,c(Q1788716))
action filter_type
action find
entity Q2708388
relation P166
type Q1788716
[ANSWER] was awarded to Gavriil Veresov
['Q2708388', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?n WHERE { resource:Q2708388 property:P166 ?n . ?n rdf:type ontology:Q1788716 }
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" was awarded to Gavriil Veresov
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
action filter_type
action find
entity Gavriil Veresov
relation award received
type military decoration
['Gavriil Veresov', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?n WHERE { resource:Gavriil_Veresov property:award_received ?n . ?n rdf:type ontology:military_decoration }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2708388
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q278798,P106,c(Q12737077))
action filter_type
action find
entity Q2708388
relation P106
type Q12737077
['Q278798', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2708388 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Gavriil Veresov
action filter_type
action find
entity Gavriil Veresov
relation occupation
type occupation
['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Gavriil_Veresov property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q10873124
SYSTEM
chess player
Q10873124
(Q278798,P106,c(Q12737077))
action filter_type
action find
entity Q2708388
relation P106
type Q12737077
Game [ANSWER] is the profession of that person
['Q278798', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2708388 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
chess player
Game chess player is the profession of that person
chess player
action filter_type
action find
entity Gavriil Veresov
relation occupation
type occupation
['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Gavriil_Veresov property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q17638008 Q3305213
USER
How many occupations are expressed in atmost 5 game equipment and paintings ?
(c(Q17638008)|c(Q3305213),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 5
[[{'concept': 'Q17638008'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q17638008 } UNION { ?b rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3305213 . ?m property:P180 ?b } } GROUP BY ?b } . FILTER ( ?v <= 5 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 5
[[{'concept': 'game equipment'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:depicts ?b . ?b rdf:type ontology:occupation . ?m rdf:type ontology:game_equipment } UNION { ?b rdf:type ontology:occupation . ?m rdf:type ontology:painting . ?m property:depicts ?b } } GROUP BY ?b } . FILTER ( ?v <= 5 ) }
[]
occupation game equipment painting
SYSTEM
229
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q17638008)|c(Q3305213),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 5
[ANSWER]
[[{'concept': 'Q17638008'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:P180 ?b . ?b rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q17638008 } UNION { ?b rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3305213 . ?m property:P180 ?b } } GROUP BY ?b } . FILTER ( ?v <= 5 ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
229
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 5
[[{'concept': 'game equipment'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:depicts ?b . ?b rdf:type ontology:occupation . ?m rdf:type ontology:game_equipment } UNION { ?b rdf:type ontology:occupation . ?m rdf:type ontology:painting . ?m property:depicts ?b } } GROUP BY ?b } . FILTER ( ?v <= 5 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q278798
P17
Q7275
USER
Which state is Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" located in ?
(Q278798,P17,c(Q7275))
action filter_type
action find
entity Q278798
relation P17
type Q7275
['Q278798', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q278798 property:P17 ?i . ?i rdf:type ontology:Q7275 }
Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
action filter_type
action find
entity Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
relation country
type state
['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'country', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Medal_"For_the_Victory_over_Germany_in_the_Great_Patriotic_War_1941–1945" property:country ?i . ?i rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q278798,P17,c(Q7275))
action filter_type
action find
entity Q278798
relation P17
type Q7275
[ANSWER] is Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" located in
['Q278798', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q278798 property:P17 ?i . ?i rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" located in
Soviet Union
action filter_type
action find
entity Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"
relation country
type state
['Medal "For the Victory over Germany in the Great Patriotic War 1941–1945"', 'country', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Medal_"For_the_Victory_over_Germany_in_the_Great_Patriotic_War_1941–1945" property:country ?i . ?i rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7352
P1376
Q7275 Q515 Q486972
USER
How many states have lesser number of cities and human settlements as their capital than Jin dynasty ?
(c(Q515)|c(Q486972),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q7352
relation P1376
type Q515
type Q486972
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?m WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P1376 resource:Q7352 . { VALUES ( ?d ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?e rdf:type ?d } } } . FILTER ( ?o < ?g ) }
Jin dynasty
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Jin dynasty
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?m WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:capital_of resource:Jin_dynasty . { VALUES ( ?d ) { ( ontology:city ) ( ontology:human_settlement ) } . ?e rdf:type ?d } } } . FILTER ( ?o < ?g ) }
[]
state city human settlement
SYSTEM
410
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 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 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q83821 Q27260 Q249578 Q16410 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 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 Q1617495 Q1194765 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 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 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 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)|c(Q486972),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q7352
relation P1376
type Q515
type Q486972
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?m WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P1376 resource:Q7352 . { VALUES ( ?d ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?e rdf:type ?d } } } . FILTER ( ?o < ?g ) }
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 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 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 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 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 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 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 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 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
410
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Jin dynasty
relation capital of
type city
type human settlement
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?m WHERE { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:capital_of resource:Jin_dynasty . { VALUES ( ?d ) { ( ontology:city ) ( ontology:human_settlement ) } . ?e rdf:type ?d } } } . FILTER ( ?o < ?g ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7352
P53
Q502895
USER
Who belongs to the family that state ?
action filter_type
action find_reverse
entity Q7352
relation P53
type Q502895
SELECT DISTINCT ?s WHERE { ?s property:P53 resource:Q7352 . ?s rdf:type ontology:Q502895 }
Jin dynasty
action filter_type
action find_reverse
entity Jin dynasty
relation noble family
type common name
SELECT DISTINCT ?s WHERE { ?s property:noble_family resource:Jin_dynasty . ?s rdf:type ontology:common_name }
[]
common name
Q7360
SYSTEM
Sima Lun
Q7360
action filter_type
action find_reverse
entity Q7352
relation P53
type Q502895
[ANSWER] belongs to the family that state
SELECT DISTINCT ?s WHERE { ?s property:P53 resource:Q7352 . ?s rdf:type ontology:Q502895 }
Sima Lun
Sima Lun belongs to the family that state
Sima Lun
action filter_type
action find_reverse
entity Jin dynasty
relation noble family
type common name
SELECT DISTINCT ?s WHERE { ?s property:noble_family resource:Jin_dynasty . ?s rdf:type ontology:common_name }
[]