Simple Question (Direct)
Simple Question
Q3275130
P161
Q502895
USER
Who were casted in Mad Dogs and Englishmen ?
(Q3275130,P161,c(Q502895))
action filter_type
action find
entity Q3275130
relation P161
type Q502895
['Q3275130', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3275130 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Mad Dogs and Englishmen
action filter_type
action find
entity Mad Dogs and Englishmen
relation cast member
type common name
['Mad Dogs and Englishmen', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Mad_Dogs_and_Englishmen property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
Q235622 Q297384 Q75622
SYSTEM
Claire Bloom, Jeremy Brett, Elizabeth Hurley
Q297384 Q2966537 Q464522 Q235622 Q3087174 Q75622 Q471879 Q3018042
(Q3275130,P161,c(Q502895))
action filter_type
action find
entity Q3275130
relation P161
type Q502895
[ANSWERS] were casted in Mad Dogs and Englishmen
['Q3275130', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3275130 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Jeremy Brett Christopher Adamson C. Thomas Howell Claire Bloom Frederick Treves Elizabeth Hurley Joss Ackland David Harewood
Claire Bloom, Jeremy Brett and Elizabeth Hurley were casted in Mad Dogs and Englishmen
Claire Bloom Jeremy Brett Elizabeth Hurley
action filter_type
action find
entity Mad Dogs and Englishmen
relation cast member
type common name
['Mad Dogs and Englishmen', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Mad_Dogs_and_Englishmen property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q235622
P69
Q3914
USER
Which school is that person an alumni of ?
(Q235622,P69,c(Q3914))
action filter_type
action find
entity Q235622
relation P69
type Q3914
['Q235622', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q235622 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Claire Bloom
action filter_type
action find
entity Claire Bloom
relation educated at
type school
['Claire Bloom', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Claire_Bloom property:educated_at ?v . ?v rdf:type ontology:school }
[]
school
Clarification for simple ques.
Q235622
SYSTEM
Did you mean Claire Bloom ?
Q235622 Q297384 Q75622
(Q235622,P69,c(Q3914)) (Q297384,P69,c(Q3914)) (Q75622,P69,c(Q3914))
[ANSWER]
['Q235622', 'P69', {'concept': 'Q3914'}] ['Q297384', 'P69', {'concept': 'Q3914'}] ['Q75622', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q235622 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Claire Bloom Jeremy Brett Elizabeth Hurley
Did you mean Claire Bloom ?
Claire Bloom
['Claire Bloom', 'educated at', {'concept': 'school'}] ['Jeremy Brett', 'educated at', {'concept': 'school'}] ['Elizabeth Hurley', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Claire_Bloom property:educated_at ?v . ?v rdf:type ontology:school }
[]
Simple Question (Coreferenced)
USER
Yes
(Q235622,P69,c(Q3914))
['Q235622', 'P69', {'concept': 'Q3914'}]
['Claire Bloom', 'educated at', {'concept': 'school'}]
[]
Q1419737
SYSTEM
Guildhall School of Music and Drama
Q1419737
(Q235622,P69,c(Q3914))
action filter_type
action find
entity Q235622
relation P69
type Q3914
[ANSWER] is that person an alumni of
['Q235622', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q235622 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Guildhall School of Music and Drama
Guildhall School of Music and Drama is that person an alumni of
Guildhall School of Music and Drama
action filter_type
action find
entity Claire Bloom
relation educated at
type school
['Claire Bloom', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Claire_Bloom property:educated_at ?v . ?v rdf:type ontology:school }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1419737 Q145
P17
Q15617994
USER
Is Guildhall School of Music and Drama present in United Kingdom ?
(Q1419737,P17,Q145)
action is_in
entity Q145
action find
entity Q1419737
relation P17
['Q1419737', 'P17', 'Q145']
ASK WHERE { resource:Q1419737 property:P17 resource:Q145 }
Guildhall School of Music and Drama United Kingdom
action is_in
entity United Kingdom
action find
entity Guildhall School of Music and Drama
relation country
['Guildhall School of Music and Drama', 'country', 'United Kingdom']
ASK WHERE { resource:Guildhall_School_of_Music_and_Drama property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1419737,P17,Q145)
action is_in
entity Q145
action find
entity Q1419737
relation P17
[ANSWER]
['Q1419737', 'P17', 'Q145']
ASK WHERE { resource:Q1419737 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Guildhall School of Music and Drama
relation country
['Guildhall School of Music and Drama', 'country', 'United Kingdom']
ASK WHERE { resource:Guildhall_School_of_Music_and_Drama property:country resource:United_Kingdom }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q677463 Q235622
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Claire Bloom or are Solidaridad Municipality located in ?
OR((Q235622,P27,c(Q15617994)), (Q677463,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q235622
relation P27
action find
entity Q677463
relation P17
type Q15617994
{'OR': [['Q235622', 'P27', {'concept': 'Q15617994'}], ['Q677463', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q235622 property:P27 ?l } UNION { resource:Q677463 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Solidaridad Municipality Claire Bloom
action filter_type
action union
action find
entity Claire Bloom
relation country of citizenship
action find
entity Solidaridad Municipality
relation country
type designation for an administrative territorial entity
{'OR': [['Claire Bloom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Solidaridad Municipality', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Claire_Bloom property:country_of_citizenship ?l } UNION { resource:Solidaridad_Municipality property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q145
SYSTEM
Mexico, United Kingdom
Q96 Q145
OR((Q235622,P27,c(Q15617994)), (Q677463,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q235622
relation P27
action find
entity Q677463
relation P17
type Q15617994
[ANSWERS] are the native countriesof Claire Bloom or are Solidaridad Municipality located in
{'OR': [['Q235622', 'P27', {'concept': 'Q15617994'}], ['Q677463', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q235622 property:P27 ?l } UNION { resource:Q677463 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Mexico United Kingdom
Mexico and United Kingdom are the native countriesof Claire Bloom or are Solidaridad Municipality located in
Mexico United Kingdom
action filter_type
action union
action find
entity Claire Bloom
relation country of citizenship
action find
entity Solidaridad Municipality
relation country
type designation for an administrative territorial entity
{'OR': [['Claire Bloom', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Solidaridad Municipality', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Claire_Bloom property:country_of_citizenship ?l } UNION { resource:Solidaridad_Municipality property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q398
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with more number of administrative territories than Bahrain ?
(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
entity Q398
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?x ) WHERE { ?h property:P530 ?y . ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q398 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?u ) }
Bahrain
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
entity Bahrain
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 ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?x ) WHERE { ?h property:diplomatic_relation ?y . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Bahrain property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?u ) }
[]
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
entity Q398
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?x ) WHERE { ?h property:P530 ?y . ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q398 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?u ) }
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
entity Bahrain
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 ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?x ) WHERE { ?h property:diplomatic_relation ?y . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Bahrain property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q733
P530
Q15617994 Q15617994
USER
And how about Paraguay?
(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
entity Q733
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?g ) WHERE { ?t property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q733 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?g > ?w ) }
Paraguay
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
entity Paraguay
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 ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?g ) WHERE { ?t property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Paraguay property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g > ?w ) }
[]
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
entity Q733
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?g ) WHERE { ?t property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q733 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?g > ?w ) }
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
entity Paraguay
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 ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?g ) WHERE { ?t property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Paraguay property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g > ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atmost 2 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 2
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?z ) WHERE { ?m rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?m property:P530 ?h } GROUP BY ?m } . FILTER ( ?z <= 2 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?z ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?h } GROUP BY ?m } . FILTER ( ?z <= 2 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
111
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?z ) WHERE { ?m rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?m property:P530 ?h } GROUP BY ?m } . FILTER ( ?z <= 2 ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
111
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?z ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?h } GROUP BY ?m } . FILTER ( ?z <= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with around 13 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?n ) WHERE { ?w property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?n = 13 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?n ) WHERE { ?w property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?n = 13 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q796 Q794 Q889 Q884 Q822 Q241 Q32 Q31 Q30 Q928 Q929 Q39 Q27 Q843 Q225 Q222 Q347 Q17 Q902 Q114 Q212 Q213 Q218 Q79 Q858 Q948 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[ANSWERS] are known to have diplomatic connections with around 13 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?n ) WHERE { ?w property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?n = 13 ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Iraq Iran Afghanistan South Korea Lebanon Cuba Luxembourg Belgium United States of America Philippines Central African Republic Switzerland Ireland Pakistan Bosnia and Herzegovina Albania Liechtenstein Japan Bangladesh Kenya Ukraine Czech Republic Romania Egypt Syria Tunisia Libya Cape Verde Zambia
United States of America, Russia and France are known to have diplomatic connections with around 13 administrative territories
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?n ) WHERE { ?w property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?n = 13 ) }
[]