Simple Question (Direct)
Simple Question
Q487335
P26
Q502895
USER
Which person is the spouse of Yoshihiro Akiyama ?
(Q487335,P26,c(Q502895))
action filter_type
action find
entity Q487335
relation P26
type Q502895
['Q487335', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q487335 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Yoshihiro Akiyama
action filter_type
action find
entity Yoshihiro Akiyama
relation spouse
type common name
['Yoshihiro Akiyama', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Yoshihiro_Akiyama property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q11243216
SYSTEM
Shiho Yano
Q11243216
(Q487335,P26,c(Q502895))
action filter_type
action find
entity Q487335
relation P26
type Q502895
[ANSWER] is the spouse of Yoshihiro Akiyama
['Q487335', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q487335 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Shiho Yano
Shiho Yano is the spouse of Yoshihiro Akiyama
Shiho Yano
action filter_type
action find
entity Yoshihiro Akiyama
relation spouse
type common name
['Yoshihiro Akiyama', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Yoshihiro_Akiyama property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11243216
P19
Q515
USER
Which city was that person born in ?
(Q11243216,P19,c(Q515))
action filter_type
action find
entity Q11243216
relation P19
type Q515
['Q11243216', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q11243216 property:P19 ?r . ?r rdf:type ontology:Q515 }
Shiho Yano
action filter_type
action find
entity Shiho Yano
relation place of birth
type city
['Shiho Yano', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Shiho_Yano property:place_of_birth ?r . ?r rdf:type ontology:city }
[]
city
Q386677
SYSTEM
Kusatsu, Shiga
Q386677
(Q11243216,P19,c(Q515))
action filter_type
action find
entity Q11243216
relation P19
type Q515
That person was born in [ANSWER]
['Q11243216', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q11243216 property:P19 ?r . ?r rdf:type ontology:Q515 }
Kusatsu, Shiga
That person was born in Kusatsu, Shiga
Kusatsu, Shiga
action filter_type
action find
entity Shiho Yano
relation place of birth
type city
['Shiho Yano', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Shiho_Yano property:place_of_birth ?r . ?r rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q515 Q15617994 Q1048835
USER
How many cities are twin cities of around 6 administrative territories or political territories ?
(c(Q15617994)|c(Q1048835),P190,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
value 6
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?f rdf:type ?t } GROUP BY ?i } . FILTER ( ?s = 6 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
value 6
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?f rdf:type ?t } GROUP BY ?i } . FILTER ( ?s = 6 ) }
[]
city designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q52607 Q1486
(c(Q15617994)|c(Q1048835),P190,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
action find_reverse_tuple_counts
relation P190
type Q515
type Q1048835
value 6
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?f rdf:type ?t } GROUP BY ?i } . FILTER ( ?s = 6 ) }
Mar del Plata Buenos Aires
2
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type political territorial entity
value 6
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?f rdf:type ?t } GROUP BY ?i } . FILTER ( ?s = 6 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9681815 Q386677
P17
Q15617994
USER
Which administrative territories are Kusatsu, Shiga or 2007 Campeonato Paraense a part of ?
OR((Q386677,P17,c(Q15617994)), (Q9681815,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q386677
relation P17
action find
entity Q9681815
relation P17
type Q15617994
{'OR': [['Q386677', 'P17', {'concept': 'Q15617994'}], ['Q9681815', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?p ) { ( resource:Q386677 ) ( resource:Q9681815 ) } . ?p property:P17 ?i } . ?i rdf:type ontology:Q15617994 }
2007 Campeonato Paraense Kusatsu, Shiga
action filter_type
action union
action find
entity Kusatsu, Shiga
relation country
action find
entity 2007 Campeonato Paraense
relation country
type designation for an administrative territorial entity
{'OR': [['Kusatsu, Shiga', 'country', {'concept': 'designation for an administrative territorial entity'}], ['2007 Campeonato Paraense', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?p ) { ( resource:Kusatsu,_Shiga ) ( resource:2007_Campeonato_Paraense ) } . ?p property:country ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q17
SYSTEM
Brazil, Japan
Q155 Q17
OR((Q386677,P17,c(Q15617994)), (Q9681815,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q386677
relation P17
action find
entity Q9681815
relation P17
type Q15617994
[ANSWERS] are Kusatsu, Shiga or 2007 Campeonato Paraense a part of
{'OR': [['Q386677', 'P17', {'concept': 'Q15617994'}], ['Q9681815', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?p ) { ( resource:Q386677 ) ( resource:Q9681815 ) } . ?p property:P17 ?i } . ?i rdf:type ontology:Q15617994 }
Brazil Japan
Brazil and Japan are Kusatsu, Shiga or 2007 Campeonato Paraense a part of
Brazil Japan
action filter_type
action union
action find
entity Kusatsu, Shiga
relation country
action find
entity 2007 Campeonato Paraense
relation country
type designation for an administrative territorial entity
{'OR': [['Kusatsu, Shiga', 'country', {'concept': 'designation for an administrative territorial entity'}], ['2007 Campeonato Paraense', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?p ) { ( resource:Kusatsu,_Shiga ) ( resource:2007_Campeonato_Paraense ) } . ?p property:country ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q515 Q56061 Q15617994
USER
How many cities are the sister cities of around 26 administrative territories or administrative territories ?
(c(Q56061)|c(Q15617994),P190,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q56061
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
value 26
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?b } . FILTER ( ?l = 26 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type city
type administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
value 26
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?b } . FILTER ( ?l = 26 ) }
[]
city administrative territorial entity designation for an administrative territorial entity
SYSTEM
5
Q19689 Q1773 Q11194 Q42622 Q1953
(c(Q56061)|c(Q15617994),P190,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P190
type Q515
type Q56061
action find_reverse_tuple_counts
relation P190
type Q515
type Q15617994
value 26
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?b } . FILTER ( ?l = 26 ) }
Tirana Riga Sarajevo Suzhou Yerevan
5
action count
action approx
action union
action find_reverse_tuple_counts
relation sister city
type city
type administrative territorial entity
action find_reverse_tuple_counts
relation sister city
type city
type designation for an administrative territorial entity
value 26
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?b } . FILTER ( ?l = 26 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atmost 21 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 21
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w <= 21 ) . { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?w ) WHERE { ?v property:P530 ?t . ?v rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?v } }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w <= 21 ) . { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?w ) WHERE { ?v property:diplomatic_relation ?t . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 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 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 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 21
[ANSWERS] have diplomatic relations with atmost 21 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w <= 21 ) . { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?w ) WHERE { ?v property:P530 ?t . ?v rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?v } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America, Russia and Netherlands have diplomatic relations with atmost 21 administrative territories
United States of America Russia Netherlands
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w <= 21 ) . { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?w ) WHERE { ?v property:diplomatic_relation ?t . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12491691 Q159
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Russia or are Kimberly Ryder a civilian of ?
OR((Q159,P530,c(Q15617994)), (Q12491691,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q159
relation P530
action find
entity Q12491691
relation P27
type Q15617994
{'OR': [['Q159', 'P530', {'concept': 'Q15617994'}], ['Q12491691', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q159 property:P530 ?v } UNION { resource:Q12491691 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Kimberly Ryder Russia
action filter_type
action union
action find
entity Russia
relation diplomatic relation
action find
entity Kimberly Ryder
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Kimberly Ryder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Russia property:diplomatic_relation ?v } UNION { resource:Kimberly_Ryder property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q403 Q38 Q155 Q241 Q953 Q142 Q881 Q1011 Q805
SYSTEM
Some of them are United States of America, Serbia, Italy, Brazil, Cuba, Zambia, France, Vietnam, Cape Verde, Yemen
Q142 Q805 Q79 Q717 Q43 Q801 Q155 Q148 Q1011 Q241 Q17 Q30 Q252 Q881 Q953 Q668 Q403 Q38 Q414 Q711
OR((Q159,P530,c(Q15617994)), (Q12491691,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q159
relation P530
action find
entity Q12491691
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with Russia or are Kimberly Ryder a civilian of
{'OR': [['Q159', 'P530', {'concept': 'Q15617994'}], ['Q12491691', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q159 property:P530 ?v } UNION { resource:Q12491691 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
France Yemen Egypt Venezuela Turkey Israel Brazil People's Republic of China Cape Verde Cuba Japan United States of America Indonesia Vietnam Zambia India Serbia Italy Argentina Mongolia
United States of America, Serbia, Italy, Brazil, Cuba, Zambia, France, Vietnam, Cape Verde and Yemen have a diplomatic relationship with Russia or are Kimberly Ryder a civilian of
United States of America Serbia Italy Brazil Cuba Zambia France Vietnam Cape Verde Yemen
action filter_type
action union
action find
entity Russia
relation diplomatic relation
action find
entity Kimberly Ryder
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Kimberly Ryder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Russia property:diplomatic_relation ?v } UNION { resource:Kimberly_Ryder property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q2031291
USER
How many administrative territories are the countries of origin of around the same number of collectables or releases as that administrative territory ?
(c(Q2342494)|c(Q2031291),P495,c(Q15617994))
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
designation for an administrative territorial entity collectable release
Comparative|Count over More/Less|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
(c(Q2342494)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Did you mean France ?
France
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Cuba. Could you tell me the answer for that?
(c(Q2342494)|c(Q2031291),P495,c(Q15617994))
Q241
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 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(Q2342494)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands 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
167
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2003
P37
Q34770 Q5962346 Q15617994
USER
How many administrative territories have their official language as greater number of languages or classification schemes than Newfoundland and Labrador ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q2003
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?z WHERE { { ?z property:P37 ?b . ?b rdf:type ontology:Q34770 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P37 ?b . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q5962346 } } GROUP BY ?z } . FILTER ( ?c > ?h ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q2003 property:P37 ?n . { { ?n rdf:type ontology:Q34770 } UNION { ?n rdf:type ontology:Q5962346 } } } } }
Newfoundland and Labrador
action count
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Newfoundland and Labrador
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?z WHERE { { ?z property:official_language ?b . ?b rdf:type ontology:language . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:official_language ?b . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:classification_scheme } } GROUP BY ?z } . FILTER ( ?c > ?h ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Newfoundland_and_Labrador property:official_language ?n . { { ?n rdf:type ontology:language } UNION { ?n rdf:type ontology:classification_scheme } } } } }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
2
Q29 Q750
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q2003
relation P37
type Q34770
type Q5962346
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?z WHERE { { ?z property:P37 ?b . ?b rdf:type ontology:Q34770 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P37 ?b . ?z rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q5962346 } } GROUP BY ?z } . FILTER ( ?c > ?h ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q2003 property:P37 ?n . { { ?n rdf:type ontology:Q34770 } UNION { ?n rdf:type ontology:Q5962346 } } } } }
Spain Bolivia
2
action count
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Newfoundland and Labrador
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?z WHERE { { ?z property:official_language ?b . ?b rdf:type ontology:language . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:official_language ?b . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:classification_scheme } } GROUP BY ?z } . FILTER ( ?c > ?h ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Newfoundland_and_Labrador property:official_language ?n . { { ?n rdf:type ontology:language } UNION { ?n rdf:type ontology:classification_scheme } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q265
P37
Q34770 Q5962346 Q15617994
USER
And also tell me about Uzbekistan?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q265
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q265 property:P37 ?j . { ?j rdf:type ?k . VALUES ( ?k ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } } } . FILTER ( ?u > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?d WHERE { { ?d property:P37 ?w . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q34770 } UNION { ?d property:P37 ?w . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q5962346 } } GROUP BY ?d } }
Uzbekistan
action count
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Uzbekistan
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Uzbekistan property:official_language ?j . { ?j rdf:type ?k . VALUES ( ?k ) { ( ontology:classification_scheme ) ( ontology:language ) } } } } . FILTER ( ?u > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?d WHERE { { ?d property:official_language ?w . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:language } UNION { ?d property:official_language ?w . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:classification_scheme } } GROUP BY ?d } }
[]
language classification scheme designation for an administrative territorial entity
SYSTEM
86
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action count
action greater
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q265
relation P37
type Q34770
type Q5962346
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q265 property:P37 ?j . { ?j rdf:type ?k . VALUES ( ?k ) { ( ontology:Q5962346 ) ( ontology:Q34770 ) } } } } . FILTER ( ?u > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?d WHERE { { ?d property:P37 ?w . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q34770 } UNION { ?d property:P37 ?w . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q5962346 } } GROUP BY ?d } }
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
86
action count
action greater
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Uzbekistan
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Uzbekistan property:official_language ?j . { ?j rdf:type ?k . VALUES ( ?k ) { ( ontology:classification_scheme ) ( ontology:language ) } } } } . FILTER ( ?u > ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?d WHERE { { ?d property:official_language ?w . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:language } UNION { ?d property:official_language ?w . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:classification_scheme } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q257338
P361
Q553036 Q82794 Q15617994
USER
Which administrative territories are a component of more number of natural region of Germanys or geographic regions than Adelzhausen ?
(c(Q15617994),P361,c(Q553036)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q257338
relation P361
type Q553036
type Q82794
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?h WHERE { { ?n rdf:type ontology:Q553036 . ?h rdf:type ontology:Q15617994 . ?h property:P361 ?n } UNION { ?h property:P361 ?n . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q82794 } } GROUP BY ?h } . FILTER ( ?i > ?j ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q257338 property:P361 ?f . { { ?f rdf:type ontology:Q553036 } UNION { ?f rdf:type ontology:Q82794 } } } } }
Adelzhausen
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Adelzhausen
relation part of
type natural region of Germany
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?h WHERE { { ?n rdf:type ontology:natural_region_of_Germany . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:part_of ?n } UNION { ?h property:part_of ?n . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:geographic_region } } GROUP BY ?h } . FILTER ( ?i > ?j ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Adelzhausen property:part_of ?f . { { ?f rdf:type ontology:natural_region_of_Germany } UNION { ?f rdf:type ontology:geographic_region } } } } }
[]
natural region of Germany geographic region designation for an administrative territorial entity
Q2313565 Q242 Q686312
SYSTEM
Spreng, Belize, Duchy of Amalfi
Q2313565 Q242 Q686312
(c(Q15617994),P361,c(Q553036)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q257338
relation P361
type Q553036
type Q82794
[ANSWERS] are a component of more number of natural region of Germanys or geographic regions than Adelzhausen
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?h WHERE { { ?n rdf:type ontology:Q553036 . ?h rdf:type ontology:Q15617994 . ?h property:P361 ?n } UNION { ?h property:P361 ?n . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q82794 } } GROUP BY ?h } . FILTER ( ?i > ?j ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q257338 property:P361 ?f . { { ?f rdf:type ontology:Q553036 } UNION { ?f rdf:type ontology:Q82794 } } } } }
Spreng Belize Duchy of Amalfi
Spreng, Belize and Duchy of Amalfi are a component of more number of natural region of Germanys or geographic regions than Adelzhausen
Spreng Belize Duchy of Amalfi
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Adelzhausen
relation part of
type natural region of Germany
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?h WHERE { { ?n rdf:type ontology:natural_region_of_Germany . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:part_of ?n } UNION { ?h property:part_of ?n . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:geographic_region } } GROUP BY ?h } . FILTER ( ?i > ?j ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Adelzhausen property:part_of ?f . { { ?f rdf:type ontology:natural_region_of_Germany } UNION { ?f rdf:type ontology:geographic_region } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q627460
P361
Q553036 Q82794 Q15617994
USER
And how about Pollenfeld?
(c(Q15617994),P361,c(Q553036)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q627460
relation P361
type Q553036
type Q82794
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) ?w WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q553036 ) ( ontology:Q82794 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q627460 property:P361 ?i . { VALUES ( ?a ) { ( ontology:Q553036 ) ( ontology:Q82794 ) } . ?i rdf:type ?a } } } . FILTER ( ?z > ?k ) }
Pollenfeld
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Pollenfeld
relation part of
type natural region of Germany
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) ?w WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:natural_region_of_Germany ) ( ontology:geographic_region ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Pollenfeld property:part_of ?i . { VALUES ( ?a ) { ( ontology:natural_region_of_Germany ) ( ontology:geographic_region ) } . ?i rdf:type ?a } } } . FILTER ( ?z > ?k ) }
[]
natural region of Germany geographic region designation for an administrative territorial entity
Q2313565 Q242 Q686312
SYSTEM
Spreng, Belize, Duchy of Amalfi
Q2313565 Q242 Q686312
(c(Q15617994),P361,c(Q553036)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q627460
relation P361
type Q553036
type Q82794
[ANSWERS]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) ?w WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q553036 ) ( ontology:Q82794 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q627460 property:P361 ?i . { VALUES ( ?a ) { ( ontology:Q553036 ) ( ontology:Q82794 ) } . ?i rdf:type ?a } } } . FILTER ( ?z > ?k ) }
Spreng Belize Duchy of Amalfi
Spreng Belize Duchy of Amalfi
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Pollenfeld
relation part of
type natural region of Germany
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) ?w WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:natural_region_of_Germany ) ( ontology:geographic_region ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Pollenfeld property:part_of ?i . { VALUES ( ?a ) { ( ontology:natural_region_of_Germany ) ( ontology:geographic_region ) } . ?i rdf:type ?a } } } . FILTER ( ?z > ?k ) }
[]