Simple Question (Direct)
Simple Question
Q15973471
P39
Q12737077
USER
What was the position held by Charles Barès ?
(Q15973471,P39,c(Q12737077))
action filter_type
action find
entity Q15973471
relation P39
type Q12737077
['Q15973471', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q15973471 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Charles Barès
action filter_type
action find
entity Charles Barès
relation position held
type occupation
['Charles Barès', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Charles_Barès property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q15973471,P39,c(Q12737077))
action filter_type
action find
entity Q15973471
relation P39
type Q12737077
The position held by Charles Barès was a member of the French National Assembly
['Q15973471', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q15973471 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by Charles Barès was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Charles Barès
relation position held
type occupation
['Charles Barès', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Charles_Barès property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P106
Q502895
USER
Who has a job as that occupation ?
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q3044918 . ?r rdf:type ontology:Q502895 }
member of the French National Assembly
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:member_of_the_French National_Assembly . ?r rdf:type ontology:common_name }
[]
common name
Q3085896
SYSTEM
François Thibault de Ménonville
Q3085896
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[ANSWER] has a job as that occupation
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q3044918 . ?r rdf:type ontology:Q502895 }
François Thibault de Ménonville
François Thibault de Ménonville has a job as that occupation
François Thibault de Ménonville
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:member_of_the_French National_Assembly . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3085896
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q3085896,P27,c(Q15617994))
action filter_type
action find
entity Q3085896
relation P27
type Q15617994
['Q3085896', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3085896 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
François Thibault de Ménonville
action filter_type
action find
entity François Thibault de Ménonville
relation country of citizenship
type designation for an administrative territorial entity
['François Thibault de Ménonville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:François_Thibault_de_Ménonville property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3085896,P27,c(Q15617994))
action filter_type
action find
entity Q3085896
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q3085896', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3085896 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
France
The France is the country of citizenship of that person
France
action filter_type
action find
entity François Thibault de Ménonville
relation country of citizenship
type designation for an administrative territorial entity
['François Thibault de Ménonville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:François_Thibault_de_Ménonville property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1702059
Q15617994
USER
And how about John W. Hulbert?
(Q1702059,P27,c(Q15617994))
action filter_type
action find
entity Q1702059
relation P27
type Q15617994
['Q1702059', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1702059 property:P27 ?c }
John W. Hulbert
action filter_type
action find
entity John W. Hulbert
relation country of citizenship
type designation for an administrative territorial entity
['John W. Hulbert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_W._Hulbert property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1702059,P27,c(Q15617994))
action filter_type
action find
entity Q1702059
relation P27
type Q15617994
[ANSWER]
['Q1702059', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1702059 property:P27 ?c }
United States of America
United States of America
action filter_type
action find
entity John W. Hulbert
relation country of citizenship
type designation for an administrative territorial entity
['John W. Hulbert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_W._Hulbert property:country_of_citizenship ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P47
Q15617994
USER
How many administrative territories have a shared border with United States of America ?
(Q30,P47,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q30 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
action count
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:United_States_of_America property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
12
Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790
(Q30,P47,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWER]
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q30 property:P47 ?u . ?u rdf:type ontology:Q15617994 }
Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti
12
action count
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:United_States_of_America property:shares_border_with ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q46297
P47
Q15617994
USER
And what about Cismon del Grappa?
(Q46297,P47,c(Q15617994))
action count
action filter_type
action find
entity Q46297
relation P47
type Q15617994
['Q46297', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q46297 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Cismon del Grappa
action count
action filter_type
action find
entity Cismon del Grappa
relation shares border with
type designation for an administrative territorial entity
['Cismon del Grappa', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Cismon_del_Grappa property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
10
Q47036 Q41020 Q46521 Q290077 Q40799 Q46878 Q46748 Q46939 Q46457 Q29381
(Q46297,P47,c(Q15617994))
action count
action filter_type
action find
entity Q46297
relation P47
type Q15617994
[ANSWER]
['Q46297', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q46297 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Crespano del Grappa Arsiè Paderno del Grappa Grigno Seren del Grappa San Nazario Valstagna Enego Pove del Grappa Borso del Grappa
10
action count
action filter_type
action find
entity Cismon del Grappa
relation shares border with
type designation for an administrative territorial entity
['Cismon del Grappa', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Cismon_del_Grappa property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q17780
Q15617994
USER
And how about Castelletto Molina?
(Q17780,P47,c(Q15617994))
action count
action filter_type
action find
entity Q17780
relation P47
type Q15617994
['Q17780', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q17780 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Castelletto Molina
action count
action filter_type
action find
entity Castelletto Molina
relation shares border with
type designation for an administrative territorial entity
['Castelletto Molina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Castelletto_Molina property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
(Q17780,P47,c(Q15617994))
action count
action filter_type
action find
entity Q17780
relation P47
type Q15617994
[ANSWER]
['Q17780', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q17780 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
4
action count
action filter_type
action find
entity Castelletto Molina
relation shares border with
type designation for an administrative territorial entity
['Castelletto Molina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Castelletto_Molina property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P530
Q15617994
USER
Which administrative territories have diplomatic relations with France ?
(Q142,P530,c(Q15617994))
action filter_type
action find
entity Q142
relation P530
type Q15617994
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q142 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
France
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:France property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
(Q142,P530,c(Q15617994))
action filter_type
action find
entity Q142
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with France
['Q142', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q142 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
Italy, Brazil and United States of America have diplomatic relations with France
Italy Brazil United States of America
action filter_type
action find
entity France
relation diplomatic relation
type designation for an administrative territorial entity
['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:France property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q145
Q15617994
USER
And how about United Kingdom?
(Q145,P530,c(Q15617994))
action filter_type
action find
entity Q145
relation P530
type Q15617994
['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?d }
United Kingdom
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?d }
[]
designation for an administrative territorial entity
Q38 Q155 Q142
SYSTEM
Italy, Brazil, France
Q142 Q805 Q801 Q155 Q37 Q403 Q38
(Q145,P530,c(Q15617994))
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWERS]
['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q145 property:P530 ?d }
France Yemen Israel Brazil Lithuania Serbia Italy
Italy Brazil France
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q16
P530
Q15617994
USER
How many administrative territories have diplomatic associations with Brazil and Canada ?
(c(Q15617994),P530,Q155) (c(Q15617994),P530,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q155
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q16
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q155'] [{'concept': 'Q15617994'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:Q15617994 . ?j property:P530 resource:Q155 . ?j property:P530 resource:Q16 . ?j rdf:type ontology:Q15617994 }
Brazil Canada
action count
action intersection
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation resource:Brazil . ?j property:diplomatic_relation resource:Canada . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
18
Q739 Q212 Q423 Q230 Q953 Q801 Q145 Q843 Q1029 Q30 Q252 Q36 Q79 Q77 Q159 Q38 Q258 Q43
(c(Q15617994),P530,Q155) (c(Q15617994),P530,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q155
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q155'] [{'concept': 'Q15617994'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:Q15617994 . ?j property:P530 resource:Q155 . ?j property:P530 resource:Q16 . ?j rdf:type ontology:Q15617994 }
Colombia Ukraine North Korea Georgia Zambia Israel United Kingdom Pakistan Mozambique United States of America Indonesia Poland Egypt Uruguay Russia Italy South Africa Turkey
18
action count
action intersection
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation resource:Brazil . ?j property:diplomatic_relation resource:Canada . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q37
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with less number of administrative territories than Lithuania ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q37 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?w ) WHERE { ?z rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?z property:P530 ?n } GROUP BY ?z } }
Lithuania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Lithuania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Lithuania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?w ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?n } GROUP BY ?z } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q96
SYSTEM
Netherlands, Poland, Mexico
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[ANSWERS] have tactful political relations with less number of administrative territories than Lithuania
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q37 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?w ) WHERE { ?z rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?z property:P530 ?n } GROUP BY ?z } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and Mexico have tactful political relations with less number of administrative territories than Lithuania
Netherlands Poland Mexico
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Lithuania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Lithuania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?w ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?n } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1011
P530
Q15617994 Q15617994
USER
And also tell me about Cape Verde?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1011
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:P530 ?u . ?g rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q1011 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?l < ?w ) }
Cape Verde
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cape Verde
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:diplomatic_relation ?u . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Cape_Verde property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l < ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q145
SYSTEM
Netherlands, Poland, United Kingdom
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1011
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:P530 ?u . ?g rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q1011 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?l < ?w ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands Poland United Kingdom
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cape Verde
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:diplomatic_relation ?u . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Cape_Verde property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l < ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with around 53 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 53
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?q ) WHERE { ?b property:P530 ?d . ?b rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?q = 53 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?q ) WHERE { ?b property:diplomatic_relation ?d . ?b rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?q = 53 ) }
[]
designation for an administrative territorial entity political territorial entity
Q16
SYSTEM
Canada
Q16
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 53
[ANSWER] have tactful political relations with around 53 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?q ) WHERE { ?b property:P530 ?d . ?b rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?q = 53 ) }
Canada
Canada have tactful political relations with around 53 administrative territories
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?q ) WHERE { ?b property:diplomatic_relation ?d . ?b rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?q = 53 ) }
[]