Simple Question (Direct)
Simple Question
Q3219443
P27
Q15617994
USER
Which administrative territory is Laurent Petitgand an inhabitant of ?
(Q3219443,P27,c(Q15617994))
action filter_type
action find
entity Q3219443
relation P27
type Q15617994
['Q3219443', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3219443 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Laurent Petitgand
action filter_type
action find
entity Laurent Petitgand
relation country of citizenship
type designation for an administrative territorial entity
['Laurent Petitgand', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Laurent_Petitgand property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3219443,P27,c(Q15617994))
action filter_type
action find
entity Q3219443
relation P27
type Q15617994
[ANSWER] is Laurent Petitgand an inhabitant of
['Q3219443', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3219443 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
France
France is Laurent Petitgand an inhabitant of
France
action filter_type
action find
entity Laurent Petitgand
relation country of citizenship
type designation for an administrative territorial entity
['Laurent Petitgand', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Laurent_Petitgand property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3219443
P21
Q290
USER
Which sex does Laurent Petitgand belong to ?
(Q3219443,P21,c(Q290))
action filter_type
action find
entity Q3219443
relation P21
type Q290
['Q3219443', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q3219443 property:P21 ?j . ?j rdf:type ontology:Q290 }
Laurent Petitgand
action filter_type
action find
entity Laurent Petitgand
relation gender
type sex
['Laurent Petitgand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Laurent_Petitgand property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3219443,P21,c(Q290))
action filter_type
action find
entity Q3219443
relation P21
type Q290
Laurent Petitgand belongs to [ANSWER]
['Q3219443', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q3219443 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Laurent Petitgand belongs to male
male
action filter_type
action find
entity Laurent Petitgand
relation gender
type sex
['Laurent Petitgand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Laurent_Petitgand property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1249640
Q290
USER
And what about Gyula Rochlitz?
(Q1249640,P21,c(Q290))
action filter_type
action find
entity Q1249640
relation P21
type Q290
['Q1249640', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q1249640 property:P21 ?c . ?c rdf:type ontology:Q290 }
Gyula Rochlitz
action filter_type
action find
entity Gyula Rochlitz
relation gender
type sex
['Gyula Rochlitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Gyula_Rochlitz property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1249640,P21,c(Q290))
action filter_type
action find
entity Q1249640
relation P21
type Q290
[ANSWER]
['Q1249640', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q1249640 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Gyula Rochlitz
relation gender
type sex
['Gyula Rochlitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Gyula_Rochlitz property:gender ?c . ?c rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q165376
P6
Q502895
USER
How many people do France or Badakhshan serve as the head of government for ?
(Q142,P6,c(Q502895)) (Q165376,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q142
relation P6
type Q502895
action filter_type
action find
entity Q165376
relation P6
type Q502895
['Q142', 'P6', {'concept': 'Q502895'}] ['Q165376', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { resource:Q142 property:P6 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q165376 property:P6 ?r . ?r rdf:type ontology:Q502895 } }
France Badakhshan
action count
action union
action filter_type
action find
entity France
relation head of government
type common name
action filter_type
action find
entity Badakhshan
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}] ['Badakhshan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { resource:France property:head_of_government ?r . ?r rdf:type ontology:common_name } UNION { resource:Badakhshan property:head_of_government ?r . ?r rdf:type ontology:common_name } }
[]
common name
SYSTEM
3
Q10287 Q7461379 Q7711
(Q142,P6,c(Q502895)) (Q165376,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q142
relation P6
type Q502895
action filter_type
action find
entity Q165376
relation P6
type Q502895
[ANSWER]
['Q142', 'P6', {'concept': 'Q502895'}] ['Q165376', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { resource:Q142 property:P6 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q165376 property:P6 ?r . ?r rdf:type ontology:Q502895 } }
Manuel Valls Shah Waliullah Adeeb Jean-Marc Ayrault
3
action count
action union
action filter_type
action find
entity France
relation head of government
type common name
action filter_type
action find
entity Badakhshan
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}] ['Badakhshan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { { resource:France property:head_of_government ?r . ?r rdf:type ontology:common_name } UNION { resource:Badakhshan property:head_of_government ?r . ?r rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3219443
P86
Q838948
USER
What were composed by Laurent Petitgand ?
(c(Q838948),P86,Q3219443)
action filter_type
action find_reverse
entity Q3219443
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q3219443']
SELECT DISTINCT ?o WHERE { ?o property:P86 resource:Q3219443 . ?o rdf:type ontology:Q838948 }
Laurent Petitgand
action filter_type
action find_reverse
entity Laurent Petitgand
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Laurent Petitgand']
SELECT DISTINCT ?o WHERE { ?o property:composer resource:Laurent_Petitgand . ?o rdf:type ontology:work_of_art }
[]
work of art
Q657477 Q870450 Q16736285
SYSTEM
Faraway, So Close!, A Trick of Light, The Salt of the Earth
Q3213673 Q599182 Q870450 Q657477 Q2712128 Q16736285
(c(Q838948),P86,Q3219443)
action filter_type
action find_reverse
entity Q3219443
relation P86
type Q838948
[ANSWERS] were composed by Laurent Petitgand
[{'concept': 'Q838948'}, 'P86', 'Q3219443']
SELECT DISTINCT ?o WHERE { ?o property:P86 resource:Q3219443 . ?o rdf:type ontology:Q838948 }
The Inner Life of Martin Frost Notebook on Cities and Clothes A Trick of Light Faraway, So Close! Tokyo-Ga The Salt of the Earth
Faraway, So Close!, A Trick of Light and The Salt of the Earth were composed by Laurent Petitgand
Faraway, So Close! A Trick of Light The Salt of the Earth
action filter_type
action find_reverse
entity Laurent Petitgand
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Laurent Petitgand']
SELECT DISTINCT ?o WHERE { ?o property:composer resource:Laurent_Petitgand . ?o rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3219443
P106
Q12737077
USER
What do Laurent Petitgand do for a living ?
(Q3219443,P106,c(Q12737077))
action filter_type
action find
entity Q3219443
relation P106
type Q12737077
['Q3219443', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3219443 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Laurent Petitgand
action filter_type
action find
entity Laurent Petitgand
relation occupation
type occupation
['Laurent Petitgand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Laurent_Petitgand property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q753110 Q33999 Q36834
SYSTEM
songwriter, actor, composer
Q753110 Q33999 Q36834
(Q3219443,P106,c(Q12737077))
action filter_type
action find
entity Q3219443
relation P106
type Q12737077
Laurent Petitgand do for a living a [ANSWERS]
['Q3219443', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3219443 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
songwriter actor composer
Laurent Petitgand do for a living a songwriter, actor and composer
songwriter actor composer
action filter_type
action find
entity Laurent Petitgand
relation occupation
type occupation
['Laurent Petitgand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Laurent_Petitgand property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5939121
Q12737077
USER
And how about José Cámara Buey?
(Q5939121,P106,c(Q12737077))
action filter_type
action find
entity Q5939121
relation P106
type Q12737077
['Q5939121', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q5939121 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
José Cámara Buey
action filter_type
action find
entity José Cámara Buey
relation occupation
type occupation
['José Cámara Buey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:José_Cámara_Buey property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q5939121,P106,c(Q12737077))
action filter_type
action find
entity Q5939121
relation P106
type Q12737077
[ANSWER]
['Q5939121', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q5939121 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
military personnel
military personnel
action filter_type
action find
entity José Cámara Buey
relation occupation
type occupation
['José Cámara Buey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:José_Cámara_Buey property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q47064 Q4653247 Q7257232
P425
Q43229
USER
Does military personnel have APCB and PUA Training as thier field of occupation ?
(Q47064,P425,Q4653247) (Q47064,P425,Q7257232)
action is_in
entity Q47064
action intersection
action find_reverse
entity Q4653247
relation P425
action find_reverse
entity Q7257232
relation P425
['Q47064', 'P425', 'Q4653247'] ['Q47064', 'P425', 'Q7257232']
ASK WHERE { resource:Q47064 property:P425 resource:Q4653247 . resource:Q47064 property:P425 resource:Q7257232 }
military personnel APCB PUA Training
action is_in
entity military personnel
action intersection
action find_reverse
entity APCB
relation field of this occupation
action find_reverse
entity PUA Training
relation field of this occupation
['military personnel', 'field of this occupation', 'APCB'] ['military personnel', 'field of this occupation', 'PUA Training']
ASK WHERE { resource:military_personnel property:field_of_this_occupation resource:APCB . resource:military_personnel property:field_of_this_occupation resource:PUA_Training }
[]
organization
SYSTEM
NO
(Q47064,P425,Q4653247) (Q47064,P425,Q7257232)
action is_in
entity Q47064
action intersection
action find_reverse
entity Q4653247
relation P425
action find_reverse
entity Q7257232
relation P425
[ANSWER]
['Q47064', 'P425', 'Q4653247'] ['Q47064', 'P425', 'Q7257232']
ASK WHERE { resource:Q47064 property:P425 resource:Q4653247 . resource:Q47064 property:P425 resource:Q7257232 }
No
action is_in
entity military personnel
action intersection
action find_reverse
entity APCB
relation field of this occupation
action find_reverse
entity PUA Training
relation field of this occupation
['military personnel', 'field of this occupation', 'APCB'] ['military personnel', 'field of this occupation', 'PUA Training']
ASK WHERE { resource:military_personnel property:field_of_this_occupation resource:APCB . resource:military_personnel property:field_of_this_occupation resource:PUA_Training }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q15813106 Q16736285
P495
Q15617994
USER
Which administrative territories are the origin of The Salt of the Earth and The Face of an Angel ?
AND((Q16736285,P495,c(Q15617994)), (Q15813106,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16736285
relation P495
action find
entity Q15813106
relation P495
type Q15617994
{'AND': [['Q16736285', 'P495', {'concept': 'Q15617994'}], ['Q15813106', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { resource:Q16736285 property:P495 ?y . resource:Q15813106 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
The Face of an Angel The Salt of the Earth
action filter_type
action intersection
action find
entity The Salt of the Earth
relation country of origin
action find
entity The Face of an Angel
relation country of origin
type designation for an administrative territorial entity
{'AND': [['The Salt of the Earth', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Face of an Angel', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:The_Salt_of_the_Earth property:country_of_origin ?y . resource:The_Face_of_an_Angel property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q16736285,P495,c(Q15617994)), (Q15813106,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16736285
relation P495
action find
entity Q15813106
relation P495
type Q15617994
[ANSWER] is the origin of The Salt of the Earth and The Face of an Angel
{'AND': [['Q16736285', 'P495', {'concept': 'Q15617994'}], ['Q15813106', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { resource:Q16736285 property:P495 ?y . resource:Q15813106 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Italy
Italy is the origin of The Salt of the Earth and The Face of an Angel
Italy
action filter_type
action intersection
action find
entity The Salt of the Earth
relation country of origin
action find
entity The Face of an Angel
relation country of origin
type designation for an administrative territorial entity
{'AND': [['The Salt of the Earth', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Face of an Angel', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:The_Salt_of_the_Earth property:country_of_origin ?y . resource:The_Face_of_an_Angel property:country_of_origin ?y . ?y 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 have diplomatic relationships with atmost 47 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 47
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P530 ?j . ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?m <= 47 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 47
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:diplomatic_relation ?j . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?m <= 47 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 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_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 47
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:P530 ?j . ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?m <= 47 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius 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 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 47
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?m ) WHERE { ?c property:diplomatic_relation ?j . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?m <= 47 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q262
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with around the same number of administrative territories as Algeria ?
(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 Q262
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?h ) WHERE { ?c property:P530 ?n . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q262 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?q ) }
Algeria
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 Algeria
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?h ) WHERE { ?c property:diplomatic_relation ?n . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Algeria property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?q ) }
[]
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 Q262
relation P530
type Q15617994
[ANSWERS] have tactful political relations with around the same number of administrative territories as Algeria
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?h ) WHERE { ?c property:P530 ?n . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q262 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?q ) }
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 tactful political relations with around the same number of administrative territories as Algeria
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 Algeria
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?h ) WHERE { ?c property:diplomatic_relation ?n . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Algeria property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q739
P530
Q15617994 Q15617994
USER
And what about Colombia?
(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 Q739
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?h ) WHERE { ?r property:P530 ?s . ?r rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q739 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?q ) }
Colombia
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 Colombia
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 ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?h ) WHERE { ?r property:diplomatic_relation ?s . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Colombia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?q ) }
[]
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 Q17 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 Q739
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?h ) WHERE { ?r property:P530 ?s . ?r rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q739 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?q ) }
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 Japan 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 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 Colombia
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 ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?h ) WHERE { ?r property:diplomatic_relation ?s . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Colombia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?q ) }
[]