Simple Question (Direct)
Simple Question
Q3328250
P106
Q12737077
USER
What is the profession of Svetlana Anastasovska ?
(Q3328250,P106,c(Q12737077))
action filter_type
action find
entity Q3328250
relation P106
type Q12737077
['Q3328250', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3328250 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Svetlana Anastasovska
action filter_type
action find
entity Svetlana Anastasovska
relation occupation
type occupation
['Svetlana Anastasovska', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Svetlana_Anastasovska property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q13365117
SYSTEM
handball player
Q13365117
(Q3328250,P106,c(Q12737077))
action filter_type
action find
entity Q3328250
relation P106
type Q12737077
The profession of Svetlana Anastasovska is a [ANSWER]
['Q3328250', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3328250 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
handball player
The profession of Svetlana Anastasovska is a handball player
handball player
action filter_type
action find
entity Svetlana Anastasovska
relation occupation
type occupation
['Svetlana Anastasovska', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Svetlana_Anastasovska property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13365117
P425
Q349
USER
Which sport has that one as the associated field of occupation ?
(Q13365117,P425,c(Q349))
action filter_type
action find
entity Q13365117
relation P425
type Q349
['Q13365117', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q13365117 property:P425 ?m . ?m rdf:type ontology:Q349 }
handball player
action filter_type
action find
entity handball player
relation field of this occupation
type sport
['handball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:handball_player property:field_of_this_occupation ?m . ?m rdf:type ontology:sport }
[]
sport
Q8418
SYSTEM
handball
Q8418
(Q13365117,P425,c(Q349))
action filter_type
action find
entity Q13365117
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q13365117', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q13365117 property:P425 ?m . ?m rdf:type ontology:Q349 }
handball
Handball has that one as the associated field of occupation
handball
action filter_type
action find
entity handball player
relation field of this occupation
type sport
['handball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:handball_player property:field_of_this_occupation ?m . ?m rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q502895 Q43229
USER
How many sports do around the same number of people or organizations belong to as that sport ?
(c(Q502895)|c(Q43229),P101,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q8418
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?r WHERE { VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } . ?q rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } . ?c property:P101 resource:Q8418 } } . FILTER ( ?s = ?u ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity handball
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?r WHERE { VALUES ( ?w ) { ( ontology:common_name ) ( ontology:organization ) } . ?q rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:organization ) } } . ?c property:field_of_work resource:handball } } . FILTER ( ?s = ?u ) }
[]
sport common name organization
SYSTEM
35
Q10962 Q136851 Q1109032 Q5375 Q22857 Q14300548 Q1734 Q12100 Q8418 Q15991265 Q2215841 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q502895)|c(Q43229),P101,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action find_reverse_tuple_counts
relation P101
type Q349
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q8418
relation P101
type Q502895
type Q43229
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?r WHERE { VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } . ?q rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } . ?c property:P101 resource:Q8418 } } . FILTER ( ?s = ?u ) }
rugby league curling college football cricket climbing skating volleyball fencing handball amateur football cycle sport archery wingsuit flying water polo BASE jumping tennis bowling bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey mixed martial arts motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
35
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action find_reverse_tuple_counts
relation field of work
type sport
type organization
action count
action filter_multi_types
action find_reverse
entity handball
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?r WHERE { VALUES ( ?w ) { ( ontology:common_name ) ( ontology:organization ) } . ?q rdf:type ?w } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:organization ) } } . ?c property:field_of_work resource:handball } } . FILTER ( ?s = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3328250
P21
Q290
USER
Which sex does Svetlana Anastasovska have ?
(Q3328250,P21,c(Q290))
action filter_type
action find
entity Q3328250
relation P21
type Q290
['Q3328250', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q3328250 property:P21 ?y }
Svetlana Anastasovska
action filter_type
action find
entity Svetlana Anastasovska
relation gender
type sex
['Svetlana Anastasovska', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Svetlana_Anastasovska property:gender ?y }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3328250,P21,c(Q290))
action filter_type
action find
entity Q3328250
relation P21
type Q290
Svetlana Anastasovska has a [ANSWER]
['Q3328250', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q3328250 property:P21 ?y }
female
Svetlana Anastasovska has a female
female
action filter_type
action find
entity Svetlana Anastasovska
relation gender
type sex
['Svetlana Anastasovska', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Svetlana_Anastasovska property:gender ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9066572
Q290
USER
And how about Wang Meihua?
(Q9066572,P21,c(Q290))
action filter_type
action find
entity Q9066572
relation P21
type Q290
['Q9066572', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q9066572 property:P21 ?x . ?x rdf:type ontology:Q290 }
Wang Meihua
action filter_type
action find
entity Wang Meihua
relation gender
type sex
['Wang Meihua', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Wang_Meihua property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q9066572,P21,c(Q290))
action filter_type
action find
entity Q9066572
relation P21
type Q290
[ANSWER]
['Q9066572', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q9066572 property:P21 ?x . ?x rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Wang Meihua
relation gender
type sex
['Wang Meihua', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Wang_Meihua property:gender ?x . ?x rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
How many sexes are the sex of approximately the same number of people as that sex ?
(c(Q502895),P21,c(Q290))
action count
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P21 ?c . ?c rdf:type ontology:Q290 . ?w rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q6581072 property:P21 ?d . ?d rdf:type ontology:Q290 } } . FILTER ( ?x = ?n ) }
action count
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:gender ?c . ?c rdf:type ontology:sex . ?w rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:female property:gender ?d . ?d rdf:type ontology:sex } } . FILTER ( ?x = ?n ) }
[]
sex common name
SYSTEM
1
Q6581072
(c(Q502895),P21,c(Q290))
action count
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[ANSWER]
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P21 ?c . ?c rdf:type ontology:Q290 . ?w rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q6581072 property:P21 ?d . ?d rdf:type ontology:Q290 } } . FILTER ( ?x = ?n ) }
female
1
action count
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:gender ?c . ?c rdf:type ontology:sex . ?w rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:female property:gender ?d . ?d rdf:type ontology:sex } } . FILTER ( ?x = ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3328250
P27
Q15617994
USER
Which administrative territory is Svetlana Anastasovska a civilian of ?
(Q3328250,P27,c(Q15617994))
action filter_type
action find
entity Q3328250
relation P27
type Q15617994
['Q3328250', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q3328250 property:P27 ?r }
Svetlana Anastasovska
action filter_type
action find
entity Svetlana Anastasovska
relation country of citizenship
type designation for an administrative territorial entity
['Svetlana Anastasovska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Svetlana_Anastasovska property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q3328250,P27,c(Q15617994))
action filter_type
action find
entity Q3328250
relation P27
type Q15617994
[ANSWER] is Svetlana Anastasovska a civilian of
['Q3328250', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q3328250 property:P27 ?r }
Serbia
Serbia is Svetlana Anastasovska a civilian of
Serbia
action filter_type
action find
entity Svetlana Anastasovska
relation country of citizenship
type designation for an administrative territorial entity
['Svetlana Anastasovska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Svetlana_Anastasovska property:country_of_citizenship ?r }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3328250
Q7275
USER
And which state?
(Q3328250,P27,c(Q7275))
action filter_type
action find
entity Q3328250
relation P27
type Q7275
['Q3328250', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q3328250 property:P27 ?x . ?x rdf:type ontology:Q7275 }
Svetlana Anastasovska
action filter_type
action find
entity Svetlana Anastasovska
relation country of citizenship
type state
['Svetlana Anastasovska', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Svetlana_Anastasovska property:country_of_citizenship ?x . ?x rdf:type ontology:state }
[]
state
Q36704
SYSTEM
Yugoslavia
Q36704
(Q3328250,P27,c(Q7275))
action filter_type
action find
entity Q3328250
relation P27
type Q7275
[ANSWER]
['Q3328250', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?x WHERE { resource:Q3328250 property:P27 ?x . ?x rdf:type ontology:Q7275 }
Yugoslavia
Yugoslavia
action filter_type
action find
entity Svetlana Anastasovska
relation country of citizenship
type state
['Svetlana Anastasovska', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?x WHERE { resource:Svetlana_Anastasovska property:country_of_citizenship ?x . ?x rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1247508
P122
Q1048835 Q7275 Q7275
USER
How many states have less number of political territories or states as government than Domain of Soissons ?
(c(Q7275),P122,c(Q1048835)|c(Q7275))
action count
action less
action union
action find_tuple_counts
relation P122
type Q7275
type Q1048835
action find_tuple_counts
relation P122
type Q7275
type Q7275
action count
action filter_multi_types
action find
entity Q1247508
relation P122
type Q1048835
type Q7275
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q1048835'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?r rdf:type ?c } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { resource:Q1247508 property:P122 ?d . { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7275 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?h < ?v ) }
Domain of Soissons
action count
action less
action union
action find_tuple_counts
relation basic form of government
type state
type political territorial entity
action find_tuple_counts
relation basic form of government
type state
type state
action count
action filter_multi_types
action find
entity Domain of Soissons
relation basic form of government
type political territorial entity
type state
[{'concept': 'state'}, 'basic form of government', [{'concept': 'political territorial entity'}, {'concept': 'state'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?r rdf:type ?c } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { resource:Domain_of_Soissons property:basic_form_of_government ?d . { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:state ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?h < ?v ) }
[]
political territorial entity state state
SYSTEM
248
Q241748 Q211853 Q484104 Q180573 Q105092 Q210163 Q3185305 Q2340665 Q172107 Q1538311 Q152115 Q285658 Q18285930 Q2414171 Q179876 Q2475921 Q218023 Q889374 Q798431 Q3456417 Q154401 Q174193 Q965174 Q282475 Q1269234 Q889394 Q48685 Q552157 Q229411 Q201038 Q761370 Q431731 Q175881 Q330988 Q1852345 Q1194329 Q533558 Q1423680 Q617218 Q2253783 Q13107370 Q986665 Q744042 Q209065 Q190513 Q10988528 Q631210 Q2308237 Q19801186 Q204920 Q1998866 Q207162 Q142417 Q834486 Q2006542 Q545205 Q131964 Q726798 Q133356 Q215530 Q150058 Q62589 Q161885 Q4461035 Q33946 Q150056 Q83572 Q11876909 Q139319 Q191077 Q234009 Q271570 Q903779 Q841364 Q16957 Q558596 Q1649871 Q941881 Q1194765 Q514423 Q62623 Q870055 Q713750 Q544630 Q1057542 Q16949002 Q1789596 Q550374 Q1152126 Q44642 Q853348 Q203493 Q696908 Q147909 Q555994 Q980 Q652560 Q220167 Q2980623 Q1636212 Q737040 Q112558 Q124943 Q37024 Q317078 Q503623 Q940123 Q14934927 Q137766 Q172579 Q153128 Q867782 Q877579 Q551798 Q210036 Q1277557 Q186537 Q633573 Q1483430 Q200896 Q1068408 Q623751 Q49683 Q330362 Q736936 Q8146595 Q12557 Q2456191 Q310293 Q15864 Q212439 Q844250 Q1362278 Q267584 Q303421 Q207521 Q1658411 Q153015 Q2342822 Q1078602 Q75613 Q71092 Q1479726 Q15180 Q6083755 Q698089 Q1406298 Q179293 Q28278 Q157734 Q600093 Q170072 Q7382038 Q467864 Q76236 Q209857 Q1415585 Q953432 Q1115291 Q170174 Q4843701 Q212056 Q21005050 Q175276 Q210542 Q422065 Q7318 Q42585 Q170468 Q487829 Q2365048 Q1138904 Q956451 Q27306 Q1493843 Q1508143 Q146713 Q156038 Q30623 Q736727 Q230407 Q940821 Q824489 Q157727 Q2088324 Q248572 Q189988 Q1192936 Q199841 Q71747 Q615902 Q1077630 Q1322229 Q173761 Q217196 Q16624774 Q23541302 Q199442 Q154195 Q10921634 Q13706 Q498735 Q1775277 Q173082 Q121932 Q680997 Q38872 Q4948 Q1152445 Q156020 Q16410 Q153660 Q1240096 Q1771831 Q70972 Q1986139 Q2145397 Q2353425 Q582861 Q1517772 Q1142179 Q12548 Q211274 Q158725 Q588672 Q6412664 Q6500954 Q1083009 Q391980 Q80211 Q1054184 Q1029847 Q832554 Q1155768 Q157367 Q427941 Q1044668 Q266923 Q1061488 Q5148517 Q41304 Q752662 Q797422 Q206411 Q2184 Q2578706 Q1885093 Q149805
(c(Q7275),P122,c(Q1048835)|c(Q7275))
action count
action less
action union
action find_tuple_counts
relation P122
type Q7275
type Q1048835
action find_tuple_counts
relation P122
type Q7275
type Q7275
action count
action filter_multi_types
action find
entity Q1247508
relation P122
type Q1048835
type Q7275
[ANSWER]
[{'concept': 'Q7275'}, 'P122', [{'concept': 'Q1048835'}, {'concept': 'Q7275'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?r rdf:type ?c } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { resource:Q1247508 property:P122 ?d . { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q7275 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?h < ?v ) }
Kingdom of Serbia Republic of Serbian Krajina United States Army Military Government in Korea South Vietnam Kingdom of Mercia Astrakhan Khanate Kingdom of Israel Basutoland Polish–Lithuanian Commonwealth Travancore-Cochin Duchy of Warsaw First Mexican Empire German Empire of 1848/1849 First Brazilian Republic Kingdom of England Outer Mongolia Orange Free State Warsangali Sultanate Republic of Dahomey Republic of Saint-Malo Slovak Republic United Kingdom of Great Britain and Ireland Coalition Provisional Authority Kingdom of Kartli-Kakheti Stellaland Portuguese Mozambique Judah Nieuwe Republiek Delhi Sultanate Roman Kingdom Aro Confederacy Tanganyika Roman Republic Democratic Kampuchea Trucial States Nova Roma Kingdom of Croatia-Slavonia Gay and Lesbian Kingdom of the Coral Sea Islands Yamhad Kingdom of Glywysing Principality of Serbia First East Turkestan Republic Grand Duchy of Avram Kingdom of Greece Khanate of Sibir Second East Turkestan Republic Nogai Horde Ahom kingdom Liberland Crown of Aragon Czech and Slovak Federal Republic Bourbon Restoration Kingdom of Valencia Federation of South Arabia Dominion of Pakistan Transcaucasian Socialist Federative Soviet Republic Austrian Empire Tulunids Ukrainian Soviet Socialist Republic Kingdom of Ireland Travancore Union between Sweden and Norway Kingdom of Great Britain Akkadian empire Czechoslovakia Kingdom of Cochin Sikh Empire State of Brazil Russian Republic Kingdom of Yugoslavia Magadha Kingdom of Araucanía and Patagonia United Kingdom of Portugal, Brazil and the Algarves Ayutthaya Kingdom East Germany Hadiya Kingdom Kingdom of Poland Netherlands New Guinea Kamarupa Parthenopean Republic Kalmar Union Kingdom of Laos West Germany Republic of Maryland Republic of Hawaii Lordship of Brecknock Croatia in personal union with Hungary South African Republic People's Republic of the Congo Federation of Arab Republics Czechoslovak Socialist Republic Kingdom of Romania Kingdom of Poland Kingdom of Bulgaria Ag Qoyunlu Bavaria West Indies Federation Lydenburg Republic Kingdom of Bosnia Karabakh Khanate Islamic Courts Union Republic of Saugeais Kingdom of Egypt Serbia and Montenegro Pskov Republic Gold Coast Rustamid dynasty Murrawarri Republic Free Republic of Wendland Kingdom of Italy Independent State of Croatia Kingdom of Funan Kugelmugel Grand Duchy of Flandrensis Chechen Republic of Ichkeria Democratic Federal Yugoslavia Khanate of Kazan Kingdom of Rheged Principality of Kiev Slovak Soviet Republic Kuru Kingdom Kingdom of Bernicia Grand Duchy of Lithuania Commonwealth of England Lu Upingtonia Mongol Empire Kingdom of Seisyllwg Saar Protectorate United Kingdom of the Netherlands Cossack Hetmanate Lordship of Ireland United States of Stellaland Yemen Arab Republic Kingdom of Galicia Abyssinia Kingdom of Sarawak Kingdom of Saxony West Pakistan Kingdom of Nepal Almoravid dynasty Second French Empire Federation of Malaya Soviet Union Islands of Refreshment Grand Duchy of Würzburg Serbian Empire Kingdom of Castile Provisional Government of the Republic of Korea Muscat and Oman Habsburg Spain Dutch Republic Imperial Throne People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Islamic State of Afghanistan Couto Misto Thonburi Kingdom Papal States Libyan Arab Jamahiriya Mongolian People's Republic Kingdom of Morgannwg Kingdom of León Second Brazilian Republic Sultanate of Sulu Nazi Germany Kingdom of Bohemia United Arab Republic Chagatai Khanate Adal Sultanate Kingdom of Afghanistan Kingdom of Dyfed Kingdom of Prussia Klein Vrystaat Ukrainian State Arab Federation Duchy of Courland and Semigallia Manchukuo Republic of Siena Kingdom of Israel People's Democratic Republic of Ethiopia Estado Novo Ifat Sultanate Colonial Brazil Sultanate of Maguindanao Central African Empire Kingdom of Burundi South Yemen Duchy of Brittany Kingdom of Finland Septinsular Republic Enlightenment in Spain Lithuanian Soviet Socialist Republic Crown of Castile Kingdom of Nicoya Kaluga Soviet Republic Kingdom of Aragon Kingdom of Bavaria Khoshut Khanate Principality of Sealand division of Korea Dominion of India Dacia People's Republic of Bulgaria Principality of Lower Pannonia Prussia Republic of Venice Aerican Empire State of the Teutonic Order People's Republic of Hungary Italian Social Republic Hyderabad State Kruševo Republic Kingdom of France Parthian Empire Goshen (South Africa) Talossa Marinid dynasty Protectorate of South Arabia Orange River Colony Holy Roman Empire People's Republic of Poland Tanganyika Territory Hammadid dynasty Realm of Stefan Dragutin Zaire Principality of Wy Free Territory of Trieste Lithuanian Soviet Socialist Republic Khmer Republic Natalia Republic Argentine Confederation Republic of Molossia Brandenburg-Prussia Islamic Emirate of Afghanistan Republic of Rose Island Kingdom of Mysore United States of Colombia Colony and Protectorate of Nigeria Weimar Republic Hafsid dynasty Republic of Upper Volta Democratic Republic of Azerbaijan Russian Soviet Federative Socialist Republic Kingdom of Ceredigion Mahra Sultanate Kingdom of Iraq
248
action count
action less
action union
action find_tuple_counts
relation basic form of government
type state
type political territorial entity
action find_tuple_counts
relation basic form of government
type state
type state
action count
action filter_multi_types
action find
entity Domain of Soissons
relation basic form of government
type political territorial entity
type state
[{'concept': 'state'}, 'basic form of government', [{'concept': 'political territorial entity'}, {'concept': 'state'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?r rdf:type ?c } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { resource:Domain_of_Soissons property:basic_form_of_government ?d . { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:state ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?h < ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36704
P47
Q15617994
USER
Which administrative territories are adjacent to Yugoslavia ?
(Q36704,P47,c(Q15617994))
action filter_type
action find
entity Q36704
relation P47
type Q15617994
['Q36704', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q36704 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Yugoslavia
action filter_type
action find
entity Yugoslavia
relation shares border with
type designation for an administrative territorial entity
['Yugoslavia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Yugoslavia property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q218 Q41
SYSTEM
Italy, Romania, Greece
Q222 Q41 Q218 Q219 Q28 Q38
(Q36704,P47,c(Q15617994))
action filter_type
action find
entity Q36704
relation P47
type Q15617994
[ANSWERS] are adjacent to Yugoslavia
['Q36704', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q36704 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Albania Greece Romania Bulgaria Hungary Italy
Italy, Romania and Greece are adjacent to Yugoslavia
Italy Romania Greece
action filter_type
action find
entity Yugoslavia
relation shares border with
type designation for an administrative territorial entity
['Yugoslavia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Yugoslavia property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q93253
Q15617994
USER
And what about Kubschütz?
(Q93253,P47,c(Q15617994))
action filter_type
action find
entity Q93253
relation P47
type Q15617994
['Q93253', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q93253 property:P47 ?h . ?h rdf:type ontology:Q15617994 }
Kubschütz
action filter_type
action find
entity Kubschütz
relation shares border with
type designation for an administrative territorial entity
['Kubschütz', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kubschütz property:shares_border_with ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q81753 Q93260 Q93240
SYSTEM
Weißenberg, Malschwitz, Großpostwitz
Q93260 Q93225 Q81753 Q93240 Q93248
(Q93253,P47,c(Q15617994))
action filter_type
action find
entity Q93253
relation P47
type Q15617994
[ANSWERS]
['Q93253', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q93253 property:P47 ?h . ?h rdf:type ontology:Q15617994 }
Malschwitz Cunewalde Weißenberg Großpostwitz Hochkirch
Weißenberg Malschwitz Großpostwitz
action filter_type
action find
entity Kubschütz
relation shares border with
type designation for an administrative territorial entity
['Kubschütz', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kubschütz property:shares_border_with ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]