Simple Question (Direct)
Simple Question
Q317347
P1344
Q15275719
USER
Which recurring event did Abdul Majeed Waris participate in ?
(Q317347,P1344,c(Q15275719))
action filter_type
action find
entity Q317347
relation P1344
type Q15275719
['Q317347', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?y WHERE { resource:Q317347 property:P1344 ?y . ?y rdf:type ontology:Q15275719 }
Abdul Majeed Waris
action filter_type
action find
entity Abdul Majeed Waris
relation participant of
type recurring event
['Abdul Majeed Waris', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?y WHERE { resource:Abdul_Majeed_Waris property:participant_of ?y . ?y rdf:type ontology:recurring_event }
[]
recurring event
Q79859
SYSTEM
2014 FIFA World Cup
Q79859
(Q317347,P1344,c(Q15275719))
action filter_type
action find
entity Q317347
relation P1344
type Q15275719
Abdul Majeed Waris participated in [ANSWER]
['Q317347', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?y WHERE { resource:Q317347 property:P1344 ?y . ?y rdf:type ontology:Q15275719 }
2014 FIFA World Cup
Abdul Majeed Waris participated in 2014 FIFA World Cup
2014 FIFA World Cup
action filter_type
action find
entity Abdul Majeed Waris
relation participant of
type recurring event
['Abdul Majeed Waris', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?y WHERE { resource:Abdul_Majeed_Waris property:participant_of ?y . ?y rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317347
P641
Q349
USER
Which sport was Abdul Majeed Waris a part of ?
(Q317347,P641,c(Q349))
action filter_type
action find
entity Q317347
relation P641
type Q349
['Q317347', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q317347 property:P641 ?i . ?i rdf:type ontology:Q349 }
Abdul Majeed Waris
action filter_type
action find
entity Abdul Majeed Waris
relation sport
type sport
['Abdul Majeed Waris', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Abdul_Majeed_Waris property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q317347,P641,c(Q349))
action filter_type
action find
entity Q317347
relation P641
type Q349
The [ANSWER] was Abdul Majeed Waris a part of
['Q317347', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q317347 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
The association football was Abdul Majeed Waris a part of
association football
action filter_type
action find
entity Abdul Majeed Waris
relation sport
type sport
['Abdul Majeed Waris', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Abdul_Majeed_Waris property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79859
P664
Q1346006
USER
Who is the organizer of 2014 FIFA World Cup ?
(Q79859,P664,c(Q1346006))
action filter_type
action find
entity Q79859
relation P664
type Q1346006
['Q79859', 'P664', {'concept': 'Q1346006'}]
SELECT DISTINCT ?f WHERE { resource:Q79859 property:P664 ?f . ?f rdf:type ontology:Q1346006 }
2014 FIFA World Cup
action filter_type
action find
entity 2014 FIFA World Cup
relation organizer
type international sport governing body
['2014 FIFA World Cup', 'organizer', {'concept': 'international sport governing body'}]
SELECT DISTINCT ?f WHERE { resource:2014_FIFA_World_Cup property:organizer ?f . ?f rdf:type ontology:international_sport_governing_body }
[]
international sport governing body
Q253414
SYSTEM
FIFA
Q253414
(Q79859,P664,c(Q1346006))
action filter_type
action find
entity Q79859
relation P664
type Q1346006
The organizer of 2014 [ANSWER] World Cup is the [ANSWER]
['Q79859', 'P664', {'concept': 'Q1346006'}]
SELECT DISTINCT ?f WHERE { resource:Q79859 property:P664 ?f . ?f rdf:type ontology:Q1346006 }
FIFA
The organizer of 2014 FIFA World Cup is the FIFA
FIFA
action filter_type
action find
entity 2014 FIFA World Cup
relation organizer
type international sport governing body
['2014 FIFA World Cup', 'organizer', {'concept': 'international sport governing body'}]
SELECT DISTINCT ?f WHERE { resource:2014_FIFA_World_Cup property:organizer ?f . ?f rdf:type ontology:international_sport_governing_body }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79859
P1346
Q1194951
USER
Which national sports team was the winner of 2014 FIFA World Cup ?
(Q79859,P1346,c(Q1194951))
action filter_type
action find
entity Q79859
relation P1346
type Q1194951
['Q79859', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { resource:Q79859 property:P1346 ?g . ?g rdf:type ontology:Q1194951 }
2014 FIFA World Cup
action filter_type
action find
entity 2014 FIFA World Cup
relation winner
type national sports team
['2014 FIFA World Cup', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?g WHERE { resource:2014_FIFA_World_Cup property:winner ?g . ?g rdf:type ontology:national_sports_team }
[]
national sports team
Q43310
SYSTEM
Germany national football team
Q43310
(Q79859,P1346,c(Q1194951))
action filter_type
action find
entity Q79859
relation P1346
type Q1194951
[ANSWER] was the winner of 2014 FIFA World Cup
['Q79859', 'P1346', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { resource:Q79859 property:P1346 ?g . ?g rdf:type ontology:Q1194951 }
Germany national football team
Germany national football team was the winner of 2014 FIFA World Cup
Germany national football team
action filter_type
action find
entity 2014 FIFA World Cup
relation winner
type national sports team
['2014 FIFA World Cup', 'winner', {'concept': 'national sports team'}]
SELECT DISTINCT ?g WHERE { resource:2014_FIFA_World_Cup property:winner ?g . ?g rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q14916519 Q317347
P19 P1001
Q56061
USER
Which administrative territories are the places of birth of Abdul Majeed Waris or come under the jurisdiction of Mayor of Detroit ?
OR((Q317347,P19,c(Q56061)), (Q14916519,P1001,c(Q56061)))
action filter_type
action union
action find
entity Q317347
relation P19
action find
entity Q14916519
relation P1001
type Q56061
{'OR': [['Q317347', 'P19', {'concept': 'Q56061'}], ['Q14916519', 'P1001', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q317347 property:P19 ?m } UNION { resource:Q14916519 property:P1001 ?m } } . ?m rdf:type ontology:Q56061 }
Mayor of Detroit Abdul Majeed Waris
action filter_type
action union
action find
entity Abdul Majeed Waris
relation place of birth
action find
entity Mayor of Detroit
relation applies to jurisdiction
type administrative territorial entity
{'OR': [['Abdul Majeed Waris', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mayor of Detroit', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Abdul_Majeed_Waris property:place_of_birth ?m } UNION { resource:Mayor_of_Detroit property:applies_to_jurisdiction ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3761 Q12439
SYSTEM
Accra, Detroit
Q3761 Q12439
OR((Q317347,P19,c(Q56061)), (Q14916519,P1001,c(Q56061)))
action filter_type
action union
action find
entity Q317347
relation P19
action find
entity Q14916519
relation P1001
type Q56061
[ANSWERS] are the places of birth of Abdul Majeed Waris or come under the jurisdiction of Mayor of Detroit
{'OR': [['Q317347', 'P19', {'concept': 'Q56061'}], ['Q14916519', 'P1001', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q317347 property:P19 ?m } UNION { resource:Q14916519 property:P1001 ?m } } . ?m rdf:type ontology:Q56061 }
Accra Detroit
Accra and Detroit are the places of birth of Abdul Majeed Waris or come under the jurisdiction of Mayor of Detroit
Accra Detroit
action filter_type
action union
action find
entity Abdul Majeed Waris
relation place of birth
action find
entity Mayor of Detroit
relation applies to jurisdiction
type administrative territorial entity
{'OR': [['Abdul Majeed Waris', 'place of birth', {'concept': 'administrative territorial entity'}], ['Mayor of Detroit', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Abdul_Majeed_Waris property:place_of_birth ?m } UNION { resource:Mayor_of_Detroit property:applies_to_jurisdiction ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14916519
P17
Q15617994
USER
Which administrative territory is that occupation situated in ?
(Q3761,P17,c(Q15617994)) (Q12439,P17,c(Q15617994))
action filter_type
action find
entity Q14916519
relation P17
type Q15617994
['Q3761', 'P17', {'concept': 'Q15617994'}] ['Q12439', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q14916519 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Mayor of Detroit
action filter_type
action find
entity Mayor of Detroit
relation country
type designation for an administrative territorial entity
['Accra', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Detroit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Mayor_of_Detroit property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3761,P17,c(Q15617994)) (Q12439,P17,c(Q15617994))
action filter_type
action find
entity Q14916519
relation P17
type Q15617994
That occupation is situated in [ANSWER]
['Q3761', 'P17', {'concept': 'Q15617994'}] ['Q12439', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q14916519 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
That occupation is situated in United States of America
United States of America
action filter_type
action find
entity Mayor of Detroit
relation country
type designation for an administrative territorial entity
['Accra', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Detroit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Mayor_of_Detroit property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q201658
USER
How many administrative territories are the countries of origin of less number of musical ensembles or film genres than that administrative territory ?
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q2088357
type Q201658
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?a ) WHERE { { ?j property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q201658 } UNION { ?j property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2088357 } } GROUP BY ?r } . FILTER ( ?a < ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:P495 resource:Q30 . { ?d rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } } } }
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?a ) WHERE { { ?j property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:film_genre } UNION { ?j property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:musical_ensemble } } GROUP BY ?r } . FILTER ( ?a < ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:country_of_origin resource:United_States_of_America . { ?d rdf:type ?f . VALUES ( ?f ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } } } }
[]
designation for an administrative territorial entity musical ensemble film genre
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q2088357
type Q201658
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?a ) WHERE { { ?j property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q201658 } UNION { ?j property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2088357 } } GROUP BY ?r } . FILTER ( ?a < ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:P495 resource:Q30 . { ?d rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2088357 ) ( ontology:Q201658 ) } } } } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
type film genre
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?a ) WHERE { { ?j property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:film_genre } UNION { ?j property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:musical_ensemble } } GROUP BY ?r } . FILTER ( ?a < ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:country_of_origin resource:United_States_of_America . { ?d rdf:type ?f . VALUES ( ?f ) { ( ontology:musical_ensemble ) ( ontology:film_genre ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q424
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with approximately the same number of administrative territories as Cambodia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?e ) WHERE { ?a property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q424 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } }
Cambodia
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cambodia
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 ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?e ) WHERE { ?a property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Cambodia property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q424
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?e ) WHERE { ?a property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q424 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cambodia
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 ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?e ) WHERE { ?a property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?e = ?v ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Cambodia property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1030
P530
Q15617994 Q15617994
USER
And how about Namibia?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1030
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?l ) WHERE { ?b property:P530 ?t . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q1030 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?y ) }
Namibia
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Namibia
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 ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?l ) WHERE { ?b property:diplomatic_relation ?t . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Namibia property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?y ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1030
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?l ) WHERE { ?b property:P530 ?t . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q1030 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?y ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Namibia
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 ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?l ) WHERE { ?b property:diplomatic_relation ?t . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Namibia property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q458
P138
Q486972 Q39546 Q56061
USER
How many administrative territories are the eponym of greater number of human settlements and tools than European Union ?
(c(Q56061),P138,c(Q486972)|c(Q39546))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q486972
action find_tuple_counts
relation P138
type Q56061
type Q39546
action count
action filter_multi_types
action find
entity Q458
relation P138
type Q486972
type Q39546
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q39546'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Q458 property:P138 ?z . { { ?z rdf:type ontology:Q39546 } UNION { ?z rdf:type ontology:Q486972 } } } } . FILTER ( ?g > ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?g ) WHERE { { ?j property:P138 ?a . ?j rdf:type ontology:Q56061 . ?a rdf:type ontology:Q486972 } UNION { ?a rdf:type ontology:Q39546 . ?j rdf:type ontology:Q56061 . ?j property:P138 ?a } } GROUP BY ?j } }
European Union
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action count
action filter_multi_types
action find
entity European Union
relation named after
type human settlement
type tool
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'tool'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:European_Union property:named_after ?z . { { ?z rdf:type ontology:tool } UNION { ?z rdf:type ontology:human_settlement } } } } . FILTER ( ?g > ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?g ) WHERE { { ?j property:named_after ?a . ?j rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:human_settlement } UNION { ?a rdf:type ontology:tool . ?j rdf:type ontology:administrative_territorial_entity . ?j property:named_after ?a } } GROUP BY ?j } }
[]
human settlement tool administrative territorial entity
SYSTEM
5
Q1465092 Q7399833 Q578758 Q868869 Q194067
(c(Q56061),P138,c(Q486972)|c(Q39546))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q486972
action find_tuple_counts
relation P138
type Q56061
type Q39546
action count
action filter_multi_types
action find
entity Q458
relation P138
type Q486972
type Q39546
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q39546'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Q458 property:P138 ?z . { { ?z rdf:type ontology:Q39546 } UNION { ?z rdf:type ontology:Q486972 } } } } . FILTER ( ?g > ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?g ) WHERE { { ?j property:P138 ?a . ?j rdf:type ontology:Q56061 . ?a rdf:type ontology:Q486972 } UNION { ?a rdf:type ontology:Q39546 . ?j rdf:type ontology:Q56061 . ?j property:P138 ?a } } GROUP BY ?j } }
New Bremen Sai Ying Pun Darien Harlingen Serpukhov
5
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action count
action filter_multi_types
action find
entity European Union
relation named after
type human settlement
type tool
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'tool'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:European_Union property:named_after ?z . { { ?z rdf:type ontology:tool } UNION { ?z rdf:type ontology:human_settlement } } } } . FILTER ( ?g > ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?g ) WHERE { { ?j property:named_after ?a . ?j rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:human_settlement } UNION { ?a rdf:type ontology:tool . ?j rdf:type ontology:administrative_territorial_entity . ?j property:named_after ?a } } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1021877
P138
Q486972 Q39546 Q56061
USER
And also tell me about Clarens, Free State?
(c(Q56061),P138,c(Q486972)|c(Q39546))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q486972
action find_tuple_counts
relation P138
type Q56061
type Q39546
action count
action filter_multi_types
action find
entity Q1021877
relation P138
type Q486972
type Q39546
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q39546'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:Q486972 ) ( ontology:Q39546 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q1021877 property:P138 ?p . { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q486972 ) ( ontology:Q39546 ) } } } } . FILTER ( ?w > ?d ) }
Clarens, Free State
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action count
action filter_multi_types
action find
entity Clarens, Free State
relation named after
type human settlement
type tool
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'tool'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:human_settlement ) ( ontology:tool ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Clarens,_Free_State property:named_after ?p . { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:human_settlement ) ( ontology:tool ) } } } } . FILTER ( ?w > ?d ) }
[]
human settlement tool administrative territorial entity
SYSTEM
5
Q1465092 Q7399833 Q578758 Q868869 Q194067
(c(Q56061),P138,c(Q486972)|c(Q39546))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q486972
action find_tuple_counts
relation P138
type Q56061
type Q39546
action count
action filter_multi_types
action find
entity Q1021877
relation P138
type Q486972
type Q39546
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q39546'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:Q486972 ) ( ontology:Q39546 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Q1021877 property:P138 ?p . { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q486972 ) ( ontology:Q39546 ) } } } } . FILTER ( ?w > ?d ) }
New Bremen Sai Ying Pun Darien Harlingen Serpukhov
5
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action count
action filter_multi_types
action find
entity Clarens, Free State
relation named after
type human settlement
type tool
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'tool'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ?n . VALUES ( ?n ) { ( ontology:human_settlement ) ( ontology:tool ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { resource:Clarens,_Free_State property:named_after ?p . { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:human_settlement ) ( ontology:tool ) } } } } . FILTER ( ?w > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q40
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with less number of administrative territories than Austria ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?n ) WHERE { ?z property:P530 ?i . ?z rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q40 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?o ) }
Austria
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?n ) WHERE { ?z property:diplomatic_relation ?i . ?z rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Austria property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?o ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q664 Q1000
SYSTEM
Denmark, New Zealand, Gabon
Q1000 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with less number of administrative territories than Austria
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?n ) WHERE { ?z property:P530 ?i . ?z rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q40 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?o ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, New Zealand and Gabon are known to have diplomatic connections with less number of administrative territories than Austria
Denmark New Zealand Gabon
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?n ) WHERE { ?z property:diplomatic_relation ?i . ?z rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Austria property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q664
P530
Q15617994 Q1048835
USER
And how about New Zealand?
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?f property:P530 ?h . ?f rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?v < ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q664 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } }
New Zealand
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?f property:diplomatic_relation ?h . ?f rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?v < ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:New_Zealand property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?f property:P530 ?h . ?f rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?v < ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q664 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
Gabon Grenada Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?v ) WHERE { ?f property:diplomatic_relation ?h . ?f rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?v < ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:New_Zealand property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } }
[]