Simple Question (Direct)
Simple Question
Q576453
P21
Q290
USER
Which sex does Charles Clark have ?
(Q576453,P21,c(Q290))
action filter_type
action find
entity Q576453
relation P21
type Q290
['Q576453', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q576453 property:P21 ?g . ?g rdf:type ontology:Q290 }
Charles Clark
action filter_type
action find
entity Charles Clark
relation gender
type sex
['Charles Clark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Charles_Clark property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q576453,P21,c(Q290))
action filter_type
action find
entity Q576453
relation P21
type Q290
Charles Clark has a [ANSWER]
['Q576453', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q576453 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
Charles Clark has a male
male
action filter_type
action find
entity Charles Clark
relation gender
type sex
['Charles Clark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Charles_Clark property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q576453
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Charles Clark ?
(Q576453,P27,c(Q15617994))
action filter_type
action find
entity Q576453
relation P27
type Q15617994
['Q576453', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q576453 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Charles Clark
action filter_type
action find
entity Charles Clark
relation country of citizenship
type designation for an administrative territorial entity
['Charles Clark', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Charles_Clark property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q576453,P27,c(Q15617994))
action filter_type
action find
entity Q576453
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Charles Clark
['Q576453', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q576453 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Charles Clark
United States of America
action filter_type
action find
entity Charles Clark
relation country of citizenship
type designation for an administrative territorial entity
['Charles Clark', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Charles_Clark property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q685
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with greater number of administrative territories than Solomon Islands ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { FILTER ( ?f > ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q685 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?f ) WHERE { ?p rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 . ?p property:P530 ?j } GROUP BY ?p } }
Solomon Islands
action count
action greater
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 designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { FILTER ( ?f > ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?f ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?j } GROUP BY ?p } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { FILTER ( ?f > ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q685 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?f ) WHERE { ?p rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 . ?p property:P530 ?j } GROUP BY ?p } }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
11
action count
action greater
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 designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { FILTER ( ?f > ?b ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?f ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?j } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q15617994
USER
And also tell me about Jamaica?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
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 ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?n ) WHERE { ?e property:P530 ?z . ?e rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q766 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?n > ?f ) }
Jamaica
action count
action greater
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 ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?n ) WHERE { ?e property:diplomatic_relation ?z . ?e rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Jamaica property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?n > ?f ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q15617994),P530,c(Q1048835))
action count
action greater
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 ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?n ) WHERE { ?e property:P530 ?z . ?e rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q766 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?n > ?f ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
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 ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?n ) WHERE { ?e property:diplomatic_relation ?z . ?e rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Jamaica property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?n > ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with max number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?w ) { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?k ) WHERE { ?j property:P530 ?e . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?j } } . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?t ) WHERE { ?h property:P530 ?v . ?h rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?t = ?w ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?h WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?w ) { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?k ) WHERE { ?j property:diplomatic_relation ?e . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } } . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?t ) WHERE { ?h property:diplomatic_relation ?v . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?t = ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic associations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?w ) { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?k ) WHERE { ?j property:P530 ?e . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?j } } . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?t ) WHERE { ?h property:P530 ?v . ?h rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?t = ?w ) }
Georgia
Georgia have diplomatic associations with max number of administrative territories
Georgia
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?h WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?w ) { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?k ) WHERE { ?j property:diplomatic_relation ?e . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } } . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?t ) WHERE { ?h property:diplomatic_relation ?v . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?t = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with around 53 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 53
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { FILTER ( ?x = 53 ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?a property:P530 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?a } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { FILTER ( ?x = 53 ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?a property:diplomatic_relation ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q155
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 53
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { FILTER ( ?x = 53 ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?a property:P530 ?h . ?a rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?a } }
Brazil
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { FILTER ( ?x = 53 ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?x ) WHERE { ?a property:diplomatic_relation ?h . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q576453 Q7349306
P102
Q7210356
USER
How many political organizations are Charles Clark or Robert Ritchie affiliated with ?
(Q576453,P102,c(Q7210356)) (Q7349306,P102,c(Q7210356))
action count
action union
action filter_type
action find
entity Q576453
relation P102
type Q7210356
action filter_type
action find
entity Q7349306
relation P102
type Q7210356
['Q576453', 'P102', {'concept': 'Q7210356'}] ['Q7349306', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?l property:P102 ?e . VALUES ( ?l ) { ( resource:Q576453 ) ( resource:Q7349306 ) } }
Charles Clark Robert Ritchie
action count
action union
action filter_type
action find
entity Charles Clark
relation member of political party
type political organization
action filter_type
action find
entity Robert Ritchie
relation member of political party
type political organization
['Charles Clark', 'member of political party', {'concept': 'political organization'}] ['Robert Ritchie', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?l property:member_of_political_party ?e . VALUES ( ?l ) { ( resource:Charles_Clark ) ( resource:Robert_Ritchie ) } }
[]
political organization
SYSTEM
2
Q29552 Q29468
(Q576453,P102,c(Q7210356)) (Q7349306,P102,c(Q7210356))
action count
action union
action filter_type
action find
entity Q576453
relation P102
type Q7210356
action filter_type
action find
entity Q7349306
relation P102
type Q7210356
[ANSWER]
['Q576453', 'P102', {'concept': 'Q7210356'}] ['Q7349306', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?l property:P102 ?e . VALUES ( ?l ) { ( resource:Q576453 ) ( resource:Q7349306 ) } }
Democratic Party Republican Party
2
action count
action union
action filter_type
action find
entity Charles Clark
relation member of political party
type political organization
action filter_type
action find
entity Robert Ritchie
relation member of political party
type political organization
['Charles Clark', 'member of political party', {'concept': 'political organization'}] ['Robert Ritchie', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?l property:member_of_political_party ?e . VALUES ( ?l ) { ( resource:Charles_Clark ) ( resource:Robert_Ritchie ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q242
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with around the same number of administrative territories as Belize ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?u ) WHERE { ?e property:P530 ?w . ?e rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q242 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?c ) }
Belize
action approx
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 Belize
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?u ) WHERE { ?e property:diplomatic_relation ?w . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Belize property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 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 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of administrative territories as Belize
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?u ) WHERE { ?e property:P530 ?w . ?e rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q242 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?c ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines 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 Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have diplomatic relations with around the same number of administrative territories as Belize
Netherlands Poland People's Republic of China
action approx
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 Belize
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?u ) WHERE { ?e property:diplomatic_relation ?w . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Belize property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?c ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q944113
P530
Q1048835
USER
Do Casas del Castañar have tactful political relations with those administrative territories ?
(Q944113,P530,Q55) (Q944113,P530,Q36) (Q944113,P530,Q148)
action is_in
entity prev_answer
action find
entity Q944113
relation P530
['Q944113', 'P530', 'Q55'] ['Q944113', 'P530', 'Q36'] ['Q944113', 'P530', 'Q148']
ASK WHERE { resource:Q944113 property:P530 ?x . VALUES ( ?x ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Casas del Castañar
action is_in
entity prev_answer
action find
entity Casas del Castañar
relation diplomatic relation
['Casas del Castañar', 'diplomatic relation', 'Netherlands'] ['Casas del Castañar', 'diplomatic relation', 'Poland'] ['Casas del Castañar', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Casas_del_Castañar property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q944113,P530,Q55) (Q944113,P530,Q36) (Q944113,P530,Q148)
action is_in
entity prev_answer
action find
entity Q944113
relation P530
[ANSWER]
['Q944113', 'P530', 'Q55'] ['Q944113', 'P530', 'Q36'] ['Q944113', 'P530', 'Q148']
ASK WHERE { resource:Q944113 property:P530 ?x . VALUES ( ?x ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Casas del Castañar
relation diplomatic relation
['Casas del Castañar', 'diplomatic relation', 'Netherlands'] ['Casas del Castañar', 'diplomatic relation', 'Poland'] ['Casas del Castañar', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Casas_del_Castañar property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q148 Q16
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with People's Republic of China and Canada ?
(Q148,P530,c(Q15617994)) (Q16,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q148
relation P530
type Q15617994
action filter_type
action find
entity Q16
relation P530
type Q15617994
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q148 property:P530 ?o . ?o rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
People's Republic of China Canada
action count
action intersection
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
6
Q711 Q159 Q801 Q155 Q30 Q38
(Q148,P530,c(Q15617994)) (Q16,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q148
relation P530
type Q15617994
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
['Q148', 'P530', {'concept': 'Q15617994'}] ['Q16', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q148 property:P530 ?o . ?o rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Mongolia Russia Israel Brazil United States of America Italy
6
action count
action intersection
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q148
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with People's Republic of China ?
(Q148,P530,c(Q15617994))
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
['Q148', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q148 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
People's Republic of China
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
10
Q711 Q159 Q801 Q155 Q1011 Q30 Q34020 Q805 Q403 Q38
(Q148,P530,c(Q15617994))
action count
action filter_type
action find
entity Q148
relation P530
type Q15617994
[ANSWER]
['Q148', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q148 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
Mongolia Russia Israel Brazil Cape Verde United States of America Niue Yemen Serbia Italy
10
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type designation for an administrative territorial entity
["People's Republic of China", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q155
P530
Q15617994
USER
And how about Brazil?
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q155 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Brazil
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Brazil property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
53
Q96 Q419 Q801 Q800 Q843 Q1029 Q822 Q241 Q244 Q668 Q574 Q414 Q983 Q142 Q145 Q148 Q783 Q43 Q17 Q30 Q36 Q77 Q750 Q1016 Q739 Q423 Q717 Q79 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q212 Q213 Q45 Q159 Q734 Q41 Q790 Q38 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[ANSWER]
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q155 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Mexico Peru Israel Costa Rica Pakistan Mozambique Lebanon Cuba Barbados India East Timor Argentina Equatorial Guinea France United Kingdom People's Republic of China Honduras Turkey Japan United States of America Poland Uruguay Bolivia Libya Colombia North Korea Venezuela Egypt Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Ukraine Czech Republic Portugal Russia Guyana Greece Haiti Italy Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola
53
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Brazil property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]