Simple Question (Direct)
Simple Question
Q5750095
P106
Q12737077
USER
Which occupations are the professions of Carlos Costa Posada ?
(Q5750095,P106,c(Q12737077))
action filter_type
action find
entity Q5750095
relation P106
type Q12737077
['Q5750095', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5750095 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Carlos Costa Posada
action filter_type
action find
entity Carlos Costa Posada
relation occupation
type occupation
['Carlos Costa Posada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Carlos_Costa_Posada property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q82955 Q13582652
SYSTEM
politician, civil engineer
Q82955 Q13582652
(Q5750095,P106,c(Q12737077))
action filter_type
action find
entity Q5750095
relation P106
type Q12737077
The professions of Carlos Costa Posada are a [ANSWERS]
['Q5750095', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5750095 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
politician civil engineer
The professions of Carlos Costa Posada are a politician and civil engineer
politician civil engineer
action filter_type
action find
entity Carlos Costa Posada
relation occupation
type occupation
['Carlos Costa Posada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Carlos_Costa_Posada property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5750095
P102
Q7210356
USER
Which party does Carlos Costa Posada belong to ?
(Q5750095,P102,c(Q7210356))
action filter_type
action find
entity Q5750095
relation P102
type Q7210356
['Q5750095', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q5750095 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Carlos Costa Posada
action filter_type
action find
entity Carlos Costa Posada
relation member of political party
type political organization
['Carlos Costa Posada', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Carlos_Costa_Posada property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q973542
SYSTEM
Social Party of National Unity
Q973542
(Q5750095,P102,c(Q7210356))
action filter_type
action find
entity Q5750095
relation P102
type Q7210356
Carlos Costa Posada belongs to [ANSWER]
['Q5750095', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q5750095 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Social Party of National Unity
Carlos Costa Posada belongs to Social Party of National Unity
Social Party of National Unity
action filter_type
action find
entity Carlos Costa Posada
relation member of political party
type political organization
['Carlos Costa Posada', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Carlos_Costa_Posada property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1243044
Q7210356
USER
And how about Franz Resch?
(Q1243044,P102,c(Q7210356))
action filter_type
action find
entity Q1243044
relation P102
type Q7210356
['Q1243044', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1243044 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Franz Resch
action filter_type
action find
entity Franz Resch
relation member of political party
type political organization
['Franz Resch', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Franz_Resch property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q179111
SYSTEM
Social Democratic Party of Austria
Q179111
(Q1243044,P102,c(Q7210356))
action filter_type
action find
entity Q1243044
relation P102
type Q7210356
[ANSWER]
['Q1243044', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q1243044 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Social Democratic Party of Austria
Social Democratic Party of Austria
action filter_type
action find
entity Franz Resch
relation member of political party
type political organization
['Franz Resch', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Franz_Resch property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q179111 Q4388445 Q1741
P159
Q56061
USER
Does that political organization have its HQ location at Rozdollia and Vienna ?
(Q179111,P159,Q4388445) (Q179111,P159,Q1741)
action is_in
entity Q179111
action intersection
action find_reverse
entity Q4388445
relation P159
action find_reverse
entity Q1741
relation P159
['Q179111', 'P159', 'Q4388445'] ['Q179111', 'P159', 'Q1741']
ASK WHERE { resource:Q179111 property:P159 resource:Q4388445 . resource:Q179111 property:P159 resource:Q1741 }
Social Democratic Party of Austria Rozdollia Vienna
action is_in
entity Social Democratic Party of Austria
action intersection
action find_reverse
entity Rozdollia
relation headquarters location
action find_reverse
entity Vienna
relation headquarters location
['Social Democratic Party of Austria', 'headquarters location', 'Rozdollia'] ['Social Democratic Party of Austria', 'headquarters location', 'Vienna']
ASK WHERE { resource:Social_Democratic_Party_of_Austria property:headquarters_location resource:Rozdollia . resource:Social_Democratic_Party_of_Austria property:headquarters_location resource:Vienna }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q179111,P159,Q4388445) (Q179111,P159,Q1741)
action is_in
entity Q179111
action intersection
action find_reverse
entity Q4388445
relation P159
action find_reverse
entity Q1741
relation P159
[ANSWER]
['Q179111', 'P159', 'Q4388445'] ['Q179111', 'P159', 'Q1741']
ASK WHERE { resource:Q179111 property:P159 resource:Q4388445 . resource:Q179111 property:P159 resource:Q1741 }
NO and YES respectively
action is_in
entity Social Democratic Party of Austria
action intersection
action find_reverse
entity Rozdollia
relation headquarters location
action find_reverse
entity Vienna
relation headquarters location
['Social Democratic Party of Austria', 'headquarters location', 'Rozdollia'] ['Social Democratic Party of Austria', 'headquarters location', 'Vienna']
ASK WHERE { resource:Social_Democratic_Party_of_Austria property:headquarters_location resource:Rozdollia . resource:Social_Democratic_Party_of_Austria property:headquarters_location resource:Vienna }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q27165790
P361
Q7210356 Q43229
USER
How many organizations are a part of approximately the same number of political organizations as South Head Cemetery ?
(c(Q43229),P361,c(Q7210356))
action count
action approx
action find_tuple_counts
relation P361
type Q43229
type Q7210356
action count
action filter_type
action find
entity Q27165790
relation P361
type Q43229
[{'concept': 'Q43229'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?i ) WHERE { ?n property:P361 ?t . ?n rdf:type ontology:Q43229 . ?t rdf:type ontology:Q7210356 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:Q43229 . resource:Q27165790 property:P361 ?o } } . FILTER ( ?i = ?c ) }
South Head Cemetery
action count
action approx
action find_tuple_counts
relation part of
type organization
type political organization
action count
action filter_type
action find
entity South Head Cemetery
relation part of
type organization
[{'concept': 'organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?i ) WHERE { ?n property:part_of ?t . ?n rdf:type ontology:organization . ?t rdf:type ontology:political_organization } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:organization . resource:South_Head_Cemetery property:part_of ?o } } . FILTER ( ?i = ?c ) }
[]
political organization organization
SYSTEM
398
Q8025993 Q781132 Q1440421 Q1121352 Q7669953 Q483551 Q231819 Q18413105 Q5943259 Q16746790 Q782642 Q3895 Q16525650 Q20725660 Q21012625 Q20035777 Q7907093 Q7834772 Q1031614 Q23955624 Q573103 Q156077 Q3270657 Q17606235 Q17014969 Q191384 Q1147088 Q650259 Q694257 Q17600737 Q13414953 Q291508 Q481472 Q169167 Q1598474 Q837049 Q24055225 Q157617 Q170156 Q10857321 Q1886126 Q1774587 Q827137 Q15899789 Q819241 Q157852 Q4777364 Q15627509 Q1379913 Q820588 Q2355311 Q13358404 Q18601910 Q23928315 Q1709809 Q163202 Q14662364 Q338825 Q336735 Q81230 Q1380992 Q16974385 Q17598163 Q4589570 Q565594 Q288285 Q12027638 Q632233 Q49053 Q4038561 Q23303442 Q2990317 Q2076679 Q3892482 Q352378 Q827525 Q912413 Q690370 Q7619504 Q3565610 Q22677884 Q212599 Q494274 Q1457352 Q23669898 Q19963689 Q6839697 Q19214 Q1144929 Q17463975 Q21109214 Q669141 Q15034469 Q17023208 Q1667007 Q2932681 Q6954180 Q2932682 Q2932687 Q9325 Q17464922 Q314311 Q160054 Q7605160 Q17461519 Q24038997 Q17595902 Q6557527 Q306764 Q1305281 Q691896 Q35953 Q5408826 Q5012265 Q1155668 Q19879221 Q1851172 Q1320180 Q5491872 Q5376002 Q8032750 Q797606 Q22006021 Q5049551 Q2691930 Q217583 Q417633 Q1053787 Q673396 Q2972579 Q542511 Q12116762 Q4747375 Q5064993 Q4747376 Q1071253 Q837416 Q624080 Q2311 Q20668356 Q20668355 Q696867 Q2241604 Q1394614 Q208175 Q2405791 Q24282966 Q2992927 Q5062609 Q18811582 Q18811583 Q6053128 Q7553212 Q3740902 Q1717497 Q1395324 Q16821319 Q20873280 Q19362289 Q381691 Q25857926 Q21124165 Q334453 Q619258 Q4125056 Q1575434 Q1865630 Q24052318 Q12131126 Q590952 Q4792982 Q26448444 Q8033007 Q8058167 Q1381012 Q17002577 Q17449505 Q265751 Q665565 Q955267 Q316489 Q4263743 Q828657 Q7864007 Q1591410 Q563556 Q897316 Q3043100 Q314725 Q19960819 Q1702547 Q897256 Q152051 Q1278372 Q2119834 Q313979 Q220222 Q315502 Q5773587 Q12376507 Q841458 Q18339814 Q502121 Q1413205 Q896200 Q682992 Q467752 Q12194745 Q332022 Q5270450 Q6954197 Q766402 Q15618671 Q15221361 Q658173 Q20644242 Q2214105 Q2893347 Q156578 Q3543983 Q20756653 Q17605598 Q772547 Q275623 Q25443281 Q22006423 Q8047361 Q17590422 Q1368909 Q17489012 Q327634 Q283852 Q3346918 Q9401 Q1258529 Q706184 Q7185508 Q12802990 Q20792399 Q552581 Q10685091 Q315451 Q656801 Q18627382 Q277036 Q843967 Q17459702 Q2359213 Q4834855 Q1081096 Q17603026 Q1535171 Q6817726 Q2516083 Q1235763 Q19795688 Q3672234 Q1457377 Q331812 Q22669992 Q1636974 Q1541079 Q5888434 Q290680 Q2876448 Q507432 Q5366958 Q2383864 Q166637 Q7645184 Q2275434 Q11073451 Q899770 Q5513345 Q3148131 Q5155658 Q896717 Q3747148 Q1561136 Q4698217 Q674911 Q7844336 Q1379887 Q1632766 Q5570693 Q446895 Q1620934 Q20792513 Q4806468 Q1080670 Q334800 Q1888809 Q24660094 Q2843739 Q830522 Q19926559 Q1499936 Q896868 Q5629493 Q3495357 Q296012 Q1593113 Q17518532 Q431603 Q1786124 Q4654544 Q4774795 Q524096 Q925020 Q1742174 Q499194 Q17601254 Q917050 Q539508 Q852174 Q17461740 Q896744 Q1065534 Q1068485 Q176799 Q7188 Q11085933 Q4824077 Q1916145 Q6886703 Q458778 Q1632461 Q3542084 Q6054102 Q17607985 Q136115 Q636755 Q270223 Q1653630 Q895325 Q1252971 Q329953 Q1106443 Q1099818 Q293844 Q27165790 Q6054089 Q311394 Q608518 Q1380987 Q16163192 Q158205 Q504998 Q450348 Q274591 Q10853396 Q215650 Q2927468 Q4751228 Q8473 Q5152512 Q2493450 Q19383161 Q314260 Q785943 Q7607248 Q13683 Q2467461 Q11753232 Q864923 Q18810687 Q17420941 Q490035 Q645826 Q37087 Q16152501 Q1431486 Q258517 Q472451 Q14941854 Q16491546 Q11688635 Q558023 Q510254 Q1720713 Q444172 Q17613537 Q660770 Q3590882 Q763402 Q21124140 Q586665 Q8793 Q12044534 Q10756188 Q2355591 Q862303 Q15925165 Q4890539 Q4300779 Q27490227 Q4385833 Q8050628
(c(Q43229),P361,c(Q7210356))
action count
action approx
action find_tuple_counts
relation P361
type Q43229
type Q7210356
action count
action filter_type
action find
entity Q27165790
relation P361
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?i ) WHERE { ?n property:P361 ?t . ?n rdf:type ontology:Q43229 . ?t rdf:type ontology:Q7210356 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:Q43229 . resource:Q27165790 property:P361 ?o } } . FILTER ( ?i = ?c ) }
Winsor & Newton military branch Siemens Energy Sector Friedhof Oberlaa TEDMED Walmart Zweckbetrieb Kameralamt Taiwan Mobile Beckhoff Automation Evangelical Church of Anhalt Adidas Al-Mourabitoun Grameen Shakti First Latem school Transparency International - Russia VIVA Bahrain Transparency International Slovakia Camposanto Monumentale Pax Christi USA TUI AG L'Oréal Léon Slangenburg, begraafplaats Jabhat Thuwar al-Raqqa International Bank for Reconstruction and Development Hoover Institution Fresenius Medical Care Vienna Insurance Group Jewish cemetery, Zutphen religious denomination AES Corporation Sappi Metro AG Technip Pernod Ricard Kofola Commerzbank confederation Private Cemetery Müllensiefen Safran hospital network metaphysical poets principal organ of the United Nations Wrigley Company Deutsche Börse AG Buttes New British Cemetery (New Zealand) Memorial military organization Evangelical Lutheran Church of Schaumburg-Lippe Siemens Wind Power Customs and Excise Department Quarantine Cemetery Youth Labor Army Cadence Research Systems Mercure Hotels Prussian Union of churches AbbVie Accenture ČEZ Group Siemens Evangelical Church in the Rhineland Agape Foundation Algemene Begraafplaats (Aarlanderveen ) The Leaky Cauldron Eni ACE Limited Pivovary Lobkowicz Group HeidelbergCement Schneider Electric FidoNet Technical Standards Committee Mount Hermon Cemetery CTM Montreal Locomotive Works GeoEye Adaptation Fund International Development Association France Telecom Young Socialists in the SPD Stony Brook Meeting House and Cemetery Walt Disney Creative Entertainment SiByte Accor Omnitel Friedhof IV der Gemeinde Jerusalems- und Neue Kirche Open Mainframe Project Surgold Micromuse Standing Committee of the National People's Congress Lafarge Algemene Begraafplaats Hogewal BellSouth Labs Coloplast movement of the french resistance Suqour al-Ezz International Union of Microbiological Societies Royal Canadian Sea Cadets NHS Wales Royal Canadian Army Cadets Royal Canadian Air Cadets Lufthansa Joodse begraafplaats (Leek, Groningen) Evangelical Lutheran Church of Mecklenburg Axa Ste. Genevieve Memorial Cemetery Maria ten Hemelopneming (Bedum) Orange Belgium Algemene Begraafplaats, Dieren Liquitex Abbott Laboratories Valeo National Museum Zurich MAN SE Osuuskauppa Arina CJ E&M Film Division NXP Semiconductors Jaysh Usud al-Sharqiya Orgburo Hello Pro Kenshūsei Finn Church Aid Endeca Technologies Inc. Woodhouse Cemetery Deutsche Babcock Claiborne Farm Equine Cemetery Cast in Bronze Air Scouts Berkshire Hathaway Self-governance Central European Media Enterprises Musée Rath Cimetière de l'Hôpital-Général de Québec Hoechst AG Komsomol of Ukraine Amnesty International Australia Cerro Verde Amnesty International South Africa Communist Youth League of China coalition government Samsung Life Insurance Airbus Group SE New York Bay Cemetery Bayview Cemetery Erste Bank Pandora A/S Medicine societies of the Iroquois Novodevichy Cemetery O2 Czech Republic Moneta Money Bank Canadian Conference of Catholic Bishops Centre for Values, Ethics and the Law in Medicine fraternity sorority International Search and Rescue Advisory Group Sodak Gaming Italian Explorers Federation Stahlfabrik Friedrich Lohmann family business National Nuclear Data Center Winckelmann-Institut ABB Schweiz, Sammlung Archiv Aeros Philip Morris ČR Philips Lighting division Cemetery of Confucius Vorkutaugol Metaweb De Stille Hof (Hoogezand) Best Hotel Properties International Renaissance Foundation Crédit Agricole Schildts MORElab Woodlawn Cemetery Young Guard of United Russia Evangelical Church of Hesse Electorate-Waldeck Euphrates Islamic Liberation Front Begraafplaats Zeist Evangelical Lutheran Church in Northern Germany Council of State United States Antarctic Program North Elbian Evangelical Lutheran Church Literatorskie mostki Bertrandt UCLA Bruins gymnastics Hauteville House Schering AG Evangelical Reformed Church in Bavaria and Northwestern Germany Democratic Defense Nord-Ostsee-Bahn Grave site C Joint Photographic Experts Group Evangelical Church in Baden Bayer Ingenico Payment Services El-Kurru Pomeranian Evangelical Church Nation of Islam VEBA Historic Oakwood Cemetery Tartu University Hospital Children's Foundation IntercontinentalExchange Group Southern New Hampshire University Athletics BlackBerry Church of Lippe Evangelical Church of the Palatinate Lanxess Verizon Tunisian Order of Lawyers Towing Service Henkel Corporation NHS trust Evangelical Church of Bremen Development Team Islamic Front K+S compagnie d'assurance Abeille et Paix SoftBank Mobile MuggleNet Volkswagen Group Globe Telecom INWIT Nijenhuis Estate, Diepenheim armed forces PSA Peugeot Citroën Saint Andrew Cemetery Marchmont Farm Equine Cemetery Yale Center for Environmental Law and Policy Hervormde begraafplaats Essilor Stock Spirits T-Mobile International Turkcell Puig des Molins, Ibiza BASF Dresdner Bank Solvay Philips Consumer Lifestyle Slovene PEN Centre Old Dutch Churchyard SAP SE Church of Sweden Youth Verkehrsverbund Berlin-Brandenburg International Finance Corporation Österreichische Rote Hilfe People Protection Units Hong Kong CSL Limited Abdij Sion, Diepenveen Goodreads BBC Music Pagoda Forest at Shaolin Temple Joodse Nieuwe Hoogduitse begraafplaats, Wassenaar Saudi Telecom Company Menzies Research Institute point of sale Dollond & Aitchison Amnesty International Germany Elektronmusikstudion Mount Royal Cemetery merchant intermediaries Murdoch Childrens Research Institute Danske Bank Komerční banka Home Guard Command The ADT Corporation Greyfriars Kirkyard Notre Dame des Neiges Cemetery Elmwood Cemetery TD Trump Deutschland Munich Re Suqour al-Sham Brigade The Company of Our Lady Mary Wison Engineering Services Co. Ltd. International Centre for Settlement of Investment Disputes GFMS Iggesund Paperboard Comparethemarket.com Evangelical Lutheran Church in Thuringia Fondazione Bruno Kessler Solidarnost Air Training Corps Mannesmann Triton Troupers Circus Evangelical Lutheran Church in Oldenburg Japan Art Academy Global Trade Watch GEA Group Historical Cemetery, Weimar St. Peter’s Churchyard Asia Society TD Canada Trust PepsiCo Velcom 538 Groep Amnesty International USA Evangelical Church in Central Germany TU Delft Solar Boat Team Gemalto Evangelical-Lutheran Church in Württemberg HEVT Stab AOPA-Germany Unipetrol Seventh Day Adventists of Sweden advocacy group Telkomsel AT&T Labs Antigua and Barbuda Cadet Corps Evangelical Church in Berlin, Brandenburg and Silesian Upper Lusatia Soundcraft King's Chapel Burying Ground Samsung C&T Corporation Heilig Landstichting cemetery Mobistar Nixdorf Computer MOS Technology Joodse begraafplaats (Winsum, Groningen) Evangelical-Lutheran Church of Saxony Petrochemical industry in Romania China Unicom military unit government Polish Esperanto Youth Australian Defence Force Cadets MediaNews Group MobiFone Preussag Veolia Environnement Tungsten Graphics International Union of Food Science and Technology IJsselvliedt ZF Passau Legrand E.ON SE IG Metall Jugend Bouygues food maker Northrop Grumman Coding Technologies Janus University Theatre ÖRK-Suchdienst South Head Cemetery International Union for Physical and Engineering Sciences in Medicine Infineon Technologies Unibail-Rodamco SE Evangelical Church of the Church Province of Saxony AxoGen Sanofi LVMH Alyscamps Électricité de France St. Mary's Catholic Cemetery General Conference on Weights and Measures Ohio State Buckeyes AnandTech military Commercial National Bank political youth organization Nordea Liv Evangelical Lutheran Church in Brunswick Staples Inc. Stellenbosch University halls of residence NYSE Euronext university department launch service provider SingTel political institution De Eshof Greek Resistance Corps Masovia Königsberg Church of Satan Health and Social Care in Northern Ireland Orange Club 33 Siemens Healthcare oil company Corpesca Leger des Heils Evangelical Lutheran Church in Bavaria Evangelical-Lutheran Church of Hanover MegaFon Bolloré Barbados Cadet Corps OJSC Russian Railways automotive supplier S.P. Korolev Rocket and Space Corporation Energia Philips Healthcare Wienerberger Boeing Commercial Airplanes Pegas Nonwovens treasury P.A. Semi Telia Company UN agency New Generations of the People's Party of Spain Youth Yabloko ETH Bibliothek Massachusetts Mutual Life Insurance Company Yazoo/Kees
398
action count
action approx
action find_tuple_counts
relation part of
type organization
type political organization
action count
action filter_type
action find
entity South Head Cemetery
relation part of
type organization
[{'concept': 'organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?i ) WHERE { ?n property:part_of ?t . ?n rdf:type ontology:organization . ?t rdf:type ontology:political_organization } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:organization . resource:South_Head_Cemetery property:part_of ?o } } . FILTER ( ?i = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Which human behaviour is associated with the field of occupation politician ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?g }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?g }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
The [ANSWER] is associated with the field of occupation politician
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?g }
politics
The politics is associated with the field of occupation politician
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?g }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4384595 Q82955
P425 P101
Q3769299
USER
Which human behaviours are associated with the field of occupation politician or do Vladimir Puchkov belong to ?
OR((Q82955,P425,c(Q3769299)), (Q4384595,P101,c(Q3769299)))
action filter_type
action union
action find
entity Q82955
relation P425
action find
entity Q4384595
relation P101
type Q3769299
{'OR': [['Q82955', 'P425', {'concept': 'Q3769299'}], ['Q4384595', 'P101', {'concept': 'Q3769299'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q82955 property:P425 ?i } UNION { resource:Q4384595 property:P101 ?i } } . ?i rdf:type ontology:Q3769299 }
Vladimir Puchkov politician
action filter_type
action union
action find
entity politician
relation field of this occupation
action find
entity Vladimir Puchkov
relation field of work
type human behaviour
{'OR': [['politician', 'field of this occupation', {'concept': 'human behaviour'}], ['Vladimir Puchkov', 'field of work', {'concept': 'human behaviour'}]]}
SELECT DISTINCT ?i WHERE { { { resource:politician property:field_of_this_occupation ?i } UNION { resource:Vladimir_Puchkov property:field_of_work ?i } } . ?i rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
OR((Q82955,P425,c(Q3769299)), (Q4384595,P101,c(Q3769299)))
action filter_type
action union
action find
entity Q82955
relation P425
action find
entity Q4384595
relation P101
type Q3769299
Is [ANSWER] is associated with the field of occupation politician or do Vladimir Puchkov belong to
{'OR': [['Q82955', 'P425', {'concept': 'Q3769299'}], ['Q4384595', 'P101', {'concept': 'Q3769299'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q82955 property:P425 ?i } UNION { resource:Q4384595 property:P101 ?i } } . ?i rdf:type ontology:Q3769299 }
politics
Is politics is associated with the field of occupation politician or do Vladimir Puchkov belong to
politics
action filter_type
action union
action find
entity politician
relation field of this occupation
action find
entity Vladimir Puchkov
relation field of work
type human behaviour
{'OR': [['politician', 'field of this occupation', {'concept': 'human behaviour'}], ['Vladimir Puchkov', 'field of work', {'concept': 'human behaviour'}]]}
SELECT DISTINCT ?i WHERE { { { resource:politician property:field_of_this_occupation ?i } UNION { resource:Vladimir_Puchkov property:field_of_work ?i } } . ?i rdf:type ontology:human_behaviour }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4384595
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q7163,P27,c(Q15617994))
action filter_type
action find
entity Q4384595
relation P27
type Q15617994
['Q7163', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4384595 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Vladimir Puchkov
action filter_type
action find
entity Vladimir Puchkov
relation country of citizenship
type designation for an administrative territorial entity
['politics', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Vladimir_Puchkov property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q7163,P27,c(Q15617994))
action filter_type
action find
entity Q4384595
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q7163', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4384595 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Russia
That person belongs to a Russia
Russia
action filter_type
action find
entity Vladimir Puchkov
relation country of citizenship
type designation for an administrative territorial entity
['politics', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Vladimir_Puchkov property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170790
P39
Q502895
USER
Which person was appointed for the position of mathematician ?
(c(Q502895),P39,Q170790)
action filter_type
action find_reverse
entity Q170790
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q170790']
SELECT DISTINCT ?f WHERE { ?f property:P39 resource:Q170790 . ?f rdf:type ontology:Q502895 }
mathematician
action filter_type
action find_reverse
entity mathematician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'mathematician']
SELECT DISTINCT ?f WHERE { ?f property:position_held resource:mathematician . ?f rdf:type ontology:common_name }
[]
common name
Q27517882
SYSTEM
Colette Guillopé
Q27517882
(c(Q502895),P39,Q170790)
action filter_type
action find_reverse
entity Q170790
relation P39
type Q502895
[ANSWER] was appointed for the position of mathematician
[{'concept': 'Q502895'}, 'P39', 'Q170790']
SELECT DISTINCT ?f WHERE { ?f property:P39 resource:Q170790 . ?f rdf:type ontology:Q502895 }
Colette Guillopé
Colette Guillopé was appointed for the position of mathematician
Colette Guillopé
action filter_type
action find_reverse
entity mathematician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'mathematician']
SELECT DISTINCT ?f WHERE { ?f property:position_held resource:mathematician . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27517882
P166
Q618779
USER
What was received by that person ?
(Q27517882,P166,c(Q618779))
action filter_type
action find
entity Q27517882
relation P166
type Q618779
['Q27517882', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q27517882 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Colette Guillopé
action filter_type
action find
entity Colette Guillopé
relation award received
type award
['Colette Guillopé', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Colette_Guillopé property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q10855195
SYSTEM
Officer of the Legion of Honour
Q10855195
(Q27517882,P166,c(Q618779))
action filter_type
action find
entity Q27517882
relation P166
type Q618779
The [ANSWER] was received by that person
['Q27517882', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q27517882 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Officer of the Legion of Honour
The Officer of the Legion of Honour was received by that person
Officer of the Legion of Honour
action filter_type
action find
entity Colette Guillopé
relation award received
type award
['Colette Guillopé', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Colette_Guillopé property:award_received ?w . ?w rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1593378
Q618779
USER
And how about Hedwig Maier-Reimer?
(Q1593378,P166,c(Q618779))
action filter_type
action find
entity Q1593378
relation P166
type Q618779
['Q1593378', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q1593378 property:P166 ?a }
Hedwig Maier-Reimer
action filter_type
action find
entity Hedwig Maier-Reimer
relation award received
type award
['Hedwig Maier-Reimer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:Hedwig_Maier-Reimer property:award_received ?a }
[]
award
Q10905334 Q445673
SYSTEM
Officer's Cross of the Order of Merit of the Federal Republic of Germany, Order of Merit of Baden-Württemberg
Q10905334 Q445673
(Q1593378,P166,c(Q618779))
action filter_type
action find
entity Q1593378
relation P166
type Q618779
[ANSWERS]
['Q1593378', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q1593378 property:P166 ?a }
Officer's Cross of the Order of Merit of the Federal Republic of Germany Order of Merit of Baden-Württemberg
Officer's Cross of the Order of Merit of the Federal Republic of Germany Order of Merit of Baden-Württemberg
action filter_type
action find
entity Hedwig Maier-Reimer
relation award received
type award
['Hedwig Maier-Reimer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:Hedwig_Maier-Reimer property:award_received ?a }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q15617994
USER
Which administrative territories are atmost 3 holidays or people a patron saint of ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action atmost
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 3
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { { ?q property:P417 ?b . ?b rdf:type ontology:Q1445650 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P417 ?b . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q502895 } } GROUP BY ?q } . FILTER ( ?h <= 3 ) }
action atmost
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
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { { ?q property:patron_saint ?b . ?b rdf:type ontology:holiday . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:patron_saint ?b . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:common_name } } GROUP BY ?q } . FILTER ( ?h <= 3 ) }
[]
holiday common name designation for an administrative territorial entity
Q38 Q155 Q33
SYSTEM
Italy, Brazil, Finland
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(Q1445650)|c(Q502895))
action atmost
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 3
[ANSWERS] are atmost 3 holidays or people a patron saint of
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { { ?q property:P417 ?b . ?b rdf:type ontology:Q1445650 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P417 ?b . ?q rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q502895 } } GROUP BY ?q } . FILTER ( ?h <= 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
Italy, Brazil and Finland are atmost 3 holidays or people a patron saint of
Italy Brazil Finland
action atmost
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
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?h ) WHERE { { ?q property:patron_saint ?b . ?b rdf:type ontology:holiday . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:patron_saint ?b . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:common_name } } GROUP BY ?q } . FILTER ( ?h <= 3 ) }
[]