Simple Question (Direct)
Simple Question
Q3058661
P161
Q502895
USER
Who were casted in Essai d'ouverture ?
(Q3058661,P161,c(Q502895))
action filter_type
action find
entity Q3058661
relation P161
type Q502895
['Q3058661', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3058661 property:P161 ?c . ?c rdf:type ontology:Q502895 }
Essai d'ouverture
action filter_type
action find
entity Essai d'ouverture
relation cast member
type common name
["Essai d'ouverture", 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Essai_d'ouverture property:cast_member ?c . ?c rdf:type ontology:common_name }
[]
common name
Q711939 Q3430656
SYSTEM
Luc Moullet, Richard Copans
Q711939 Q3430656
(Q3058661,P161,c(Q502895))
action filter_type
action find
entity Q3058661
relation P161
type Q502895
[ANSWERS] were casted in Essai d'ouverture
['Q3058661', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3058661 property:P161 ?c . ?c rdf:type ontology:Q502895 }
Luc Moullet Richard Copans
Luc Moullet and Richard Copans were casted in Essai d'ouverture
Luc Moullet Richard Copans
action filter_type
action find
entity Essai d'ouverture
relation cast member
type common name
["Essai d'ouverture", 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Essai_d'ouverture property:cast_member ?c . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q711939
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q711939,P27,c(Q15617994))
action filter_type
action find
entity Q711939
relation P27
type Q15617994
['Q711939', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q711939 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Luc Moullet
action filter_type
action find
entity Luc Moullet
relation country of citizenship
type designation for an administrative territorial entity
['Luc Moullet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Luc_Moullet property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3430656
SYSTEM
Did you mean Richard Copans ?
Q711939 Q3430656
(Q711939,P27,c(Q15617994)) (Q3430656,P27,c(Q15617994))
[ANSWER]
['Q711939', 'P27', {'concept': 'Q15617994'}] ['Q3430656', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q711939 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Luc Moullet Richard Copans
Did you mean Richard Copans ?
Richard Copans
['Luc Moullet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Richard Copans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Luc_Moullet property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Luc Moullet. Could you tell me the answer for that?
(Q711939,P27,c(Q15617994))
Q711939
['Q711939', 'P27', {'concept': 'Q15617994'}]
['Luc Moullet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q711939,P27,c(Q15617994))
action filter_type
action find
entity Q711939
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q711939', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q711939 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Luc Moullet
relation country of citizenship
type designation for an administrative territorial entity
['Luc Moullet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Luc_Moullet property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q987426
P530
Q1048835
USER
Does Castillonroy have diplomatic relationships with that administrative territory ?
(Q142,P530,Q987426)
action is_in
entity Q987426
action find
entity Q142
relation P530
['Q142', 'P530', 'Q987426']
ASK WHERE { resource:Q142 property:P530 resource:Q987426 }
France Castillonroy
action is_in
entity Castillonroy
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Castillonroy']
ASK WHERE { resource:France property:diplomatic_relation resource:Castillonroy }
[]
political territorial entity
SYSTEM
NO
(Q142,P530,Q987426)
action is_in
entity Q987426
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q987426']
ASK WHERE { resource:Q142 property:P530 resource:Q987426 }
No
action is_in
entity Castillonroy
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Castillonroy']
ASK WHERE { resource:France property:diplomatic_relation resource:Castillonroy }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with around the same number of administrative territories as Denmark ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?l ) WHERE { ?m property:P530 ?q . ?m rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q35 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?l = ?v ) }
Denmark
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?l ) WHERE { ?m property:diplomatic_relation ?q . ?m rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Denmark property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?l = ?v ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?l ) WHERE { ?m property:P530 ?q . ?m rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q35 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?l = ?v ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?l ) WHERE { ?m property:diplomatic_relation ?q . ?m rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Denmark property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?l = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q685
P530
Q1048835 Q15617994
USER
And what about Solomon Islands?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q685 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?d property:P530 ?u . ?d rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?d } }
Solomon Islands
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?d property:diplomatic_relation ?u . ?d rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q685 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?d property:P530 ?u . ?d rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?d } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?s = ?j ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?s ) WHERE { ?d property:diplomatic_relation ?u . ?d rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1000
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with lesser number of administrative territories than Gabon ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?a ) WHERE { ?o property:P530 ?r . ?o rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q1000 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?a < ?m ) }
Gabon
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?a ) WHERE { ?o property:diplomatic_relation ?r . ?o rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Gabon property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?a < ?m ) }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with lesser number of administrative territories than Gabon
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?a ) WHERE { ?o property:P530 ?r . ?o rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q1000 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?a < ?m ) }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relationships with lesser number of administrative territories than Gabon
Solomon Islands Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?a ) WHERE { ?o property:diplomatic_relation ?r . ?o rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Gabon property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?a < ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26836959 Q3430656
P27
Q15617994
USER
Which administrative territories do Richard Copans or Tímea Kiss belong to ?
OR((Q3430656,P27,c(Q15617994)), (Q26836959,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3430656
relation P27
action find
entity Q26836959
relation P27
type Q15617994
{'OR': [['Q3430656', 'P27', {'concept': 'Q15617994'}], ['Q26836959', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3430656 property:P27 ?e } UNION { resource:Q26836959 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Tímea Kiss Richard Copans
action filter_type
action union
action find
entity Richard Copans
relation country of citizenship
action find
entity Tímea Kiss
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Richard Copans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tímea Kiss', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Richard_Copans property:country_of_citizenship ?e } UNION { resource:Tímea_Kiss property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q28
SYSTEM
France, Hungary
Q142 Q28
OR((Q3430656,P27,c(Q15617994)), (Q26836959,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3430656
relation P27
action find
entity Q26836959
relation P27
type Q15617994
Richard Copans or Tímea Kiss belong to [ANSWERS]
{'OR': [['Q3430656', 'P27', {'concept': 'Q15617994'}], ['Q26836959', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3430656 property:P27 ?e } UNION { resource:Q26836959 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
France Hungary
Richard Copans or Tímea Kiss belong to France and Hungary
France Hungary
action filter_type
action union
action find
entity Richard Copans
relation country of citizenship
action find
entity Tímea Kiss
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Richard Copans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tímea Kiss', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Richard_Copans property:country_of_citizenship ?e } UNION { resource:Tímea_Kiss property:country_of_citizenship ?e } } . ?e 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 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atmost 50 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 50
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?c property:P530 ?i . ?c rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?m <= 50 ) }
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 50
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?c property:diplomatic_relation ?i . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?m <= 50 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 50
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?c property:P530 ?i . ?c rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?m <= 50 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti 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 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco 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 Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
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 50
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?c property:diplomatic_relation ?i . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?m <= 50 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with lesser number of administrative territories than New Zealand ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?n ) WHERE { ?u property:P530 ?a . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q664 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?n < ?v ) }
New Zealand
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?n ) WHERE { ?u property:diplomatic_relation ?a . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:New_Zealand property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?n < ?v ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?n ) WHERE { ?u property:P530 ?a . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q664 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . FILTER ( ?n < ?v ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
7
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?n ) WHERE { ?u property:diplomatic_relation ?a . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:New_Zealand property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . FILTER ( ?n < ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q15617994
USER
And what about Jamaica?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:P530 ?o . ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q766 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?l < ?w ) }
Jamaica
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:diplomatic_relation ?o . ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Jamaica property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?l < ?w ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
6
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:P530 ?o . ?h rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q766 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?l < ?w ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
6
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h property:diplomatic_relation ?o . ?h rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Jamaica property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?l < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1019
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with more number of administrative territories than Madagascar ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1019
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q1019 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } }
Madagascar
action count
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Madagascar
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 ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Madagascar property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
141
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1019
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q1019 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman 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 Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
141
action count
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Madagascar
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 ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Madagascar property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q17
P530
Q15617994 Q15617994
USER
And also tell me about Japan?
(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 Q17
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q17 property:P530 ?a } } . FILTER ( ?r > ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?r ) WHERE { ?o property:P530 ?j . ?o rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?o } }
Japan
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 Japan
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 ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Japan property:diplomatic_relation ?a } } . FILTER ( ?r > ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?r ) WHERE { ?o property:diplomatic_relation ?j . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
8
Q801 Q805 Q142 Q148 Q159 Q155 Q30 Q38
(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 Q17
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q17 property:P530 ?a } } . FILTER ( ?r > ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?r ) WHERE { ?o property:P530 ?j . ?o rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?o } }
Israel Yemen France People's Republic of China Russia Brazil United States of America Italy
8
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 Japan
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 ( ?o ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Japan property:diplomatic_relation ?a } } . FILTER ( ?r > ?l ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?r ) WHERE { ?o property:diplomatic_relation ?j . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with lesser number of administrative territories than Canada ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?v ) WHERE { ?x property:P530 ?b . ?x rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q16 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?v < ?t ) }
Canada
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?v ) WHERE { ?x property:diplomatic_relation ?b . ?x rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Canada property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v < ?t ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?v ) WHERE { ?x property:P530 ?b . ?x rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q16 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?v < ?t ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?v ) WHERE { ?x property:diplomatic_relation ?b . ?x rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Canada property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v < ?t ) }
[]