Simple Question (Direct)
Simple Question
Q1703183
P20
Q56061
USER
Where did the demise of Jonathan Grout occur ?
(Q1703183,P20,c(Q56061))
action filter_type
action find
entity Q1703183
relation P20
type Q56061
['Q1703183', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1703183 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Jonathan Grout
action filter_type
action find
entity Jonathan Grout
relation place of death
type administrative territorial entity
['Jonathan Grout', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jonathan_Grout property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q48215
SYSTEM
Dover
Q48215
(Q1703183,P20,c(Q56061))
action filter_type
action find
entity Q1703183
relation P20
type Q56061
The demise of Jonathan Grout occurred in [ANSWER]
['Q1703183', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1703183 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Dover
The demise of Jonathan Grout occurred in Dover
Dover
action filter_type
action find
entity Jonathan Grout
relation place of death
type administrative territorial entity
['Jonathan Grout', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jonathan_Grout property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48215
P17
Q15617994
USER
Which administrative territory is that administrative territory a part of ?
(Q48215,P17,c(Q15617994))
action filter_type
action find
entity Q48215
relation P17
type Q15617994
['Q48215', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q48215 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Dover
action filter_type
action find
entity Dover
relation country
type designation for an administrative territorial entity
['Dover', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Dover property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q48215,P17,c(Q15617994))
action filter_type
action find
entity Q48215
relation P17
type Q15617994
The [ANSWER] is that administrative territory a part of
['Q48215', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q48215 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
The United States of America is that administrative territory a part of
United States of America
action filter_type
action find
entity Dover
relation country
type designation for an administrative territorial entity
['Dover', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Dover property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q962
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of administrative territories as Benin ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q962
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?u ) WHERE { ?a property:P530 ?f . ?a rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q962 property:P530 ?s } } . FILTER ( ?u = ?w ) }
Benin
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Benin
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?u ) WHERE { ?a property:diplomatic_relation ?f . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benin property:diplomatic_relation ?s } } . FILTER ( ?u = ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q962
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?u ) WHERE { ?a property:P530 ?f . ?a rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q962 property:P530 ?s } } . FILTER ( ?u = ?w ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Benin
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?u ) WHERE { ?a property:diplomatic_relation ?f . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benin property:diplomatic_relation ?s } } . FILTER ( ?u = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q37
P530
Q15617994 Q15617994
USER
And how about Lithuania?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q37 property:P530 ?f } } . FILTER ( ?p = ?k ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?p ) WHERE { ?l property:P530 ?t . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?l } }
Lithuania
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Lithuania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lithuania property:diplomatic_relation ?f } } . FILTER ( ?p = ?k ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?p ) WHERE { ?l property:diplomatic_relation ?t . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q37 property:P530 ?f } } . FILTER ( ?p = ?k ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?p ) WHERE { ?l property:P530 ?t . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?l } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Lithuania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lithuania property:diplomatic_relation ?f } } . FILTER ( ?p = ?k ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?p ) WHERE { ?l property:diplomatic_relation ?t . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is used as the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P38 ?a . ?a rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:currency ?a . ?a rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is used as the currency of United States of America
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P38 ?a . ?a rdf:type ontology:Q8142 }
United States dollar
United States dollar is used as the currency of United States of America
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:currency ?a . ?a rdf:type ontology:currency }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q458
Q8142
USER
And what about European Union?
(Q458,P38,c(Q8142))
action filter_type
action find
entity Q458
relation P38
type Q8142
['Q458', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?p WHERE { resource:Q458 property:P38 ?p . ?p rdf:type ontology:Q8142 }
European Union
action filter_type
action find
entity European Union
relation currency
type currency
['European Union', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?p WHERE { resource:European_Union property:currency ?p . ?p rdf:type ontology:currency }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q458,P38,c(Q8142))
action filter_type
action find
entity Q458
relation P38
type Q8142
[ANSWER]
['Q458', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?p WHERE { resource:Q458 property:P38 ?p . ?p rdf:type ontology:Q8142 }
pound sterling
pound sterling
action filter_type
action find
entity European Union
relation currency
type currency
['European Union', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?p WHERE { resource:European_Union property:currency ?p . ?p rdf:type ontology:currency }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q39912
P417
Q502895 Q1445650 Q15617994
USER
Which administrative territories have approximately the same number of people or holidays as their patron saint as Usmate Velate ?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q39912
relation P417
type Q502895
type Q1445650
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?z rdf:type ?q } GROUP BY ?l } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q39912 property:P417 ?n . { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } }
Usmate Velate
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Usmate Velate
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:holiday ) } . ?z rdf:type ?q } GROUP BY ?l } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Usmate_Velate property:patron_saint ?n . { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:holiday ) } } } } }
[]
common name holiday designation for an administrative territorial entity
Q155 Q478277 Q13619
SYSTEM
Brazil, Castiglione di Sicilia, Cosenza
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(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q39912
relation P417
type Q502895
type Q1445650
[ANSWERS] have approximately the same number of people or holidays as their patron saint as Usmate Velate
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?z rdf:type ?q } GROUP BY ?l } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q39912 property:P417 ?n . { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } }
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
Brazil, Castiglione di Sicilia and Cosenza have approximately the same number of people or holidays as their patron saint as Usmate Velate
Brazil Castiglione di Sicilia Cosenza
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Usmate Velate
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?q ) { ( ontology:common_name ) ( ontology:holiday ) } . ?z rdf:type ?q } GROUP BY ?l } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Usmate_Velate property:patron_saint ?n . { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:holiday ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q59265
P417
Q502895 Q1445650 Q15617994
USER
And how about Montefalcone Appennino?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q59265
relation P417
type Q502895
type Q1445650
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?v WHERE { { ?v property:P417 ?y . ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q502895 } UNION { ?v property:P417 ?y . ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1445650 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q59265 property:P417 ?i . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q1445650 } } } } . FILTER ( ?r = ?w ) }
Montefalcone Appennino
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Montefalcone Appennino
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?v WHERE { { ?v property:patron_saint ?y . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:common_name } UNION { ?v property:patron_saint ?y . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:holiday } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Montefalcone_Appennino property:patron_saint ?i . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:holiday } } } } . FILTER ( ?r = ?w ) }
[]
common name holiday designation for an administrative territorial entity
Q155 Q478277 Q13619
SYSTEM
Brazil, Castiglione di Sicilia, Cosenza
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(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q59265
relation P417
type Q502895
type Q1445650
[ANSWERS]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?v WHERE { { ?v property:P417 ?y . ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q502895 } UNION { ?v property:P417 ?y . ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1445650 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q59265 property:P417 ?i . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q1445650 } } } } . FILTER ( ?r = ?w ) }
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
Brazil Castiglione di Sicilia Cosenza
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Montefalcone Appennino
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?v WHERE { { ?v property:patron_saint ?y . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:common_name } UNION { ?v property:patron_saint ?y . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:holiday } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Montefalcone_Appennino property:patron_saint ?i . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:holiday } } } } . FILTER ( ?r = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q515 Q20667921
USER
How many administrative territories have exactly 3 cities and french administrative divisions as their capital ?
(c(Q515)|c(Q20667921),P1376,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 3
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?r = 3 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?a WHERE { { ?z property:P1376 ?a . ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q515 } UNION { ?z rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q15617994 . ?z property:P1376 ?a } } GROUP BY ?a } }
action count
action equal
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 type of french administrative division
value 3
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?r = 3 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?a WHERE { { ?z property:capital_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:city } UNION { ?z rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:capital_of ?a } } GROUP BY ?a } }
[]
designation for an administrative territorial entity city type of french administrative division
SYSTEM
2
Q12703 Q12569
(c(Q515)|c(Q20667921),P1376,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 3
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?r = 3 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?a WHERE { { ?z property:P1376 ?a . ?a rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q515 } UNION { ?z rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q15617994 . ?z property:P1376 ?a } } GROUP BY ?a } }
Pyrénées-Atlantiques Loire
2
action count
action equal
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 type of french administrative division
value 3
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?r = 3 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?a WHERE { { ?z property:capital_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:city } UNION { ?z rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:capital_of ?a } } GROUP BY ?a } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q99956
P417
Q502895 Q1445650 Q15617994
USER
Which administrative territories have more number of people and holidays as their patron saint than Sarsina ?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q99956
relation P417
type Q502895
type Q1445650
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q99956 property:P417 ?z . { { ?z rdf:type ontology:Q502895 } UNION { ?z rdf:type ontology:Q1445650 } } } } . FILTER ( ?u > ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?u ) WHERE { { ?m property:P417 ?g . ?g rdf:type ontology:Q502895 . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1445650 . ?m property:P417 ?g } } GROUP BY ?m } }
Sarsina
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Sarsina
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Sarsina property:patron_saint ?z . { { ?z rdf:type ontology:common_name } UNION { ?z rdf:type ontology:holiday } } } } . FILTER ( ?u > ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?u ) WHERE { { ?m property:patron_saint ?g . ?g rdf:type ontology:common_name . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:holiday . ?m property:patron_saint ?g } } GROUP BY ?m } }
[]
common name holiday designation for an administrative territorial entity
Q38 Q36 Q25198
SYSTEM
Italy, Poland, Olgiate Olona
Q36 Q25198 Q286808 Q38
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q99956
relation P417
type Q502895
type Q1445650
[ANSWERS] have more number of people and holidays as their patron saint than Sarsina
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Q99956 property:P417 ?z . { { ?z rdf:type ontology:Q502895 } UNION { ?z rdf:type ontology:Q1445650 } } } } . FILTER ( ?u > ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?u ) WHERE { { ?m property:P417 ?g . ?g rdf:type ontology:Q502895 . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1445650 . ?m property:P417 ?g } } GROUP BY ?m } }
Poland Olgiate Olona Fiavè Italy
Italy, Poland and Olgiate Olona have more number of people and holidays as their patron saint than Sarsina
Italy Poland Olgiate Olona
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Sarsina
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { resource:Sarsina property:patron_saint ?z . { { ?z rdf:type ontology:common_name } UNION { ?z rdf:type ontology:holiday } } } } . FILTER ( ?u > ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?u ) WHERE { { ?m property:patron_saint ?g . ?g rdf:type ontology:common_name . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:holiday . ?m property:patron_saint ?g } } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q101151
P417
Q502895 Q1445650 Q15617994
USER
And also tell me about Grassobbio?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q101151
relation P417
type Q502895
type Q1445650
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q101151 property:P417 ?b . { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?b rdf:type ?t } } } . FILTER ( ?m > ?a ) }
Grassobbio
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Grassobbio
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Grassobbio property:patron_saint ?b . { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:holiday ) } . ?b rdf:type ?t } } } . FILTER ( ?m > ?a ) }
[]
common name holiday designation for an administrative territorial entity
Q38 Q36 Q25198
SYSTEM
Italy, Poland, Olgiate Olona
Q36 Q25198 Q286808 Q38
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action count
action filter_multi_types
action find
entity Q101151
relation P417
type Q502895
type Q1445650
[ANSWERS]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q101151 property:P417 ?b . { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?b rdf:type ?t } } } . FILTER ( ?m > ?a ) }
Poland Olgiate Olona Fiavè Italy
Italy Poland Olgiate Olona
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Grassobbio
relation patron saint
type common name
type holiday
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Grassobbio property:patron_saint ?b . { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:holiday ) } . ?b rdf:type ?t } } } . FILTER ( ?m > ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q15617994
USER
How many administrative territories have adopted atmost 3 people and holidays as their patron saint ?
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action count
action atmost
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
value 3
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?u ) WHERE { { ?n rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q502895 . ?n property:P417 ?i } UNION { ?n property:P417 ?i . ?i rdf:type ontology:Q1445650 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?u <= 3 ) }
action count
action atmost
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?u ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:common_name . ?n property:patron_saint ?i } UNION { ?n property:patron_saint ?i . ?i rdf:type ontology:holiday . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?u <= 3 ) }
[]
common name holiday designation for an administrative territorial entity
SYSTEM
827
Q102547 Q51179 Q103832 Q265483 Q18339 Q46304 Q268902 Q124005 Q55000 Q55009 Q43005 Q43000 Q22497 Q39633 Q56075 Q103572 Q42950 Q386898 Q490936 Q20203 Q328037 Q9525 Q9520 Q20208 Q18022 Q53164 Q18348 Q99937 Q283857 Q112226 Q18029 Q391326 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q206966 Q41058 Q53524 Q10212 Q9044 Q155 Q42896 Q52085 Q47342 Q45 Q52244 Q25198 Q111113 Q101067 Q216492 Q490770 Q17268 Q54612 Q9065 Q54617 Q80554 Q267241 Q42974 Q112143 Q42972 Q17674 Q390108 Q51207 Q13470 Q9148 Q51202 Q54751 Q54742 Q295538 Q9000 Q13378 Q34742 Q58890 Q51370 Q42110 Q101526 Q224813 Q10307 Q112131 Q52019 Q10302 Q252343 Q94644 Q17313 Q17312 Q103999 Q52624 Q9400 Q50134 Q117368 Q390854 Q243371 Q478277 Q223504 Q34603 Q17822 Q17821 Q188499 Q54585 Q95069 Q54587 Q19277 Q186538 Q294805 Q42977 Q34360 Q18075 Q283697 Q39263 Q100404 Q40379 Q9569 Q285089 Q20387 Q34519 Q42777 Q198320 Q34694 Q9105 Q42476 Q39835 Q20247 Q53124 Q46357 Q34684 Q111800 Q18206 Q111415 Q48114 Q95095 Q128060 Q111966 Q39701 Q56048 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q490412 Q157673 Q53235 Q48027 Q18377 Q53339 Q39910 Q101651 Q176292 Q72728 Q340610 Q22170 Q22173 Q58719 Q55852 Q490907 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q265588 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q244048 Q40127 Q100829 Q94779 Q104653 Q17862 Q17861 Q477537 Q286808 Q53946 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q10234 Q10231 Q10339 Q53492 Q53496 Q40336 Q17321 Q19918 Q53886 Q53881 Q295289 Q53883 Q34324 Q42300 Q13649 Q53284 Q25179 Q42306 Q279247 Q25175 Q267183 Q53288 Q17816 Q52110 Q17811 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q50165 Q18080 Q104963 Q489881 Q265498 Q18088 Q40937 Q1465 Q51349 Q270578 Q53835 Q100973 Q478925 Q285110 Q430988 Q35220 Q34423 Q91160 Q53177 Q242139 Q18400 Q22655 Q111602 Q242710 Q216853 Q46168 Q51288 Q55104 Q123941 Q58461 Q9432 Q20353 Q9435 Q270058 Q20056 Q20435 Q51442 Q17777 Q123540 Q117471 Q36471 Q217391 Q17779 Q111972 Q33 Q265651 Q53304 Q37 Q94588 Q17350 Q25056 Q101057 Q38 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q53909 Q271011 Q23632 Q53903 Q18382 Q100365 Q51851 Q42167 Q20128 Q23285 Q20122 Q56210 Q9489 Q56063 Q52026 Q72272 Q80883 Q58844 Q117211 Q54521 Q42343 Q326968 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q42266 Q50128 Q42260 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q10200 Q23662 Q219641 Q24896 Q10208 Q10209 Q53874 Q53876 Q53877 Q207395 Q18040 Q53879 Q103768 Q81755 Q20244 Q39985 Q46746 Q42580 Q50157 Q47671 Q42744 Q123763 Q73218 Q495734 Q42466 Q34406 Q100094 Q241780 Q53136 Q2107 Q46320 Q298424 Q51405 Q20405 Q83083 Q493482 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q39912 Q22182 Q42513 Q42512 Q52191 Q340908 Q55890 Q9508 Q34386 Q53225 Q72732 Q101648 Q391349 Q42752 Q51274 Q54708 Q52132 Q54701 Q59234 Q105142 Q54705 Q91228 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q53355 Q9447 Q10338 Q72036 Q36198 Q52102 Q17741 Q53957 Q54673 Q54672 Q477423 Q23226 Q23224 Q72146 Q101187 Q42963 Q101182 Q47093 Q91096 Q389292 Q80574 Q124979 Q218027 Q53686 Q19209 Q22468 Q47500 Q200925 Q18394 Q25216 Q52282 Q72712 Q53884 Q17290 Q101269 Q10328 Q23706 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q20530 Q42318 Q39862 Q50059 Q53882 Q54516 Q34545 Q42259 Q17804 Q53511 Q493491 Q20431 Q54685 Q20184 Q160262 Q283554 Q100199 Q270968 Q9451 Q99962 Q477618 Q99969 Q46673 Q51358 Q81622 Q81151 Q20284 Q39227 Q47371 Q40985 Q128134 Q48092 Q48090 Q42413 Q8983 Q42553 Q100125 Q42557 Q53995 Q56081 Q56086 Q56085 Q94754 Q53260 Q56088 Q101423 Q17796 Q18388 Q41077 Q18385 Q55053 Q55054 Q80655 Q51435 Q168670 Q42379 Q52146 Q40851 Q53508 Q278952 Q40913 Q39884 Q25187 Q53313 Q17666 Q25189 Q52227 Q168551 Q49605 Q9167 Q54736 Q22216 Q9048 Q268291 Q101251 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q9493 Q42986 Q17695 Q20036 Q10284 Q52661 Q286671 Q390646 Q82755 Q10281 Q17409 Q278199 Q52133 Q23592 Q52038 Q51861 Q18380 Q17404 Q51867 Q17691 Q23178 Q117342 Q244185 Q266630 Q267134 Q56207 Q288273 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q54643 Q53961 Q496978 Q46968 Q9194 Q19279 Q10211 Q19925 Q17244 Q24883 Q16337 Q326780 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q100070 Q34579 Q22039 Q42757 Q20503 Q20507 Q267032 Q382482 Q46334 Q55017 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q51360 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q43037 Q9050 Q53212 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q185748 Q51460 Q47341 Q20170 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q102781 Q58433 Q52179 Q72009 Q391241 Q17757 Q17753 Q58549 Q101205 Q9017 Q51926 Q40539 Q23232 Q116573 Q42629 Q54636 Q101194 Q101759 Q496936 Q82766 Q105325 Q46870 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q91243 Q51812 Q390160 Q42812 Q40036 Q72708 Q40033 Q100135 Q40216 Q270613 Q19937 Q42241 Q390865 Q17371 Q54500 Q54503 Q42249 Q42367 Q223513 Q52959 Q54699 Q17833 Q20425 Q59225 Q42397 Q20197 Q54591 Q20191 Q46833 Q42391 Q23607 Q386350 Q46935 Q17378 Q58898 Q432678 Q116404 Q581 Q111906 Q42565 Q47046 Q59236 Q19948 Q53852 Q19944 Q207448 Q9363 Q40690 Q13619 Q20551 Q341096 Q382223 Q40699 Q53397 Q22626 Q42403 Q214691 Q56091 Q56090 Q55097 Q53159 Q53152 Q254139 Q39070 Q55042 Q101382 Q54035 Q80851 Q123965 Q101388 Q54034 Q128057 Q46693 Q51423 Q269788 Q103297 Q43040 Q339993 Q43049 Q120399 Q40967 Q40964 Q40965 Q390609 Q34598 Q112019 Q39933 Q101702 Q17654 Q55284 Q224176 Q54723 Q257357 Q477800 Q47835 Q72221 Q269943 Q55958 Q19915 Q46282 Q10361 Q51258 Q13320 Q34440 Q53732 Q34791 Q117621 Q20386 Q111888 Q20028 Q9467 Q20389 Q71832 Q10364 Q52125 Q59269 Q266259 Q157720 Q50148 Q101148 Q59265 Q388325 Q20585 Q496878 Q42208 Q17877 Q53824 Q9028 Q100141 Q34638 Q58901 Q243022 Q270299 Q478346 Q40094 Q6662 Q34703 Q34702 Q42366 Q42192 Q23648 Q9187 Q95090 Q20095 Q10226 Q111147 Q42298 Q488240 Q9298 Q271236 Q49603 Q100044 Q100040 Q17749 Q52953 Q24918 Q177713 Q47125 Q20299 Q39849 Q34568 Q13657 Q50079 Q9428 Q42680 Q42723 Q491724 Q20517 Q9336 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q502895)|c(Q1445650))
action count
action atmost
action union
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
value 3
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?u ) WHERE { { ?n rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q502895 . ?n property:P417 ?i } UNION { ?n property:P417 ?i . ?i rdf:type ontology:Q1445650 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?u <= 3 ) }
Abetone Altino, Abruzzo Castelcovati Campomorone Aisone Foza Diano Castello Falconara Marittima Ariano Irpino Cairano Sesto San Giovanni Lomagna Meina Cairate Monsampolo del Tronto Borgosatollo San Martino in Strada Nughedu Santa Vittoria Belmonte Mezzagno Montemale di Cuneo Villa Lagarina Osasio Orio Canavese Monterosso Grana Bioglio Clauzetto Bagnasco Cesenatico Decimoputzu Vobarno Callabiana Pozzomaggiore Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Gabicce Mare Galliavola Gagliato Quassolo Barone Canavese Brazil Albairate Marciano della Chiana Arzignano Portugal Zeri Olgiate Olona Brescello Foppolo Borgo a Mozzano San Giuseppe Jato Belforte Monferrato Gerace Borgomasino Laganadi Alfano Favale di Malvaro Cesano Boscone Urago d'Oglio Cusano Milanino Solonghello Anela Civitella Messer Raimondo Barletta Candiolo Castiglione Messer Marino Zaccanopoli Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Sant'Angelo d'Alife Manoppello Bellinzago Lombardo Rovetta Lampedusa e Linosa Sparone Trenzano Manduria Sestriere Eppan an der Weinstraße Casalfiumanese Casal Cermelli Cartosio Chiari Noepoli Ingria Rocca di Botte Sgurgola Ittireddu San Polo dei Cavalieri Castiglione di Sicilia Casperia Abano Terme Mombaruzzo Mombaldone Castel del Piano Calanna Antegnate Campo Calabro Cerignola Arzachena Gadoni Zelo Buon Persico Cartura Graglia Burcei Sernio Comun Nuovo Siziano Pianezza Sestu Poggio a Caiano Maserà di Padova Abbiategrasso Ziano di Fiemme Fiesso Umbertiano Buriasco Cappella de' Picenardi Bianzone Narzole Cormons Breganze Battaglia Terme Cattolica Castelmagno Polpenazze del Garda Thiene Codigoro Campodimele Torriana Mello Castorano Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Priolo Gargallo Bibbona Carlino Legnago Bosia Rigolato Azzio Terno d'Isola Lucito Tufino Talana Cavaglio d'Agogna Cavallirio Mondragone Baselice Scillato Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Crocefieschi Meleti Pombia Agugliano Colfelice Spinete Lierna Argegno Gerola Alta Langhirano Castel San Pietro Terme Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Fiavè Rende Banchette Satriano Belluno Valprato Soana Varisella Valgioie Rocca Canavese Rivoli Venaria Reale Andali Belcastro Gravellona Lomellina Cassine Castiglione Falletto Grimaldi, Calabria Fiumefreddo Bruzio Noragugume Frascineto Pozzonovo Comazzo Nuoro Moggio Udinese Quarona Bertonico Macchiagodena Postua Carasco Mortegliano Isola d'Asti Alessano Frinco Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Trasacco Massazza Leno Santa Marina Salina Ceranesi Mottalciata Zeme Feltre Cappelle sul Tavo Calizzano Belmonte Calabro Valmozzola Trecastagni Seulo Alessandria della Rocca Montjovet Castelbaldo Cetona Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Rezzato Guidonia Montecelio Camaiore Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Camigliano Lombriasco Piobesi d'Alba Lugnacco Brugnato Frabosa Soprana Sale delle Langhe Colledara Castel Rocchero Arcevia Trevi nel Lazio Pompei Giuncugnano Castellero Verucchio Finland Cavedine Pasian di Prato Lithuania Borgo Tossignano Cremolino Fobello Fiorano al Serio Italy Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Mangone Osiglia Massiola Malito Bra Chiuduno Santeramo in Colle Dovera Magliano Alpi Cannero Riviera Lisio Regalbuto Montanaro Folignano Montemesola Monte di Procida Conca dei Marini San Gregorio Matese Roccasecca Scandale Guidizzolo Tenno, Trentino Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Cervignano d'Adda Prata d'Ansidonia Montevecchia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Porte Omegna San Romano in Garfagnana Borgo d'Ale Prascorsano Pratiglione Dipignano Domanico Fagnano Castello Montecopiolo Candelo Figline Vegliaturo Capriano del Colle Torre Orsaia Murello Brugherio Susegana Dairago Sulmona Citta' Mezzane di Sotto Spino d'Adda Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana San Felice sul Panaro Bellegra Romans d'Isonzo Wuppertal Chiampo Pergine Valsugana Tocco da Casauria Roascio Monte San Giusto Librizzi San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Usmate Velate Colazza Liscate Vizzolo Predabissi Sannicola Luogosanto Castelvenere Nomaglio Trebaseleghe Bertiolo Vico Equense Telgate Santa Maria Coghinas Crotta d'Adda Roccamontepiano Filandari Collepasso Cessaniti Magliano di Tenna Manerba del Garda Drapia Monteriggioni Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro San Giorgio di Nogaro Lusigliè Vauda Canavese Cicciano Siligo Subbiano Agliano Terme San Cosmo Albanese Sinopoli Siderno Campofranco Baceno Aurano Liveri Lallio Senna Lodigiana Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Serra San Quirico Zoagli San Floro Caprauna Grignasco Dolcè Lona-Lases Canale Varallo Sesia Cirigliano Torre Annunziata Fuscaldo Brignano-Frascata Nembro Usseglio Trasquera Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Verduno Terranova dei Passerini Menarola Campo di Giove Francavilla Marittima San Mauro Marchesato Vò Corte Palasio Cortiglione Conflenti Castel di Lucio Rossana Terranova Sappo Minulio Monasterolo Casotto Caprarola Armungia Cenate Sopra Noli Marentino Barbata Resuttano Blello Spresiano Civitella Casanova Sant'Egidio del Monte Albino Ogliastro Cilento Paesana Ronco Briantino Tarzo Rocca Pietore Ponza, Lazio Cologna Veneta Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Pandino Saracena Montegallo Ripatransone Palmiano Castel Guelfo di Bologna Flaibano Roccafluvione Ponte Nossa Cisterna d'Asti Brossasco Lavena Ponte Tresa Briga Alta Mercogliano Mirabella Eclano Bellizzi Castiglione Messer Raimondo Maccastorna Crespiatica Guagnano Garlasco Cerva Castel del Giudice Caiolo Albuzzano Rimella Povoletto Sardigliano Riva Valdobbia Aulla Caselle Landi Montecatini Terme Caprie San Gregorio d'Ippona Dormelletto Beinasco Carpasio Montello, Lombardy Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Monteu da Po Grezzago Villadeati Envie Sangano San Costantino Albanese Santadi Cargeghe Londa, Tuscany San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Gurro Statte Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Bisceglie Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Serrenti Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto Roghudi San Demetrio Corone Roccapalumba Noale Casalborgone Aversa Quagliuzzo Cavallerleone Acqui Terme Borgo Vercelli Novi Ligure Strigno Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Montefiorino Arre Ameno San Martino del Lago Sommariva del Bosco Torre Bormida Santo Stefano d'Aveto Aidomaggiore Camisano Vicentino Casalbore Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Corvara Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Annone di Brianza Bibiana Aiello del Friuli Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Sant'Elia a Pianisi Pietracamela Laglio Martiniana Po Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Gragnano Trebbiense Alife, Campania Porto Cesareo Casoria Perfugas Bubbio Berzano di San Pietro Castel Campagnano Lurano Balangero Faeto Agrate Brianza Bannio Anzino Casalattico Parabiago Platì Lenna, Lombardy Villa d'Adda Sciara Montelupo Fiorentino Nuvolento Bardolino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Monteroni d'Arbia Alberobello Banari Capralba Tromello Terzigno Cesiomaggiore Canonica d'Adda Sappada Celle Ligure Cerretto Langhe Morimondo Ittiri Gremiasco Cerenzia Cotronei Mulazzano Valera Fratta Castel di Tora Bagnara di Romagna Brognaturo Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Caraffa del Bianco Monforte d'Alba Albettone Airuno Macugnaga Masullas Lazise Malvicino Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Oggiono Silea Monsampietro Morico Chiusa di Pesio Casole Bruzio Ceva Monreale Forno Canavese Forcola Cosenza Vezza d'Alba Trinità d'Agultu e Vignola Romana, Sardinia Sesto Calende Villa Vicentina Sillavengo Acquanegra Cremonese Magliano in Toscana Venarotta Spinetoli San Sossio Baronia Cavasso Nuovo Azzano Decimo Levanto, Liguria Andalo Valtellino Guardia Lombardi Piario Verbicaro Celle di Bulgheria Corinaldo Piazza Brembana Vaccarizzo Albanese Bassiano Caprino Veronese Bellante Santo Stefano al Mare Vicopisano Secugnago Jerzu Esino Lario Carloforte Civo Rogolo Romagnese Bultei Stienta Sirmione Cadrezzate Valbrembo Rocca Grimalda Sedini Longone Sabino Nardodipace Caldonazzo Vallelunga Pratameno Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Castellino Tanaro Castel d'Azzano Vinovo Palena, Abruzzo Savona Villafranca Padovana Tiriolo Aymavilles Viticuso Castel Ritaldi Riccione Entracque Meugliano Montemurlo Bacoli Vische Casarano Montelparo Tiglieto Capoliveri Scanno, Abruzzo Gorno Montefalcone Appennino Siamaggiore Villanova Mondovì Capaci Malagnino Vesime Alessandria del Carretto Balme Capriate San Gervasio Arquà Petrarca Sparanise Morlupo Rocchetta di Vara Licodia Eubea Morbegno Cesena Torreglia Tribano Livraga San Donato Milanese Montecrestese Carmagnola Argenta, Emilia–Romagna Barasso Rivarolo Canavese Carpineti Codogno Lentini Coazze Spotorno Ponte Buggianese Castelnuovo Rangone Camposanto Azzano d'Asti Alfonsine Campertogno San Lorenzo Nuovo Avezzano Paroldo Robbio Melara Lanusei Celano Locana Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Druento Montanaso Lombardo Asigliano Veneto Limbiate Lodi
827
action count
action atmost
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?u ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:common_name . ?n property:patron_saint ?i } UNION { ?n property:patron_saint ?i . ?i rdf:type ontology:holiday . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?u <= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P750
Q838948
USER
Who are United States of America a distributor of ?
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?x WHERE { ?x property:P750 resource:Q30 . ?x rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States of America']
SELECT DISTINCT ?x WHERE { ?x property:distributor resource:United_States_of_America . ?x rdf:type ontology:work_of_art }
[]
work of art
Q1936875 Q5491136
SYSTEM
Dead Birds, Franklin's Magic Christmas
Q1936875 Q5491136
(c(Q838948),P750,Q30)
action filter_type
action find_reverse
entity Q30
relation P750
type Q838948
[ANSWERS] are United States of America a distributor of
[{'concept': 'Q838948'}, 'P750', 'Q30']
SELECT DISTINCT ?x WHERE { ?x property:P750 resource:Q30 . ?x rdf:type ontology:Q838948 }
Dead Birds Franklin's Magic Christmas
Dead Birds and Franklin's Magic Christmas are United States of America a distributor of
Dead Birds Franklin's Magic Christmas
action filter_type
action find_reverse
entity United States of America
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States of America']
SELECT DISTINCT ?x WHERE { ?x property:distributor resource:United_States_of_America . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1936875 Q5491136
P136
Q1792379
USER
What can be considered as category for Dead Birds and Franklin's Magic Christmas ?
(Q1936875,P136,c(Q1792379)) (Q5491136,P136,c(Q1792379))
action union
action filter_type
action find
entity Q1936875
relation P136
type Q1792379
action filter_type
action find
entity Q5491136
relation P136
type Q1792379
['Q1936875', 'P136', {'concept': 'Q1792379'}] ['Q5491136', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { { resource:Q1936875 property:P136 ?p . ?p rdf:type ontology:Q1792379 } UNION { resource:Q5491136 property:P136 ?p . ?p rdf:type ontology:Q1792379 } }
Dead Birds Franklin's Magic Christmas
action union
action filter_type
action find
entity Dead Birds
relation genre
type art genre
action filter_type
action find
entity Franklin's Magic Christmas
relation genre
type art genre
['Dead Birds', 'genre', {'concept': 'art genre'}] ["Franklin's Magic Christmas", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { { resource:Dead_Birds property:genre ?p . ?p rdf:type ontology:art_genre } UNION { resource:Franklin's_Magic_Christmas property:genre ?p . ?p rdf:type ontology:art_genre } }
[]
art genre
Q93204 Q2143665
SYSTEM
documentary film, children's film
Q93204 Q2143665
(Q1936875,P136,c(Q1792379)) (Q5491136,P136,c(Q1792379))
action union
action filter_type
action find
entity Q1936875
relation P136
type Q1792379
action filter_type
action find
entity Q5491136
relation P136
type Q1792379
The [ANSWERS] can be considered as category for Dead Birds and Franklin's Magic Christmas
['Q1936875', 'P136', {'concept': 'Q1792379'}] ['Q5491136', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { { resource:Q1936875 property:P136 ?p . ?p rdf:type ontology:Q1792379 } UNION { resource:Q5491136 property:P136 ?p . ?p rdf:type ontology:Q1792379 } }
documentary film children's film
The documentary film and children's film can be considered as category for Dead Birds and Franklin's Magic Christmas
documentary film children's film
action union
action filter_type
action find
entity Dead Birds
relation genre
type art genre
action filter_type
action find
entity Franklin's Magic Christmas
relation genre
type art genre
['Dead Birds', 'genre', {'concept': 'art genre'}] ["Franklin's Magic Christmas", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { { resource:Dead_Birds property:genre ?p . ?p rdf:type ontology:art_genre } UNION { resource:Franklin's_Magic_Christmas property:genre ?p . ?p rdf:type ontology:art_genre } }
[]