Simple Question (Direct)
Simple Question
Q697548
P47
Q15617994
USER
Which administrative territories are adjacent to Favoriten ?
(Q697548,P47,c(Q15617994))
action filter_type
action find
entity Q697548
relation P47
type Q15617994
['Q697548', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q697548 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Favoriten
action filter_type
action find
entity Favoriten
relation shares border with
type designation for an administrative territorial entity
['Favoriten', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Favoriten property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q697557 Q279028 Q278900
SYSTEM
Meidling, Simmering, Liesing
Q252731 Q268001 Q697557 Q279028 Q278900 Q519552
(Q697548,P47,c(Q15617994))
action filter_type
action find
entity Q697548
relation P47
type Q15617994
[ANSWERS] are adjacent to Favoriten
['Q697548', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q697548 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Margareten Wieden Meidling Simmering Liesing Landstraße
Meidling, Simmering and Liesing are adjacent to Favoriten
Meidling Simmering Liesing
action filter_type
action find
entity Favoriten
relation shares border with
type designation for an administrative territorial entity
['Favoriten', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Favoriten property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q697548
P19
Q502895
USER
Who was born at Favoriten ?
(c(Q502895),P19,Q697548)
action filter_type
action find_reverse
entity Q697548
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q697548']
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q697548 . ?t rdf:type ontology:Q502895 }
Favoriten
action filter_type
action find_reverse
entity Favoriten
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Favoriten']
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Favoriten . ?t rdf:type ontology:common_name }
[]
common name
Q114172
SYSTEM
Fritz Moravec
Q114172
(c(Q502895),P19,Q697548)
action filter_type
action find_reverse
entity Q697548
relation P19
type Q502895
[ANSWER] was born at Favoriten
[{'concept': 'Q502895'}, 'P19', 'Q697548']
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q697548 . ?t rdf:type ontology:Q502895 }
Fritz Moravec
Fritz Moravec was born at Favoriten
Fritz Moravec
action filter_type
action find_reverse
entity Favoriten
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Favoriten']
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Favoriten . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q279028
P6
Q502895
USER
Which person does Simmering serve as the head of government for ?
(Q279028,P6,c(Q502895))
action filter_type
action find
entity Q279028
relation P6
type Q502895
['Q279028', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q279028 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Simmering
action filter_type
action find
entity Simmering
relation head of government
type common name
['Simmering', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Simmering property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q2143323
SYSTEM
Renate Angerer
Q2143323
(Q279028,P6,c(Q502895))
action filter_type
action find
entity Q279028
relation P6
type Q502895
Simmering serves for [ANSWER] as the head of government
['Q279028', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q279028 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Renate Angerer
Simmering serves for Renate Angerer as the head of government
Renate Angerer
action filter_type
action find
entity Simmering
relation head of government
type common name
['Simmering', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Simmering property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1633415
Q502895
USER
And also tell me about Hoyales de Roa?
(Q1633415,P6,c(Q502895))
action filter_type
action find
entity Q1633415
relation P6
type Q502895
['Q1633415', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1633415 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Hoyales de Roa
action filter_type
action find
entity Hoyales de Roa
relation head of government
type common name
['Hoyales de Roa', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Hoyales_de_Roa property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q14047270
SYSTEM
José María Jimeno Pardo
Q14047270
(Q1633415,P6,c(Q502895))
action filter_type
action find
entity Q1633415
relation P6
type Q502895
[ANSWER]
['Q1633415', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1633415 property:P6 ?h . ?h rdf:type ontology:Q502895 }
José María Jimeno Pardo
José María Jimeno Pardo
action filter_type
action find
entity Hoyales de Roa
relation head of government
type common name
['Hoyales de Roa', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Hoyales_de_Roa property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q14047270 Q111289 Q279165
P27
Q15617994
USER
Is that person a civilian of Scandiano and Filignano ?
(Q14047270,P27,Q111289) (Q14047270,P27,Q279165)
action is_in
entity Q14047270
action intersection
action find_reverse
entity Q111289
relation P27
action find_reverse
entity Q279165
relation P27
['Q14047270', 'P27', 'Q111289'] ['Q14047270', 'P27', 'Q279165']
ASK WHERE { resource:Q14047270 property:P27 resource:Q111289 . resource:Q14047270 property:P27 resource:Q279165 }
José María Jimeno Pardo Scandiano Filignano
action is_in
entity José María Jimeno Pardo
action intersection
action find_reverse
entity Scandiano
relation country of citizenship
action find_reverse
entity Filignano
relation country of citizenship
['José María Jimeno Pardo', 'country of citizenship', 'Scandiano'] ['José María Jimeno Pardo', 'country of citizenship', 'Filignano']
ASK WHERE { resource:José_María_Jimeno_Pardo property:country_of_citizenship resource:Scandiano . resource:José_María_Jimeno_Pardo property:country_of_citizenship resource:Filignano }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q14047270,P27,Q111289) (Q14047270,P27,Q279165)
action is_in
entity Q14047270
action intersection
action find_reverse
entity Q111289
relation P27
action find_reverse
entity Q279165
relation P27
[ANSWER]
['Q14047270', 'P27', 'Q111289'] ['Q14047270', 'P27', 'Q279165']
ASK WHERE { resource:Q14047270 property:P27 resource:Q111289 . resource:Q14047270 property:P27 resource:Q279165 }
No
action is_in
entity José María Jimeno Pardo
action intersection
action find_reverse
entity Scandiano
relation country of citizenship
action find_reverse
entity Filignano
relation country of citizenship
['José María Jimeno Pardo', 'country of citizenship', 'Scandiano'] ['José María Jimeno Pardo', 'country of citizenship', 'Filignano']
ASK WHERE { resource:José_María_Jimeno_Pardo property:country_of_citizenship resource:Scandiano . resource:José_María_Jimeno_Pardo property:country_of_citizenship resource:Filignano }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q697548 Q40
P17
Q1048835
USER
Is Favoriten located in Austria ?
(Q697548,P17,Q40)
action is_in
entity Q40
action find
entity Q697548
relation P17
['Q697548', 'P17', 'Q40']
ASK WHERE { resource:Q697548 property:P17 resource:Q40 }
Favoriten Austria
action is_in
entity Austria
action find
entity Favoriten
relation country
['Favoriten', 'country', 'Austria']
ASK WHERE { resource:Favoriten property:country resource:Austria }
[]
political territorial entity
SYSTEM
YES
(Q697548,P17,Q40)
action is_in
entity Q40
action find
entity Q697548
relation P17
[ANSWER]
['Q697548', 'P17', 'Q40']
ASK WHERE { resource:Q697548 property:P17 resource:Q40 }
Yes
action is_in
entity Austria
action find
entity Favoriten
relation country
['Favoriten', 'country', 'Austria']
ASK WHERE { resource:Favoriten property:country resource:Austria }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q278900 Q24859 Q34422
P47
Q15617994
USER
Does Liesing share border with Balmuccia and Granze ?
(Q278900,P47,Q24859) (Q278900,P47,Q34422)
action is_in
entity Q278900
action intersection
action find_reverse
entity Q24859
relation P47
action find_reverse
entity Q34422
relation P47
['Q278900', 'P47', 'Q24859'] ['Q278900', 'P47', 'Q34422']
ASK WHERE { resource:Q278900 property:P47 resource:Q34422 . resource:Q278900 property:P47 resource:Q24859 }
Liesing Balmuccia Granze
action is_in
entity Liesing
action intersection
action find_reverse
entity Balmuccia
relation shares border with
action find_reverse
entity Granze
relation shares border with
['Liesing', 'shares border with', 'Balmuccia'] ['Liesing', 'shares border with', 'Granze']
ASK WHERE { resource:Liesing property:shares_border_with resource:Granze . resource:Liesing property:shares_border_with resource:Balmuccia }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q278900,P47,Q24859) (Q278900,P47,Q34422)
action is_in
entity Q278900
action intersection
action find_reverse
entity Q24859
relation P47
action find_reverse
entity Q34422
relation P47
[ANSWER]
['Q278900', 'P47', 'Q24859'] ['Q278900', 'P47', 'Q34422']
ASK WHERE { resource:Q278900 property:P47 resource:Q34422 . resource:Q278900 property:P47 resource:Q24859 }
No
action is_in
entity Liesing
action intersection
action find_reverse
entity Balmuccia
relation shares border with
action find_reverse
entity Granze
relation shares border with
['Liesing', 'shares border with', 'Balmuccia'] ['Liesing', 'shares border with', 'Granze']
ASK WHERE { resource:Liesing property:shares_border_with resource:Granze . resource:Liesing property:shares_border_with resource:Balmuccia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2143323
P106
Q12737077
USER
What is the job of Renate Angerer ?
(Q2143323,P106,c(Q12737077))
action filter_type
action find
entity Q2143323
relation P106
type Q12737077
['Q2143323', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2143323 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Renate Angerer
action filter_type
action find
entity Renate Angerer
relation occupation
type occupation
['Renate Angerer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Renate_Angerer property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2143323,P106,c(Q12737077))
action filter_type
action find
entity Q2143323
relation P106
type Q12737077
The job of Renate Angerer is a [ANSWER]
['Q2143323', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2143323 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
politician
The job of Renate Angerer is a politician
politician
action filter_type
action find
entity Renate Angerer
relation occupation
type occupation
['Renate Angerer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Renate_Angerer property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P921
Q223393 Q2342494
USER
How many literary genres or collectables are that occupation a main subject of ?
(c(Q223393),P921,Q82955) (c(Q2342494),P921,Q82955) (c(Q223393),P921,Q82955) (c(Q2342494),P921,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[{'concept': 'Q223393'}, 'P921', 'Q82955'] [{'concept': 'Q2342494'}, 'P921', 'Q82955'] [{'concept': 'Q223393'}, 'P921', 'Q82955'] [{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q223393 ) ( ontology:Q2342494 ) } }
action count
action union
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'literary genre'}, 'main subject', 'politician'] [{'concept': 'collectable'}, 'main subject', 'politician'] [{'concept': 'literary genre'}, 'main subject', 'politician'] [{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:literary_genre ) ( ontology:collectable ) } }
[]
literary genre collectable
SYSTEM
2
Q21815179 Q21601944
(c(Q223393),P921,Q82955) (c(Q2342494),P921,Q82955) (c(Q223393),P921,Q82955) (c(Q2342494),P921,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q223393'}, 'P921', 'Q82955'] [{'concept': 'Q2342494'}, 'P921', 'Q82955'] [{'concept': 'Q223393'}, 'P921', 'Q82955'] [{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q223393 ) ( ontology:Q2342494 ) } }
worldstatesmen Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
2
action count
action union
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'literary genre'}, 'main subject', 'politician'] [{'concept': 'collectable'}, 'main subject', 'politician'] [{'concept': 'literary genre'}, 'main subject', 'politician'] [{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:literary_genre ) ( ontology:collectable ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q9027929 Q14047270
P27
Q15617994
USER
Which administrative territories do José María Jimeno Pardo and Manuel Martínez Pedroso belong to ?
AND((Q14047270,P27,c(Q15617994)), (Q9027929,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q14047270
relation P27
action find
entity Q9027929
relation P27
type Q15617994
{'AND': [['Q14047270', 'P27', {'concept': 'Q15617994'}], ['Q9027929', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q14047270 property:P27 ?o . resource:Q9027929 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Manuel Martínez Pedroso José María Jimeno Pardo
action filter_type
action intersection
action find
entity José María Jimeno Pardo
relation country of citizenship
action find
entity Manuel Martínez Pedroso
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['José María Jimeno Pardo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Manuel Martínez Pedroso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:José_María_Jimeno_Pardo property:country_of_citizenship ?o . resource:Manuel_Martínez_Pedroso property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q14047270,P27,c(Q15617994)), (Q9027929,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q14047270
relation P27
action find
entity Q9027929
relation P27
type Q15617994
José María Jimeno Pardo and Manuel Martínez Pedroso belong to Real [ANSWER]
{'AND': [['Q14047270', 'P27', {'concept': 'Q15617994'}], ['Q9027929', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q14047270 property:P27 ?o . resource:Q9027929 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Spain
José María Jimeno Pardo and Manuel Martínez Pedroso belong to Real Spain
Spain
action filter_type
action intersection
action find
entity José María Jimeno Pardo
relation country of citizenship
action find
entity Manuel Martínez Pedroso
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['José María Jimeno Pardo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Manuel Martínez Pedroso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:José_María_Jimeno_Pardo property:country_of_citizenship ?o . resource:Manuel_Martínez_Pedroso property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q225
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with less number of administrative territories than Bosnia and Herzegovina ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q225
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?m ) WHERE { ?k property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q225 property:P530 ?t } } . FILTER ( ?m < ?q ) }
Bosnia and Herzegovina
action less
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 Bosnia and Herzegovina
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 ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?m ) WHERE { ?k property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bosnia_and_Herzegovina property:diplomatic_relation ?t } } . FILTER ( ?m < ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q145
SYSTEM
Netherlands, Poland, United Kingdom
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 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 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 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q225
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with less number of administrative territories than Bosnia and Herzegovina
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?m ) WHERE { ?k property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q225 property:P530 ?t } } . FILTER ( ?m < ?q ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria 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 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 Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and United Kingdom have diplomatic relations with less number of administrative territories than Bosnia and Herzegovina
Netherlands Poland United Kingdom
action less
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 Bosnia and Herzegovina
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 ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?m ) WHERE { ?k property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bosnia_and_Herzegovina property:diplomatic_relation ?t } } . FILTER ( ?m < ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q222
P530
Q15617994 Q15617994
USER
And what about Albania?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?x ) WHERE { ?o property:P530 ?d . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q222 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } }
Albania
action less
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 Albania
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?x ) WHERE { ?o property:diplomatic_relation ?d . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Albania property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q32
SYSTEM
Netherlands, Poland, Luxembourg
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q954 Q889 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 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q222
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?x ) WHERE { ?o property:P530 ?d . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q222 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Zimbabwe Afghanistan 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 Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus 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 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 Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands Poland Luxembourg
action less
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 Albania
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?x ) WHERE { ?o property:diplomatic_relation ?d . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Albania property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]