Simple Question (Direct)
Simple Question
Q2580679
P69
Q163740
USER
Which nonprofit organization was William Strong educated at ?
(Q2580679,P69,c(Q163740))
action filter_type
action find
entity Q2580679
relation P69
type Q163740
['Q2580679', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?l WHERE { resource:Q2580679 property:P69 ?l . ?l rdf:type ontology:Q163740 }
William Strong
action filter_type
action find
entity William Strong
relation educated at
type nonprofit organization
['William Strong', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?l WHERE { resource:William_Strong property:educated_at ?l . ?l rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q2580679,P69,c(Q163740))
action filter_type
action find
entity Q2580679
relation P69
type Q163740
William Strong was educated [ANSWER]
['Q2580679', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?l WHERE { resource:Q2580679 property:P69 ?l . ?l rdf:type ontology:Q163740 }
Yale University
William Strong was educated Yale University
Yale University
action filter_type
action find
entity William Strong
relation educated at
type nonprofit organization
['William Strong', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?l WHERE { resource:William_Strong property:educated_at ?l . ?l rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2580679
P102
Q7210356
USER
Which political organization is William Strong a member of ?
(Q2580679,P102,c(Q7210356))
action filter_type
action find
entity Q2580679
relation P102
type Q7210356
['Q2580679', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q2580679 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
William Strong
action filter_type
action find
entity William Strong
relation member of political party
type political organization
['William Strong', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:William_Strong property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q2580679,P102,c(Q7210356))
action filter_type
action find
entity Q2580679
relation P102
type Q7210356
The [ANSWER] is William Strong a member of
['Q2580679', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q2580679 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Democratic Party
The Democratic Party is William Strong a member of
Democratic Party
action filter_type
action find
entity William Strong
relation member of political party
type political organization
['William Strong', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:William_Strong property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29552 Q836937 Q2128839
P17
Q15617994
USER
Is that political organization situated in Duchy of Jülich and Chatham Green ?
(Q29552,P17,Q836937) (Q29552,P17,Q2128839)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q836937
relation P17
action find_reverse
entity Q2128839
relation P17
['Q29552', 'P17', 'Q836937'] ['Q29552', 'P17', 'Q2128839']
ASK WHERE { resource:Q29552 property:P17 resource:Q836937 . resource:Q29552 property:P17 resource:Q2128839 }
Democratic Party Duchy of Jülich Chatham Green
action is_in
entity Democratic Party
action intersection
action find_reverse
entity Duchy of Jülich
relation country
action find_reverse
entity Chatham Green
relation country
['Democratic Party', 'country', 'Duchy of Jülich'] ['Democratic Party', 'country', 'Chatham Green']
ASK WHERE { resource:Democratic_Party property:country resource:Duchy_of_Jülich . resource:Democratic_Party property:country resource:Chatham_Green }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q29552,P17,Q836937) (Q29552,P17,Q2128839)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q836937
relation P17
action find_reverse
entity Q2128839
relation P17
[ANSWER]
['Q29552', 'P17', 'Q836937'] ['Q29552', 'P17', 'Q2128839']
ASK WHERE { resource:Q29552 property:P17 resource:Q836937 . resource:Q29552 property:P17 resource:Q2128839 }
No
action is_in
entity Democratic Party
action intersection
action find_reverse
entity Duchy of Jülich
relation country
action find_reverse
entity Chatham Green
relation country
['Democratic Party', 'country', 'Duchy of Jülich'] ['Democratic Party', 'country', 'Chatham Green']
ASK WHERE { resource:Democratic_Party property:country resource:Duchy_of_Jülich . resource:Democratic_Party property:country resource:Chatham_Green }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22923831 Q2128839
P17
Q15617994
USER
Which administrative territories are Chatham Green or Saint Peter's College Arua present in ?
OR((Q2128839,P17,c(Q15617994)), (Q22923831,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2128839
relation P17
action find
entity Q22923831
relation P17
type Q15617994
{'OR': [['Q2128839', 'P17', {'concept': 'Q15617994'}], ['Q22923831', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2128839 property:P17 ?q } UNION { resource:Q22923831 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Saint Peter's College Arua Chatham Green
action filter_type
action union
action find
entity Chatham Green
relation country
action find
entity Saint Peter's College Arua
relation country
type designation for an administrative territorial entity
{'OR': [['Chatham Green', 'country', {'concept': 'designation for an administrative territorial entity'}], ["Saint Peter's College Arua", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Chatham_Green property:country ?q } UNION { resource:Saint_Peter's_College_Arua property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q145
SYSTEM
Uganda, United Kingdom
Q1036 Q145
OR((Q2128839,P17,c(Q15617994)), (Q22923831,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2128839
relation P17
action find
entity Q22923831
relation P17
type Q15617994
[ANSWERS] are Chatham Green or Saint Peter's College Arua present in
{'OR': [['Q2128839', 'P17', {'concept': 'Q15617994'}], ['Q22923831', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2128839 property:P17 ?q } UNION { resource:Q22923831 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Uganda United Kingdom
Uganda and United Kingdom are Chatham Green or Saint Peter's College Arua present in
Uganda United Kingdom
action filter_type
action union
action find
entity Chatham Green
relation country
action find
entity Saint Peter's College Arua
relation country
type designation for an administrative territorial entity
{'OR': [['Chatham Green', 'country', {'concept': 'designation for an administrative territorial entity'}], ["Saint Peter's College Arua", 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Chatham_Green property:country ?q } UNION { resource:Saint_Peter's_College_Arua property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15967634
P27
Q502895
USER
Are James Hennessy civilians of those administrative territories ?
(Q15967634,P27,Q1036) (Q15967634,P27,Q145)
action is_in
entity prev_answer
action find
entity Q15967634
relation P27
['Q15967634', 'P27', 'Q1036'] ['Q15967634', 'P27', 'Q145']
ASK WHERE { resource:Q15967634 property:P27 ?v . VALUES ( ?v ) { ( resource:Q1036 ) ( resource:Q145 ) } }
James Hennessy
action is_in
entity prev_answer
action find
entity James Hennessy
relation country of citizenship
['James Hennessy', 'country of citizenship', 'Uganda'] ['James Hennessy', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:James_Hennessy property:country_of_citizenship ?v . VALUES ( ?v ) { ( resource:Uganda ) ( resource:United_Kingdom ) } }
[]
common name
SYSTEM
YES
(Q15967634,P27,Q1036) (Q15967634,P27,Q145)
action is_in
entity prev_answer
action find
entity Q15967634
relation P27
[ANSWER]
['Q15967634', 'P27', 'Q1036'] ['Q15967634', 'P27', 'Q145']
ASK WHERE { resource:Q15967634 property:P27 ?v . VALUES ( ?v ) { ( resource:Q1036 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity James Hennessy
relation country of citizenship
['James Hennessy', 'country of citizenship', 'Uganda'] ['James Hennessy', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:James_Hennessy property:country_of_citizenship ?v . VALUES ( ?v ) { ( resource:Uganda ) ( resource:United_Kingdom ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q310856
P530
Q15617994
USER
Does Inning am Ammersee hold diplomatic relationship with United Kingdom ?
(Q145,P530,Q310856)
action is_in
entity Q310856
action find
entity Q145
relation P530
['Q145', 'P530', 'Q310856']
ASK WHERE { resource:Q145 property:P530 resource:Q310856 }
United Kingdom Inning am Ammersee
action is_in
entity Inning am Ammersee
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Inning am Ammersee']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Inning_am_Ammersee }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q145,P530,Q310856)
action is_in
entity Q310856
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q310856']
ASK WHERE { resource:Q145 property:P530 resource:Q310856 }
No
action is_in
entity Inning am Ammersee
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Inning am Ammersee']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Inning_am_Ammersee }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49112 Q542436 Q30
P17
Q15617994
USER
Is Yale University located in Groß Laasch and United States of America ?
(Q49112,P17,Q542436) (Q49112,P17,Q30)
action is_in
entity Q49112
action intersection
action find_reverse
entity Q542436
relation P17
action find_reverse
entity Q30
relation P17
['Q49112', 'P17', 'Q542436'] ['Q49112', 'P17', 'Q30']
ASK WHERE { resource:Q49112 property:P17 resource:Q542436 . resource:Q49112 property:P17 resource:Q30 }
Yale University Groß Laasch United States of America
action is_in
entity Yale University
action intersection
action find_reverse
entity Groß Laasch
relation country
action find_reverse
entity United States of America
relation country
['Yale University', 'country', 'Groß Laasch'] ['Yale University', 'country', 'United States of America']
ASK WHERE { resource:Yale_University property:country resource:Groß_Laasch . resource:Yale_University property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q49112,P17,Q542436) (Q49112,P17,Q30)
action is_in
entity Q49112
action intersection
action find_reverse
entity Q542436
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q49112', 'P17', 'Q542436'] ['Q49112', 'P17', 'Q30']
ASK WHERE { resource:Q49112 property:P17 resource:Q542436 . resource:Q49112 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Yale University
action intersection
action find_reverse
entity Groß Laasch
relation country
action find_reverse
entity United States of America
relation country
['Yale University', 'country', 'Groß Laasch'] ['Yale University', 'country', 'United States of America']
ASK WHERE { resource:Yale_University property:country resource:Groß_Laasch . resource:Yale_University property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29552 Q30 Q22085013
P17
Q15617994
USER
Is Democratic Party located in United States of America and eparchy ?
(Q29552,P17,Q30) (Q29552,P17,Q22085013)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q22085013
relation P17
['Q29552', 'P17', 'Q30'] ['Q29552', 'P17', 'Q22085013']
ASK WHERE { resource:Q29552 property:P17 resource:Q30 . resource:Q29552 property:P17 resource:Q22085013 }
Democratic Party United States of America eparchy
action is_in
entity Democratic Party
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity eparchy
relation country
['Democratic Party', 'country', 'United States of America'] ['Democratic Party', 'country', 'eparchy']
ASK WHERE { resource:Democratic_Party property:country resource:United_States_of_America . resource:Democratic_Party property:country resource:eparchy }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q29552,P17,Q30) (Q29552,P17,Q22085013)
action is_in
entity Q29552
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q22085013
relation P17
[ANSWER]
['Q29552', 'P17', 'Q30'] ['Q29552', 'P17', 'Q22085013']
ASK WHERE { resource:Q29552 property:P17 resource:Q30 . resource:Q29552 property:P17 resource:Q22085013 }
YES and NO respectively
action is_in
entity Democratic Party
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity eparchy
relation country
['Democratic Party', 'country', 'United States of America'] ['Democratic Party', 'country', 'eparchy']
ASK WHERE { resource:Democratic_Party property:country resource:United_States_of_America . resource:Democratic_Party property:country resource:eparchy }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P17
Q15617994 Q44539 Q7210356
USER
Which administrative territories are max number of temples or political organizations located in ?
(c(Q44539)|c(Q7210356),P17,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q44539
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
[[{'concept': 'Q44539'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?v WHERE { VALUES ( ?e ) { ( ontology:Q44539 ) ( ontology:Q7210356 ) } . ?s rdf:type ?e } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?i WHERE { { ?j property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q44539 } UNION { ?j property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q7210356 } } GROUP BY ?i } . FILTER ( ?t = ?b ) }
action argmax
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type temple
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
[[{'concept': 'temple'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?v WHERE { VALUES ( ?e ) { ( ontology:temple ) ( ontology:political_organization ) } . ?s rdf:type ?e } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?i WHERE { { ?j property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:temple } UNION { ?j property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_organization } } GROUP BY ?i } . FILTER ( ?t = ?b ) }
[]
designation for an administrative territorial entity temple political organization
Q145
SYSTEM
United Kingdom
Q145
(c(Q44539)|c(Q7210356),P17,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q44539
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
[ANSWER] is max number of temples or political organizations located in
[[{'concept': 'Q44539'}, {'concept': 'Q7210356'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?v WHERE { VALUES ( ?e ) { ( ontology:Q44539 ) ( ontology:Q7210356 ) } . ?s rdf:type ?e } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?i WHERE { { ?j property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q44539 } UNION { ?j property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q7210356 } } GROUP BY ?i } . FILTER ( ?t = ?b ) }
United Kingdom
United Kingdom is max number of temples or political organizations located in
United Kingdom
action argmax
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type temple
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
[[{'concept': 'temple'}, {'concept': 'political organization'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?v WHERE { VALUES ( ?e ) { ( ontology:temple ) ( ontology:political_organization ) } . ?s rdf:type ?e } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?i WHERE { { ?j property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:temple } UNION { ?j property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_organization } } GROUP BY ?i } . FILTER ( ?t = ?b ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q12159
P530
Q1048835
USER
Does Vilajuïga have diplomatic relationships with United Kingdom ?
(Q145,P530,Q12159)
action is_in
entity Q12159
action find
entity Q145
relation P530
['Q145', 'P530', 'Q12159']
ASK WHERE { resource:Q145 property:P530 resource:Q12159 }
United Kingdom Vilajuïga
action is_in
entity Vilajuïga
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Vilajuïga']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Vilajuïga }
[]
political territorial entity
SYSTEM
NO
(Q145,P530,Q12159)
action is_in
entity Q12159
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q12159']
ASK WHERE { resource:Q145 property:P530 resource:Q12159 }
No
action is_in
entity Vilajuïga
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Vilajuïga']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Vilajuïga }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2580679 Q3641693
P27
Q15617994
USER
Is William Strong a civilian of Ostrov Bolshoy Oleniy ?
(Q2580679,P27,Q3641693)
action is_in
entity Q3641693
action find
entity Q2580679
relation P27
['Q2580679', 'P27', 'Q3641693']
ASK WHERE { resource:Q2580679 property:P27 resource:Q3641693 }
William Strong Ostrov Bolshoy Oleniy
action is_in
entity Ostrov Bolshoy Oleniy
action find
entity William Strong
relation country of citizenship
['William Strong', 'country of citizenship', 'Ostrov Bolshoy Oleniy']
ASK WHERE { resource:William_Strong property:country_of_citizenship resource:Ostrov_Bolshoy_Oleniy }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2580679,P27,Q3641693)
action is_in
entity Q3641693
action find
entity Q2580679
relation P27
[ANSWER]
['Q2580679', 'P27', 'Q3641693']
ASK WHERE { resource:Q2580679 property:P27 resource:Q3641693 }
No
action is_in
entity Ostrov Bolshoy Oleniy
action find
entity William Strong
relation country of citizenship
['William Strong', 'country of citizenship', 'Ostrov Bolshoy Oleniy']
ASK WHERE { resource:William_Strong property:country_of_citizenship resource:Ostrov_Bolshoy_Oleniy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with approximately 38 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 38
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?s ) WHERE { ?z property:P530 ?k . ?z rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?s = 38 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?s ) WHERE { ?z property:diplomatic_relation ?k . ?z rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?s = 38 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 38
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?s ) WHERE { ?z property:P530 ?k . ?z rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?s = 38 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?s ) WHERE { ?z property:diplomatic_relation ?k . ?z rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?s = 38 ) }
[]