Simple Question (Direct)
Simple Question
Q22669668
P1344
Q167170
USER
What did William Koskei participate in ?
(Q22669668,P1344,c(Q167170))
action filter_type
action find
entity Q22669668
relation P1344
type Q167170
['Q22669668', 'P1344', {'concept': 'Q167170'}]
SELECT DISTINCT ?j WHERE { resource:Q22669668 property:P1344 ?j . ?j rdf:type ontology:Q167170 }
William Koskei
action filter_type
action find
entity William Koskei
relation participant of
type multi-sport event
['William Koskei', 'participant of', {'concept': 'multi-sport event'}]
SELECT DISTINCT ?j WHERE { resource:William_Koskei property:participant_of ?j . ?j rdf:type ontology:multi-sport_event }
[]
multi-sport event
Q1210644
SYSTEM
1973 All-Africa Games
Q1210644
(Q22669668,P1344,c(Q167170))
action filter_type
action find
entity Q22669668
relation P1344
type Q167170
William Koskei participated in [ANSWER]
['Q22669668', 'P1344', {'concept': 'Q167170'}]
SELECT DISTINCT ?j WHERE { resource:Q22669668 property:P1344 ?j . ?j rdf:type ontology:Q167170 }
1973 All-Africa Games
William Koskei participated in 1973 All-Africa Games
1973 All-Africa Games
action filter_type
action find
entity William Koskei
relation participant of
type multi-sport event
['William Koskei', 'participant of', {'concept': 'multi-sport event'}]
SELECT DISTINCT ?j WHERE { resource:William_Koskei property:participant_of ?j . ?j rdf:type ontology:multi-sport_event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1594245 Q22669668
P27
Q15617994
USER
Which administrative territories are the native countriesof William Koskei or Stefan Ledóchowski ?
OR((Q22669668,P27,c(Q15617994)), (Q1594245,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22669668
relation P27
action find
entity Q1594245
relation P27
type Q15617994
{'OR': [['Q22669668', 'P27', {'concept': 'Q15617994'}], ['Q1594245', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?m ) { ( resource:Q22669668 ) ( resource:Q1594245 ) } . ?m property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Stefan Ledóchowski William Koskei
action filter_type
action union
action find
entity William Koskei
relation country of citizenship
action find
entity Stefan Ledóchowski
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William Koskei', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Stefan Ledóchowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?m ) { ( resource:William_Koskei ) ( resource:Stefan_Ledóchowski ) } . ?m property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q114 Q36
SYSTEM
Uganda, Kenya, Poland
Q1036 Q114 Q36
OR((Q22669668,P27,c(Q15617994)), (Q1594245,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22669668
relation P27
action find
entity Q1594245
relation P27
type Q15617994
[ANSWERS] are the native countriesof William Koskei or Stefan Ledóchowski
{'OR': [['Q22669668', 'P27', {'concept': 'Q15617994'}], ['Q1594245', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?m ) { ( resource:Q22669668 ) ( resource:Q1594245 ) } . ?m property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Uganda Kenya Poland
Uganda, Kenya and Poland are the native countriesof William Koskei or Stefan Ledóchowski
Uganda Kenya Poland
action filter_type
action union
action find
entity William Koskei
relation country of citizenship
action find
entity Stefan Ledóchowski
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William Koskei', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Stefan Ledóchowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?m ) { ( resource:William_Koskei ) ( resource:Stefan_Ledóchowski ) } . ?m property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1036 Q114 Q36
P463
Q43229
USER
Which organizations were those administrative territories a member of ?
(Q1036,P463,c(Q43229)) (Q114,P463,c(Q43229)) (Q36,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q1036', 'P463', {'concept': 'Q43229'}] ['Q114', 'P463', {'concept': 'Q43229'}] ['Q36', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . ?w property:P463 ?z . VALUES ( ?w ) { ( resource:Q1036 ) ( resource:Q114 ) ( resource:Q36 ) } }
Uganda Kenya Poland
action filter_type
action find
entity prev_answer
relation member of
type organization
['Uganda', 'member of', {'concept': 'organization'}] ['Kenya', 'member of', {'concept': 'organization'}] ['Poland', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . ?w property:member_of ?z . VALUES ( ?w ) { ( resource:Uganda ) ( resource:Kenya ) ( resource:Poland ) } }
[]
organization
Q7809 Q7825 Q7825
SYSTEM
United Nations Educational, Scientific and Cultural Organization for 1st, World Trade Organization for 2nd, 3rd
Q340195 Q191384 Q899770 Q656801 Q7825 Q827525 Q340195 Q191384 Q899770 Q656801 Q7825 Q827525 Q191384 Q41550 Q7809 Q7825 Q177773 Q656801 Q827525
(Q1036,P463,c(Q43229)) (Q114,P463,c(Q43229)) (Q36,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q1036', 'P463', {'concept': 'Q43229'}] ['Q114', 'P463', {'concept': 'Q43229'}] ['Q36', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . ?w property:P463 ?z . VALUES ( ?w ) { ( resource:Q1036 ) ( resource:Q114 ) ( resource:Q36 ) } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation World Trade Organization International Development Association International Bank for Reconstruction and Development Organisation for Economic Co-operation and Development United Nations Educational, Scientific and Cultural Organization World Trade Organization World Intellectual Property Organization International Finance Corporation International Development Association
United Nations Educational, Scientific and Cultural Organization, World Trade Organization and World Trade Organization were those administrative territories a member of
United Nations Educational, Scientific and Cultural Organization World Trade Organization World Trade Organization
action filter_type
action find
entity prev_answer
relation member of
type organization
['Uganda', 'member of', {'concept': 'organization'}] ['Kenya', 'member of', {'concept': 'organization'}] ['Poland', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . ?w property:member_of ?z . VALUES ( ?w ) { ( resource:Uganda ) ( resource:Kenya ) ( resource:Poland ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1594245
P106
Q12737077
USER
What is the job of Stefan Ledóchowski ?
(Q1594245,P106,c(Q12737077))
action filter_type
action find
entity Q1594245
relation P106
type Q12737077
['Q1594245', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1594245 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Stefan Ledóchowski
action filter_type
action find
entity Stefan Ledóchowski
relation occupation
type occupation
['Stefan Ledóchowski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Stefan_Ledóchowski property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q193391
SYSTEM
diplomat
Q193391
(Q1594245,P106,c(Q12737077))
action filter_type
action find
entity Q1594245
relation P106
type Q12737077
The job of Stefan Ledóchowski is a [ANSWER]
['Q1594245', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1594245 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
diplomat
The job of Stefan Ledóchowski is a diplomat
diplomat
action filter_type
action find
entity Stefan Ledóchowski
relation occupation
type occupation
['Stefan Ledóchowski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Stefan_Ledóchowski property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q832152 Q114
P47 P530
Q1048835
USER
Which political territories have diplomatic relationships with Kenya or are bordered by Ciria ?
OR((Q114,P530,c(Q1048835)), (Q832152,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q114
relation P530
action find
entity Q832152
relation P47
type Q1048835
{'OR': [['Q114', 'P530', {'concept': 'Q1048835'}], ['Q832152', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q832152 property:P47 ?w } UNION { resource:Q114 property:P530 ?w } } . ?w rdf:type ontology:Q1048835 }
Ciria Kenya
action filter_type
action union
action find
entity Kenya
relation diplomatic relation
action find
entity Ciria
relation shares border with
type political territorial entity
{'OR': [['Kenya', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Ciria', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Ciria property:shares_border_with ?w } UNION { resource:Kenya property:diplomatic_relation ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q835537 Q40 Q183 Q266342 Q834322 Q408 Q831935 Q1650569 Q1639206 Q834312
SYSTEM
Reznos, Austria, Germany, Pomer, Noviercas, Australia, Borobia, Malanquilla, Torrelapaja, Torrubia de Soria
Q835537 Q40 Q183 Q266342 Q834322 Q408 Q831935 Q1650569 Q1639206 Q834312
OR((Q114,P530,c(Q1048835)), (Q832152,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q114
relation P530
action find
entity Q832152
relation P47
type Q1048835
[ANSWERS] have diplomatic relationships with Kenya or are bordered by Ciria
{'OR': [['Q114', 'P530', {'concept': 'Q1048835'}], ['Q832152', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q832152 property:P47 ?w } UNION { resource:Q114 property:P530 ?w } } . ?w rdf:type ontology:Q1048835 }
Reznos Austria Germany Pomer Noviercas Australia Borobia Malanquilla Torrelapaja Torrubia de Soria
Reznos, Austria, Germany, Pomer, Noviercas, Australia, Borobia, Malanquilla, Torrelapaja and Torrubia de Soria have diplomatic relationships with Kenya or are bordered by Ciria
Reznos Austria Germany Pomer Noviercas Australia Borobia Malanquilla Torrelapaja Torrubia de Soria
action filter_type
action union
action find
entity Kenya
relation diplomatic relation
action find
entity Ciria
relation shares border with
type political territorial entity
{'OR': [['Kenya', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Ciria', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Ciria property:shares_border_with ?w } UNION { resource:Kenya property:diplomatic_relation ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1001
Q12737077
USER
How many occupations have control over the jurisdiction of that political territory ?
(c(Q12737077),P1001,Q835537)
[{'concept': 'Q12737077'}, 'P1001', 'Q835537']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1001 resource:Q835537 . ?z rdf:type ontology:Q528892 }
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Reznos']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:applies_to_jurisdiction resource:Reznos . ?z rdf:type ontology:occupation }
[]
occupation
Quantitative|Count|Single entity type|Clarification
Q183
SYSTEM
Did you mean Germany ?
(c(Q12737077),P1001,Q835537) (c(Q12737077),P1001,Q40) (c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q266342) (c(Q12737077),P1001,Q834322) (c(Q12737077),P1001,Q408) (c(Q12737077),P1001,Q831935) (c(Q12737077),P1001,Q1650569) (c(Q12737077),P1001,Q1639206) (c(Q12737077),P1001,Q834312)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q835537'] [{'concept': 'Q12737077'}, 'P1001', 'Q40'] [{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q266342'] [{'concept': 'Q12737077'}, 'P1001', 'Q834322'] [{'concept': 'Q12737077'}, 'P1001', 'Q408'] [{'concept': 'Q12737077'}, 'P1001', 'Q831935'] [{'concept': 'Q12737077'}, 'P1001', 'Q1650569'] [{'concept': 'Q12737077'}, 'P1001', 'Q1639206'] [{'concept': 'Q12737077'}, 'P1001', 'Q834312']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1001 resource:Q835537 . ?z rdf:type ontology:Q528892 }
Did you mean Germany ?
Germany
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Reznos'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Austria'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Pomer'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Noviercas'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Australia'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Borobia'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Malanquilla'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Torrelapaja'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Torrubia de Soria']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:applies_to_jurisdiction resource:Reznos . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Reznos. Could you tell me the answer for that?
(c(Q12737077),P1001,Q835537)
Q835537
[{'concept': 'Q12737077'}, 'P1001', 'Q835537']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Reznos']
[]
SYSTEM
1
Q26700794
(c(Q12737077),P1001,Q835537)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q835537']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1001 resource:Q835537 . ?z rdf:type ontology:Q528892 }
mayor of Reznos
1
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Reznos']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:applies_to_jurisdiction resource:Reznos . ?z rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q668
P17
Q15617994 Q13406554 Q838948
USER
Which administrative territories are less number of sport competitions or works of art a part of than India ?
(c(Q13406554)|c(Q838948),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13406554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q668
relation P17
type Q13406554
type Q838948
[[{'concept': 'Q13406554'}, {'concept': 'Q838948'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?a ) WHERE { { ?n property:P17 ?y . ?y rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P17 ?y . ?y rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q13406554 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P17 resource:Q668 . { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:Q13406554 ) ( ontology:Q838948 ) } } } } . FILTER ( ?a < ?m ) }
India
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sport competition
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity India
relation country
type sport competition
type work of art
[[{'concept': 'sport competition'}, {'concept': 'work of art'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?a ) WHERE { { ?n property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:work_of_art } UNION { ?n property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:sport_competition } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:country resource:India . { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:sport_competition ) ( ontology:work_of_art ) } } } } . FILTER ( ?a < ?m ) }
[]
designation for an administrative territorial entity sport competition work of art
Q230 Q953 Q148
SYSTEM
Georgia, Zambia, People's Republic of China
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q270508 Q684030 Q2172530 Q414 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q399 Q1462 Q403 Q657 Q45 Q43 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q921 Q924 Q928 Q155019 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q221 Q815731 Q47261 Q96 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q13406554)|c(Q838948),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13406554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q668
relation P17
type Q13406554
type Q838948
[ANSWERS] are less number of sport competitions or works of art a part of than India
[[{'concept': 'Q13406554'}, {'concept': 'Q838948'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?a ) WHERE { { ?n property:P17 ?y . ?y rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P17 ?y . ?y rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q13406554 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P17 resource:Q668 . { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:Q13406554 ) ( ontology:Q838948 ) } } } } . FILTER ( ?a < ?m ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Argentina Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Armenia Sardinia Serbia Chad Portugal Turkey El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Brunei Tanzania Philippines Duchy of Lorraine Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
Georgia, Zambia and People's Republic of China are less number of sport competitions or works of art a part of than India
Georgia Zambia People's Republic of China
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sport competition
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity India
relation country
type sport competition
type work of art
[[{'concept': 'sport competition'}, {'concept': 'work of art'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?a ) WHERE { { ?n property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:work_of_art } UNION { ?n property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:sport_competition } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:country resource:India . { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:sport_competition ) ( ontology:work_of_art ) } } } } . FILTER ( ?a < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q869
P17
Q15617994 Q13406554 Q838948
USER
And what about Thailand?
(c(Q13406554)|c(Q838948),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13406554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q869
relation P17
type Q13406554
type Q838948
[[{'concept': 'Q13406554'}, {'concept': 'Q838948'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P17 resource:Q869 . { VALUES ( ?v ) { ( ontology:Q13406554 ) ( ontology:Q838948 ) } . ?n rdf:type ?v } } } . FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?l WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q13406554 ) ( ontology:Q838948 ) } } GROUP BY ?l } }
Thailand
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sport competition
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Thailand
relation country
type sport competition
type work of art
[[{'concept': 'sport competition'}, {'concept': 'work of art'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:country resource:Thailand . { VALUES ( ?v ) { ( ontology:sport_competition ) ( ontology:work_of_art ) } . ?n rdf:type ?v } } } . FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?l WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:sport_competition ) ( ontology:work_of_art ) } } GROUP BY ?l } }
[]
designation for an administrative territorial entity sport competition work of art
Q230 Q953 Q801
SYSTEM
Georgia, Zambia, Israel
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q270508 Q684030 Q2172530 Q414 Q12536 Q262 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q399 Q1462 Q403 Q657 Q45 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q986 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q921 Q924 Q155019 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q238 Q1045 Q1044 Q1042 Q1041 Q27 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q221 Q815731 Q47261 Q347 Q1050 Q977 Q704288 Q10957559 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q829700 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q426025 Q953
(c(Q13406554)|c(Q838948),P17,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13406554
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q869
relation P17
type Q13406554
type Q838948
[ANSWERS]
[[{'concept': 'Q13406554'}, {'concept': 'Q838948'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P17 resource:Q869 . { VALUES ( ?v ) { ( ontology:Q13406554 ) ( ontology:Q838948 ) } . ?n rdf:type ?v } } } . FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?l WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:Q13406554 ) ( ontology:Q838948 ) } } GROUP BY ?l } }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Argentina Abbasid caliphate Algeria Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Armenia Sardinia Serbia Chad Portugal El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Eritrea Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Brunei Tanzania Duchy of Lorraine North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan San Marino Somalia Sierra Leone Seychelles Senegal Ireland developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Liechtenstein Swaziland Djibouti Duchy of Holstein Moldavia Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Saxe-Jena Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Duchy of Savoy Zambia
Georgia Zambia Israel
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type sport competition
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Thailand
relation country
type sport competition
type work of art
[[{'concept': 'sport competition'}, {'concept': 'work of art'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:country resource:Thailand . { VALUES ( ?v ) { ( ontology:sport_competition ) ( ontology:work_of_art ) } . ?n rdf:type ?v } } } . FILTER ( ?f < ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) ?l WHERE { ?t rdf:type ?k . VALUES ( ?k ) { ( ontology:sport_competition ) ( ontology:work_of_art ) } } GROUP BY ?l } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1601802
P530
Q1048835
USER
Do Blasconuño de Matacabras have diplomatic associations with those administrative territories ?
(Q1601802,P530,Q230) (Q1601802,P530,Q953) (Q1601802,P530,Q801)
action is_in
entity prev_answer
action find
entity Q1601802
relation P530
['Q1601802', 'P530', 'Q230'] ['Q1601802', 'P530', 'Q953'] ['Q1601802', 'P530', 'Q801']
ASK WHERE { VALUES ( ?t ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q1601802 property:P530 ?t }
Blasconuño de Matacabras
action is_in
entity prev_answer
action find
entity Blasconuño de Matacabras
relation diplomatic relation
['Blasconuño de Matacabras', 'diplomatic relation', 'Georgia'] ['Blasconuño de Matacabras', 'diplomatic relation', 'Zambia'] ['Blasconuño de Matacabras', 'diplomatic relation', 'Israel']
ASK WHERE { VALUES ( ?t ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } . resource:Blasconuño_de_Matacabras property:diplomatic_relation ?t }
[]
political territorial entity
SYSTEM
NO
(Q1601802,P530,Q230) (Q1601802,P530,Q953) (Q1601802,P530,Q801)
action is_in
entity prev_answer
action find
entity Q1601802
relation P530
[ANSWER]
['Q1601802', 'P530', 'Q230'] ['Q1601802', 'P530', 'Q953'] ['Q1601802', 'P530', 'Q801']
ASK WHERE { VALUES ( ?t ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q1601802 property:P530 ?t }
No
action is_in
entity prev_answer
action find
entity Blasconuño de Matacabras
relation diplomatic relation
['Blasconuño de Matacabras', 'diplomatic relation', 'Georgia'] ['Blasconuño de Matacabras', 'diplomatic relation', 'Zambia'] ['Blasconuño de Matacabras', 'diplomatic relation', 'Israel']
ASK WHERE { VALUES ( ?t ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } . resource:Blasconuño_de_Matacabras property:diplomatic_relation ?t }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1036 Q1941164 Q1113519
P530
Q1048835
USER
Does Uganda have ambassadorial relations with Jurema, Piauí and Armiñón ?
(Q1036,P530,Q1941164) (Q1036,P530,Q1113519)
action is_in
entity Q1036
action intersection
action find_reverse
entity Q1941164
relation P530
action find_reverse
entity Q1113519
relation P530
['Q1036', 'P530', 'Q1941164'] ['Q1036', 'P530', 'Q1113519']
ASK WHERE { resource:Q1036 property:P530 resource:Q1113519 . resource:Q1036 property:P530 resource:Q1941164 }
Uganda Jurema, Piauí Armiñón
action is_in
entity Uganda
action intersection
action find_reverse
entity Jurema, Piauí
relation diplomatic relation
action find_reverse
entity Armiñón
relation diplomatic relation
['Uganda', 'diplomatic relation', 'Jurema, Piauí'] ['Uganda', 'diplomatic relation', 'Armiñón']
ASK WHERE { resource:Uganda property:diplomatic_relation resource:Armiñón . resource:Uganda property:diplomatic_relation resource:Jurema,_Piauí }
[]
political territorial entity
SYSTEM
NO
(Q1036,P530,Q1941164) (Q1036,P530,Q1113519)
action is_in
entity Q1036
action intersection
action find_reverse
entity Q1941164
relation P530
action find_reverse
entity Q1113519
relation P530
[ANSWER]
['Q1036', 'P530', 'Q1941164'] ['Q1036', 'P530', 'Q1113519']
ASK WHERE { resource:Q1036 property:P530 resource:Q1113519 . resource:Q1036 property:P530 resource:Q1941164 }
No
action is_in
entity Uganda
action intersection
action find_reverse
entity Jurema, Piauí
relation diplomatic relation
action find_reverse
entity Armiñón
relation diplomatic relation
['Uganda', 'diplomatic relation', 'Jurema, Piauí'] ['Uganda', 'diplomatic relation', 'Armiñón']
ASK WHERE { resource:Uganda property:diplomatic_relation resource:Armiñón . resource:Uganda property:diplomatic_relation resource:Jurema,_Piauí }
[]