Simple Question (Direct)
Simple Question
Q1335448
P47
Q20667921
USER
Which french administrative divisions are adjacent to Rouvillers ?
(Q1335448,P47,c(Q20667921))
action filter_type
action find
entity Q1335448
relation P47
type Q20667921
['Q1335448', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q1335448 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Rouvillers
action filter_type
action find
entity Rouvillers
relation shares border with
type type of french administrative division
['Rouvillers', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Rouvillers property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1096136 Q971018 Q1336273
SYSTEM
Estrées-Saint-Denis, Bailleul-le-Soc, Moyenneville
Q1096136 Q1095596 Q1336273 Q548136 Q971018 Q1346727 Q1089855
(Q1335448,P47,c(Q20667921))
action filter_type
action find
entity Q1335448
relation P47
type Q20667921
[ANSWERS] are adjacent to Rouvillers
['Q1335448', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q1335448 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Estrées-Saint-Denis Cressonsacq Moyenneville Grandvillers-aux-Bois Bailleul-le-Soc Hémévillers Francières
Estrées-Saint-Denis, Bailleul-le-Soc and Moyenneville are adjacent to Rouvillers
Estrées-Saint-Denis Bailleul-le-Soc Moyenneville
action filter_type
action find
entity Rouvillers
relation shares border with
type type of french administrative division
['Rouvillers', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Rouvillers property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335448
P17
Q15617994
USER
Which administrative territory is Rouvillers situated in ?
(Q1335448,P17,c(Q15617994))
action filter_type
action find
entity Q1335448
relation P17
type Q15617994
['Q1335448', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1335448 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Rouvillers
action filter_type
action find
entity Rouvillers
relation country
type designation for an administrative territorial entity
['Rouvillers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Rouvillers property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1335448,P17,c(Q15617994))
action filter_type
action find
entity Q1335448
relation P17
type Q15617994
Rouvillers is situated in [ANSWER]
['Q1335448', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1335448 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
France
Rouvillers is situated in France
France
action filter_type
action find
entity Rouvillers
relation country
type designation for an administrative territorial entity
['Rouvillers', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Rouvillers property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1096136
P36
Q20667921
USER
Which french administrative division has Estrées-Saint-Denis as its administrative centre ?
(c(Q20667921),P36,Q1096136)
action filter_type
action find_reverse
entity Q1096136
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q1096136']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q1096136 . ?u rdf:type ontology:Q20667921 }
Estrées-Saint-Denis
action filter_type
action find_reverse
entity Estrées-Saint-Denis
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Estrées-Saint-Denis']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Estrées-Saint-Denis . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q630878
SYSTEM
canton of Estrées-Saint-Denis
Q630878
(c(Q20667921),P36,Q1096136)
action filter_type
action find_reverse
entity Q1096136
relation P36
type Q20667921
The [ANSWER] has Estrées-Saint-Denis as its administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q1096136']
SELECT DISTINCT ?u WHERE { ?u property:P36 resource:Q1096136 . ?u rdf:type ontology:Q20667921 }
canton of Estrées-Saint-Denis
The canton of Estrées-Saint-Denis has Estrées-Saint-Denis as its administrative centre
canton of Estrées-Saint-Denis
action filter_type
action find_reverse
entity Estrées-Saint-Denis
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Estrées-Saint-Denis']
SELECT DISTINCT ?u WHERE { ?u property:capital resource:Estrées-Saint-Denis . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1096136
P166
Q618779
USER
Which award was received by Estrées-Saint-Denis ?
(Q1096136,P166,c(Q618779))
action filter_type
action find
entity Q1096136
relation P166
type Q618779
['Q1096136', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q1096136 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Estrées-Saint-Denis
action filter_type
action find
entity Estrées-Saint-Denis
relation award received
type award
['Estrées-Saint-Denis', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Estrées-Saint-Denis property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q1096136,P166,c(Q618779))
action filter_type
action find
entity Q1096136
relation P166
type Q618779
De [ANSWER] was received by Estrées-Saint-Denis
['Q1096136', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q1096136 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
De Croix de guerre 1914–1918 was received by Estrées-Saint-Denis
Croix de guerre 1914–1918
action filter_type
action find
entity Estrées-Saint-Denis
relation award received
type award
['Estrées-Saint-Denis', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Estrées-Saint-Denis property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1096136
P1376
Q20667921
USER
Which french administrative division has that one as its capital ?
(Q2727598,P1376,c(Q20667921))
action filter_type
action find
entity Q1096136
relation P1376
type Q20667921
['Q2727598', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1096136 property:P1376 ?y . ?y rdf:type ontology:Q20667921 }
Estrées-Saint-Denis
action filter_type
action find
entity Estrées-Saint-Denis
relation capital of
type type of french administrative division
['Croix de guerre 1914–1918', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Estrées-Saint-Denis property:capital_of ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q630878
SYSTEM
canton of Estrées-Saint-Denis
Q630878
(Q2727598,P1376,c(Q20667921))
action filter_type
action find
entity Q1096136
relation P1376
type Q20667921
The [ANSWER] has that one as its capital
['Q2727598', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q1096136 property:P1376 ?y . ?y rdf:type ontology:Q20667921 }
canton of Estrées-Saint-Denis
The canton of Estrées-Saint-Denis has that one as its capital
canton of Estrées-Saint-Denis
action filter_type
action find
entity Estrées-Saint-Denis
relation capital of
type type of french administrative division
['Croix de guerre 1914–1918', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Estrées-Saint-Denis property:capital_of ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q192350 Q17335294
USER
Which administrative territories come under the supervision of exactly 3 ministries and coats of arms ?
(c(Q192350)|c(Q17335294),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
value 3
[[{'concept': 'Q192350'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?u ) { ( ontology:Q192350 ) ( ontology:Q17335294 ) } . ?k rdf:type ?u } GROUP BY ?j } . FILTER ( ?a = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
value 3
[[{'concept': 'ministry'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?u ) { ( ontology:ministry ) ( ontology:flag_or_coat_of_arms ) } . ?k rdf:type ?u } GROUP BY ?j } . FILTER ( ?a = 3 ) }
[]
designation for an administrative territorial entity ministry flag or coat of arms
Q36 Q148 Q96
SYSTEM
Poland, People's Republic of China, Mexico
Q148 Q889 Q1965 Q218 Q36 Q96
(c(Q192350)|c(Q17335294),P1001,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
value 3
[ANSWERS] come under the supervision of exactly 3 ministries and coats of arms
[[{'concept': 'Q192350'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?u ) { ( ontology:Q192350 ) ( ontology:Q17335294 ) } . ?k rdf:type ?u } GROUP BY ?j } . FILTER ( ?a = 3 ) }
People's Republic of China Afghanistan New Brunswick Romania Poland Mexico
Poland, People's Republic of China and Mexico come under the supervision of exactly 3 ministries and coats of arms
Poland People's Republic of China Mexico
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
value 3
[[{'concept': 'ministry'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?u ) { ( ontology:ministry ) ( ontology:flag_or_coat_of_arms ) } . ?k rdf:type ?u } GROUP BY ?j } . FILTER ( ?a = 3 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Do Brazil have tactful political relations with those ones ?
(Q155,P530,Q36) (Q155,P530,Q148) (Q155,P530,Q96)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q36'] ['Q155', 'P530', 'Q148'] ['Q155', 'P530', 'Q96']
ASK WHERE { resource:Q155 property:P530 ?k . VALUES ( ?k ) { ( resource:Q148 ) ( resource:Q889 ) ( resource:Q1965 ) } }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Poland'] ['Brazil', 'diplomatic relation', "People's Republic of China"] ['Brazil', 'diplomatic relation', 'Mexico']
ASK WHERE { resource:Brazil property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:People's_Republic_of_China ) ( resource:Afghanistan ) ( resource:New_Brunswick ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q36) (Q155,P530,Q148) (Q155,P530,Q96)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q36'] ['Q155', 'P530', 'Q148'] ['Q155', 'P530', 'Q96']
ASK WHERE { resource:Q155 property:P530 ?k . VALUES ( ?k ) { ( resource:Q148 ) ( resource:Q889 ) ( resource:Q1965 ) } }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Poland'] ['Brazil', 'diplomatic relation', "People's Republic of China"] ['Brazil', 'diplomatic relation', 'Mexico']
ASK WHERE { resource:Brazil property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:People's_Republic_of_China ) ( resource:Afghanistan ) ( resource:New_Brunswick ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with atleast 64 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 64
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?m property:P530 ?t } GROUP BY ?m } . FILTER ( ?j >= 64 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?t } GROUP BY ?m } . FILTER ( ?j >= 64 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q230
SYSTEM
Italy, Georgia
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 64
[ANSWERS] have ambassadorial relations with atleast 64 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?m property:P530 ?t } GROUP BY ?m } . FILTER ( ?j >= 64 ) }
Italy Georgia
Italy and Georgia have ambassadorial relations with atleast 64 administrative territories
Italy Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?j ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?t } GROUP BY ?m } . FILTER ( ?j >= 64 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q875199
P17
Q83620
USER
Are Wiener Lokalbahn located in those administrative territories ?
(Q875199,P17,Q38) (Q875199,P17,Q230)
action is_in
entity prev_answer
action find
entity Q875199
relation P17
['Q875199', 'P17', 'Q38'] ['Q875199', 'P17', 'Q230']
ASK WHERE { resource:Q875199 property:P17 ?i . VALUES ( ?i ) { ( resource:Q38 ) ( resource:Q230 ) } }
Wiener Lokalbahn
action is_in
entity prev_answer
action find
entity Wiener Lokalbahn
relation country
['Wiener Lokalbahn', 'country', 'Italy'] ['Wiener Lokalbahn', 'country', 'Georgia']
ASK WHERE { resource:Wiener_Lokalbahn property:country ?i . VALUES ( ?i ) { ( resource:Italy ) ( resource:Georgia ) } }
[]
thoroughfare
SYSTEM
NO
(Q875199,P17,Q38) (Q875199,P17,Q230)
action is_in
entity prev_answer
action find
entity Q875199
relation P17
[ANSWER]
['Q875199', 'P17', 'Q38'] ['Q875199', 'P17', 'Q230']
ASK WHERE { resource:Q875199 property:P17 ?i . VALUES ( ?i ) { ( resource:Q38 ) ( resource:Q230 ) } }
No
action is_in
entity prev_answer
action find
entity Wiener Lokalbahn
relation country
['Wiener Lokalbahn', 'country', 'Italy'] ['Wiener Lokalbahn', 'country', 'Georgia']
ASK WHERE { resource:Wiener_Lokalbahn property:country ?i . VALUES ( ?i ) { ( resource:Italy ) ( resource:Georgia ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1007
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with more number of administrative territories than Guinea-Bissau ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1007
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?k ) WHERE { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 . ?r property:P530 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Q1007 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?s ) }
Guinea-Bissau
action count
action greater
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 Guinea-Bissau
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 ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?k ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Guinea-Bissau property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1007
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?k ) WHERE { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 . ?r property:P530 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Q1007 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?s ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
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 Guinea-Bissau
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 ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?k ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { resource:Guinea-Bissau property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q971
P530
Q15617994 Q15617994
USER
And how about Republic of the Congo?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q971
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?c ) WHERE { ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?b property:P530 ?h } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ontology:Q15617994 . ?s property:P530 resource:Q971 } } . FILTER ( ?c > ?o ) }
Republic of the Congo
action count
action greater
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_reverse
entity Republic of the Congo
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 ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?c ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?h } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation resource:Republic_of_the_Congo } } . FILTER ( ?c > ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
63
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q971
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?c ) WHERE { ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 . ?b property:P530 ?h } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ontology:Q15617994 . ?s property:P530 resource:Q971 } } . FILTER ( ?c > ?o ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
63
action count
action greater
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_reverse
entity Republic of the Congo
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 ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?c ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?h } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation resource:Republic_of_the_Congo } } . FILTER ( ?c > ?o ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with around 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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?o ) WHERE { ?b property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?o = 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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?o ) WHERE { ?b property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?o = 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 ambassadorial relations with around 62 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?o ) WHERE { ?b property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?o = 62 ) }
Canada
Canada have ambassadorial relations with around 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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?o ) WHERE { ?b property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?o = 62 ) }
[]