Simple Question (Direct)
Simple Question
Q18385198
P27
Q15617994
USER
Which administrative territory is the native country of Albert Quinn ?
(Q18385198,P27,c(Q15617994))
action filter_type
action find
entity Q18385198
relation P27
type Q15617994
['Q18385198', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q18385198 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Albert Quinn
action filter_type
action find
entity Albert Quinn
relation country of citizenship
type designation for an administrative territorial entity
['Albert Quinn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Albert_Quinn property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q18385198,P27,c(Q15617994))
action filter_type
action find
entity Q18385198
relation P27
type Q15617994
In [ANSWER] is the native country of Albert Quinn
['Q18385198', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q18385198 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
In United Kingdom is the native country of Albert Quinn
United Kingdom
action filter_type
action find
entity Albert Quinn
relation country of citizenship
type designation for an administrative territorial entity
['Albert Quinn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Albert_Quinn property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18385198
P21
Q290
USER
Which sex does Albert Quinn possess ?
(Q18385198,P21,c(Q290))
action filter_type
action find
entity Q18385198
relation P21
type Q290
['Q18385198', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q18385198 property:P21 ?c . ?c rdf:type ontology:Q290 }
Albert Quinn
action filter_type
action find
entity Albert Quinn
relation gender
type sex
['Albert Quinn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Albert_Quinn property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18385198,P21,c(Q290))
action filter_type
action find
entity Q18385198
relation P21
type Q290
Albert Quinn possesses a [ANSWER]
['Q18385198', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q18385198 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Albert Quinn possesses a male
male
action filter_type
action find
entity Albert Quinn
relation gender
type sex
['Albert Quinn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Albert_Quinn property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11941076
Q290
USER
And how about Pere Vigo i Sallent?
(Q11941076,P21,c(Q290))
action filter_type
action find
entity Q11941076
relation P21
type Q290
['Q11941076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q11941076 property:P21 ?c . ?c rdf:type ontology:Q290 }
Pere Vigo i Sallent
action filter_type
action find
entity Pere Vigo i Sallent
relation gender
type sex
['Pere Vigo i Sallent', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Pere_Vigo_i_Sallent property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11941076,P21,c(Q290))
action filter_type
action find
entity Q11941076
relation P21
type Q290
[ANSWER]
['Q11941076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q11941076 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Pere Vigo i Sallent
relation gender
type sex
['Pere Vigo i Sallent', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Pere_Vigo_i_Sallent property:gender ?c . ?c rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q916
P37
Q34770 Q5962346 Q15617994
USER
Which administrative territories are greater number of languages or classification schemes the official language of than Angola ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q916
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q916 property:P37 ?k . { { ?k rdf:type ontology:Q34770 } UNION { ?k rdf:type ontology:Q5962346 } } } } . FILTER ( ?v > ?e ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?v ) WHERE { { ?f property:P37 ?x . ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q34770 } UNION { ?f property:P37 ?x . ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q5962346 } } GROUP BY ?f } }
Angola
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Angola
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Angola property:official_language ?k . { { ?k rdf:type ontology:language } UNION { ?k rdf:type ontology:classification_scheme } } } } . FILTER ( ?v > ?e ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?v ) WHERE { { ?f property:official_language ?x . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:language } UNION { ?f property:official_language ?x . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:classification_scheme } } GROUP BY ?f } }
[]
language classification scheme designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q916
relation P37
type Q34770
type Q5962346
[ANSWERS] are greater number of languages or classification schemes the official language of than Angola
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q916 property:P37 ?k . { { ?k rdf:type ontology:Q34770 } UNION { ?k rdf:type ontology:Q5962346 } } } } . FILTER ( ?v > ?e ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?v ) WHERE { { ?f property:P37 ?x . ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q34770 } UNION { ?f property:P37 ?x . ?f rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q5962346 } } GROUP BY ?f } }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy, Netherlands and Zambia are greater number of languages or classification schemes the official language of than Angola
Italy Netherlands Zambia
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Angola
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Angola property:official_language ?k . { { ?k rdf:type ontology:language } UNION { ?k rdf:type ontology:classification_scheme } } } } . FILTER ( ?v > ?e ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?v ) WHERE { { ?f property:official_language ?x . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:language } UNION { ?f property:official_language ?x . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:classification_scheme } } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q252
P37
Q34770 Q5962346 Q15617994
USER
And what about Indonesia?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q252
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q252 property:P37 ?o . { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } } } . FILTER ( ?f > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?l WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } GROUP BY ?l } }
Indonesia
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Indonesia
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Indonesia property:official_language ?o . { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:classification_scheme ) ( ontology:language ) } } } } . FILTER ( ?f > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?l WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:classification_scheme ) ( ontology:language ) } } GROUP BY ?l } }
[]
language classification scheme designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q252
relation P37
type Q34770
type Q5962346
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q252 property:P37 ?o . { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } } } . FILTER ( ?f > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?l WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } GROUP BY ?l } }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy Netherlands Zambia
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Indonesia
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Indonesia property:official_language ?o . { ?o rdf:type ?s . VALUES ( ?s ) { ( ontology:classification_scheme ) ( ontology:language ) } } } } . FILTER ( ?f > ?e ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?l WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:classification_scheme ) ( ontology:language ) } } GROUP BY ?l } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1651727
P530
Q1048835
USER
Do Pedrajas de San Esteban have tactful political relations with those administrative territories ?
(Q1651727,P530,Q38) (Q1651727,P530,Q55) (Q1651727,P530,Q953)
action is_in
entity prev_answer
action find
entity Q1651727
relation P530
['Q1651727', 'P530', 'Q38'] ['Q1651727', 'P530', 'Q55'] ['Q1651727', 'P530', 'Q953']
ASK WHERE { VALUES ( ?l ) { ( resource:Q804 ) ( resource:Q399 ) ( resource:Q800 ) } . resource:Q1651727 property:P530 ?l }
Pedrajas de San Esteban
action is_in
entity prev_answer
action find
entity Pedrajas de San Esteban
relation diplomatic relation
['Pedrajas de San Esteban', 'diplomatic relation', 'Italy'] ['Pedrajas de San Esteban', 'diplomatic relation', 'Netherlands'] ['Pedrajas de San Esteban', 'diplomatic relation', 'Zambia']
ASK WHERE { VALUES ( ?l ) { ( resource:Panama ) ( resource:Armenia ) ( resource:Costa_Rica ) } . resource:Pedrajas_de_San_Esteban property:diplomatic_relation ?l }
[]
political territorial entity
SYSTEM
NO
(Q1651727,P530,Q38) (Q1651727,P530,Q55) (Q1651727,P530,Q953)
action is_in
entity prev_answer
action find
entity Q1651727
relation P530
[ANSWER]
['Q1651727', 'P530', 'Q38'] ['Q1651727', 'P530', 'Q55'] ['Q1651727', 'P530', 'Q953']
ASK WHERE { VALUES ( ?l ) { ( resource:Q804 ) ( resource:Q399 ) ( resource:Q800 ) } . resource:Q1651727 property:P530 ?l }
No
action is_in
entity prev_answer
action find
entity Pedrajas de San Esteban
relation diplomatic relation
['Pedrajas de San Esteban', 'diplomatic relation', 'Italy'] ['Pedrajas de San Esteban', 'diplomatic relation', 'Netherlands'] ['Pedrajas de San Esteban', 'diplomatic relation', 'Zambia']
ASK WHERE { VALUES ( ?l ) { ( resource:Panama ) ( resource:Armenia ) ( resource:Costa_Rica ) } . resource:Pedrajas_de_San_Esteban property:diplomatic_relation ?l }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations 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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?g ) WHERE { ?s property:P530 ?r . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?g = ?c ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?l ) WHERE { ?y rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?y property:P530 ?t } GROUP BY ?y } } }
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?g ) WHERE { ?s property:diplomatic_relation ?r . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?g = ?c ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?l ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?t } GROUP BY ?y } } }
[]
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 tactful political relations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?g ) WHERE { ?s property:P530 ?r . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?g = ?c ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?l ) WHERE { ?y rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?y property:P530 ?t } GROUP BY ?y } } }
Georgia
Georgia have tactful political relations 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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?g ) WHERE { ?s property:diplomatic_relation ?r . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?g = ?c ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?l ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?t } GROUP BY ?y } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q230
P35
Q502895
USER
Who are the heads of state of that administrative territory ?
(Q230,P35,c(Q502895))
action filter_type
action find
entity Q230
relation P35
type Q502895
['Q230', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q230 property:P35 ?u . ?u rdf:type ontology:Q502895 }
Georgia
action filter_type
action find
entity Georgia
relation head of state
type common name
['Georgia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Georgia property:head_of_state ?u . ?u rdf:type ontology:common_name }
[]
common name
Q43330 Q151929 Q229493
SYSTEM
Mikhail Saakashvili, Eduard Shevardnadze, Nino Burjanadze
Q218435 Q229493 Q151929 Q43330 Q13107337
(Q230,P35,c(Q502895))
action filter_type
action find
entity Q230
relation P35
type Q502895
The heads of state of that administrative territory are [ANSWERS]
['Q230', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q230 property:P35 ?u . ?u rdf:type ontology:Q502895 }
Zviad Gamsakhurdia Nino Burjanadze Eduard Shevardnadze Mikhail Saakashvili Giorgi Margvelashvili
The heads of state of that administrative territory are Mikhail Saakashvili, Eduard Shevardnadze and Nino Burjanadze
Mikhail Saakashvili Eduard Shevardnadze Nino Burjanadze
action filter_type
action find
entity Georgia
relation head of state
type common name
['Georgia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Georgia property:head_of_state ?u . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P35
Q15617994
USER
Do Georgia have those people as their chief of state ?
(Q230,P35,Q43330) (Q230,P35,Q151929) (Q230,P35,Q229493)
action is_in
entity prev_answer
action find
entity Q230
relation P35
['Q230', 'P35', 'Q43330'] ['Q230', 'P35', 'Q151929'] ['Q230', 'P35', 'Q229493']
ASK WHERE { resource:Q230 property:P35 ?u . VALUES ( ?u ) { ( resource:Q218435 ) ( resource:Q229493 ) ( resource:Q151929 ) } }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation head of state
['Georgia', 'head of state', 'Mikhail Saakashvili'] ['Georgia', 'head of state', 'Eduard Shevardnadze'] ['Georgia', 'head of state', 'Nino Burjanadze']
ASK WHERE { resource:Georgia property:head_of_state ?u . VALUES ( ?u ) { ( resource:Zviad_Gamsakhurdia ) ( resource:Nino_Burjanadze ) ( resource:Eduard_Shevardnadze ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P35,Q43330) (Q230,P35,Q151929) (Q230,P35,Q229493)
action is_in
entity prev_answer
action find
entity Q230
relation P35
[ANSWER]
['Q230', 'P35', 'Q43330'] ['Q230', 'P35', 'Q151929'] ['Q230', 'P35', 'Q229493']
ASK WHERE { resource:Q230 property:P35 ?u . VALUES ( ?u ) { ( resource:Q218435 ) ( resource:Q229493 ) ( resource:Q151929 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation head of state
['Georgia', 'head of state', 'Mikhail Saakashvili'] ['Georgia', 'head of state', 'Eduard Shevardnadze'] ['Georgia', 'head of state', 'Nino Burjanadze']
ASK WHERE { resource:Georgia property:head_of_state ?u . VALUES ( ?u ) { ( resource:Zviad_Gamsakhurdia ) ( resource:Nino_Burjanadze ) ( resource:Eduard_Shevardnadze ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q151929 Q230
P27
Q15617994
USER
Is Georgia the native country of Eduard Shevardnadze ?
(Q151929,P27,Q230)
action is_in
entity Q230
action find
entity Q151929
relation P27
['Q151929', 'P27', 'Q230']
ASK WHERE { resource:Q151929 property:P27 resource:Q230 }
Eduard Shevardnadze Georgia
action is_in
entity Georgia
action find
entity Eduard Shevardnadze
relation country of citizenship
['Eduard Shevardnadze', 'country of citizenship', 'Georgia']
ASK WHERE { resource:Eduard_Shevardnadze property:country_of_citizenship resource:Georgia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q151929,P27,Q230)
action is_in
entity Q230
action find
entity Q151929
relation P27
[ANSWER]
['Q151929', 'P27', 'Q230']
ASK WHERE { resource:Q151929 property:P27 resource:Q230 }
Yes
action is_in
entity Georgia
action find
entity Eduard Shevardnadze
relation country of citizenship
['Eduard Shevardnadze', 'country of citizenship', 'Georgia']
ASK WHERE { resource:Eduard_Shevardnadze property:country_of_citizenship resource:Georgia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q151929
P991
Q40231
USER
Where was that person elected successfully from ?
action filter_type
action find_reverse
entity Q151929
relation P991
type Q40231
SELECT DISTINCT ?l WHERE { ?l property:P991 resource:Q151929 . ?l rdf:type ontology:Q40231 }
Eduard Shevardnadze
action filter_type
action find_reverse
entity Eduard Shevardnadze
relation successful candidate
type election
SELECT DISTINCT ?l WHERE { ?l property:successful_candidate resource:Eduard_Shevardnadze . ?l rdf:type ontology:election }
[]
election
Q5548089
SYSTEM
Georgian presidential election, 2000
Q5548089
action filter_type
action find_reverse
entity Q151929
relation P991
type Q40231
Successfully from the [ANSWER] that person was elected
SELECT DISTINCT ?l WHERE { ?l property:P991 resource:Q151929 . ?l rdf:type ontology:Q40231 }
Georgian presidential election, 2000
Successfully from the Georgian presidential election, 2000 that person was elected
Georgian presidential election, 2000
action filter_type
action find_reverse
entity Eduard Shevardnadze
relation successful candidate
type election
SELECT DISTINCT ?l WHERE { ?l property:successful_candidate resource:Eduard_Shevardnadze . ?l rdf:type ontology:election }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q151929 Q80504
P166
Q618779
USER
How many awards were received by Eduard Shevardnadze and Nicolae Ceaușescu ?
(Q151929,P166,c(Q618779)) (Q80504,P166,c(Q618779))
action count
action intersection
action filter_type
action find
entity Q151929
relation P166
type Q618779
action filter_type
action find
entity Q80504
relation P166
type Q618779
['Q151929', 'P166', {'concept': 'Q618779'}] ['Q80504', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:Q618779 . resource:Q80504 property:P166 ?w . resource:Q151929 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Eduard Shevardnadze Nicolae Ceaușescu
action count
action intersection
action filter_type
action find
entity Eduard Shevardnadze
relation award received
type award
action filter_type
action find
entity Nicolae Ceaușescu
relation award received
type award
['Eduard Shevardnadze', 'award received', {'concept': 'award'}] ['Nicolae Ceaușescu', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:award . resource:Nicolae_Ceaușescu property:award_received ?w . resource:Eduard_Shevardnadze property:award_received ?w . ?w rdf:type ontology:award }
[]
award
SYSTEM
2
Q185493 Q728960
(Q151929,P166,c(Q618779)) (Q80504,P166,c(Q618779))
action count
action intersection
action filter_type
action find
entity Q151929
relation P166
type Q618779
action filter_type
action find
entity Q80504
relation P166
type Q618779
[ANSWER]
['Q151929', 'P166', {'concept': 'Q618779'}] ['Q80504', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:Q618779 . resource:Q80504 property:P166 ?w . resource:Q151929 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Order of Lenin Order of the October Revolution
2
action count
action intersection
action filter_type
action find
entity Eduard Shevardnadze
relation award received
type award
action filter_type
action find
entity Nicolae Ceaușescu
relation award received
type award
['Eduard Shevardnadze', 'award received', {'concept': 'award'}] ['Nicolae Ceaușescu', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ontology:award . resource:Nicolae_Ceaușescu property:award_received ?w . resource:Eduard_Shevardnadze property:award_received ?w . ?w rdf:type ontology:award }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2528268
P138
Q2221906 Q2472587 Q15617994
USER
Which administrative territories are the eponym of around the same number of geographic locations or peoples as Mont-Blanc ?
(c(Q15617994),P138,c(Q2221906)|c(Q2472587))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action count
action filter_multi_types
action find
entity Q2528268
relation P138
type Q2221906
type Q2472587
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?u ) WHERE { { ?b property:P138 ?q . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q2221906 } UNION { ?b property:P138 ?q . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q2472587 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q2528268 property:P138 ?o . { { ?o rdf:type ontology:Q2221906 } UNION { ?o rdf:type ontology:Q2472587 } } } } . FILTER ( ?u = ?a ) }
Mont-Blanc
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action count
action filter_multi_types
action find
entity Mont-Blanc
relation named after
type geographic location
type people
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'people'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?u ) WHERE { { ?b property:named_after ?q . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:geographic_location } UNION { ?b property:named_after ?q . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:people } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Mont-Blanc property:named_after ?o . { { ?o rdf:type ontology:geographic_location } UNION { ?o rdf:type ontology:people } } } } . FILTER ( ?u = ?a ) }
[]
geographic location people designation for an administrative territorial entity
Q155 Q159 Q142
SYSTEM
Brazil, Russia, France
Q158876 Q968630 Q705 Q3216 Q707 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q221 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q1366860 Q12788 Q12584 Q12580 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q2921370 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q2221906)|c(Q2472587))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action count
action filter_multi_types
action find
entity Q2528268
relation P138
type Q2221906
type Q2472587
[ANSWERS] are the eponym of around the same number of geographic locations or peoples as Mont-Blanc
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?u ) WHERE { { ?b property:P138 ?q . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q2221906 } UNION { ?b property:P138 ?q . ?b rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q2472587 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q2528268 property:P138 ?o . { { ?o rdf:type ontology:Q2221906 } UNION { ?o rdf:type ontology:Q2472587 } } } } . FILTER ( ?u = ?a ) }
Reinickendorf Taro Zeeland Aveyron Flevoland Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Republic of Macedonia Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Escaut Val-de-Marne Maine-et-Loire Lozère Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Bouches-de-l'Èbre-Montserrat Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
Brazil, Russia and France are the eponym of around the same number of geographic locations or peoples as Mont-Blanc
Brazil Russia France
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action count
action filter_multi_types
action find
entity Mont-Blanc
relation named after
type geographic location
type people
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'people'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?u ) WHERE { { ?b property:named_after ?q . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:geographic_location } UNION { ?b property:named_after ?q . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:people } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Mont-Blanc property:named_after ?o . { { ?o rdf:type ontology:geographic_location } UNION { ?o rdf:type ontology:people } } } } . FILTER ( ?u = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2758
P138
Q2221906 Q2472587 Q15617994
USER
And how about Mönchengladbach?
(c(Q15617994),P138,c(Q2221906)|c(Q2472587))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action count
action filter_multi_types
action find
entity Q2758
relation P138
type Q2221906
type Q2472587
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?y ) WHERE { { ?b property:P138 ?h . ?b rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2221906 } UNION { ?b property:P138 ?h . ?b rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2472587 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q2758 property:P138 ?n . { ?n rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2472587 ) ( ontology:Q2221906 ) } } } } . FILTER ( ?y = ?w ) }
Mönchengladbach
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action count
action filter_multi_types
action find
entity Mönchengladbach
relation named after
type geographic location
type people
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'people'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?y ) WHERE { { ?b property:named_after ?h . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:geographic_location } UNION { ?b property:named_after ?h . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:people } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Mönchengladbach property:named_after ?n . { ?n rdf:type ?x . VALUES ( ?x ) { ( ontology:people ) ( ontology:geographic_location ) } } } } . FILTER ( ?y = ?w ) }
[]
geographic location people designation for an administrative territorial entity
Q155 Q159 Q142
SYSTEM
Brazil, Russia, France
Q158876 Q968630 Q705 Q3216 Q707 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q3240 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q221 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q1366860 Q12788 Q12584 Q12580 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q2921370 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q2221906)|c(Q2472587))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
action count
action filter_multi_types
action find
entity Q2758
relation P138
type Q2221906
type Q2472587
[ANSWERS]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?y ) WHERE { { ?b property:P138 ?h . ?b rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2221906 } UNION { ?b property:P138 ?h . ?b rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q2472587 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q2758 property:P138 ?n . { ?n rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2472587 ) ( ontology:Q2221906 ) } } } } . FILTER ( ?y = ?w ) }
Reinickendorf Taro Zeeland Aveyron Flevoland Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Bouches-du-Rhône Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Republic of Macedonia Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Escaut Val-de-Marne Maine-et-Loire Lozère Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Bouches-de-l'Èbre-Montserrat Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
Brazil Russia France
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
action count
action filter_multi_types
action find
entity Mönchengladbach
relation named after
type geographic location
type people
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'people'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?y ) WHERE { { ?b property:named_after ?h . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:geographic_location } UNION { ?b property:named_after ?h . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:people } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Mönchengladbach property:named_after ?n . { ?n rdf:type ?x . VALUES ( ?x ) { ( ontology:people ) ( ontology:geographic_location ) } } } } . FILTER ( ?y = ?w ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q403
P530
Q15617994
USER
Do Serbia have diplomatic associations with those ones ?
(Q403,P530,Q155) (Q403,P530,Q159) (Q403,P530,Q142)
action is_in
entity prev_answer
action find
entity Q403
relation P530
['Q403', 'P530', 'Q155'] ['Q403', 'P530', 'Q159'] ['Q403', 'P530', 'Q142']
ASK WHERE { VALUES ( ?m ) { ( resource:Q158876 ) ( resource:Q968630 ) ( resource:Q705 ) } . resource:Q403 property:P530 ?m }
Serbia
action is_in
entity prev_answer
action find
entity Serbia
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Brazil'] ['Serbia', 'diplomatic relation', 'Russia'] ['Serbia', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?m ) { ( resource:Reinickendorf ) ( resource:Taro ) ( resource:Zeeland ) } . resource:Serbia property:diplomatic_relation ?m }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q403,P530,Q155) (Q403,P530,Q159) (Q403,P530,Q142)
action is_in
entity prev_answer
action find
entity Q403
relation P530
[ANSWER]
['Q403', 'P530', 'Q155'] ['Q403', 'P530', 'Q159'] ['Q403', 'P530', 'Q142']
ASK WHERE { VALUES ( ?m ) { ( resource:Q158876 ) ( resource:Q968630 ) ( resource:Q705 ) } . resource:Q403 property:P530 ?m }
Yes
action is_in
entity prev_answer
action find
entity Serbia
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Brazil'] ['Serbia', 'diplomatic relation', 'Russia'] ['Serbia', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?m ) { ( resource:Reinickendorf ) ( resource:Taro ) ( resource:Zeeland ) } . resource:Serbia property:diplomatic_relation ?m }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q20
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with less number of administrative territories than Norway ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q20
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?p ) WHERE { ?c property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q20 property:P530 ?u } } . FILTER ( ?p < ?d ) }
Norway
action count
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 Norway
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?p ) WHERE { ?c property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:diplomatic_relation ?u } } . FILTER ( ?p < ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q20
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?p ) WHERE { ?c property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q20 property:P530 ?u } } . FILTER ( ?p < ?d ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
action count
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 Norway
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?p ) WHERE { ?c property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:diplomatic_relation ?u } } . FILTER ( ?p < ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q423
P530
Q15617994 Q15617994
USER
And what about North Korea?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q423
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?l ) WHERE { ?r property:P530 ?t . ?r rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q423 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?l < ?j ) }
North Korea
action count
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 North Korea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?l ) WHERE { ?r property:diplomatic_relation ?t . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:North_Korea property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l < ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
95
Q702 Q804 Q800 Q55 Q262 Q783 Q265 Q712 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q983 Q851 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q224 Q221 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q423
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?l ) WHERE { ?r property:P530 ?t . ?r rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q423 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?l < ?j ) }
Federated States of Micronesia Panama Costa Rica Netherlands Algeria Honduras Uzbekistan Fiji Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Equatorial Guinea Saudi Arabia Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Croatia Republic of Macedonia Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga New Caledonia Thailand
95
action count
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 North Korea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?l ) WHERE { ?r property:diplomatic_relation ?t . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:North_Korea property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l < ?j ) }
[]