Simple Question (Direct)
Simple Question
Q16382782
P54
Q12973014
USER
What is Clara Bermejo a member of ?
(Q16382782,P54,c(Q12973014))
action filter_type
action find
entity Q16382782
relation P54
type Q12973014
['Q16382782', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q16382782 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Clara Bermejo
action filter_type
action find
entity Clara Bermejo
relation member of sports team
type sports team
['Clara Bermejo', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Clara_Bermejo property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
sports team
Q3433455
SYSTEM
Rivas Ecópolis
Q3433455
(Q16382782,P54,c(Q12973014))
action filter_type
action find
entity Q16382782
relation P54
type Q12973014
Clara Bermejo a member of is [ANSWER]
['Q16382782', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { resource:Q16382782 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Rivas Ecópolis
Clara Bermejo a member of is Rivas Ecópolis
Rivas Ecópolis
action filter_type
action find
entity Clara Bermejo
relation member of sports team
type sports team
['Clara Bermejo', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { resource:Clara_Bermejo property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3433455
P641
Q349
USER
Which sport was that sports team a part of ?
(Q3433455,P641,c(Q349))
action filter_type
action find
entity Q3433455
relation P641
type Q349
['Q3433455', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q3433455 property:P641 ?t }
Rivas Ecópolis
action filter_type
action find
entity Rivas Ecópolis
relation sport
type sport
['Rivas Ecópolis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Rivas_Ecópolis property:sport ?t }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3433455,P641,c(Q349))
action filter_type
action find
entity Q3433455
relation P641
type Q349
The [ANSWER] was that sports team a part of
['Q3433455', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q3433455 property:P641 ?t }
basketball
The basketball was that sports team a part of
basketball
action filter_type
action find
entity Rivas Ecópolis
relation sport
type sport
['Rivas Ecópolis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Rivas_Ecópolis property:sport ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7291
P641
Q349 Q12973014
USER
How many sports did more number of sports teams participate in than badminton ?
(c(Q12973014),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q7291
relation P641
type Q349
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P641 ?v . ?v rdf:type ontology:Q349 . ?m rdf:type ontology:Q12973014 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q7291 property:P641 ?h . ?h rdf:type ontology:Q349 } } . FILTER ( ?n > ?r ) }
badminton
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity badminton
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:sport ?v . ?v rdf:type ontology:sport . ?m rdf:type ontology:sports_team } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:badminton property:sport ?h . ?h rdf:type ontology:sport } } . FILTER ( ?n > ?r ) }
[]
sport sports team
SYSTEM
6
Q5372 Q5375 Q5369 Q8418 Q41466 Q2736
(c(Q12973014),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q7291
relation P641
type Q349
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P641 ?v . ?v rdf:type ontology:Q349 . ?m rdf:type ontology:Q12973014 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q7291 property:P641 ?h . ?h rdf:type ontology:Q349 } } . FILTER ( ?n > ?r ) }
basketball cricket baseball handball ice hockey association football
6
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity badminton
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:sport ?v . ?v rdf:type ontology:sport . ?m rdf:type ontology:sports_team } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:badminton property:sport ?h . ?h rdf:type ontology:sport } } . FILTER ( ?n > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q754586
P641
Q349 Q12973014
USER
And what about racquetball?
(c(Q12973014),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q754586
relation P641
type Q349
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?w ) WHERE { ?b rdf:type ontology:Q12973014 . ?t rdf:type ontology:Q349 . ?b property:P641 ?t } GROUP BY ?t } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q754586 property:P641 ?u . ?u rdf:type ontology:Q349 } } }
racquetball
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity racquetball
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?w ) WHERE { ?b rdf:type ontology:sports_team . ?t rdf:type ontology:sport . ?b property:sport ?t } GROUP BY ?t } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:racquetball property:sport ?u . ?u rdf:type ontology:sport } } }
[]
sport sports team
SYSTEM
30
Q10962 Q7707 Q171038 Q17163326 Q206763 Q133201 Q847 Q192937 Q41323 Q7291 Q136851 Q7856 Q5372 Q5375 Q5377 Q5369 Q8418 Q41466 Q43450 Q1455 Q2215841 Q3930 Q963312 Q535116 Q1734 Q31920 Q1748406 Q183018 Q2736 Q210778
(c(Q12973014),P641,c(Q349))
action count
action greater
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action count
action filter_type
action find
entity Q754586
relation P641
type Q349
[ANSWER]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?w ) WHERE { ?b rdf:type ontology:Q12973014 . ?t rdf:type ontology:Q349 . ?b property:P641 ?t } GROUP BY ?t } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q754586 property:P641 ?u . ?u rdf:type ontology:Q349 } } }
rugby league water polo softball motorcycle racing floorball squash tennis korfball American football badminton curling rallying basketball cricket golf baseball handball ice hockey gymnastics field hockey cycle sport table tennis Sledge hockey beach handball volleyball swimming roller hockey (quad) bandy association football beach soccer
30
action count
action greater
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action count
action filter_type
action find
entity racquetball
relation sport
type sport
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?w ) WHERE { ?b rdf:type ontology:sports_team . ?t rdf:type ontology:sport . ?b property:sport ?t } GROUP BY ?t } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:racquetball property:sport ?u . ?u rdf:type ontology:sport } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16382782
P19
Q56061
USER
How many administrative territories were Clara Bermejo born at ?
(Q16382782,P19,c(Q56061))
action count
action filter_type
action find
entity Q16382782
relation P19
type Q56061
['Q16382782', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Q16382782 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Clara Bermejo
action count
action filter_type
action find
entity Clara Bermejo
relation place of birth
type administrative territorial entity
['Clara Bermejo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Clara_Bermejo property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q2807
(Q16382782,P19,c(Q56061))
action count
action filter_type
action find
entity Q16382782
relation P19
type Q56061
[ANSWER]
['Q16382782', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Q16382782 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Madrid
1
action count
action filter_type
action find
entity Clara Bermejo
relation place of birth
type administrative territorial entity
['Clara Bermejo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Clara_Bermejo property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3433455
P17
Q15617994
USER
Which administrative territory is Rivas Ecópolis present in ?
(Q3433455,P17,c(Q15617994))
action filter_type
action find
entity Q3433455
relation P17
type Q15617994
['Q3433455', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q3433455 property:P17 ?p }
Rivas Ecópolis
action filter_type
action find
entity Rivas Ecópolis
relation country
type designation for an administrative territorial entity
['Rivas Ecópolis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rivas_Ecópolis property:country ?p }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q3433455,P17,c(Q15617994))
action filter_type
action find
entity Q3433455
relation P17
type Q15617994
Rivas Ecópolis is in [ANSWER]
['Q3433455', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q3433455 property:P17 ?p }
Spain
Rivas Ecópolis is in Spain
Spain
action filter_type
action find
entity Rivas Ecópolis
relation country
type designation for an administrative territorial entity
['Rivas Ecópolis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rivas_Ecópolis property:country ?p }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1049
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with lesser number of administrative territories than Sudan ?
(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 Q1049
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?e ) WHERE { ?r property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Q1049 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?e < ?p ) }
Sudan
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 Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?e ) WHERE { ?r property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Sudan property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e < ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
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 less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with lesser number of administrative territories than Sudan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?e ) WHERE { ?r property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Q1049 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?e < ?p ) }
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
Kingdom of the Netherlands, Dominican Republic and Tanzania are known to have diplomatic connections with lesser number of administrative territories than Sudan
Kingdom of the Netherlands Dominican Republic Tanzania
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 Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?e ) WHERE { ?r property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Sudan property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e < ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q878
P530
Q15617994 Q15617994
USER
And what about United Arab Emirates?
(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 Q878
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?p ) WHERE { ?t property:P530 ?s . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q878 property:P530 ?n } } }
United Arab Emirates
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 United Arab Emirates
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 ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?p ) WHERE { ?t property:diplomatic_relation ?s . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Arab_Emirates property:diplomatic_relation ?n } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
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 less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q878
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?p ) WHERE { ?t property:P530 ?s . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q878 property:P530 ?n } } }
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
Kingdom of the Netherlands Dominican Republic Tanzania
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 United Arab Emirates
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 ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?p ) WHERE { ?t property:diplomatic_relation ?s . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_Arab_Emirates property:diplomatic_relation ?n } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q971
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with lesser number of administrative territories than Republic of the Congo ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q971
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P530 resource:Q971 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?p ) }
Republic of the Congo
action less
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_reverse
entity Republic of the Congo
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 ( ?q ) AS ?o ) WHERE { ?q property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:diplomatic_relation resource:Republic_of_the_Congo . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q971
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with lesser number of administrative territories than Republic of the Congo
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P530 resource:Q971 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?p ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Romania, Norway and Tunisia have diplomatic relationships with lesser number of administrative territories than Republic of the Congo
Romania Norway Tunisia
action less
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_reverse
entity Republic of the Congo
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 ( ?q ) AS ?o ) WHERE { ?q property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:diplomatic_relation resource:Republic_of_the_Congo . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q159
P530
Q15617994 Q15617994
USER
And also tell me about Russia?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q159
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:P530 resource:Q159 . ?m rdf:type ontology:Q15617994 } } }
Russia
action less
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_reverse
entity Russia
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 ( ?s ) AS ?g ) WHERE { ?s property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:diplomatic_relation resource:Russia . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q142
SYSTEM
Georgia, Netherlands, France
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q159
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:P530 resource:Q159 . ?m rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands France
action less
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_reverse
entity Russia
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 ( ?s ) AS ?g ) WHERE { ?s property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g < ?r ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:diplomatic_relation resource:Russia . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q1048835
USER
How many administrative territories or political territories do that administrative territory share a border with ?
(c(Q15617994),P47,Q142) (c(Q1048835),P47,Q142) (c(Q15617994),P47,Q230) (c(Q1048835),P47,Q230) (c(Q15617994),P47,Q55) (c(Q1048835),P47,Q55) (c(Q15617994),P47,Q142) (c(Q1048835),P47,Q142)
[{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q1048835'}, 'P47', 'Q142'] [{'concept': 'Q15617994'}, 'P47', 'Q230'] [{'concept': 'Q1048835'}, 'P47', 'Q230'] [{'concept': 'Q15617994'}, 'P47', 'Q55'] [{'concept': 'Q1048835'}, 'P47', 'Q55'] [{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q1048835'}, 'P47', 'Q142']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P47 resource:Q16275867 } UNION { ?y property:P47 resource:Q16275867 } UNION { ?z property:P47 resource:Q5547323 } UNION { ?y property:P47 resource:Q5547323 } UNION { ?z property:P47 resource:Q22442862 } UNION { ?y property:P47 resource:Q22442862 } UNION { ?z property:P47 resource:Q16275867 } UNION { ?y property:P47 resource:Q16275867 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'political territorial entity'}, 'shares border with', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Georgia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Georgia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'political territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'political territorial entity'}, 'shares border with', 'France']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:France } UNION { ?y property:shares_border_with resource:France } UNION { ?z property:shares_border_with resource:Georgia } UNION { ?y property:shares_border_with resource:Georgia } UNION { ?z property:shares_border_with resource:Netherlands } UNION { ?y property:shares_border_with resource:Netherlands } UNION { ?z property:shares_border_with resource:France } UNION { ?y property:shares_border_with resource:France } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q55
SYSTEM
Did you mean Netherlands ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P47 resource:Q16275867 } UNION { ?y property:P47 resource:Q16275867 } UNION { ?z property:P47 resource:Q5547323 } UNION { ?y property:P47 resource:Q5547323 } UNION { ?z property:P47 resource:Q22442862 } UNION { ?y property:P47 resource:Q22442862 } UNION { ?z property:P47 resource:Q16275867 } UNION { ?y property:P47 resource:Q16275867 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean Netherlands ?
Netherlands
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:France } UNION { ?y property:shares_border_with resource:France } UNION { ?z property:shares_border_with resource:Georgia } UNION { ?y property:shares_border_with resource:Georgia } UNION { ?z property:shares_border_with resource:Netherlands } UNION { ?y property:shares_border_with resource:Netherlands } UNION { ?z property:shares_border_with resource:France } UNION { ?y property:shares_border_with resource:France } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q15617994),P47,Q142) (c(Q1048835),P47,Q142) (c(Q15617994),P47,Q230) (c(Q1048835),P47,Q230) (c(Q15617994),P47,Q55) (c(Q1048835),P47,Q55) (c(Q15617994),P47,Q142) (c(Q1048835),P47,Q142)
Q142
[{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q1048835'}, 'P47', 'Q142'] [{'concept': 'Q15617994'}, 'P47', 'Q230'] [{'concept': 'Q1048835'}, 'P47', 'Q230'] [{'concept': 'Q15617994'}, 'P47', 'Q55'] [{'concept': 'Q1048835'}, 'P47', 'Q55'] [{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q1048835'}, 'P47', 'Q142']
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'political territorial entity'}, 'shares border with', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Georgia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Georgia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'political territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'political territorial entity'}, 'shares border with', 'France']
[]
SYSTEM
14
Q13116 Q717 Q145 Q155 Q730 Q29999 Q5705 Q228 Q32 Q31 Q183 Q29 Q39 Q38
(c(Q15617994),P47,Q142) (c(Q1048835),P47,Q142) (c(Q15617994),P47,Q230) (c(Q1048835),P47,Q230) (c(Q15617994),P47,Q55) (c(Q1048835),P47,Q55) (c(Q15617994),P47,Q142) (c(Q1048835),P47,Q142)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q1048835'}, 'P47', 'Q142'] [{'concept': 'Q15617994'}, 'P47', 'Q230'] [{'concept': 'Q1048835'}, 'P47', 'Q230'] [{'concept': 'Q15617994'}, 'P47', 'Q55'] [{'concept': 'Q1048835'}, 'P47', 'Q55'] [{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q1048835'}, 'P47', 'Q142']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P47 resource:Q16275867 } UNION { ?y property:P47 resource:Q16275867 } UNION { ?z property:P47 resource:Q5547323 } UNION { ?y property:P47 resource:Q5547323 } UNION { ?z property:P47 resource:Q22442862 } UNION { ?y property:P47 resource:Q22442862 } UNION { ?z property:P47 resource:Q16275867 } UNION { ?y property:P47 resource:Q16275867 } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Benelux Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Catalonia Andorra Luxembourg Belgium Germany Spain Switzerland Italy
14
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'political territorial entity'}, 'shares border with', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Georgia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Georgia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'political territorial entity'}, 'shares border with', 'Netherlands'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'political territorial entity'}, 'shares border with', 'France']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:France } UNION { ?y property:shares_border_with resource:France } UNION { ?z property:shares_border_with resource:Georgia } UNION { ?y property:shares_border_with resource:Georgia } UNION { ?z property:shares_border_with resource:Netherlands } UNION { ?y property:shares_border_with resource:Netherlands } UNION { ?z property:shares_border_with resource:France } UNION { ?y property:shares_border_with resource:France } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]