Simple Question (Direct)
Simple Question
Q63946
P190
Q15617994
USER
Which administrative territory is twin city of Yverdon-les-Bains ?
(Q63946,P190,c(Q15617994))
action filter_type
action find
entity Q63946
relation P190
type Q15617994
['Q63946', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q63946 property:P190 ?i . ?i rdf:type ontology:Q15617994 }
Yverdon-les-Bains
action filter_type
action find
entity Yverdon-les-Bains
relation sister city
type designation for an administrative territorial entity
['Yverdon-les-Bains', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Yverdon-les-Bains property:sister_city ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q491394
SYSTEM
Collesano
Q491394
(Q63946,P190,c(Q15617994))
action filter_type
action find
entity Q63946
relation P190
type Q15617994
[ANSWER] is twin city of Yverdon-les-Bains
['Q63946', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q63946 property:P190 ?i . ?i rdf:type ontology:Q15617994 }
Collesano
Collesano is twin city of Yverdon-les-Bains
Collesano
action filter_type
action find
entity Yverdon-les-Bains
relation sister city
type designation for an administrative territorial entity
['Yverdon-les-Bains', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Yverdon-les-Bains property:sister_city ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q63946
P159
Q43229
USER
Which organization has HQ at Yverdon-les-Bains ?
(c(Q43229),P159,Q63946)
action filter_type
action find_reverse
entity Q63946
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q63946']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q63946 . ?n rdf:type ontology:Q43229 }
Yverdon-les-Bains
action filter_type
action find_reverse
entity Yverdon-les-Bains
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Yverdon-les-Bains']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Yverdon-les-Bains . ?n rdf:type ontology:organization }
[]
organization
Q680683
SYSTEM
Leclanché
Q680683
(c(Q43229),P159,Q63946)
action filter_type
action find_reverse
entity Q63946
relation P159
type Q43229
[ANSWER] has HQ at Yverdon-les-Bains
[{'concept': 'Q43229'}, 'P159', 'Q63946']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q63946 . ?n rdf:type ontology:Q43229 }
Leclanché
Leclanché has HQ at Yverdon-les-Bains
Leclanché
action filter_type
action find_reverse
entity Yverdon-les-Bains
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Yverdon-les-Bains']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Yverdon-les-Bains . ?n rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q63946
P1001
Q12737077
USER
Which occupation has control over the jurisdiction of Yverdon-les-Bains ?
(c(Q12737077),P1001,Q63946)
action filter_type
action find_reverse
entity Q63946
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q63946']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . ?q property:P1001 resource:Q63946 }
Yverdon-les-Bains
action filter_type
action find_reverse
entity Yverdon-les-Bains
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Yverdon-les-Bains']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . ?q property:applies_to_jurisdiction resource:Yverdon-les-Bains }
[]
occupation
Q24701587
SYSTEM
mayor of Yverdon-les-Bains
Q24701587
(c(Q12737077),P1001,Q63946)
action filter_type
action find_reverse
entity Q63946
relation P1001
type Q12737077
The [ANSWER] has control over the jurisdiction of Yverdon-les-Bains
[{'concept': 'Q12737077'}, 'P1001', 'Q63946']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . ?q property:P1001 resource:Q63946 }
mayor of Yverdon-les-Bains
The mayor of Yverdon-les-Bains has control over the jurisdiction of Yverdon-les-Bains
mayor of Yverdon-les-Bains
action filter_type
action find_reverse
entity Yverdon-les-Bains
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Yverdon-les-Bains']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . ?q property:applies_to_jurisdiction resource:Yverdon-les-Bains }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q491394
P47
Q15617994
USER
Who share the border with Collesano ?
(Q491394,P47,c(Q15617994))
action filter_type
action find
entity Q491394
relation P47
type Q15617994
['Q491394', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q491394 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Collesano
action filter_type
action find
entity Collesano
relation shares border with
type designation for an administrative territorial entity
['Collesano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Collesano property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q490851 Q496885 Q496926
SYSTEM
Termini Imerese, Isnello, Cerda
Q496885 Q491410 Q496926 Q490907 Q490951 Q496823 Q490851
(Q491394,P47,c(Q15617994))
action filter_type
action find
entity Q491394
relation P47
type Q15617994
[ANSWERS] share the border with Collesano
['Q491394', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q491394 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Isnello Lascari Cerda Scillato Gratteri Campofelice di Roccella Termini Imerese
Termini Imerese, Isnello and Cerda share the border with Collesano
Termini Imerese Isnello Cerda
action filter_type
action find
entity Collesano
relation shares border with
type designation for an administrative territorial entity
['Collesano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Collesano property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q37985
Q15617994
USER
And what about Carinthia?
(Q37985,P47,c(Q15617994))
action filter_type
action find
entity Q37985
relation P47
type Q15617994
['Q37985', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q37985 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Carinthia
action filter_type
action find
entity Carinthia
relation shares border with
type designation for an administrative territorial entity
['Carinthia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Carinthia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1243 Q1250
SYSTEM
Veneto, Friuli–Venezia Giulia
Q1243 Q1250
(Q37985,P47,c(Q15617994))
action filter_type
action find
entity Q37985
relation P47
type Q15617994
[ANSWERS]
['Q37985', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q37985 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Veneto Friuli–Venezia Giulia
Veneto Friuli–Venezia Giulia
action filter_type
action find
entity Carinthia
relation shares border with
type designation for an administrative territorial entity
['Carinthia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Carinthia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q854
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with more number of administrative territories than Sri Lanka ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q854 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?d } }
Sri Lanka
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Sri Lanka
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 ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Sri_Lanka property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of administrative territories than Sri Lanka
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q854 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?d } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with more number of administrative territories than Sri Lanka
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Sri Lanka
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 ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Sri_Lanka property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q702
P530
Q15617994 Q15617994
USER
And also tell me about Federated States of Micronesia?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q702
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q702 property:P530 ?u } } . FILTER ( ?s > ?i ) }
Federated States of Micronesia
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Federated States of Micronesia
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Federated_States_of_Micronesia property:diplomatic_relation ?u } } . FILTER ( ?s > ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q702
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q15617994 . resource:Q702 property:P530 ?u } } . FILTER ( ?s > ?i ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Federated States of Micronesia
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Federated_States_of_Micronesia property:diplomatic_relation ?u } } . FILTER ( ?s > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q916
P37
Q5962346 Q34770 Q15617994
USER
Which administrative territories are known to have greater number of classification schemes and languages as their official language than Angola ?
(c(Q15617994),P37,c(Q5962346)|c(Q34770))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q916
relation P37
type Q5962346
type Q34770
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { { ?q property:P37 ?b . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q5962346 } UNION { ?q property:P37 ?b . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q34770 } } GROUP BY ?q } . FILTER ( ?h > ?z ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q916 property:P37 ?t . { { ?t rdf:type ontology:Q5962346 } UNION { ?t rdf:type ontology:Q34770 } } } } }
Angola
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Angola
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { { ?q property:official_language ?b . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:classification_scheme } UNION { ?q property:official_language ?b . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:language } } GROUP BY ?q } . FILTER ( ?h > ?z ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Angola property:official_language ?t . { { ?t rdf:type ontology:classification_scheme } UNION { ?t rdf:type ontology:language } } } } }
[]
classification scheme language 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(Q5962346)|c(Q34770))
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_multi_types
action find
entity Q916
relation P37
type Q5962346
type Q34770
[ANSWERS] are known to have greater number of classification schemes and languages as their official language than Angola
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q5962346'}, {'concept': 'Q34770'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { { ?q property:P37 ?b . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q5962346 } UNION { ?q property:P37 ?b . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q34770 } } GROUP BY ?q } . FILTER ( ?h > ?z ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q916 property:P37 ?t . { { ?t rdf:type ontology:Q5962346 } UNION { ?t rdf:type ontology:Q34770 } } } } }
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 known to have greater number of classification schemes and languages as their official language than Angola
Italy Netherlands Zambia
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_multi_types
action find
entity Angola
relation official language
type classification scheme
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'classification scheme'}, {'concept': 'language'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { { ?q property:official_language ?b . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:classification_scheme } UNION { ?q property:official_language ?b . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:language } } GROUP BY ?q } . FILTER ( ?h > ?z ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Angola property:official_language ?t . { { ?t rdf:type ontology:classification_scheme } UNION { ?t rdf:type ontology:language } } } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have tactful political relations with those administrative territories ?
(Q408,P530,Q38) (Q408,P530,Q55) (Q408,P530,Q953)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q38'] ['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q953']
ASK WHERE { VALUES ( ?k ) { ( resource:Q804 ) ( resource:Q399 ) ( resource:Q800 ) } . resource:Q408 property:P530 ?k }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Italy'] ['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', 'Zambia']
ASK WHERE { VALUES ( ?k ) { ( resource:Panama ) ( resource:Armenia ) ( resource:Costa_Rica ) } . resource:Australia property:diplomatic_relation ?k }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q38) (Q408,P530,Q55) (Q408,P530,Q953)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q38'] ['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q953']
ASK WHERE { VALUES ( ?k ) { ( resource:Q804 ) ( resource:Q399 ) ( resource:Q800 ) } . resource:Q408 property:P530 ?k }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Italy'] ['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', 'Zambia']
ASK WHERE { VALUES ( ?k ) { ( resource:Panama ) ( resource:Armenia ) ( resource:Costa_Rica ) } . resource:Australia property:diplomatic_relation ?k }
[]