Simple Question (Direct)
Simple Question
Q18812255
P27
Q15617994
USER
Which administrative territory is Miriam Singer an inhabitant of ?
(Q18812255,P27,c(Q15617994))
action filter_type
action find
entity Q18812255
relation P27
type Q15617994
['Q18812255', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q18812255 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Miriam Singer
action filter_type
action find
entity Miriam Singer
relation country of citizenship
type designation for an administrative territorial entity
['Miriam Singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Miriam_Singer property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801
SYSTEM
Israel
Q801
(Q18812255,P27,c(Q15617994))
action filter_type
action find
entity Q18812255
relation P27
type Q15617994
The [ANSWER] is Miriam Singer an inhabitant of
['Q18812255', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q18812255 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Israel
The Israel is Miriam Singer an inhabitant of
Israel
action filter_type
action find
entity Miriam Singer
relation country of citizenship
type designation for an administrative territorial entity
['Miriam Singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Miriam_Singer property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18812255
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q801,P19,c(Q56061))
action filter_type
action find
entity Q18812255
relation P19
type Q56061
['Q801', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q18812255 property:P19 ?x }
Miriam Singer
action filter_type
action find
entity Miriam Singer
relation place of birth
type administrative territorial entity
['Israel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Miriam_Singer property:place_of_birth ?x }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q801,P19,c(Q56061))
action filter_type
action find
entity Q18812255
relation P19
type Q56061
That person was born in [ANSWER]
['Q801', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q18812255 property:P19 ?x }
Prague
That person was born in Prague
Prague
action filter_type
action find
entity Miriam Singer
relation place of birth
type administrative territorial entity
['Israel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Miriam_Singer property:place_of_birth ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q801
P530
Q15617994 Q56061
USER
How many administrative territories or administrative territories have diplomatic relations with Israel ?
(Q801,P530,c(Q15617994)) (Q801,P530,c(Q56061))
action count
action union
action filter_type
action find
entity Q801
relation P530
type Q15617994
action filter_type
action find
entity Q801
relation P530
type Q56061
['Q801', 'P530', {'concept': 'Q15617994'}] ['Q801', 'P530', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Israel
action count
action union
action filter_type
action find
entity Israel
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation diplomatic relation
type administrative territorial entity
['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
20
Q858 Q805 Q810 Q822 Q237 Q668 Q142 Q213 Q884 Q159 Q43 Q145 Q155 Q148 Q41 Q794 Q17 Q30 Q79 Q38
(Q801,P530,c(Q15617994)) (Q801,P530,c(Q56061))
action count
action union
action filter_type
action find
entity Q801
relation P530
type Q15617994
action filter_type
action find
entity Q801
relation P530
type Q56061
[ANSWER]
['Q801', 'P530', {'concept': 'Q15617994'}] ['Q801', 'P530', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Syria Yemen Jordan Lebanon Vatican City India France Czech Republic South Korea Russia Turkey United Kingdom Brazil People's Republic of China Greece Iran Japan United States of America Egypt Italy
20
action count
action union
action filter_type
action find
entity Israel
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Israel
relation diplomatic relation
type administrative territorial entity
['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q225
P206
Q355304 Q1267889 Q15617994
USER
Which administrative territories are located next to more number of watercourses or waterways than Bosnia and Herzegovina ?
(c(Q15617994),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action count
action filter_multi_types
action find
entity Q225
relation P206
type Q355304
type Q1267889
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?k WHERE { { ?k property:P206 ?m . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q355304 } UNION { ?k property:P206 ?m . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1267889 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } . resource:Q225 property:P206 ?t } } . FILTER ( ?p > ?o ) }
Bosnia and Herzegovina
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Bosnia and Herzegovina
relation located next to body of water
type watercourse
type waterway
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?k WHERE { { ?k property:located_next_to_body_of_water ?m . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:watercourse } UNION { ?k property:located_next_to_body_of_water ?m . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:waterway } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:watercourse ) ( ontology:waterway ) } } . resource:Bosnia_and_Herzegovina property:located_next_to_body_of_water ?t } } . FILTER ( ?p > ?o ) }
[]
watercourse waterway designation for an administrative territorial entity
Q36 Q801 Q347
SYSTEM
Poland, Israel, Liechtenstein
Q31872 Q572949 Q267993 Q525864 Q801 Q487328 Q241358 Q525945 Q14859 Q1650693 Q214 Q503693 Q4391124 Q528579 Q493924 Q555609 Q491751 Q10903 Q11343 Q14825 Q216422 Q532046 Q7496670 Q307508 Q36 Q34 Q6685 Q252772 Q104192 Q255698 Q1984541 Q621469 Q28 Q3088406 Q917406 Q548982 Q14889 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q269010 Q262684 Q573230 Q3923 Q174307 Q522992 Q522677 Q257859 Q252320 Q251778 Q53742 Q526087 Q7561974 Q2758 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q7942378
(c(Q15617994),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action count
action filter_multi_types
action find
entity Q225
relation P206
type Q355304
type Q1267889
[ANSWERS] are located next to more number of watercourses or waterways than Bosnia and Herzegovina
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?k WHERE { { ?k property:P206 ?m . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q355304 } UNION { ?k property:P206 ?m . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1267889 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } . resource:Q225 property:P206 ?t } } . FILTER ( ?p > ?o ) }
Moosburg an der Isar Solnhofen Muhr am See Höttingen Israel Marktl Schleiden Pfofeld Ansbach Niamey III Slovakia Riedenburg Rakhlitsy Wörth an der Isar Pasewalk Magdala Pfatter Finnentrop Wetter (Ruhr) Memmingen Samsø Fischen Shillingford Yepifan Poland Sweden Dorfhain Eichstätt Kleinmachnow Abensberg Niamey II Wennigsen Hungary Front de Seine Niamey V Heidenheim Schwabach Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Neustadt an der Donau Füssen Beilngries Bayreuth Essing Braunlage Nassenfels Cham Pleinfeld Vohburg Donauwörth Nennslingen Sonning Eye Mönchengladbach Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Voxna
Poland, Israel and Liechtenstein are located next to more number of watercourses or waterways than Bosnia and Herzegovina
Poland Israel Liechtenstein
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Bosnia and Herzegovina
relation located next to body of water
type watercourse
type waterway
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) ?k WHERE { { ?k property:located_next_to_body_of_water ?m . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:watercourse } UNION { ?k property:located_next_to_body_of_water ?m . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:waterway } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:watercourse ) ( ontology:waterway ) } } . resource:Bosnia_and_Herzegovina property:located_next_to_body_of_water ?t } } . FILTER ( ?p > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q532046
P206
Q355304 Q1267889 Q15617994
USER
And also tell me about Fischen?
(c(Q15617994),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action count
action filter_multi_types
action find
entity Q532046
relation P206
type Q355304
type Q1267889
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?f WHERE { VALUES ( ?m ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?v rdf:type ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q532046 property:P206 ?a . { { ?a rdf:type ontology:Q355304 } UNION { ?a rdf:type ontology:Q1267889 } } } } . FILTER ( ?k > ?j ) }
Fischen
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Fischen
relation located next to body of water
type watercourse
type waterway
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?f WHERE { VALUES ( ?m ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?v rdf:type ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Fischen property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:watercourse } UNION { ?a rdf:type ontology:waterway } } } } . FILTER ( ?k > ?j ) }
[]
watercourse waterway designation for an administrative territorial entity
Q36 Q213 Q214
SYSTEM
Poland, Czech Republic, Slovakia
Q241358 Q214 Q491751 Q14825 Q36 Q28 Q525900 Q213 Q3923 Q252320 Q526087 Q2758 Q494305
(c(Q15617994),P206,c(Q355304)|c(Q1267889))
action greater
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action count
action filter_multi_types
action find
entity Q532046
relation P206
type Q355304
type Q1267889
[ANSWERS]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?f WHERE { VALUES ( ?m ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?v rdf:type ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q532046 property:P206 ?a . { { ?a rdf:type ontology:Q355304 } UNION { ?a rdf:type ontology:Q1267889 } } } } . FILTER ( ?k > ?j ) }
Schleiden Slovakia Pfatter Memmingen Poland Hungary Meinheim Czech Republic Bayreuth Pleinfeld Nennslingen Mönchengladbach Kelheim
Poland Czech Republic Slovakia
action greater
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Fischen
relation located next to body of water
type watercourse
type waterway
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?f WHERE { VALUES ( ?m ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?v rdf:type ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Fischen property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:watercourse } UNION { ?a rdf:type ontology:waterway } } } } . FILTER ( ?k > ?j ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2088357
USER
Which administrative territories are the origins of around the same number of works of art and musical ensembles as that administrative territory ?
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity work of art musical ensemble
Comparative|More/Less|Mult. entity type|Clarification
Q36
SYSTEM
Did you mean Poland ?
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean Poland ?
Poland
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 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 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(Q838948)|c(Q2088357),P495,c(Q15617994))
[ANSWERS] are the origins of around the same number of works of art and musical ensembles as that administrative territory
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina 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 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
Brazil, Georgia and Russia are the origins of around the same number of works of art and musical ensembles as that administrative territory
Brazil Georgia Russia
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q188499
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have adopted approximately the same number of holidays or people as their patron saint as Castel del Piano ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q188499
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?n ) WHERE { { ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1445650 . ?i property:P417 ?j } UNION { ?i property:P417 ?j . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q188499 property:P417 ?v . { { ?v rdf:type ontology:Q1445650 } UNION { ?v rdf:type ontology:Q502895 } } } } . FILTER ( ?n = ?o ) }
Castel del Piano
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Castel del Piano
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?n ) WHERE { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:holiday . ?i property:patron_saint ?j } UNION { ?i property:patron_saint ?j . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Castel_del_Piano property:patron_saint ?v . { { ?v rdf:type ontology:holiday } UNION { ?v rdf:type ontology:common_name } } } } . FILTER ( ?n = ?o ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
296
Q51179 Q265483 Q18339 Q268902 Q124005 Q43005 Q43000 Q39633 Q56075 Q42950 Q386898 Q490936 Q20203 Q9525 Q9520 Q18022 Q18348 Q283857 Q112226 Q18029 Q206966 Q155 Q42896 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q267241 Q42974 Q390108 Q51202 Q54751 Q58890 Q51370 Q42110 Q224813 Q252343 Q103999 Q52624 Q50134 Q478277 Q17821 Q188499 Q54585 Q95069 Q19277 Q186538 Q294805 Q18075 Q283697 Q39263 Q100404 Q9569 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q39835 Q46357 Q111415 Q56048 Q490412 Q39910 Q22170 Q58719 Q490907 Q265588 Q244048 Q94779 Q53946 Q10234 Q10231 Q10339 Q53492 Q40336 Q53881 Q295289 Q53883 Q42300 Q13649 Q25175 Q53288 Q17811 Q50165 Q265498 Q18088 Q1465 Q270578 Q53835 Q478925 Q285110 Q430988 Q35220 Q91160 Q111602 Q242710 Q216853 Q58461 Q20353 Q9435 Q20056 Q20435 Q51442 Q117471 Q36471 Q53304 Q17350 Q53909 Q271011 Q53903 Q18382 Q20128 Q23285 Q52026 Q72272 Q42343 Q326968 Q42266 Q42260 Q10200 Q24896 Q53876 Q207395 Q103768 Q20244 Q46746 Q42744 Q100094 Q298424 Q20405 Q83083 Q493482 Q39912 Q22182 Q42512 Q52191 Q340908 Q34386 Q72732 Q101648 Q391349 Q51274 Q52132 Q54705 Q91228 Q53355 Q9447 Q52102 Q53957 Q54673 Q54672 Q42963 Q124979 Q218027 Q53686 Q200925 Q18394 Q72712 Q23706 Q20530 Q42318 Q39862 Q54516 Q17804 Q53511 Q20431 Q54685 Q20184 Q283554 Q477618 Q46673 Q51358 Q81151 Q39227 Q48092 Q42557 Q53995 Q56085 Q53260 Q17796 Q18388 Q41077 Q55054 Q80655 Q52146 Q53508 Q40913 Q25187 Q25189 Q168551 Q22216 Q101251 Q9493 Q286671 Q390646 Q82755 Q23592 Q52038 Q23178 Q288273 Q54643 Q496978 Q46968 Q10211 Q16337 Q326780 Q100070 Q34579 Q20503 Q267032 Q382482 Q55017 Q51360 Q43037 Q53212 Q185748 Q51460 Q20170 Q102781 Q52179 Q58549 Q51926 Q23232 Q42629 Q54636 Q496936 Q105325 Q46870 Q91243 Q51812 Q72708 Q270613 Q19937 Q42249 Q42367 Q54699 Q54591 Q20191 Q46833 Q42391 Q386350 Q17378 Q42565 Q47046 Q19944 Q13619 Q341096 Q382223 Q53397 Q42403 Q56091 Q56090 Q53159 Q53152 Q39070 Q54035 Q80851 Q54034 Q103297 Q43040 Q40964 Q112019 Q39933 Q224176 Q54723 Q477800 Q19915 Q46282 Q13320 Q53732 Q34791 Q20389 Q59269 Q59265 Q20585 Q42208 Q53824 Q9028 Q34638 Q40094 Q34703 Q23648 Q9187 Q111147 Q488240 Q49603 Q52953 Q20299 Q39849 Q50079 Q9428 Q9336
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q188499
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?n ) WHERE { { ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1445650 . ?i property:P417 ?j } UNION { ?i property:P417 ?j . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Q188499 property:P417 ?v . { { ?v rdf:type ontology:Q1445650 } UNION { ?v rdf:type ontology:Q502895 } } } } . FILTER ( ?n = ?o ) }
Altino, Abruzzo Campomorone Aisone Diano Castello Falconara Marittima Sesto San Giovanni Lomagna Cairate Monsampolo del Tronto San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Osasio Orio Canavese Bioglio Bagnasco Decimoputzu Vobarno Callabiana Gabicce Mare Brazil Albairate Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Favale di Malvaro Cesano Boscone Anela Castiglione Messer Marino Zaccanopoli Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Lampedusa e Linosa Eppan an der Weinstraße Chiari Noepoli Rocca di Botte Castiglione di Sicilia Mombaldone Castel del Piano Calanna Antegnate Cerignola Arzachena Gadoni Graglia Burcei Sernio Comun Nuovo Pianezza Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Bianzone Breganze Polpenazze del Garda Castorano Priolo Gargallo Azzio Cavaglio d'Agogna Mondragone Scillato Crocefieschi Argegno Castel San Pietro Terme Rende Rocca Canavese Rivoli Venaria Reale Andali Gravellona Lomellina Fiumefreddo Bruzio Noragugume Frascineto Comazzo Nuoro Postua Mortegliano Frinco Trasacco Ceranesi Mottalciata Feltre Calizzano Belmonte Calabro Trecastagni Seulo Alessandria della Rocca Montjovet Cetona Rezzato Guidonia Montecelio Camaiore Camigliano Piobesi d'Alba Lugnacco Frabosa Soprana Sale delle Langhe Colledara Trevi nel Lazio Pompei Pasian di Prato Cremolino Mangone Osiglia Malito Bra Magliano Alpi Cannero Riviera Montemesola Monte di Procida Guidizzolo Tenno, Trentino Cervignano d'Adda Montevecchia Porte Borgo d'Ale Domanico Montecopiolo Capriano del Colle Murello Susegana Spino d'Adda San Felice sul Panaro Pergine Valsugana Roascio Monte San Giusto Librizzi Usmate Velate Colazza Vizzolo Predabissi Sannicola Luogosanto Trebaseleghe Vico Equense Telgate Santa Maria Coghinas Roccamontepiano Collepasso Drapia Monteriggioni San Giorgio di Nogaro Lusigliè Subbiano San Cosmo Albanese Sinopoli Siderno Senna Lodigiana Serra San Quirico Zoagli San Floro Lona-Lases Canale Torre Annunziata Trasquera Verduno Terranova dei Passerini Menarola San Mauro Marchesato Cortiglione Conflenti Rossana Terranova Sappo Minulio Monasterolo Casotto Armungia Resuttano Spresiano Civitella Casanova Ogliastro Cilento Ronco Briantino Cologna Veneta Pandino Saracena Palmiano Flaibano Cisterna d'Asti Brossasco Lavena Ponte Tresa Mirabella Eclano Bellizzi Guagnano Cerva Caiolo Rimella Riva Valdobbia Caselle Landi Dormelletto Montello, Lombardy Monteu da Po Santadi Cargeghe Londa, Tuscany Gurro Statte Bisceglie Serrenti Roghudi Roccapalumba Noale Quagliuzzo Novi Ligure Strigno Montefiorino Arre Sommariva del Bosco Santo Stefano d'Aveto Aidomaggiore Casalbore Corvara Annone di Brianza Aiello del Friuli Sant'Elia a Pianisi Pietracamela Martiniana Po Gragnano Trebbiense Porto Cesareo Castel Campagnano Faeto Bannio Anzino Parabiago Platì Sciara Nuvolento Bardolino Monteroni d'Arbia Alberobello Terzigno Celle Ligure Cerretto Langhe Mulazzano Valera Fratta Brognaturo Caraffa del Bianco Monforte d'Alba Albettone Airuno Masullas Malvicino Oggiono Silea Ceva Cosenza Trinità d'Agultu e Vignola Romana, Sardinia Villa Vicentina Acquanegra Cremonese Venarotta Spinetoli Cavasso Nuovo Azzano Decimo Andalo Valtellino Verbicaro Celle di Bulgheria Vaccarizzo Albanese Vicopisano Secugnago Rogolo Sirmione Cadrezzate Longone Sabino Nardodipace Vallelunga Pratameno Castellino Tanaro Castel d'Azzano Savona Tiriolo Aymavilles Montemurlo Montelparo Montefalcone Appennino Villanova Mondovì Malagnino Alessandria del Carretto Balme Arquà Petrarca Morbegno Torreglia Montecrestese Carmagnola Carpineti Lentini Ponte Buggianese Alfonsine Paroldo Robbio Celano Locana Druento
296
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Castel del Piano
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?n ) WHERE { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:holiday . ?i property:patron_saint ?j } UNION { ?i property:patron_saint ?j . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { resource:Castel_del_Piano property:patron_saint ?v . { { ?v rdf:type ontology:holiday } UNION { ?v rdf:type ontology:common_name } } } } . FILTER ( ?n = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q100365
P417
Q1445650 Q502895 Q15617994
USER
And how about Chiuduno?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q100365
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?l WHERE { { ?l property:P417 ?g . ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1445650 } UNION { ?l property:P417 ?g . ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { VALUES ( ?a ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?n rdf:type ?a } . resource:Q100365 property:P417 ?n } } . FILTER ( ?m = ?c ) }
Chiuduno
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Chiuduno
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?l WHERE { { ?l property:patron_saint ?g . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:holiday } UNION { ?l property:patron_saint ?g . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { VALUES ( ?a ) { ( ontology:holiday ) ( ontology:common_name ) } . ?n rdf:type ?a } . resource:Chiuduno property:patron_saint ?n } } . FILTER ( ?m = ?c ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
528
Q102547 Q103832 Q46304 Q55000 Q55009 Q22497 Q103572 Q328037 Q20208 Q53164 Q99937 Q391326 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q41058 Q53524 Q10212 Q9044 Q52085 Q47342 Q45 Q52244 Q111113 Q101067 Q80554 Q112143 Q42972 Q17674 Q51207 Q13470 Q9148 Q54742 Q295538 Q9000 Q13378 Q34742 Q101526 Q10307 Q112131 Q52019 Q10302 Q94644 Q17313 Q17312 Q9400 Q117368 Q390854 Q243371 Q223504 Q34603 Q17822 Q54587 Q42977 Q34360 Q40379 Q285089 Q42476 Q20247 Q53124 Q34684 Q111800 Q18206 Q48114 Q95095 Q128060 Q111966 Q39701 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q157673 Q53235 Q48027 Q18377 Q53339 Q101651 Q176292 Q72728 Q340610 Q22173 Q55852 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q40127 Q100829 Q104653 Q17862 Q17861 Q477537 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q53496 Q17321 Q19918 Q53886 Q34324 Q53284 Q25179 Q42306 Q279247 Q267183 Q17816 Q52110 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q18080 Q104963 Q489881 Q40937 Q51349 Q100973 Q34423 Q53177 Q242139 Q18400 Q22655 Q46168 Q51288 Q55104 Q123941 Q9432 Q270058 Q17777 Q123540 Q217391 Q17779 Q111972 Q33 Q265651 Q37 Q94588 Q25056 Q101057 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q23632 Q100365 Q51851 Q42167 Q20122 Q56210 Q9489 Q56063 Q80883 Q58844 Q117211 Q54521 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q50128 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q23662 Q219641 Q10208 Q10209 Q53874 Q53877 Q18040 Q53879 Q81755 Q39985 Q42580 Q50157 Q47671 Q123763 Q73218 Q495734 Q42466 Q34406 Q241780 Q53136 Q2107 Q46320 Q51405 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q42513 Q55890 Q9508 Q53225 Q42752 Q54708 Q54701 Q59234 Q105142 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q10338 Q72036 Q36198 Q17741 Q477423 Q23226 Q23224 Q72146 Q101187 Q101182 Q47093 Q91096 Q389292 Q80574 Q19209 Q22468 Q47500 Q25216 Q52282 Q53884 Q17290 Q101269 Q10328 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q50059 Q53882 Q34545 Q42259 Q493491 Q160262 Q100199 Q270968 Q9451 Q99962 Q99969 Q81622 Q20284 Q47371 Q40985 Q128134 Q48090 Q42413 Q8983 Q42553 Q100125 Q56081 Q56086 Q94754 Q56088 Q101423 Q18385 Q55053 Q51435 Q168670 Q42379 Q40851 Q278952 Q39884 Q53313 Q17666 Q52227 Q49605 Q9167 Q54736 Q9048 Q268291 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q42986 Q17695 Q20036 Q10284 Q52661 Q10281 Q17409 Q278199 Q52133 Q51861 Q18380 Q17404 Q51867 Q17691 Q117342 Q244185 Q266630 Q267134 Q56207 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q53961 Q9194 Q19279 Q19925 Q17244 Q24883 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q22039 Q42757 Q20507 Q46334 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q9050 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q47341 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q58433 Q72009 Q391241 Q17757 Q17753 Q101205 Q9017 Q40539 Q116573 Q101194 Q101759 Q82766 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q390160 Q42812 Q40036 Q40033 Q100135 Q40216 Q42241 Q390865 Q17371 Q54500 Q54503 Q223513 Q52959 Q17833 Q20425 Q59225 Q42397 Q20197 Q23607 Q46935 Q58898 Q432678 Q116404 Q581 Q111906 Q59236 Q19948 Q53852 Q207448 Q9363 Q40690 Q20551 Q40699 Q22626 Q214691 Q55097 Q254139 Q55042 Q101382 Q123965 Q101388 Q128057 Q46693 Q51423 Q269788 Q339993 Q43049 Q120399 Q40967 Q40965 Q390609 Q34598 Q101702 Q17654 Q55284 Q257357 Q47835 Q72221 Q269943 Q55958 Q10361 Q51258 Q34440 Q117621 Q20386 Q111888 Q20028 Q9467 Q71832 Q10364 Q52125 Q266259 Q157720 Q50148 Q101148 Q388325 Q496878 Q17877 Q100141 Q58901 Q243022 Q270299 Q478346 Q6662 Q34702 Q42366 Q42192 Q95090 Q20095 Q10226 Q42298 Q9298 Q271236 Q100044 Q100040 Q17749 Q24918 Q177713 Q47125 Q34568 Q13657 Q42680 Q42723 Q491724 Q20517 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q100365
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?l WHERE { { ?l property:P417 ?g . ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1445650 } UNION { ?l property:P417 ?g . ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { VALUES ( ?a ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?n rdf:type ?a } . resource:Q100365 property:P417 ?n } } . FILTER ( ?m = ?c ) }
Abetone Castelcovati Foza Ariano Irpino Cairano Meina Borgosatollo Villa Lagarina Monterosso Grana Clauzetto Cesenatico Pozzomaggiore Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Galliavola Gagliato Quassolo Barone Canavese Marciano della Chiana Arzignano Portugal Zeri Brescello Foppolo Alfano Urago d'Oglio Cusano Milanino Solonghello Civitella Messer Raimondo Barletta Candiolo Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Rovetta Sparone Trenzano Manduria Sestriere Casalfiumanese Casal Cermelli Cartosio Ingria Sgurgola Ittireddu San Polo dei Cavalieri Casperia Abano Terme Mombaruzzo Campo Calabro Zelo Buon Persico Cartura Siziano Sestu Cappella de' Picenardi Narzole Cormons Battaglia Terme Cattolica Castelmagno Thiene Codigoro Campodimele Torriana Mello Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Bibbona Carlino Legnago Bosia Rigolato Terno d'Isola Lucito Tufino Talana Cavallirio Baselice Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Meleti Pombia Agugliano Colfelice Spinete Lierna Gerola Alta Langhirano Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Banchette Satriano Belluno Valprato Soana Varisella Valgioie Belcastro Cassine Castiglione Falletto Grimaldi, Calabria Pozzonovo Moggio Udinese Quarona Bertonico Macchiagodena Carasco Isola d'Asti Alessano Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Massazza Leno Santa Marina Salina Zeme Cappelle sul Tavo Valmozzola Castelbaldo Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Lombriasco Brugnato Castel Rocchero Arcevia Giuncugnano Castellero Verucchio Finland Cavedine Lithuania Borgo Tossignano Fobello Fiorano al Serio Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Massiola Chiuduno Santeramo in Colle Dovera Lisio Regalbuto Montanaro Folignano Conca dei Marini San Gregorio Matese Roccasecca Scandale Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Prata d'Ansidonia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Omegna San Romano in Garfagnana Prascorsano Pratiglione Dipignano Fagnano Castello Candelo Figline Vegliaturo Torre Orsaia Brugherio Dairago Sulmona Citta' Mezzane di Sotto Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana Bellegra Romans d'Isonzo Wuppertal Chiampo Tocco da Casauria San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Liscate Castelvenere Nomaglio Bertiolo Crotta d'Adda Filandari Cessaniti Magliano di Tenna Manerba del Garda Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro Vauda Canavese Cicciano Siligo Agliano Terme Campofranco Baceno Aurano Liveri Lallio Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Caprauna Grignasco Dolcè Varallo Sesia Cirigliano Fuscaldo Brignano-Frascata Nembro Usseglio Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Campo di Giove Francavilla Marittima Vò Corte Palasio Castel di Lucio Caprarola Cenate Sopra Noli Marentino Barbata Blello Sant'Egidio del Monte Albino Paesana Tarzo Rocca Pietore Ponza, Lazio Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Montegallo Ripatransone Castel Guelfo di Bologna Roccafluvione Ponte Nossa Briga Alta Mercogliano Castiglione Messer Raimondo Maccastorna Crespiatica Garlasco Castel del Giudice Albuzzano Povoletto Sardigliano Aulla Montecatini Terme Caprie San Gregorio d'Ippona Beinasco Carpasio Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Grezzago Villadeati Envie Sangano San Costantino Albanese San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto San Demetrio Corone Casalborgone Aversa Cavallerleone Acqui Terme Borgo Vercelli Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Ameno San Martino del Lago Torre Bormida Camisano Vicentino Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Bibiana Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Laglio Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Alife, Campania Casoria Perfugas Bubbio Berzano di San Pietro Lurano Balangero Agrate Brianza Casalattico Lenna, Lombardy Villa d'Adda Montelupo Fiorentino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Banari Capralba Tromello Cesiomaggiore Canonica d'Adda Sappada Morimondo Ittiri Gremiasco Cerenzia Cotronei Castel di Tora Bagnara di Romagna Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Macugnaga Lazise Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Monsampietro Morico Chiusa di Pesio Casole Bruzio Monreale Forno Canavese Forcola Vezza d'Alba Sesto Calende Sillavengo Magliano in Toscana San Sossio Baronia Levanto, Liguria Guardia Lombardi Piario Corinaldo Piazza Brembana Bassiano Caprino Veronese Bellante Santo Stefano al Mare Jerzu Esino Lario Carloforte Civo Romagnese Bultei Stienta Valbrembo Rocca Grimalda Sedini Caldonazzo Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Vinovo Palena, Abruzzo Villafranca Padovana Viticuso Castel Ritaldi Riccione Entracque Meugliano Bacoli Vische Casarano Tiglieto Capoliveri Scanno, Abruzzo Gorno Siamaggiore Capaci Vesime Capriate San Gervasio Sparanise Morlupo Rocchetta di Vara Licodia Eubea Cesena Tribano Livraga San Donato Milanese Argenta, Emilia–Romagna Barasso Rivarolo Canavese Codogno Coazze Spotorno Castelnuovo Rangone Camposanto Azzano d'Asti Campertogno San Lorenzo Nuovo Avezzano Melara Lanusei Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Montanaso Lombardo Asigliano Veneto Limbiate Lodi
528
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Chiuduno
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?l WHERE { { ?l property:patron_saint ?g . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:holiday } UNION { ?l property:patron_saint ?g . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { VALUES ( ?a ) { ( ontology:holiday ) ( ontology:common_name ) } . ?n rdf:type ?a } . resource:Chiuduno property:patron_saint ?n } } . FILTER ( ?m = ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q515 Q56061
USER
Which administrative territories have atmost 4 cities and administrative territories have their center of administration ?
(c(Q515)|c(Q56061),P1376,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 4
[[{'concept': 'Q515'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:P1376 ?j . ?j rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q515 } UNION { ?g property:P1376 ?j . ?g rdf:type ontology:Q56061 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?j } . FILTER ( ?a <= 4 ) }
action atmost
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 4
[[{'concept': 'city'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:capital_of ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:city } UNION { ?g property:capital_of ?j . ?g rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . FILTER ( ?a <= 4 ) }
[]
designation for an administrative territorial entity city administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1098820 Q12631 Q419 Q414 Q3368 Q1111401 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q3044731 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q3093 Q1254171 Q220249 Q979470 Q3259 Q1270648 Q2528268 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q12574 Q12798 Q1280 Q1282 Q12792 Q1284 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q541811 Q1390630 Q1458 Q1452 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q12569 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q12642 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q3216 Q3194 Q34020 Q541589 Q760 Q12804 Q12808 Q14762300 Q3326 Q696651 Q3286 Q3528124 Q2719360 Q948 Q1243 Q945 Q3266 Q3105 Q639100 Q731547 Q33788 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q12789 Q884 Q1452646 Q881 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q541095 Q3148 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q492437 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q12589 Q12584 Q12580 Q1101 Q1206596 Q3131 Q12788 Q12784 Q3139 Q12782 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q12730 Q2562901 Q31068 Q12736 Q31067 Q31065 Q1270568 Q1773268 Q12657 Q30835 Q12652 Q30831 Q12556 Q574 Q1558632 Q694594 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q176 Q12816 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q3353 Q3357 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q684030 Q2567507 Q3278 Q3044623 Q651394 Q30946 Q3184 Q3044781 Q239502 Q712 Q711 Q710 Q717 Q3044777 Q2900529 Q12770 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1999970 Q155019 Q1974486 Q153091 Q107426 Q693658 Q1508927 Q1948 Q511365 Q654849 Q2038939 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q598193 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q1270623 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q10957559 Q965 Q967 Q962 Q963 Q2921370 Q3125 Q3120 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q3110307 Q686 Q30832 Q891165 Q12722 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q12620 Q12626 Q29 Q12543 Q617646 Q72670 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q3083 Q2003 Q3240 Q2662372 Q3249 Q686924 Q34762 Q517333 Q30669 Q30662 Q4628 Q455705 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1443 Q224 Q1447 Q2360428 Q30656 Q12717 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q12576 Q30797 Q1904 Q12578 Q347 Q3462133 Q12679 Q30815 Q17 Q153402 Q3207 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q244 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q515)|c(Q56061),P1376,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 4
[ANSWERS] have atmost 4 cities and administrative territories have their center of administration
[[{'concept': 'Q515'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:P1376 ?j . ?j rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q515 } UNION { ?g property:P1376 ?j . ?g rdf:type ontology:Q56061 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?j } . FILTER ( ?a <= 4 ) }
Yemen Panama Israel Costa Rica Gênes Meuse Peru Argentina Essonne Kispest District Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Guyane Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality Aisne Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Cantal Sieg Mont-Blanc Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador Loiret Vendée Umbria Lazio Vaucluse Abruzzo Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Ems-Oriental Ourthe Calabria Basilicata Hautes-Pyrénées Pyrénées-Atlantiques Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Loire Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Samoa Principality of Wales Province of Brescia Isère Ruhr Aveyron Aube Niue Ems-Supérieur Saint Lucia Vienne Haute-Vienne single-tier municipality Corrèze Saxe-Eisenach Cher Tibre Duchy of Luxembourg Tunisia Veneto Togo Charente Vosges Principality of Reuss-Gera Lippe New Caledonia Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan Var South Korea Montenotte Vietnam Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Rhin-et-Moselle Ardèche Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Bouches-du-Weser Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Manche Maine-et-Loire Lozère North Brabant Deux-Nèthes Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Alpes-Maritimes Territoire de Belfort Duchy of Amalfi Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Ismailia Governorate Qena Governorate Ems ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Red Sea Governorate Indre-et-Loire East Timor Rome Bremen-Verden Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Quebec Yonne Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Creuse Dordogne Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Principality of Serbia Arno Charente-Maritime Cibao Ramensky District Kafr el-Sheikh Governorate Ariège Sud Kingdom of Galicia–Volhynia Fiji Mongolia Kiribati Venezuela Nord Bezirk Lothringen Somme Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Méditerranée Manitoba Arvika Municipality Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Apennins Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Albania Republic of Macedonia Duchy of Bavaria Meurthe UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Moldavia Burkina Faso Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Hautes-Alpes Jura Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Bojanala Platinum District Municipality Haut-Rhin Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Batumi Oblast Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côte-d'Or Oman Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Mer-Égée Principality of Bayreuth Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Molise Croatia Apulia Tijuana Municipality Faiyum Governorate Bas-Rhin Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Lot Luxor Governorate Ontario Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne South Sinai Governorate Japan Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Barbados Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
Italy, Brazil and United States of America have atmost 4 cities and administrative territories have their center of administration
Italy Brazil United States of America
action atmost
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 4
[[{'concept': 'city'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:capital_of ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:city } UNION { ?g property:capital_of ?j . ?g rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . FILTER ( ?a <= 4 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3336960 Q18812255
P106
Q12737077
USER
Which occupations are the professions of Miriam Singer and Rubem Braga ?
AND((Q18812255,P106,c(Q12737077)), (Q3336960,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q18812255
relation P106
action find
entity Q3336960
relation P106
type Q12737077
{'AND': [['Q18812255', 'P106', {'concept': 'Q12737077'}], ['Q3336960', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q18812255 property:P106 ?a . resource:Q3336960 property:P106 ?a }
Rubem Braga Miriam Singer
action filter_type
action intersection
action find
entity Miriam Singer
relation occupation
action find
entity Rubem Braga
relation occupation
type occupation
{'AND': [['Miriam Singer', 'occupation', {'concept': 'occupation'}], ['Rubem Braga', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Miriam_Singer property:occupation ?a . resource:Rubem_Braga property:occupation ?a }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
AND((Q18812255,P106,c(Q12737077)), (Q3336960,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q18812255
relation P106
action find
entity Q3336960
relation P106
type Q12737077
The professions of Miriam Singer and Rubem Braga are a [ANSWERS]
{'AND': [['Q18812255', 'P106', {'concept': 'Q12737077'}], ['Q3336960', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q18812255 property:P106 ?a . resource:Q3336960 property:P106 ?a }
journalist writer
The professions of Miriam Singer and Rubem Braga are a journalist and writer
journalist writer
action filter_type
action intersection
action find
entity Miriam Singer
relation occupation
action find
entity Rubem Braga
relation occupation
type occupation
{'AND': [['Miriam Singer', 'occupation', {'concept': 'occupation'}], ['Rubem Braga', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Miriam_Singer property:occupation ?a . resource:Rubem_Braga property:occupation ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3336960
P21
Q290
USER
Which sex does Rubem Braga have ?
(Q1930187,P21,c(Q290)) (Q36180,P21,c(Q290))
action filter_type
action find
entity Q3336960
relation P21
type Q290
['Q1930187', 'P21', {'concept': 'Q290'}] ['Q36180', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q3336960 property:P21 ?w . ?w rdf:type ontology:Q290 }
Rubem Braga
action filter_type
action find
entity Rubem Braga
relation gender
type sex
['journalist', 'gender', {'concept': 'sex'}] ['writer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Rubem_Braga property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1930187,P21,c(Q290)) (Q36180,P21,c(Q290))
action filter_type
action find
entity Q3336960
relation P21
type Q290
Rubem Braga has a [ANSWER]
['Q1930187', 'P21', {'concept': 'Q290'}] ['Q36180', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q3336960 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Rubem Braga has a male
male
action filter_type
action find
entity Rubem Braga
relation gender
type sex
['journalist', 'gender', {'concept': 'sex'}] ['writer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Rubem_Braga property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3336960
P20
Q56061
USER
Where did that person expire ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q3336960
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q3336960 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Rubem Braga
action filter_type
action find
entity Rubem Braga
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Rubem_Braga property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q3336960
relation P20
type Q56061
That person expired in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q3336960 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Rio de Janeiro
That person expired in Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Rubem Braga
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Rubem_Braga property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8678 Q40236
P190
Q56061
USER
Is Manaus the sister city of Rio de Janeiro ?
(Q8678,P190,Q40236)
action is_in
entity Q40236
action find
entity Q8678
relation P190
['Q8678', 'P190', 'Q40236']
ASK WHERE { resource:Q8678 property:P190 resource:Q40236 }
Rio de Janeiro Manaus
action is_in
entity Manaus
action find
entity Rio de Janeiro
relation sister city
['Rio de Janeiro', 'sister city', 'Manaus']
ASK WHERE { resource:Rio_de_Janeiro property:sister_city resource:Manaus }
[]
administrative territorial entity
SYSTEM
YES
(Q8678,P190,Q40236)
action is_in
entity Q40236
action find
entity Q8678
relation P190
[ANSWER]
['Q8678', 'P190', 'Q40236']
ASK WHERE { resource:Q8678 property:P190 resource:Q40236 }
Yes
action is_in
entity Manaus
action find
entity Rio de Janeiro
relation sister city
['Rio de Janeiro', 'sister city', 'Manaus']
ASK WHERE { resource:Rio_de_Janeiro property:sister_city resource:Manaus }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P17
Q15617994
USER
Which administrative territory is Rio de Janeiro situated in ?
action filter_type
action find
entity Q8678
relation P17
type Q15617994
SELECT DISTINCT ?n WHERE { resource:Q8678 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Rio de Janeiro
action filter_type
action find
entity Rio de Janeiro
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Rio_de_Janeiro property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
action filter_type
action find
entity Q8678
relation P17
type Q15617994
Which administrative territory is Rio de Janeiro situated in
SELECT DISTINCT ?n WHERE { resource:Q8678 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Brazil
Which administrative territory is Rio de Janeiro situated in
Brazil
action filter_type
action find
entity Rio de Janeiro
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?n WHERE { resource:Rio_de_Janeiro property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P740
Q43229
USER
What were formed at Russia ?
(c(Q43229),P740,Q159)
action filter_type
action find_reverse
entity Q159
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q159']
SELECT DISTINCT ?q WHERE { ?q property:P740 resource:Q159 . ?q rdf:type ontology:Q43229 }
Russia
action filter_type
action find_reverse
entity Russia
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Russia']
SELECT DISTINCT ?q WHERE { ?q property:location_of_formation resource:Russia . ?q rdf:type ontology:organization }
[]
organization
Q4041770 Q4141633
SYSTEM
Jah Division, Gollandiya
Q4041770 Q4141633
(c(Q43229),P740,Q159)
action filter_type
action find_reverse
entity Q159
relation P740
type Q43229
[ANSWERS] were formed at Russia
[{'concept': 'Q43229'}, 'P740', 'Q159']
SELECT DISTINCT ?q WHERE { ?q property:P740 resource:Q159 . ?q rdf:type ontology:Q43229 }
Jah Division Gollandiya
Jah Division and Gollandiya were formed at Russia
Jah Division Gollandiya
action filter_type
action find_reverse
entity Russia
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Russia']
SELECT DISTINCT ?q WHERE { ?q property:location_of_formation resource:Russia . ?q rdf:type ontology:organization }
[]