Simple Question (Direct)
Simple Question
Q16289
P36
Q56061
USER
Which administrative territory is known as the capital of Trentino ?
(Q16289,P36,c(Q56061))
action filter_type
action find
entity Q16289
relation P36
type Q56061
['Q16289', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q16289 property:P36 ?h . ?h rdf:type ontology:Q56061 }
Trentino
action filter_type
action find
entity Trentino
relation capital
type administrative territorial entity
['Trentino', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Trentino property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3376
SYSTEM
Trento
Q3376
(Q16289,P36,c(Q56061))
action filter_type
action find
entity Q16289
relation P36
type Q56061
As [ANSWER] is known as the capital of Trentino
['Q16289', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q16289 property:P36 ?h . ?h rdf:type ontology:Q56061 }
Trento
As Trento is known as the capital of Trentino
Trento
action filter_type
action find
entity Trentino
relation capital
type administrative territorial entity
['Trentino', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Trentino property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3376
P276
Q15275719
USER
Which recurring event is located at that administrative territory ?
(c(Q15275719),P276,Q3376)
action filter_type
action find_reverse
entity Q3376
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q3376']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q3376 . ?l rdf:type ontology:Q15275719 }
Trento
action filter_type
action find_reverse
entity Trento
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Trento']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Trento . ?l rdf:type ontology:recurring_event }
[]
recurring event
Q3998397
SYSTEM
Trento Film Festival
Q3998397
(c(Q15275719),P276,Q3376)
action filter_type
action find_reverse
entity Q3376
relation P276
type Q15275719
[ANSWER] is located at that administrative territory
[{'concept': 'Q15275719'}, 'P276', 'Q3376']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q3376 . ?l rdf:type ontology:Q15275719 }
Trento Film Festival
Trento Film Festival is located at that administrative territory
Trento Film Festival
action filter_type
action find_reverse
entity Trento
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Trento']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Trento . ?l rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3998397
P17
Q15617994
USER
Which administrative territory is that recurring event a part of ?
(Q3998397,P17,c(Q15617994))
action filter_type
action find
entity Q3998397
relation P17
type Q15617994
['Q3998397', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3998397 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Trento Film Festival
action filter_type
action find
entity Trento Film Festival
relation country
type designation for an administrative territorial entity
['Trento Film Festival', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Trento_Film_Festival property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3998397,P17,c(Q15617994))
action filter_type
action find
entity Q3998397
relation P17
type Q15617994
[ANSWER] is that recurring event a part of
['Q3998397', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3998397 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Italy
Italy is that recurring event a part of
Italy
action filter_type
action find
entity Trento Film Festival
relation country
type designation for an administrative territorial entity
['Trento Film Festival', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Trento_Film_Festival property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(Q38,P47,c(Q15617994))
action filter_type
action find
entity Q38
relation P47
type Q15617994
['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q38 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Italy
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Italy property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q39 Q215
SYSTEM
France, Switzerland, Slovenia
Q142 Q39 Q238 Q215
(Q38,P47,c(Q15617994))
action filter_type
action find
entity Q38
relation P47
type Q15617994
[ANSWERS] are bordered by that one
['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q38 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
France Switzerland San Marino Slovenia
France, Switzerland and Slovenia are bordered by that one
France Switzerland Slovenia
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Italy property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q215
P710
Q198
USER
Which war has that administrative territory as its participant ?
(c(Q198),P710,Q215)
action filter_type
action find_reverse
entity Q215
relation P710
type Q198
[{'concept': 'Q198'}, 'P710', 'Q215']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q215 . ?v rdf:type ontology:Q198 }
Slovenia
action filter_type
action find_reverse
entity Slovenia
relation participant
type war
[{'concept': 'war'}, 'participant', 'Slovenia']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:Slovenia . ?v rdf:type ontology:war }
[]
war
Clarification for simple ques.
Q39
SYSTEM
Did you mean Switzerland ?
Q142 Q39 Q215
(c(Q198),P710,Q142) (c(Q198),P710,Q39) (c(Q198),P710,Q215)
[ANSWER]
[{'concept': 'Q198'}, 'P710', 'Q142'] [{'concept': 'Q198'}, 'P710', 'Q39'] [{'concept': 'Q198'}, 'P710', 'Q215']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q215 . ?v rdf:type ontology:Q198 }
France Switzerland Slovenia
Did you mean Switzerland ?
Switzerland
[{'concept': 'war'}, 'participant', 'France'] [{'concept': 'war'}, 'participant', 'Switzerland'] [{'concept': 'war'}, 'participant', 'Slovenia']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:Slovenia . ?v rdf:type ontology:war }
[]
Simple Question (Coreferenced)
USER
No, I meant Slovenia. Could you tell me the answer for that?
(c(Q198),P710,Q215)
Q215
[{'concept': 'Q198'}, 'P710', 'Q215']
[{'concept': 'war'}, 'participant', 'Slovenia']
[]
Q163883
SYSTEM
Ten-Day War
Q163883
(c(Q198),P710,Q215)
action filter_type
action find_reverse
entity Q215
relation P710
type Q198
[ANSWER] has that administrative territory as its participant
[{'concept': 'Q198'}, 'P710', 'Q215']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q215 . ?v rdf:type ontology:Q198 }
Ten-Day War
Ten-Day War has that administrative territory as its participant
Ten-Day War
action filter_type
action find_reverse
entity Slovenia
relation participant
type war
[{'concept': 'war'}, 'participant', 'Slovenia']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:Slovenia . ?v rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163883
P1542
Q131569
USER
Which treaty is the effect of that war ?
(Q163883,P1542,c(Q131569))
action filter_type
action find
entity Q163883
relation P1542
type Q131569
['Q163883', 'P1542', {'concept': 'Q131569'}]
SELECT DISTINCT ?l WHERE { resource:Q163883 property:P1542 ?l . ?l rdf:type ontology:Q131569 }
Ten-Day War
action filter_type
action find
entity Ten-Day War
relation cause of
type treaty
['Ten-Day War', 'cause of', {'concept': 'treaty'}]
SELECT DISTINCT ?l WHERE { resource:Ten-Day_War property:cause_of ?l . ?l rdf:type ontology:treaty }
[]
treaty
Q917606
SYSTEM
Brioni Agreement
Q917606
(Q163883,P1542,c(Q131569))
action filter_type
action find
entity Q163883
relation P1542
type Q131569
The [ANSWER] is the effect of that war
['Q163883', 'P1542', {'concept': 'Q131569'}]
SELECT DISTINCT ?l WHERE { resource:Q163883 property:P1542 ?l . ?l rdf:type ontology:Q131569 }
Brioni Agreement
The Brioni Agreement is the effect of that war
Brioni Agreement
action filter_type
action find
entity Ten-Day War
relation cause of
type treaty
['Ten-Day War', 'cause of', {'concept': 'treaty'}]
SELECT DISTINCT ?l WHERE { resource:Ten-Day_War property:cause_of ?l . ?l rdf:type ontology:treaty }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q14660 Q11204
USER
Which administrative territories come under the jurisdiction of min number of flags and legislatures ?
(c(Q14660)|c(Q11204),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
[[{'concept': 'Q14660'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?l WHERE { { ?k rdf:type ontology:Q14660 . ?l rdf:type ontology:Q15617994 . ?k property:P1001 ?l } UNION { ?k property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q11204 } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?i WHERE { { ?n property:P1001 ?i . ?n rdf:type ontology:Q14660 . ?i rdf:type ontology:Q15617994 } UNION { ?n property:P1001 ?i . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q11204 } } GROUP BY ?i } . FILTER ( ?m = ?h ) }
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
[[{'concept': 'flag'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?l WHERE { { ?k rdf:type ontology:flag . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:applies_to_jurisdiction ?l } UNION { ?k property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:legislature } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?i WHERE { { ?n property:applies_to_jurisdiction ?i . ?n rdf:type ontology:flag . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:applies_to_jurisdiction ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:legislature } } GROUP BY ?i } . FILTER ( ?m = ?h ) }
[]
designation for an administrative territorial entity flag legislature
Q2007 Q1904 Q158095
SYSTEM
Northwest Territories, Ontario, Charlottenburg-Wilmersdorf
Q701 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q2871 Q24764 Q2742 Q443815 Q50198 Q187035 Q22274206 Q1462 Q6465 Q7688 Q3097 Q158893 Q2942 Q11340 Q11343 Q2899 Q2758 Q4712 Q155019 Q163966 Q769680 Q3068 Q11323 Q1093 Q119284 Q3403547 Q2667658 Q2009 Q2007 Q1101 Q1904 Q3462133 Q1989 Q2838 Q694 Q752 Q22274534 Q11337 Q11331 Q154547 Q1216 Q2805 Q2107 Q1438 Q2380910 Q11301 Q2904 Q158095 Q775 Q776 Q770 Q773 Q772 Q158083 Q72449 Q22273285 Q129003 Q33788 Q1267638 Q329609 Q2938 Q1231
(c(Q14660)|c(Q11204),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
[ANSWERS] come under the jurisdiction of min number of flags and legislatures
[[{'concept': 'Q14660'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?l WHERE { { ?k rdf:type ontology:Q14660 . ?l rdf:type ontology:Q15617994 . ?k property:P1001 ?l } UNION { ?k property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q11204 } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?i WHERE { { ?n property:P1001 ?i . ?n rdf:type ontology:Q14660 . ?i rdf:type ontology:Q15617994 } UNION { ?n property:P1001 ?i . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q11204 } } GROUP BY ?i } . FILTER ( ?m = ?h ) }
North Holland Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Hagen municipality of the Philippines Münster Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia department of France raion Remscheid Friedrichshain-Kreuzberg Solingen Sprockhövel Wetter (Ruhr) Mülheim an der Ruhr Mönchengladbach Duchy of Burgundy Duchy of Lorraine Mitte Bornholm Loire-Atlantique Breckerfeld Limburg Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Shushary, Saint Petersburg Yukon Northwest Territories North Brabant Ontario Saxe-Coburg and Gotha Saskatchewan Oberhausen South Holland Groningen Duchy of Elbeuf Herdecke Gevelsberg duchy Piedmont Krefeld Wuppertal Campania Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf Gelderland Utrecht Friesland Overijssel Drenthe Spandau Roccarainola Duchy of Guise French Southern and Antarctic Lands New Caledonia Beloostrov Lichtenberg Leverkusen Kosovo Region
Northwest Territories, Ontario and Charlottenburg-Wilmersdorf come under the jurisdiction of min number of flags and legislatures
Northwest Territories Ontario Charlottenburg-Wilmersdorf
action argmin
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
[[{'concept': 'flag'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?l WHERE { { ?k rdf:type ontology:flag . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:applies_to_jurisdiction ?l } UNION { ?k property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:legislature } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?i WHERE { { ?n property:applies_to_jurisdiction ?i . ?n rdf:type ontology:flag . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:applies_to_jurisdiction ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:legislature } } GROUP BY ?i } . FILTER ( ?m = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q917
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Bhutan ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Q917 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?c ) }
Bhutan
action count
action approx
action find_reverse_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 Bhutan
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 ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Bhutan property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Q917 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?c ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
action find_reverse_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 Bhutan
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 ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { resource:Bhutan property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q965
P530
Q15617994 Q15617994
USER
And what about Burkina Faso?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q965
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?q = ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q965 property:P530 ?c } } }
Burkina Faso
action count
action approx
action find_reverse_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 Burkina Faso
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 ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?q = ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Burkina_Faso property:diplomatic_relation ?c } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q965
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?q = ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q965 property:P530 ?c } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Kenya 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
action find_reverse_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 Burkina Faso
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 ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?q = ?t ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Burkina_Faso property:diplomatic_relation ?c } } }
[]
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 approximately 62 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 62
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?u ) WHERE { ?t rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?t property:P530 ?s } GROUP BY ?t } . FILTER ( ?u = 62 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 62
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?u ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?s } GROUP BY ?t } . FILTER ( ?u = 62 ) }
[]
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 62
[ANSWER] have tactful political relations with approximately 62 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?u ) WHERE { ?t rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?t property:P530 ?s } GROUP BY ?t } . FILTER ( ?u = 62 ) }
Canada
Canada have tactful political relations with approximately 62 administrative territories
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 62
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?u ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?s } GROUP BY ?t } . FILTER ( ?u = 62 ) }
[]