Simple Question (Direct)
Simple Question
Q7609087
P734
Q82799
USER
Who is associated with Stephen Douglas Johnson ?
(Q7609087,P734,c(Q82799))
action filter_type
action find
entity Q7609087
relation P734
type Q82799
['Q7609087', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q7609087 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Stephen Douglas Johnson
action filter_type
action find
entity Stephen Douglas Johnson
relation family name
type name
['Stephen Douglas Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Stephen_Douglas_Johnson property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q1158485
SYSTEM
Johnson
Q1158485
(Q7609087,P734,c(Q82799))
action filter_type
action find
entity Q7609087
relation P734
type Q82799
[ANSWER] is associated with Stephen Douglas [ANSWER]
['Q7609087', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q7609087 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Johnson
Johnson is associated with Stephen Douglas Johnson
Johnson
action filter_type
action find
entity Stephen Douglas Johnson
relation family name
type name
['Stephen Douglas Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Stephen_Douglas_Johnson property:family_name ?k . ?k rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7609087
P27
Q15617994
USER
Which administrative territory is the native country of Stephen Douglas Johnson ?
(Q7609087,P27,c(Q15617994))
action filter_type
action find
entity Q7609087
relation P27
type Q15617994
['Q7609087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7609087 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Stephen Douglas Johnson
action filter_type
action find
entity Stephen Douglas Johnson
relation country of citizenship
type designation for an administrative territorial entity
['Stephen Douglas Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Stephen_Douglas_Johnson property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7609087,P27,c(Q15617994))
action filter_type
action find
entity Q7609087
relation P27
type Q15617994
The [ANSWER] is the native country of Stephen Douglas Johnson
['Q7609087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7609087 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Stephen Douglas Johnson
United States of America
action filter_type
action find
entity Stephen Douglas Johnson
relation country of citizenship
type designation for an administrative territorial entity
['Stephen Douglas Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Stephen_Douglas_Johnson property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2578671
Q15617994
USER
And what about William Enrique Delgado Silva?
(Q2578671,P27,c(Q15617994))
action filter_type
action find
entity Q2578671
relation P27
type Q15617994
['Q2578671', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2578671 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
William Enrique Delgado Silva
action filter_type
action find
entity William Enrique Delgado Silva
relation country of citizenship
type designation for an administrative territorial entity
['William Enrique Delgado Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:William_Enrique_Delgado_Silva property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q717
SYSTEM
Venezuela
Q717
(Q2578671,P27,c(Q15617994))
action filter_type
action find
entity Q2578671
relation P27
type Q15617994
[ANSWER]
['Q2578671', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2578671 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Venezuela
Venezuela
action filter_type
action find
entity William Enrique Delgado Silva
relation country of citizenship
type designation for an administrative territorial entity
['William Enrique Delgado Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:William_Enrique_Delgado_Silva property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of more number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q717
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P495 ?i . ?i rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2031291 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q717 property:P495 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?o > ?v ) }
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Venezuela
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:release } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Venezuela property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o > ?v ) }
[]
designation for an administrative territorial entity release
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q717
relation P495
type Q15617994
[ANSWERS] are the countries of origin of more number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P495 ?i . ?i rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2031291 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Q717 property:P495 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?o > ?v ) }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
Italy, Brazil and United States of America are the countries of origin of more number of releases than that administrative territory
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Venezuela
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:release } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { resource:Venezuela property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o > ?v ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q38
P463
Q43229
USER
Which organizations were that administrative territory a member of ?
(Q38,P463,c(Q43229))
action filter_type
action find
entity Q38
relation P463
type Q43229
['Q38', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q38 property:P463 ?u . ?u rdf:type ontology:Q43229 }
Italy
action filter_type
action find
entity Italy
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Italy property:member_of ?u . ?u rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q155
SYSTEM
Did you mean Brazil ?
Q38 Q155 Q30
(Q38,P463,c(Q43229)) (Q155,P463,c(Q43229)) (Q30,P463,c(Q43229))
[ANSWER]
['Q38', 'P463', {'concept': 'Q43229'}] ['Q155', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q38 property:P463 ?u . ?u rdf:type ontology:Q43229 }
Italy Brazil United States of America
Did you mean Brazil ?
Brazil
['Italy', 'member of', {'concept': 'organization'}] ['Brazil', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Italy property:member_of ?u . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Italy. Could you tell me the answer for that?
(Q38,P463,c(Q43229))
Q38
['Q38', 'P463', {'concept': 'Q43229'}]
['Italy', 'member of', {'concept': 'organization'}]
[]
Q7809 Q151991 Q42944
SYSTEM
United Nations Educational, Scientific and Cultural Organization, European Southern Observatory, European Organization for Nuclear Research
Q340195 Q125761 Q191384 Q1153087 Q309195 Q41550 Q189946 Q132551 Q899770 Q689859 Q7809 Q7825 Q1666759 Q699036 Q42944 Q61923 Q177773 Q656801 Q151991 Q161549 Q488981 Q3772571 Q386120 Q82151 Q7178 Q827525
(Q38,P463,c(Q43229))
action filter_type
action find
entity Q38
relation P463
type Q43229
[ANSWERS] were that administrative territory a member of
['Q38', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q38 property:P463 ?u . ?u rdf:type ontology:Q43229 }
African Development Bank International Civil Aviation Organization International Bank for Reconstruction and Development Inter-American Development Bank Bank for International Settlements Organisation for Economic Co-operation and Development Western European Union United Nations High Commissioner for Refugees International Centre for Settlement of Investment Disputes International Fund for Agricultural Development United Nations Educational, Scientific and Cultural Organization World Trade Organization International Mobile Satellite Organization United Nations Truce Supervision Organization European Organization for Nuclear Research World Tourism Organization World Intellectual Property Organization International Finance Corporation European Southern Observatory European Coal and Steel Community European Bank for Reconstruction and Development Caribbean Development Bank United Nations Industrial Development Organization Food and Agriculture Organization of the United Nations International Red Cross and Red Crescent Movementsac International Development Association
United Nations Educational, Scientific and Cultural Organization, European Southern Observatory and European Organization for Nuclear Research were that administrative territory a member of
United Nations Educational, Scientific and Cultural Organization European Southern Observatory European Organization for Nuclear Research
action filter_type
action find
entity Italy
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Italy property:member_of ?u . ?u rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3038005 Q7609087
P69
Q163740
USER
Which nonprofit organizations were Stephen Douglas Johnson or Douglas Hanahan educated at ?
OR((Q7609087,P69,c(Q163740)), (Q3038005,P69,c(Q163740)))
action filter_type
action union
action find
entity Q7609087
relation P69
action find
entity Q3038005
relation P69
type Q163740
{'OR': [['Q7609087', 'P69', {'concept': 'Q163740'}], ['Q3038005', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?f ) { ( resource:Q7609087 ) ( resource:Q3038005 ) } . ?f property:P69 ?t } . ?t rdf:type ontology:Q163740 }
Douglas Hanahan Stephen Douglas Johnson
action filter_type
action union
action find
entity Stephen Douglas Johnson
relation educated at
action find
entity Douglas Hanahan
relation educated at
type nonprofit organization
{'OR': [['Stephen Douglas Johnson', 'educated at', {'concept': 'nonprofit organization'}], ['Douglas Hanahan', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?f ) { ( resource:Stephen_Douglas_Johnson ) ( resource:Douglas_Hanahan ) } . ?f property:educated_at ?t } . ?t rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1193547 Q49110 Q13371 Q49108
SYSTEM
Tulane University, Boston University, Harvard University, Massachusetts Institute of Technology
Q1193547 Q49110 Q13371 Q49108
OR((Q7609087,P69,c(Q163740)), (Q3038005,P69,c(Q163740)))
action filter_type
action union
action find
entity Q7609087
relation P69
action find
entity Q3038005
relation P69
type Q163740
Stephen Douglas Johnson or Douglas Hanahan were educated at [ANSWERS]
{'OR': [['Q7609087', 'P69', {'concept': 'Q163740'}], ['Q3038005', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?f ) { ( resource:Q7609087 ) ( resource:Q3038005 ) } . ?f property:P69 ?t } . ?t rdf:type ontology:Q163740 }
Tulane University Boston University Harvard University Massachusetts Institute of Technology
Stephen Douglas Johnson or Douglas Hanahan were educated at Tulane University, Boston University, Harvard University and Massachusetts Institute of Technology
Tulane University Boston University Harvard University Massachusetts Institute of Technology
action filter_type
action union
action find
entity Stephen Douglas Johnson
relation educated at
action find
entity Douglas Hanahan
relation educated at
type nonprofit organization
{'OR': [['Stephen Douglas Johnson', 'educated at', {'concept': 'nonprofit organization'}], ['Douglas Hanahan', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?f ) { ( resource:Stephen_Douglas_Johnson ) ( resource:Douglas_Hanahan ) } . ?f property:educated_at ?t } . ?t rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q14711133 Q38
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy and are not New Gulf Airport present in ?
AND((Q38,P530,c(Q15617994)), NOT((Q14711133,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q14711133
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q14711133', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?s WHERE { resource:Q38 property:P530 ?s . FILTER NOT EXISTS { resource:Q14711133 property:P17 ?s } . ?s rdf:type ontology:Q15617994 }
New Gulf Airport Italy
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity New Gulf Airport
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['New Gulf Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?s WHERE { resource:Italy property:diplomatic_relation ?s . FILTER NOT EXISTS { resource:New_Gulf_Airport property:country ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q347 Q233 Q403 Q114 Q37 Q1045 Q79 Q219 Q189
SYSTEM
Some of them are France, Liechtenstein, Malta, Serbia, Kenya, Lithuania, Somalia, Egypt, Bulgaria, Iceland
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
AND((Q38,P530,c(Q15617994)), NOT((Q14711133,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q38
relation P530
action find
entity Q14711133
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Italy and are not New Gulf Airport present in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q14711133', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?s WHERE { resource:Q38 property:P530 ?s . FILTER NOT EXISTS { resource:Q14711133 property:P17 ?s } . ?s rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
France, Liechtenstein, Malta, Serbia, Kenya, Lithuania, Somalia, Egypt, Bulgaria and Iceland hold diplomatic relationship with Italy and are not New Gulf Airport present in
France Liechtenstein Malta Serbia Kenya Lithuania Somalia Egypt Bulgaria Iceland
action filter_type
action difference
action find
entity Italy
relation diplomatic relation
action find
entity New Gulf Airport
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['New Gulf Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?s WHERE { resource:Italy property:diplomatic_relation ?s . FILTER NOT EXISTS { resource:New_Gulf_Airport property:country ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with atmost 120 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 120
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?f ) WHERE { ?h property:P530 ?v . ?h rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?f <= 120 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 120
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?f ) WHERE { ?h property:diplomatic_relation ?v . ?h rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?f <= 120 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
12
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 120
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?f ) WHERE { ?h property:P530 ?v . ?h rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?f <= 120 ) }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
12
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 120
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?f ) WHERE { ?h property:diplomatic_relation ?v . ?h rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?f <= 120 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m property:P530 ?k . ?m rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?h = 1 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m property:diplomatic_relation ?k . ?m rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?h = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
Q1000 Q769 Q778
SYSTEM
Gabon, Grenada, The Bahamas
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWERS] have a diplomatic relationship with exactly 1 administrative territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m property:P530 ?k . ?m rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?h = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
Gabon, Grenada and The Bahamas have a diplomatic relationship with exactly 1 administrative territory
Gabon Grenada The Bahamas
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?h ) WHERE { ?m property:diplomatic_relation ?k . ?m rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?h = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q49110
P69 P21
Q502895
USER
Which people were educated at Boston University and are a male ?
AND((c(Q502895),P69,Q49110), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q49110
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q49110'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P69 resource:Q49110 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male Boston University
action filter_type
action intersection
action find_reverse
entity Boston University
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Boston University'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:educated_at resource:Boston_University . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q5127463 Q6769990 Q5607094 Q14946781 Q7609852 Q3852038 Q5491484 Q4908276 Q346331 Q6933034
SYSTEM
Some of them are Clarke Canfield, Mark Thompson, Gregory Orr, Vinnie Lauria, Stephen M. Kohn, Matt Squire, Franklin Elmer Ellsworth Hamilton, Bill Brooks, Daniel A. Helminiak, Muhiuddin Khan Alamgir
Q4710030 Q18637923 Q7329538 Q7814765 Q14602173 Q861110 Q4706604 Q1000491 Q7047174 Q1134263 Q5326461 Q7793382 Q543647 Q3013198 Q5000689 Q3852038 Q7978918 Q8055878 Q4746588 Q2073333 Q534015 Q153509 Q6289411 Q7964932 Q3029370 Q8008483 Q5056288 Q6769990 Q5343774 Q6310097 Q3751926 Q374492 Q5225105 Q2331338 Q5596195 Q7931902 Q7982467 Q3857943 Q1703943 Q346331 Q6844776 Q5301671 Q5218517 Q823221 Q1509935 Q4755072 Q5235808 Q5218001 Q5628399 Q6833826 Q16144772 Q7349003 Q954305 Q5217630 Q7693244 Q5525046 Q5343034 Q4759926 Q6198691 Q357391 Q93127 Q5923324 Q4758966 Q1485047 Q5497391 Q7612891 Q6680367 Q5246000 Q7173416 Q7808418 Q644894 Q547640 Q7614896 Q5181349 Q7441293 Q475416 Q3133041 Q5218149 Q6042207 Q6687470 Q6782159 Q1336281 Q6770068 Q5607077 Q6820172 Q14711521 Q4804848 Q7325619 Q5720600 Q130779 Q3307932 Q14942406 Q1684073 Q881604 Q5342112 Q6211561 Q1056106 Q6248062 Q6845959 Q14946781 Q14946783 Q14946782 Q14946785 Q14946784 Q1585875 Q14946786 Q562904 Q1346691 Q1645391 Q6254034 Q527306 Q1086629 Q3302438 Q7411427 Q7637972 Q923485 Q2014922 Q4537097 Q7151496 Q6951143 Q4829254 Q7437240 Q7048188 Q456924 Q9011420 Q17497078 Q5345190 Q6106786 Q7238511 Q6140284 Q6141583 Q6003053 Q7781840 Q6163567 Q20150 Q5665604 Q632809 Q2079069 Q4760556 Q1289871 Q5343640 Q5300486 Q5560807 Q5387072 Q7350492 Q5908942 Q4978348 Q8013844 Q881431 Q7794734 Q8008263 Q4828487 Q7613068 Q5518356 Q6205351 Q7384569 Q6230888 Q722312 Q6397132 Q13500679 Q3938455 Q5235792 Q6275797 Q3105557 Q943869 Q14946756 Q373794 Q14946754 Q6968843 Q6396583 Q5255383 Q14946751 Q14946758 Q14946759 Q5386215 Q5525426 Q1978555 Q7609852 Q5986305 Q6174665 Q4977627 Q5024338 Q5294277 Q7792407 Q2455721 Q5083459 Q16728243 Q7612038 Q6791022 Q3990218 Q4834073 Q6490341 Q4978487 Q6195851 Q5606948 Q441788 Q7692969 Q6140115 Q2062959 Q991620 Q1680110 Q5933696 Q710137 Q7287434 Q8027 Q5585974 Q3189977 Q17306296 Q7387644 Q5094124 Q432728 Q886847 Q5238040 Q7410926 Q7387428 Q4696021 Q7614863 Q14946809 Q14946807 Q14946804 Q14946805 Q1063676 Q4801715 Q5239709 Q14946801 Q708251 Q5300331 Q7848457 Q6301131 Q5491484 Q5236233 Q5296838 Q6140455 Q312751 Q525660 Q4705403 Q6828045 Q340004 Q551671 Q7310673 Q5366551 Q6529517 Q6258598 Q1255362 Q1701654 Q6128806 Q381883 Q6433556 Q3302990 Q7175439 Q2389180 Q5525054 Q5337169 Q18049734 Q27704915 Q573781 Q967454 Q6830813 Q887095 Q2119871 Q3101643 Q6136602 Q7349231 Q7707280 Q3501351 Q7298932 Q6135462 Q7792057 Q7101543 Q7803305 Q7381693 Q5677029 Q5344588 Q6113621 Q5085654 Q7794770 Q6285133 Q5487500 Q4893286 Q8009988 Q5644911 Q1274818 Q8014286 Q338592 Q1106462 Q7816129 Q7299229 Q20155161 Q1738835 Q5241330 Q4908276 Q5006445 Q5241339 Q5346032 Q283208 Q6155600 Q6834109 Q3476302 Q3035929 Q1388942 Q14946793 Q14946791 Q14946797 Q14946794 Q14946795 Q6746877 Q14946798 Q4721566 Q6241145 Q3568991 Q1429245 Q5345172 Q5292363 Q7614218 Q6217614 Q778353 Q7308302 Q7174449 Q5127463 Q971027 Q6243840 Q4757328 Q6247287 Q3196526 Q4648009 Q7346935 Q6283338 Q6238694 Q5240658 Q1207129 Q738952 Q5665854 Q24050389 Q16732259 Q6147046 Q5173624 Q6382106 Q7346430 Q4696072 Q7860035 Q7614998 Q435475 Q6213480 Q2753075 Q4952301 Q7173160 Q5650095 Q7173166 Q6105482 Q8040175 Q311754 Q5346469 Q7167423 Q4794564 Q5231403 Q7789425 Q7331698 Q7147668 Q14946757 Q6790095 Q6175050 Q1256879 Q5585797 Q7491287 Q773625 Q7609026 Q1687537 Q3271870 Q14946753 Q7495173 Q7693415 Q465028 Q6775906 Q5217651 Q7297529 Q5163882 Q16215749 Q5080003 Q456715 Q5344679 Q4735869 Q728744 Q6112508 Q5480813 Q9025076 Q6289730 Q7172195 Q8010731 Q5240846 Q3101753 Q6847459 Q6687904 Q6768018 Q573944 Q6318561 Q6232566 Q6831894 Q345259 Q14946691 Q5462557 Q4803155 Q6141736 Q12858627 Q3202615 Q6767786 Q8009123 Q4932268 Q6388638 Q313653 Q6246871 Q16149064 Q6933034 Q5241463 Q6132304 Q3241948 Q6166316 Q8018014 Q14946769 Q14946768 Q6830166 Q5233833 Q14946761 Q14946767 Q14946766 Q14946765 Q14946764 Q6390603 Q1929837 Q1871107 Q7172634 Q5924416 Q5772450 Q7597669 Q5345125 Q7153050 Q7411447 Q6396369 Q1494859 Q5482090 Q4977772 Q16973425 Q526580 Q7349517 Q5549970 Q437559 Q2578582 Q5083157 Q5294685 Q453329 Q8025045 Q4269709 Q7331584 Q1541981 Q5371855 Q7609066 Q6197663 Q7906211 Q7626489 Q464453 Q5538752 Q4721357 Q4721356 Q5525712 Q6830252 Q7693263 Q1768810 Q7297876 Q7922276 Q4751029 Q5515469 Q706134 Q5292690 Q6183971 Q4280820 Q5107832 Q4910873 Q5427748 Q1351245 Q3370589 Q5512289 Q5365586 Q3176278 Q1408431 Q5346330 Q5111834 Q7129650 Q5981514 Q1399047 Q6889302 Q5719755 Q7586392 Q4888627 Q18683970 Q8032776 Q7341489 Q5335812 Q7615012 Q6137556 Q312853 Q2821412 Q6355163 Q3313392 Q6701183 Q382314 Q7440989 Q8015431 Q559545 Q6291919 Q6195892 Q457279 Q5228855 Q7328773 Q6232558 Q4160235 Q432812 Q7173903 Q6224392 Q7172470 Q891667 Q919229 Q7183623 Q6536643 Q4935098 Q562193 Q6095801 Q431261 Q490829 Q7903937 Q3029164 Q22088050 Q6176140 Q7381371 Q4953989 Q24804720 Q6515035 Q24049008 Q4963082 Q4352670 Q7346345 Q7964713 Q1174248 Q5667539 Q6522914 Q7147318 Q7792950 Q3675700 Q6857937 Q3082517 Q1442894 Q18911077 Q4864432 Q167540 Q6210875 Q1347301 Q6056331 Q353136 Q7351085 Q7287521 Q7151468 Q16021401 Q4799223 Q4984925 Q6396995 Q5272899 Q4882117 Q7363692 Q7412987 Q6234532 Q16198722 Q7609018 Q11192569 Q8016290 Q7327672 Q4863387 Q1955169 Q7331222 Q4718932 Q5354023 Q174031 Q5040144 Q1708188 Q348603 Q7402969 Q5585507 Q1629137 Q7062634 Q6680353 Q720581 Q6724188 Q6210357 Q7323204 Q16200852 Q7609087 Q5567873 Q18645769 Q3017617 Q7614940 Q681031 Q5220502 Q7815414 Q7381111 Q1393504 Q14946748 Q6767498 Q314081 Q6482807 Q5663889 Q2369634 Q5006427 Q6185911 Q4664956 Q7288181 Q14946778 Q14946779 Q14946774 Q14946775 Q4709859 Q6397244 Q6132864 Q550819 Q4665684 Q7342580 Q6255650 Q461763 Q8020054 Q6944628 Q2606208 Q7345818 Q5214794 Q8004836 Q6118830 Q7960651 Q6133705 Q725467 Q7381842 Q1676388 Q3735326 Q8015354 Q6175950 Q5326425 Q7176031 Q2913204 Q310953 Q6107118 Q49344 Q525458 Q861993 Q7150594 Q14946802 Q5667270 Q7790284 Q14946803 Q14946789 Q6134368 Q14946800 Q5113476 Q14946788 Q1562885 Q5920546 Q7816926 Q8000228 Q16398376 Q4911340 Q1495547 Q7067827 Q5346240 Q5219888 Q5495504 Q461249 Q5230740 Q5301201 Q1606719 Q22045768 Q5112016 Q2679036 Q7274117 Q2915982 Q21264964 Q3507650 Q6273626 Q2852907 Q8050128 Q326471 Q5296285 Q1926953 Q15429572 Q296177 Q14946787 Q4704468 Q4910462 Q6180544 Q2521844 Q6245399 Q4963289 Q14946747 Q4773591 Q5181167 Q6906742 Q359177 Q5195783 Q14946749 Q5549634 Q713898 Q12877770 Q7932080 Q6283001 Q6136802 Q1360488 Q540192 Q7173513 Q7847956 Q5343930 Q7412979 Q7285962 Q5607094
AND((c(Q502895),P69,Q49110), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q49110
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were educated at Boston University and are a male
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q49110'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P69 resource:Q49110 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Albert Diaz Kenneth Stern Richard Traubner Tom Allen Richard F. Abel Shane McMahon Alan Feinstein Bud Collins Noel Preston Carl F. H. Henry Earle O. Latham Thomas R. Tritton David Hemery Dan Seals Burt Doo Matt Squire Webster Edgerly Yosef Abramowitz Amir Korangy Pete Souza John Thomas Makarios III Josh Sugarmann Walter George Muelder Ulil Abshar Abdalla William Edwards Huntington Cecil R. Paul Mark Thompson Edward John Carnell Julius Sumner Miller Frank Silvera Franz Kline Darren Press Daniel Ben-Simon Grant Drumheller Vincent Larusso Wendell Phillips Stafford Millard Drexler Jorge Villavicencio Grossmann Daniel A. Helminiak Miguel Roman Douglas K. Detterman Daniel R. Dominguez David C. Jones Gerald Koocher Andrea F. Nuciforo, Jr. David K. Watson Daniel M. Kimmel H. M. Naqvi Michael Rezendes Bob Brown Robert Poydasheff William Sims Bainbridge Daniel J. Lockwood Ted Grossbart Gary Famiglietti Edward G. Connolly André H. Caron Jim Vicevich James Kyson Dirk Meyer Hrach Gregorian Andrew Wolk William Ellery Leonard Frederick Bohn Fisher Steve Howitt Loren Driscoll Dean Barnett Peter Courtney Tino Villanueva Bradley Lord Russell Hornsby Steven Karidoyanes Craig Raisner Sean Naylor Brice Marden Henry Emmerson Daniel Meyer Nicolás Entel Louis J. Tullio Lee Phillip Emil Hurezeanu Mark Turpin Gregory Mocek Merrill C. Tenney Frank W. Asper Asher Lopatin Richard Farnsworth Henry E. Cooper Kim Stanley Robinson Vahan Kurkjian Ahmed Galal Ola Rotimi Deane C. Davis Edward Butler Joe Nocera J Allard John McLaughlin Williams Mike Barnicle Vinnie Lauria Lee Lockwood Joseph Linitz William T. McCarthy Joseph Mancuso Stewart O'Nan Nathaniel Merrill Carl Mydans Roger MacBride Allen Tunji Awojobi John R. Tunis Paul Michael Glaser Christopher Del Sesto Ylli Pango Samuel French Morse Sumner G. Whittier Peter Gerety Andy Cohen Roman Yakub Paul J. Liacos Mũkoma wa Ngũgĩ Avon Williams Scott Shenker Nolan Godfrey Bob McDonnell Jeffrey Guterman Mahamat Kamoun Edward S. Zelazo J. Philip Wogaman Prashant V. Kamat Onell Soto James R. Cameron Imam Hafiz Masood Theodore J. Aleixo, Jr. Jason Strauss Psy Harrison Farber John Augustus Larson Samuel Adler Andy Cowan Terry Carter Edward J. Delaney Doug Friedman Gilbert Bilezikian Eric McHenry Robert Tuchman Hossam AlJabri Bruce Taylor William K. Thierfelder David I. Walsh Thomas W. Costello William E. Kerstetter Avi Sharon Steve Kornacki Galen Johnson Samuel J. Tedesco Ryan T. Murphy John E. Riley Bill Duke Kevin O'Connor Lee Suk-chae Robert V. Bruce David K. Colapinto Jonny McGovern Gil Stein Julio Isidro Maiztegui Howard L. Clark, Jr. Daniel Chonghan Hong Philip N. Carney Nathan Abbott Kevin J. Tracey Demir Sabancı Tim Cahill Haskell Cohen Herbert William Conn Eric Burns Gary LaPierre Glyn Maxwell Stephen M. Kohn Ichiro Tsukada Jeff Pegues Bruce Harris Calvin Burnett Donald E. Booth Thomas Mesenbourg Michael Emenalo Charles Wesley Emerson Craig Newschaffer Steve Broidy Matthew Nock Theo Alexander B. Joseph Tully Larry Frisoli Bruce Winn Jim Isch Gregory H. Adamian Paul A. Dever Ted Atkatz James Mudge Paul W. Cronin Bruce Feirstein Jim Marshall Hugo Adam Bedau Arthur Kennedy Ralph Earle, Jr. Martin Luther King, Jr. Gordon Waterman Chaplin Jun Hee Lee Ashoka Mody S. Lester Ralph Chet Orloff Arthur Golden Lincoln Almond David Niose Samuel Bischoff S. D. Shibulal Ahmed Shihab-Eldin Steven J. Morello Luc Wylder Dennis L. Via Tak Toyoshima David Unger Charles B. Cory Arturo Chacón Cruz David Sheffield Bell Jon Swan Norman Vincent Peale Doug Brown Tryfon Tolides Juan Verde Franklin Elmer Ellsworth Hamilton David L. Norton Donovan Hohn James O'Bryan, Jr. Charlie Kaufman Andy Dorman Mark Rosewater Michael A. Burstein David K. Wyatt Whitney Smith Rel Dowdell Elmer Fung Les Gara John Spaulding Jonathan Goldsmith John S. McKiernan James Archibald Aesop Rock Kostis Protopapas Maynard Jackson Peter Levine Shahan Natalie Gary Fay Edgar Chandler Robert J. Healey Mark Manson Florian Mennigen Fred Allen Michael Grodin John Bates Antonio Colorado George Henry Murray James Isaacs Robert Reimann Tex Sample Eino Friberg Raymond Knight James Hamilton Howe Thomas M. Messer Oren Brown Tim Chey Russell Morash Harvey B. Scribner Edward Nason West Jack Leaman Charlie Walk Thomas W. McGee Joseph M. Kyrillos Frank J. Williams Bernard Jackvony William Goodfellow José Emilio González Alexis Cruz William Landergan Jonathan Sass Brian Fair Tom Hayes Raymond Wilding-White Rafi Musher Kenneth Amis David Wyman Bill Brooks C. F. Nelson Pratt David Xavier Cifu Edward Zander Anthony Stanislas Radziwill Mustapa Mohamed Michael Salcman Scott Rosenberg Don Van Natta, Jr. John Patrick Higgins Orval J. Nease Haoui Montaug Dave Shalansky Garrett Oliver Michael Otterman Manan Trivedi Peter Shankman Alexx O'Nell John J. Maalouf William Tannen Alan B. McElroy Edward S. Mann Don Calloway Steve Wallach John A. Curry Ryan Sypek Reggie Rucker Peter H. Irons Clarke Canfield Norman Greenbaum John Lakian Andrew Honeycutt John Maxwell Hamilton Kikaya Bin Karubi A. Joseph DeNucci Robert Litz Joseph Gallitano John Henning David Viscott Dewey Jackson Short Craig Bierko Harrison Slater Nathan Azrin Robert R. McCrae Jamie Kaler Cory Ondrejka Keahu Kahuanui Robert Knox Ahmed Zayat Tyler Hicks Steven M. Goldman Ethan Phillips Joel Gerber Christopher O'Neill Boyd B. Jones Peter Cammarano Hans H. Indorf Peter Campion J. E. L. Moore Wynn Harmon Jason Alexander Edwin Grozier Percy Jewett Burrell Arne Glimcher David Biespiel Thomas F. August Rick Rose Patrick Spain James Richard Cocke Matthew Asinari Jeff Stein Joe Solmonese Gordon Scruton Shawn Amos Dave Gilbert Stephen Davis Jeremiah E. O'Connell Alfred W. Crosby James Cantor Sherman Friedland Ted Landsmark John Perkins Martin Knowlton Daniel J Palmer Ray Girardin Constantinos C. Markides Milind Murli Deora Charles L. Venable William M. Butler Edward O. Phillips Alston Purvis David Garrison Jack Fitzpatrick Francis E. Quinlan Luis Fernando Londoño Capurro Joshua Clover Pete Perreault William Hall David Waronker George Valentine McInerney Mike Kaplowitz Louis O. Giuffrida Mark Hetzler Anthony Ruivivar Justus Henry Nelson John F. Thompson Michael Kirby Steven Brill Loyd Grossman Floyd W. Nease Asa S. Knowles James R. Tallon Jeff Ross Amos Yong Mark Goulston William Fitzjames Oldham Bob Deraney Ken Ueno Michael Chiklis John Marshall Akinwunmi Ambode Muhiuddin Khan Alamgir David de Berry James Daly Lionel Steketee Jay Adelson William S. Sahakian S. Clifton Ives Ishrat Hussain Michael F. Flaherty David Frederick Wertz Rocco DiSpirito Harry Elmore Hurd Norris Hoyt Israel Hicks Charles Y. Glock Kenneth Posner Michael Williams Lothrop Stoddard Peter Baida Hsu Shin Hisato Ohzawa Stan Grossfeld Edward Rowe Snow Paul R. Devin Samuel G. Plantz Kevin Gillespie Gary Fleder Francis Okaroh Bruce Karatz Dietrich Juengling Andy Luotto Robert S. Taubman Gerard D'Amico Armand Van Helden William E. Kaufman Charles W. Akers Donald Lambro Hal Clement Winfred Overholser Richard Lourie Rick Meyerowitz Graham Wiggins Emilio Diez Barroso Stephen Dilts Jim Rappaport V. Raymond Edman Stuart Dunkel Peter Guralnick George E. Kent Alexi Worth Alexi Kaye Campbell Gary Pak Michael Felger Ted Harbert Scott Campbell Ray Mungo Vernon W. Evans Analjit Singh Gabor Boritt Ed Bishop Don Gorton Jerry Levine Robert N. Munsch Chris Rector Bill Simmons Fabien Cousteau Eric Fehrnstrom Paul Beatty G. Joseph Tauro Elliot A. Willensky Ignacio Bonillas Fraijo Owen Flanagan Edwin D. Fuller Christopher Akerlind Pan Haidong Ian Fisher Solon Irving Bailey Modi Rosenfeld Henry Converse Atwill Srikanth Sastry Benjamin Franklin DeCosta Frederick Allen Woodie W. White Robert Ambrose Eddie Andelman Steven M. Wise James L. Farmer, Sr. Neal Stephenson Abdul Hafeez Shaikh Kam Williams Mike Kellin Luis Valdivieso Montano James Franklin Jeffrey Sean Fields William McGurn Alfred Sant José Cisneros Jim Jensen Harold Russell Dave Goucher Richard Rubin John F. Smith, Jr. Mark Jefferson Ray Hyman Peter F. Donnelly John C. Edmunds Peter Aduja Thomas R. Insel Peter Paige Philip Goldberg Lewis H. Pounds Bobby Hanson Frederick Arthur Leuchter, Jr. John A. Scali Kevin Burns Jeff Baxter Uwe Siemon-Netto Tamim al-Barghouti Gerald Gitner Jeffrey Lurie Russell Blunt Brad Heller David Mitchell Lee Sheldon John Nosta Brian Bedol George Whitman Robert Khuzami Walter E. Brehm David Doubilet Harry Broudy Lenny Baker Patrick Natale Thomas P. Riccio Christian Roman Milič Čapek Frank Broadstreet Carvell F. Bradford Morse Wilbur Fisk Crafts Barry Locke William L. Laurence Joe Lazarov Harry Kemelman Pablo Piñera Echeñique Addison Powell Robert William Gettleman Ralph G. Wright Paul Irwin Georges Alula Arthur James Armstrong Buddy Powers Kevin Merida Dick Farley Belden Bly Ron Della Chiesa Samuel Zoll John G. King Gordon Hamersley Stephen Davenport Herbert Alonzo Howe William O. Wheatley, Jr. Richard Martini Barrence Whitfield Rob Mariano Rick Barton Alexander Gelman Eldon C. Hall Rocco Benetton Carl Folta Joseph Walsh Howard Stern Saki Macozoma Gordon Manning Will Lyman Elly Kenner Loren C. Dunn Paul Reubens Mack B. Stokes Joe Hoeffel Rich Busa Kevin J. Rader Stephen Douglas Johnson Glen Macnow George Kline David Mulford Steven L. Goldman Brian J. Donnelly Danny Kastner Tom Costello Russ Chauvenet Faisal al-Fayez James Billings Mark Elderkin Thomas Burke Lan Shui Harrell F. Beck Younghill Kang C. Eric Lincoln Jess Brallier Abdi Sheik Abdi Ralph Tyler Flewelling Donald Kushner Justin Kutcher Willis J. King Chris Koepplin Albert C. Knudson Kevin Pho James Dubro Robert B. Parker Abdul Razak al-Hashimi Robert C. Buell John Rosengren Raja Bell William Waterhouse Mwalim Sherwin Gatchalian Robert Isaac Field Dana Mohler-Faria William B. Oden Jacob K. Olupona Waitstill Sharp James F. Powers Albert-László Barabási Russell V. DeLong J. Ross Mackay Kenneth Jeffrey Feld William McCormick Jeffrey Docking Earle G. Shettleworth, Jr. Peter N. Kirstein Fred Richmond Bill O'Reilly J. Soedradjad Djiwandono Óscar Arias Sánchez Andy Breckman Bill Cardoso Paul Farren Tom Szkutak Alfonso Valdivieso Sarmiento Thomas H. Green Seth Tobias John C. Mongan James G. Kalergis Harold Sossen Christopher Yavelow Willard Midgette Tom O'Regan Howard P. Boyd Tom Moore Wilbur P. Thirkield Richard Dekmejian Bill Whitaker Gaston Allaire Nubar Alexanian Edwin Barker Daniyal Aziz Fred Hovey Allen Alessandro Benetton David Allyn Douglas Allanbrook Henry F. Naphen Sebastián Royo Christopher Bursk Donald Harington R. Wayne Gardner Mark Regev Sam Bass Warner, Jr. Tim Asch Jonathan L. Halperin Anthony Newman Yasuyuki Eda Ronnie Earl Donn Swaby Michael Berenbaum H. Hugh Fudenberg John Cazale Henry A. Middleton Al Morganti Bill Pennington Jerald G. Fishman Vic Stanfield John Lowden Knight Brian Carney Joe Amorosino Anthony Tommasini Craig Lucas Monty Sarhan Elon Gold Curtis J. Jones, Jr. Hisham Bizri Gerald Tsai Richard A. Cohen Thanos Veremis Vincent Tchenguiz Joseph F. Quinn James Jajuga Keith B. Alexander Virgilio Barco Vargas Peter D. Weaver Trung Dung Edward Khantzian Samuel Young Rajen A. Kilachand Gregory Orr
Clarke Canfield, Mark Thompson, Gregory Orr, Vinnie Lauria, Stephen M. Kohn, Matt Squire, Franklin Elmer Ellsworth Hamilton, Bill Brooks, Daniel A. Helminiak and Muhiuddin Khan Alamgir were educated at Boston University and are a male
Clarke Canfield Mark Thompson Gregory Orr Vinnie Lauria Stephen M. Kohn Matt Squire Franklin Elmer Ellsworth Hamilton Bill Brooks Daniel A. Helminiak Muhiuddin Khan Alamgir
action filter_type
action intersection
action find_reverse
entity Boston University
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Boston University'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:educated_at resource:Boston_University . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2429432
P36
Q486972 Q56061 Q15617994
USER
Which administrative territories are less number of human settlements and administrative territories the capital of than Sirajganj District ?
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q2429432
relation P36
type Q486972
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?q < ?r ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { VALUES ( ?p ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?t rdf:type ?p } . resource:Q2429432 property:P36 ?t } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?g WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } GROUP BY ?g } }
Sirajganj District
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sirajganj District
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?q < ?r ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { VALUES ( ?p ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?t rdf:type ?p } . resource:Sirajganj_District property:capital ?t } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?g WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?g } }
[]
human settlement administrative territorial entity designation for an administrative territorial entity
Q347 Q218 Q1011
SYSTEM
Liechtenstein, Romania, Cape Verde
Q12631 Q414 Q3368 Q504637 Q2998020 Q3044731 Q399 Q2466631 Q12689 Q2527360 Q699731 Q3377 Q3372 Q1742192 Q3093 Q4464924 Q2344966 Q3259 Q12594 Q739 Q733 Q736 Q12798 Q12792 Q1284 Q1443 Q843 Q2007 Q541811 Q1458 Q14551680 Q12700 Q12703 Q12709 Q1050 Q12717 Q298 Q115 Q114 Q12569 Q12574 Q12642 Q21296012 Q3216 Q3194 Q12804 Q12808 Q1961264 Q3326 Q696651 Q3286 Q948 Q12589 Q3266 Q3105 Q731547 Q33788 Q1268811 Q702 Q709 Q12740 Q12745 Q12779 Q833 Q2093388 Q12607 Q290739 Q790 Q598193 Q796 Q794 Q889 Q12576 Q884 Q1452646 Q881 Q2281221 Q1508919 Q12694 Q12515 Q12517 Q3364 Q541095 Q3148 Q5613245 Q280312 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q3118738 Q686312 Q1037 Q1030 Q697 Q12730 Q12736 Q2039306 Q12657 Q12652 Q30831 Q12556 Q694594 Q874 Q878 Q46130 Q3044714 Q12816 Q1951 Q2236821 Q4854468 Q2528268 Q3353 Q3357 Q389004 Q3278 Q3184 Q9073753 Q711 Q717 Q2900529 Q12772 Q1090678 Q19786899 Q1999970 Q155019 Q2348751 Q107426 Q1948 Q511365 Q1270568 Q27 Q34762 Q793437 Q225 Q47261 Q1270623 Q347 Q580447 Q10957559 Q962 Q963 Q2344833 Q3125 Q3120 Q1008 Q3110307 Q12722 Q2039314 Q12553 Q12620 Q12626 Q12543 Q72670 Q12563 Q426025 Q568751 Q2150573 Q474421 Q3342 Q842 Q3349 Q3083 Q3240 Q3249 Q3164 Q12761 Q12765 Q4712 Q928 Q851 Q224 Q222 Q691265 Q313175 Q3334 Q12572 Q2996404 Q12578 Q228 Q3462133 Q12679 Q3207 Q176 Q212 Q211 Q218 Q161258 Q4496152 Q3514973 Q974 Q3113 Q12789 Q1234961 Q1222 Q1019 Q1011 Q5192588 Q672 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q2429432
relation P36
type Q486972
type Q56061
[ANSWERS] are less number of human settlements and administrative territories the capital of than Sirajganj District
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?q < ?r ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { VALUES ( ?p ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } . ?t rdf:type ?p } . resource:Q2429432 property:P36 ?t } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?g WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } GROUP BY ?g } }
Meuse Argentina Essonne Alta Verapaz Department Corse Guyane Armenia Chiautla de Tapia Municipality Pas-de-Calais Stura Wied Eure-et-Loir Eure King's Lynn and West Norfolk Aisne Tugulymsky District Netrokona District Cantal Marne Colombia Paraguay Ecuador Vendée Vaucluse Abruzzo Molise Pakistan Northwest Territories Ems-Oriental Calabria Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Swaziland Bas-Rhin Chile Ethiopia Kenya Loire Loiret Morbihan Amatitlán Aveyron Aube Vienne Haute-Vienne Tecámac Municipality Corrèze Saxe-Eisenach Cher Tunisia Manche Charente Vosges Lippe New Caledonia Dyle Federated States of Micronesia Marshall Islands Sarthe Savoie Tarn-et-Garonne Malaysia Sunamganj District Haute-Marne Sesia Haiti Apennins Iraq Iran Afghanistan Lot South Korea Montenotte Vietnam Principality of Orange Marengo Puy-de-Dôme Gard Gers Drôme Rhin-et-Moselle Ardèche Guadalupe Municipality Principality of Lüneburg Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Guanentá Province Duchy of Amalfi Rwanda Namibia Nauru Haute-Saône Saône-et-Loire Jamalpur District Nièvre Moselle Red Sea Governorate Indre-et-Loire Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Yonne Alberta Rhône-et-Loire Bandava Mont-Blanc Creuse Dordogne Wallachia Charente-Maritime Ariège San Vicente Tancuayalab municipality Mongolia Venezuela Bezirk Lothringen Tarn Sègre Magyaróvár District Upper Alsace Duchy of Lorraine Kurigram District Anjou Manitoba Arvika Municipality Ems Ireland Principality of Bayreuth Bergantiños Bosnia and Herzegovina Duchy of Bavaria Meurthe Liechtenstein Duchy of Styria Moldavia Benin Botswana Kishoreganj District Hautes-Alpes Jura Côte d'Ivoire Golo Haut-Rhin Sherpur District Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Batumi Oblast Landes Duchy of Savoy Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Côtes-d'Armor Ain Bouches-du-Rhône Calvados Ardennes Seine-Saint-Denis Deux-Sèvres Duchy of Burgundy Philippines Saudi Arabia Croatia Albania Mont-Terrible Saxe-Lauenburg Haute-Corse Haute-Loire Alushta municipality Lot-et-Garonne Andorra Saxe-Coburg and Gotha Orne Aude Quebec Ukraine Latvia Romania Clipperton Island Khartsyzk Municipality Tanaro Democratic Republic of the Congo Allier Var Doire Aosta Valley Madagascar Cape Verde Cuenca District, Huancavelica Tuvalu Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Liechtenstein, Romania and Cape Verde are less number of human settlements and administrative territories the capital of than Sirajganj District
Liechtenstein Romania Cape Verde
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Sirajganj District
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?q < ?r ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { VALUES ( ?p ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } . ?t rdf:type ?p } . resource:Sirajganj_District property:capital ?t } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?g WHERE { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } GROUP BY ?g } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2006764
P36
Q486972 Q56061 Q15617994
USER
And how about Xhariep District Municipality?
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q2006764
relation P36
type Q486972
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?o WHERE { { ?o property:P36 ?r . ?o rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q486972 } UNION { ?o property:P36 ?r . ?o rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q56061 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } . resource:Q2006764 property:P36 ?v } } . FILTER ( ?m < ?n ) }
Xhariep District Municipality
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Xhariep District Municipality
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?o WHERE { { ?o property:capital ?r . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:human_settlement } UNION { ?o property:capital ?r . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } . resource:Xhariep_District_Municipality property:capital ?v } } . FILTER ( ?m < ?n ) }
[]
human settlement administrative territorial entity designation for an administrative territorial entity
Q347 Q218 Q1011
SYSTEM
Liechtenstein, Romania, Cape Verde
Q12631 Q414 Q3368 Q504637 Q2998020 Q3044731 Q399 Q2466631 Q12689 Q2527360 Q699731 Q3377 Q3372 Q1742192 Q3093 Q4464924 Q2344966 Q3259 Q12594 Q739 Q733 Q736 Q12798 Q12792 Q1284 Q1443 Q843 Q2007 Q541811 Q1458 Q14551680 Q12700 Q12703 Q12709 Q1050 Q12717 Q298 Q115 Q114 Q12569 Q12574 Q12642 Q21296012 Q3216 Q3194 Q12804 Q12808 Q1961264 Q3326 Q696651 Q3286 Q948 Q12589 Q3266 Q3105 Q731547 Q33788 Q1268811 Q702 Q709 Q12740 Q12745 Q12779 Q833 Q2093388 Q12607 Q290739 Q790 Q598193 Q796 Q794 Q889 Q12576 Q884 Q1452646 Q881 Q2281221 Q1508919 Q12694 Q12515 Q12517 Q3364 Q541095 Q3148 Q5613245 Q280312 Q12675 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q3118738 Q686312 Q1037 Q1030 Q697 Q12730 Q12736 Q2039306 Q12657 Q12652 Q30831 Q12556 Q694594 Q874 Q878 Q46130 Q3044714 Q12816 Q1951 Q2236821 Q4854468 Q2528268 Q3353 Q3357 Q389004 Q3278 Q3184 Q9073753 Q711 Q717 Q2900529 Q12772 Q1090678 Q19786899 Q1999970 Q155019 Q2348751 Q107426 Q1948 Q511365 Q1270568 Q27 Q34762 Q793437 Q225 Q47261 Q1270623 Q347 Q580447 Q10957559 Q962 Q963 Q2344833 Q3125 Q3120 Q1008 Q3110307 Q12722 Q2039314 Q12553 Q12620 Q12626 Q12543 Q72670 Q12563 Q426025 Q568751 Q2150573 Q474421 Q3342 Q842 Q3349 Q3083 Q3240 Q3249 Q3164 Q12761 Q12765 Q4712 Q928 Q851 Q224 Q222 Q691265 Q313175 Q3334 Q12572 Q2996404 Q12578 Q228 Q3462133 Q12679 Q3207 Q176 Q212 Q211 Q218 Q161258 Q4496152 Q3514973 Q974 Q3113 Q12789 Q1234961 Q1222 Q1019 Q1011 Q5192588 Q672 Q12758 Q12753 Q12751 Q12564
(c(Q15617994),P36,c(Q486972)|c(Q56061))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q486972
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q2006764
relation P36
type Q486972
type Q56061
[ANSWERS]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?o WHERE { { ?o property:P36 ?r . ?o rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q486972 } UNION { ?o property:P36 ?r . ?o rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q56061 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } } . resource:Q2006764 property:P36 ?v } } . FILTER ( ?m < ?n ) }
Meuse Argentina Essonne Alta Verapaz Department Corse Guyane Armenia Chiautla de Tapia Municipality Pas-de-Calais Stura Wied Eure-et-Loir Eure King's Lynn and West Norfolk Aisne Tugulymsky District Netrokona District Cantal Marne Colombia Paraguay Ecuador Vendée Vaucluse Abruzzo Molise Pakistan Northwest Territories Ems-Oriental Calabria Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Swaziland Bas-Rhin Chile Ethiopia Kenya Loire Loiret Morbihan Amatitlán Aveyron Aube Vienne Haute-Vienne Tecámac Municipality Corrèze Saxe-Eisenach Cher Tunisia Manche Charente Vosges Lippe New Caledonia Dyle Federated States of Micronesia Marshall Islands Sarthe Savoie Tarn-et-Garonne Malaysia Sunamganj District Haute-Marne Sesia Haiti Apennins Iraq Iran Afghanistan Lot South Korea Montenotte Vietnam Principality of Orange Marengo Puy-de-Dôme Gard Gers Drôme Rhin-et-Moselle Ardèche Guadalupe Municipality Principality of Lüneburg Oise Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Guanentá Province Duchy of Amalfi Rwanda Namibia Nauru Haute-Saône Saône-et-Loire Jamalpur District Nièvre Moselle Red Sea Governorate Indre-et-Loire Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Yonne Alberta Rhône-et-Loire Bandava Mont-Blanc Creuse Dordogne Wallachia Charente-Maritime Ariège San Vicente Tancuayalab municipality Mongolia Venezuela Bezirk Lothringen Tarn Sègre Magyaróvár District Upper Alsace Duchy of Lorraine Kurigram District Anjou Manitoba Arvika Municipality Ems Ireland Principality of Bayreuth Bergantiños Bosnia and Herzegovina Duchy of Bavaria Meurthe Liechtenstein Duchy of Styria Moldavia Benin Botswana Kishoreganj District Hautes-Alpes Jura Côte d'Ivoire Golo Haut-Rhin Sherpur District Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Batumi Oblast Landes Duchy of Savoy Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Côtes-d'Armor Ain Bouches-du-Rhône Calvados Ardennes Seine-Saint-Denis Deux-Sèvres Duchy of Burgundy Philippines Saudi Arabia Croatia Albania Mont-Terrible Saxe-Lauenburg Haute-Corse Haute-Loire Alushta municipality Lot-et-Garonne Andorra Saxe-Coburg and Gotha Orne Aude Quebec Ukraine Latvia Romania Clipperton Island Khartsyzk Municipality Tanaro Democratic Republic of the Congo Allier Var Doire Aosta Valley Madagascar Cape Verde Cuenca District, Huancavelica Tuvalu Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Liechtenstein Romania Cape Verde
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Xhariep District Municipality
relation capital
type human settlement
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?o WHERE { { ?o property:capital ?r . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:human_settlement } UNION { ?o property:capital ?r . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:administrative_territorial_entity } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } } . resource:Xhariep_District_Municipality property:capital ?v } } . FILTER ( ?m < ?n ) }
[]