Simple Question (Direct)
Simple Question
Q7293028
P172
Q2472587
USER
Which people does Ranidu Lankage have as ethnic origin ?
(Q7293028,P172,c(Q2472587))
action filter_type
action find
entity Q7293028
relation P172
type Q2472587
['Q7293028', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?p WHERE { resource:Q7293028 property:P172 ?p . ?p rdf:type ontology:Q2472587 }
Ranidu Lankage
action filter_type
action find
entity Ranidu Lankage
relation ethnic group
type people
['Ranidu Lankage', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?p WHERE { resource:Ranidu_Lankage property:ethnic_group ?p . ?p rdf:type ontology:people }
[]
people
Q932244
SYSTEM
Sinhalese people
Q932244
(Q7293028,P172,c(Q2472587))
action filter_type
action find
entity Q7293028
relation P172
type Q2472587
[ANSWER] Ranidu Lankage has as ethnic origin
['Q7293028', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?p WHERE { resource:Q7293028 property:P172 ?p . ?p rdf:type ontology:Q2472587 }
Sinhalese people
Sinhalese people Ranidu Lankage has as ethnic origin
Sinhalese people
action filter_type
action find
entity Ranidu Lankage
relation ethnic group
type people
['Ranidu Lankage', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?p WHERE { resource:Ranidu_Lankage property:ethnic_group ?p . ?p rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7293028
P69
Q163740
USER
Where was Ranidu Lankage educated ?
(Q7293028,P69,c(Q163740))
action filter_type
action find
entity Q7293028
relation P69
type Q163740
['Q7293028', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { resource:Q7293028 property:P69 ?s . ?s rdf:type ontology:Q163740 }
Ranidu Lankage
action filter_type
action find
entity Ranidu Lankage
relation educated at
type nonprofit organization
['Ranidu Lankage', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { resource:Ranidu_Lankage property:educated_at ?s . ?s rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q7293028,P69,c(Q163740))
action filter_type
action find
entity Q7293028
relation P69
type Q163740
Ranidu Lankage was educated at [ANSWER]
['Q7293028', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { resource:Q7293028 property:P69 ?s . ?s rdf:type ontology:Q163740 }
Yale University
Ranidu Lankage was educated at Yale University
Yale University
action filter_type
action find
entity Ranidu Lankage
relation educated at
type nonprofit organization
['Ranidu Lankage', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { resource:Ranidu_Lankage property:educated_at ?s . ?s rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7293028
P264
Q334453
USER
Which division sponsored the recording of Ranidu Lankage ?
(Q7293028,P264,c(Q334453))
action filter_type
action find
entity Q7293028
relation P264
type Q334453
['Q7293028', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q334453 . resource:Q7293028 property:P264 ?b }
Ranidu Lankage
action filter_type
action find
entity Ranidu Lankage
relation record label
type division
['Ranidu Lankage', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:division . resource:Ranidu_Lankage property:record_label ?b }
[]
division
Q3001888
SYSTEM
Sony BMG
Q3001888
(Q7293028,P264,c(Q334453))
action filter_type
action find
entity Q7293028
relation P264
type Q334453
[ANSWER] sponsored the recording of Ranidu Lankage
['Q7293028', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q334453 . resource:Q7293028 property:P264 ?b }
Sony BMG
Sony BMG sponsored the recording of Ranidu Lankage
Sony BMG
action filter_type
action find
entity Ranidu Lankage
relation record label
type division
['Ranidu Lankage', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:division . resource:Ranidu_Lankage property:record_label ?b }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3001888 Q30 Q624456
P495
Q15617994
USER
Did that division originated in United States of America and Bischofsheim ?
(Q3001888,P495,Q30) (Q3001888,P495,Q624456)
action is_in
entity Q3001888
action intersection
action find_reverse
entity Q30
relation P495
action find_reverse
entity Q624456
relation P495
['Q3001888', 'P495', 'Q30'] ['Q3001888', 'P495', 'Q624456']
ASK WHERE { resource:Q3001888 property:P495 resource:Q30 . resource:Q3001888 property:P495 resource:Q624456 }
Sony BMG United States of America Bischofsheim
action is_in
entity Sony BMG
action intersection
action find_reverse
entity United States of America
relation country of origin
action find_reverse
entity Bischofsheim
relation country of origin
['Sony BMG', 'country of origin', 'United States of America'] ['Sony BMG', 'country of origin', 'Bischofsheim']
ASK WHERE { resource:Sony_BMG property:country_of_origin resource:United_States_of_America . resource:Sony_BMG property:country_of_origin resource:Bischofsheim }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3001888,P495,Q30) (Q3001888,P495,Q624456)
action is_in
entity Q3001888
action intersection
action find_reverse
entity Q30
relation P495
action find_reverse
entity Q624456
relation P495
[ANSWER]
['Q3001888', 'P495', 'Q30'] ['Q3001888', 'P495', 'Q624456']
ASK WHERE { resource:Q3001888 property:P495 resource:Q30 . resource:Q3001888 property:P495 resource:Q624456 }
YES and NO respectively
action is_in
entity Sony BMG
action intersection
action find_reverse
entity United States of America
relation country of origin
action find_reverse
entity Bischofsheim
relation country of origin
['Sony BMG', 'country of origin', 'United States of America'] ['Sony BMG', 'country of origin', 'Bischofsheim']
ASK WHERE { resource:Sony_BMG property:country_of_origin resource:United_States_of_America . resource:Sony_BMG property:country_of_origin resource:Bischofsheim }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7293028 Q100962
P27
Q15617994
USER
Is Ranidu Lankage an inhabitant of Traversetolo ?
(Q7293028,P27,Q100962)
action is_in
entity Q100962
action find
entity Q7293028
relation P27
['Q7293028', 'P27', 'Q100962']
ASK WHERE { resource:Q7293028 property:P27 resource:Q100962 }
Ranidu Lankage Traversetolo
action is_in
entity Traversetolo
action find
entity Ranidu Lankage
relation country of citizenship
['Ranidu Lankage', 'country of citizenship', 'Traversetolo']
ASK WHERE { resource:Ranidu_Lankage property:country_of_citizenship resource:Traversetolo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7293028,P27,Q100962)
action is_in
entity Q100962
action find
entity Q7293028
relation P27
[ANSWER]
['Q7293028', 'P27', 'Q100962']
ASK WHERE { resource:Q7293028 property:P27 resource:Q100962 }
No
action is_in
entity Traversetolo
action find
entity Ranidu Lankage
relation country of citizenship
['Ranidu Lankage', 'country of citizenship', 'Traversetolo']
ASK WHERE { resource:Ranidu_Lankage property:country_of_citizenship resource:Traversetolo }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4820193 Q49112
P27 P17
Q15617994
USER
Which administrative territories do Yale University belong to or are Audrey Wise an inhabitant of ?
OR((Q49112,P17,c(Q15617994)), (Q4820193,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q49112
relation P17
action find
entity Q4820193
relation P27
type Q15617994
{'OR': [['Q49112', 'P17', {'concept': 'Q15617994'}], ['Q4820193', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4820193 property:P27 ?k } UNION { resource:Q49112 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Audrey Wise Yale University
action filter_type
action union
action find
entity Yale University
relation country
action find
entity Audrey Wise
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yale University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Audrey Wise', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Audrey_Wise property:country_of_citizenship ?k } UNION { resource:Yale_University property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q49112,P17,c(Q15617994)), (Q4820193,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q49112
relation P17
action find
entity Q4820193
relation P27
type Q15617994
Yale University belong to or are Audrey Wise an inhabitant of the [ANSWERS]
{'OR': [['Q49112', 'P17', {'concept': 'Q15617994'}], ['Q4820193', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4820193 property:P27 ?k } UNION { resource:Q49112 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
United States of America United Kingdom
Yale University belong to or are Audrey Wise an inhabitant of the United States of America and United Kingdom
United States of America United Kingdom
action filter_type
action union
action find
entity Yale University
relation country
action find
entity Audrey Wise
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Yale University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Audrey Wise', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Audrey_Wise property:country_of_citizenship ?k } UNION { resource:Yale_University property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18407
P495
Q838948
USER
Did La Dolce Vita originate in those administrative territories ?
(Q18407,P495,Q30) (Q18407,P495,Q145)
action is_in
entity prev_answer
action find
entity Q18407
relation P495
['Q18407', 'P495', 'Q30'] ['Q18407', 'P495', 'Q145']
ASK WHERE { resource:Q18407 property:P495 ?z . VALUES ( ?z ) { ( resource:Q30 ) ( resource:Q145 ) } }
La Dolce Vita
action is_in
entity prev_answer
action find
entity La Dolce Vita
relation country of origin
['La Dolce Vita', 'country of origin', 'United States of America'] ['La Dolce Vita', 'country of origin', 'United Kingdom']
ASK WHERE { resource:La_Dolce_Vita property:country_of_origin ?z . VALUES ( ?z ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
NO
(Q18407,P495,Q30) (Q18407,P495,Q145)
action is_in
entity prev_answer
action find
entity Q18407
relation P495
[ANSWER]
['Q18407', 'P495', 'Q30'] ['Q18407', 'P495', 'Q145']
ASK WHERE { resource:Q18407 property:P495 ?z . VALUES ( ?z ) { ( resource:Q30 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity La Dolce Vita
relation country of origin
['La Dolce Vita', 'country of origin', 'United States of America'] ['La Dolce Vita', 'country of origin', 'United Kingdom']
ASK WHERE { resource:La_Dolce_Vita property:country_of_origin ?z . VALUES ( ?z ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q843
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with more number of administrative territories than Pakistan ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q843
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?u ) WHERE { ?d property:P530 ?c . ?d rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q843 property:P530 ?a } } . FILTER ( ?u > ?s ) }
Pakistan
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
entity Pakistan
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 ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?u ) WHERE { ?d property:diplomatic_relation ?c . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pakistan property:diplomatic_relation ?a } } . FILTER ( ?u > ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q796 Q794 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q843
relation P530
type Q15617994
[ANSWERS] have tactful political relations with more number of administrative territories than Pakistan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?u ) WHERE { ?d property:P530 ?c . ?d rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q843 property:P530 ?a } } . FILTER ( ?u > ?s ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil Iraq Iran South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
Italy, Brazil and United States of America have tactful political relations with more number of administrative territories than Pakistan
Italy Brazil United States of America
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
entity Pakistan
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 ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?u ) WHERE { ?d property:diplomatic_relation ?c . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pakistan property:diplomatic_relation ?a } } . FILTER ( ?u > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q403
P530
Q15617994 Q15617994
USER
And how about Serbia?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q403
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?e ) WHERE { ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?s property:P530 ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q403 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?g ) }
Serbia
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
entity Serbia
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?e ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Serbia property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q148 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q225 Q17 Q114 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q403
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?e ) WHERE { ?s rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?s property:P530 ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q403 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?g ) }
Israel Yemen France People's Republic of China Russia Brazil United States of America Central African Republic Italy Georgia Belarus Bosnia and Herzegovina Japan Kenya Syria Cape Verde Zambia
Italy Brazil United States of America
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
entity Serbia
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?e ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Serbia property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with around 92 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 92
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { ?r property:P530 ?v . ?r rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?b = 92 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 92
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { ?r property:diplomatic_relation ?v . ?r rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?b = 92 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 92
[ANSWERS] have diplomatic relationships with around 92 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { ?r property:P530 ?v . ?r rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?b = 92 ) }
Germany Australia
Germany and Australia have diplomatic relationships with around 92 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 92
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { ?r property:diplomatic_relation ?v . ?r rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?b = 92 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with atleast 1 political territory ?
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?t ) WHERE { ?h property:P530 ?b . ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?h } }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?t ) WHERE { ?h property:diplomatic_relation ?b . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?h } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
154
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 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 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?t ) WHERE { ?h property:P530 ?b . ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?h } }
Federated States of Micronesia Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?t ) WHERE { ?h property:diplomatic_relation ?b . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?h } }
[]