Simple Question (Direct)
Simple Question
Q1240138
P27
Q1048835
USER
Which political territory does Don Mazankowski belong to ?
(Q1240138,P27,c(Q1048835))
action filter_type
action find
entity Q1240138
relation P27
type Q1048835
['Q1240138', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q1240138 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Don Mazankowski
action filter_type
action find
entity Don Mazankowski
relation country of citizenship
type political territorial entity
['Don Mazankowski', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Don_Mazankowski property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q1240138,P27,c(Q1048835))
action filter_type
action find
entity Q1240138
relation P27
type Q1048835
Don Mazankowski belongs to [ANSWER]
['Q1240138', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q1240138 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Canada
Don Mazankowski belongs to Canada
Canada
action filter_type
action find
entity Don Mazankowski
relation country of citizenship
type political territorial entity
['Don Mazankowski', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Don_Mazankowski property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1240138
P39
Q12737077
USER
Which occupations were a position held by that person ?
(Q16,P39,c(Q12737077))
action filter_type
action find
entity Q1240138
relation P39
type Q12737077
['Q16', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1240138 property:P39 ?e }
Don Mazankowski
action filter_type
action find
entity Don Mazankowski
relation position held
type occupation
['Canada', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Don_Mazankowski property:position_held ?e }
[]
occupation
Q3556884 Q15964890 Q2824523
SYSTEM
Deputy Prime Minister of Canada, member of the House of Commons of Canada, board member
Q3556884 Q15964890 Q2824523
(Q16,P39,c(Q12737077))
action filter_type
action find
entity Q1240138
relation P39
type Q12737077
The [ANSWERS] were a position held by that person
['Q16', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1240138 property:P39 ?e }
Deputy Prime Minister of Canada member of the House of Commons of Canada board member
The Deputy Prime Minister of Canada, member of the House of Commons of Canada and board member were a position held by that person
Deputy Prime Minister of Canada member of the House of Commons of Canada board member
action filter_type
action find
entity Don Mazankowski
relation position held
type occupation
['Canada', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Don_Mazankowski property:position_held ?e }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q44024
P417
Q502895 Q12737077
USER
How many people are the patron saints of around the same number of occupations as Athanasius of Alexandria ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44024
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q44024 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?x = ?c ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P417 ?u . ?u rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?u } }
Athanasius of Alexandria
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Athanasius of Alexandria
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Athanasius_of_Alexandria property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?x = ?c ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:patron_saint ?u . ?u rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?u } }
[]
common name occupation
SYSTEM
266
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44024
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q44024 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?x = ?c ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:P417 ?u . ?u rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?u } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Athanasius of Alexandria
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Athanasius_of_Alexandria property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?x = ?c ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?x ) WHERE { ?q property:patron_saint ?u . ?u rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2390270
P748
Q502895 Q12737077 Q12737077
USER
Which occupations did more number of people and occupations appoint than Treasurer of Australia ?
(c(Q12737077),P748,c(Q502895)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q2390270
relation P748
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?c > ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q12737077 ) } . ?e rdf:type ?d } . resource:Q2390270 property:P748 ?e } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?z WHERE { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q12737077 ) } . ?p rdf:type ?t } GROUP BY ?z } }
Treasurer of Australia
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Treasurer of Australia
relation appointed by
type common name
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?c > ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { VALUES ( ?d ) { ( ontology:common_name ) ( ontology:occupation ) } . ?e rdf:type ?d } . resource:Treasurer_of_Australia property:appointed_by ?e } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?z WHERE { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:occupation ) } . ?p rdf:type ?t } GROUP BY ?z } }
[]
common name occupation occupation
Q687075 Q1749063 Q4970706
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, Federal Chancellor of Germany
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q1846384 Q2631987 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q4377222 Q14984399 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q2484309 Q2012061 Q20736121 Q19190022 Q3251837 Q6865747 Q7444357 Q7444352 Q3246797 Q1749063 Q1371091 Q3315116 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q835586 Q4970706 Q6572133 Q1006398 Q6865770 Q531471 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q208487 Q4294939 Q3477306 Q866756 Q6866295 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q862559 Q3564227 Q6866264 Q6865750 Q7240360 Q182762 Q16933549 Q18694351 Q45369 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q3251775 Q1587677 Q691615 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q152814 Q3251793 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q3401758 Q7240356 Q6865864 Q1975365 Q609884 Q13527909 Q3315114 Q11895063 Q1123764 Q1469153 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3315134 Q3259469 Q5097071 Q6865981 Q3777749 Q111784 Q1362216 Q3251807 Q13526082 Q6866016 Q1790154 Q6866422 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q502895)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q2390270
relation P748
type Q502895
type Q12737077
The [ANSWERS] more number of people and occupations appointed than Treasurer of Australia
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?c > ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q12737077 ) } . ?e rdf:type ?d } . resource:Q2390270 property:P748 ?e } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?z WHERE { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q12737077 ) } . ?p rdf:type ?t } GROUP BY ?z } }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Secretary of State for Wales Attorney General for England and Wales Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department Leader of the House of Lords Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Secretary of State for Work and Pensions Secretary of State for International Development Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland Prime Minister of Serbia Federal Chancellor of Germany Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Chancellor of the Exchequer Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia Prime Minister of Israel Minister of Agriculture Secretary of State for Education Prime Minister of Singapore Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Prime Minister of Malaysia Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Prime Minister of Algeria President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Paymaster General Prime Minister of Sweden Secretary of State for Health Minister of the Environment Prime Minister of France Governor of the Virgin Islands Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Prime Minister of Georgia First Lord of the Treasury Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Minister for Women and Equalities Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
The Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and Federal Chancellor of Germany more number of people and occupations appointed than Treasurer of Australia
Prime Minister of Sweden Minister for Foreign Affairs of Sweden Federal Chancellor of Germany
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Treasurer of Australia
relation appointed by
type common name
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?c > ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { VALUES ( ?d ) { ( ontology:common_name ) ( ontology:occupation ) } . ?e rdf:type ?d } . resource:Treasurer_of_Australia property:appointed_by ?e } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?z WHERE { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:occupation ) } . ?p rdf:type ?t } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q27531658
P748
Q502895 Q12737077 Q12737077
USER
And how about King's Commissioner of South Holland?
(c(Q12737077),P748,c(Q502895)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q27531658
relation P748
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { { ?v property:P748 ?o . ?v rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q502895 } UNION { ?v property:P748 ?o . ?v rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { { ?j rdf:type ontology:Q502895 } UNION { ?j rdf:type ontology:Q12737077 } } . resource:Q27531658 property:P748 ?j } } . FILTER ( ?x > ?u ) }
King's Commissioner of South Holland
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity King's Commissioner of South Holland
relation appointed by
type common name
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { { ?v property:appointed_by ?o . ?v rdf:type ontology:occupation . ?o rdf:type ontology:common_name } UNION { ?v property:appointed_by ?o . ?v rdf:type ontology:occupation . ?o rdf:type ontology:occupation } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { { ?j rdf:type ontology:common_name } UNION { ?j rdf:type ontology:occupation } } . resource:King's_Commissioner_of_South_Holland property:appointed_by ?j } } . FILTER ( ?x > ?u ) }
[]
common name occupation occupation
Q687075 Q1749063 Q4970706
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, Federal Chancellor of Germany
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q1846384 Q2631987 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q4377222 Q14984399 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q2484309 Q2012061 Q20736121 Q19190022 Q3251837 Q6865747 Q7444357 Q7444352 Q3246797 Q1749063 Q1371091 Q3315116 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q835586 Q4970706 Q6572133 Q1006398 Q6865770 Q531471 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q208487 Q4294939 Q3477306 Q866756 Q6866295 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q862559 Q3564227 Q6866264 Q6865750 Q7240360 Q182762 Q16933549 Q18694351 Q45369 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q3251775 Q1587677 Q691615 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q152814 Q3251793 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q3401758 Q7240356 Q6865864 Q1975365 Q609884 Q13527909 Q3315114 Q11895063 Q1123764 Q1469153 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3315134 Q3259469 Q5097071 Q6865981 Q3777749 Q111784 Q1362216 Q3251807 Q13526082 Q6866016 Q1790154 Q6866422 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q502895)|c(Q12737077))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q27531658
relation P748
type Q502895
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { { ?v property:P748 ?o . ?v rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q502895 } UNION { ?v property:P748 ?o . ?v rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { { ?j rdf:type ontology:Q502895 } UNION { ?j rdf:type ontology:Q12737077 } } . resource:Q27531658 property:P748 ?j } } . FILTER ( ?x > ?u ) }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Secretary of State for Wales Attorney General for England and Wales Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department Leader of the House of Lords Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Secretary of State for Work and Pensions Secretary of State for International Development Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland Prime Minister of Serbia Federal Chancellor of Germany Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Chancellor of the Exchequer Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia Prime Minister of Israel Minister of Agriculture Secretary of State for Education Prime Minister of Singapore Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Prime Minister of Malaysia Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Prime Minister of Algeria President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Paymaster General Prime Minister of Sweden Secretary of State for Health Minister of the Environment Prime Minister of France Governor of the Virgin Islands Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Prime Minister of Georgia First Lord of the Treasury Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Minister for Women and Equalities Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
Prime Minister of Sweden Minister for Foreign Affairs of Sweden Federal Chancellor of Germany
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity King's Commissioner of South Holland
relation appointed by
type common name
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) ?v WHERE { { ?v property:appointed_by ?o . ?v rdf:type ontology:occupation . ?o rdf:type ontology:common_name } UNION { ?v property:appointed_by ?o . ?v rdf:type ontology:occupation . ?o rdf:type ontology:occupation } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { { ?j rdf:type ontology:common_name } UNION { ?j rdf:type ontology:occupation } } . resource:King's_Commissioner_of_South_Holland property:appointed_by ?j } } . FILTER ( ?x > ?u ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q687075 Q1749063 Q4970706
P39
Q502895
USER
Who held the position of those occupations ?
(c(Q502895),P39,Q687075) (c(Q502895),P39,Q1749063) (c(Q502895),P39,Q4970706)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q687075'] [{'concept': 'Q502895'}, 'P39', 'Q1749063'] [{'concept': 'Q502895'}, 'P39', 'Q4970706']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q15934457 ) ( resource:Q748607 ) ( resource:Q3253692 ) } . ?n property:P39 ?o }
Prime Minister of Sweden Minister for Foreign Affairs of Sweden Federal Chancellor of Germany
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden'] [{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden'] [{'concept': 'common name'}, 'position held', 'Federal Chancellor of Germany']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:Minister_of_Transport ) ( resource:Minister_of_International_Trade ) ( resource:President_of_the_Treasury_Board ) } . ?n property:position_held ?o }
[]
common name
Q2492 Q2514 Q567
SYSTEM
Konrad Adenauer, Willy Brandt, Angela Merkel
Q53292 Q53292 Q53294 Q53294 Q53642 Q53642 Q53286 Q2740012 Q52920 Q52922 Q52972 Q52960 Q52964 Q52969 Q52968 Q52968 Q52958 Q52956 Q52950 Q53747 Q53740 Q53740 Q53305 Q53300 Q53701 Q53707 Q53713 Q53713 Q53721 Q53721 Q53733 Q53660 Q53660 Q53650 Q53633 Q53637 Q53620 Q53620 Q53620 Q53626 Q53628 Q53310 Q291648 Q179493 Q208591 Q52922 Q298317 Q298317 Q237522 Q2938797 Q549955 Q53733 Q297275 Q567 Q567 Q567 Q2530 Q2530 Q2518 Q2518 Q2518 Q2518 Q2518 Q2518 Q2514 Q2516 Q2512 Q2571 Q2492 Q2496
(c(Q502895),P39,Q687075) (c(Q502895),P39,Q1749063) (c(Q502895),P39,Q4970706)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS] held the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q687075'] [{'concept': 'Q502895'}, 'P39', 'Q1749063'] [{'concept': 'Q502895'}, 'P39', 'Q4970706']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q15934457 ) ( resource:Q748607 ) ( resource:Q3253692 ) } . ?n property:P39 ?o }
Karl Staaff Karl Staaff Arvid Lindman Arvid Lindman Carl Gustaf Ekman Carl Gustaf Ekman Christian Lundeberg Stefan Löfven Fredrik Reinfeldt Carl Bildt Johan Ramstedt Gillis Bildt Gustaf Åkerhielm Fredrik von Otter Erik Gustaf Boström Erik Gustaf Boström Robert Themptander Carl Johan Thyselius Louis Gerhard De Geer Göran Persson Ingvar Carlsson Ingvar Carlsson Carl Swartz Hjalmar Hammarskjöld Axel Pehrsson-Bramstorp Tage Erlander Olof Palme Olof Palme Thorbjörn Fälldin Thorbjörn Fälldin Ola Ullsten Per Albin Hansson Per Albin Hansson Felix Hamrin Ernst Trygger Rickard Sandler Hjalmar Branting Hjalmar Branting Hjalmar Branting Gerhard Louis De Geer Oscar von Sydow Nils Edén Laila Freivalds Bertil Ohlin Anna Lindh Carl Bildt Östen Undén Östen Undén Margot Wallström Carin Jämtin Jan Eliasson Ola Ullsten Hans Blix Angela Merkel Angela Merkel Angela Merkel Gerhard Schröder Gerhard Schröder Helmut Kohl Helmut Kohl Helmut Kohl Helmut Kohl Helmut Kohl Helmut Kohl Willy Brandt Helmut Schmidt Kurt Georg Kiesinger Walter Scheel Konrad Adenauer Ludwig Erhard
Konrad Adenauer, Willy Brandt and Angela Merkel held the position of those occupations
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden'] [{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden'] [{'concept': 'common name'}, 'position held', 'Federal Chancellor of Germany']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:Minister_of_Transport ) ( resource:Minister_of_International_Trade ) ( resource:President_of_the_Treasury_Board ) } . ?n property:position_held ?o }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2492 Q2514 Q567
P26
Q502895
USER
Which people are the life partner of those ones ?
(Q2492,P26,c(Q502895)) (Q2514,P26,c(Q502895)) (Q567,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
['Q2492', 'P26', {'concept': 'Q502895'}] ['Q2514', 'P26', {'concept': 'Q502895'}] ['Q567', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?d property:P26 ?f . ?f rdf:type ontology:Q502895 . VALUES ( ?d ) { ( resource:Q53292 ) ( resource:Q53292 ) ( resource:Q53294 ) } }
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Konrad Adenauer', 'spouse', {'concept': 'common name'}] ['Willy Brandt', 'spouse', {'concept': 'common name'}] ['Angela Merkel', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?d property:spouse ?f . ?f rdf:type ontology:common_name . VALUES ( ?d ) { ( resource:Karl_Staaff ) ( resource:Karl_Staaff ) ( resource:Arvid_Lindman ) } }
[]
common name
Q916675 Q62085 Q462355
SYSTEM
Brigitte Seebacher, Joachim Sauer, Rut Brandt
Q19358934 Q15731799 Q14650503 Q462355 Q916675 Q13415350 Q62085
(Q2492,P26,c(Q502895)) (Q2514,P26,c(Q502895)) (Q567,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are the life partner of those ones
['Q2492', 'P26', {'concept': 'Q502895'}] ['Q2514', 'P26', {'concept': 'Q502895'}] ['Q567', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?d property:P26 ?f . ?f rdf:type ontology:Q502895 . VALUES ( ?d ) { ( resource:Q53292 ) ( resource:Q53292 ) ( resource:Q53294 ) } }
Auguste Adenauer Emma Adenauer Anna Carlotta Thorkildsen Rut Brandt Brigitte Seebacher Ulrich Merkel Joachim Sauer
Brigitte Seebacher, Joachim Sauer and Rut Brandt are the life partner of those ones
Brigitte Seebacher Joachim Sauer Rut Brandt
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Konrad Adenauer', 'spouse', {'concept': 'common name'}] ['Willy Brandt', 'spouse', {'concept': 'common name'}] ['Angela Merkel', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?d property:spouse ?f . ?f rdf:type ontology:common_name . VALUES ( ?d ) { ( resource:Karl_Staaff ) ( resource:Karl_Staaff ) ( resource:Arvid_Lindman ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1240138
P102
Q7210356
USER
Which political organization is Don Mazankowski a member of ?
(Q1240138,P102,c(Q7210356))
action filter_type
action find
entity Q1240138
relation P102
type Q7210356
['Q1240138', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q1240138 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Don Mazankowski
action filter_type
action find
entity Don Mazankowski
relation member of political party
type political organization
['Don Mazankowski', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Don_Mazankowski property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q1292617
SYSTEM
Progressive Conservative Party of Canada
Q1292617
(Q1240138,P102,c(Q7210356))
action filter_type
action find
entity Q1240138
relation P102
type Q7210356
The [ANSWER] is Don Mazankowski a member of
['Q1240138', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q1240138 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Progressive Conservative Party of Canada
The Progressive Conservative Party of Canada is Don Mazankowski a member of
Progressive Conservative Party of Canada
action filter_type
action find
entity Don Mazankowski
relation member of political party
type political organization
['Don Mazankowski', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Don_Mazankowski property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q7210356 Q874405
USER
How many social groups are a component of exactly 1 political organization ?
(c(Q874405),P361,c(Q7210356))
action count
action equal
action find_tuple_counts
relation P361
type Q874405
type Q7210356
value 1
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?v ) WHERE { ?k property:P361 ?w . ?k rdf:type ontology:Q874405 . ?w rdf:type ontology:Q7210356 } GROUP BY ?k } . FILTER ( ?v = 1 ) }
action count
action equal
action find_tuple_counts
relation part of
type social group
type political organization
value 1
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?v ) WHERE { ?k property:part_of ?w . ?k rdf:type ontology:social_group . ?w rdf:type ontology:political_organization } GROUP BY ?k } . FILTER ( ?v = 1 ) }
[]
political organization social group
SYSTEM
3
Q5160819 Q2215977 Q5095781
(c(Q874405),P361,c(Q7210356))
action count
action equal
action find_tuple_counts
relation P361
type Q874405
type Q7210356
value 1
[ANSWER]
[{'concept': 'Q874405'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?v ) WHERE { ?k property:P361 ?w . ?k rdf:type ontology:Q874405 . ?w rdf:type ontology:Q7210356 } GROUP BY ?k } . FILTER ( ?v = 1 ) }
Congress Socialist Party Christian Democratic Youth Appeal Chicago Socialist Party
3
action count
action equal
action find_tuple_counts
relation part of
type social group
type political organization
value 1
[{'concept': 'social group'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?v ) WHERE { ?k property:part_of ?w . ?k rdf:type ontology:social_group . ?w rdf:type ontology:political_organization } GROUP BY ?k } . FILTER ( ?v = 1 ) }
[]