Simple Question (Direct)
Simple Question
Q2619055
P19
Q13220204
USER
Which administrative country subdivision is the place of birth of Erik Lund ?
(Q2619055,P19,c(Q13220204))
action filter_type
action find
entity Q2619055
relation P19
type Q13220204
['Q2619055', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?s WHERE { resource:Q2619055 property:P19 ?s . ?s rdf:type ontology:Q13220204 }
Erik Lund
action filter_type
action find
entity Erik Lund
relation place of birth
type second-level administrative country subdivision
['Erik Lund', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?s WHERE { resource:Erik_Lund property:place_of_birth ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q107135
SYSTEM
Fredrikstad
Q107135
(Q2619055,P19,c(Q13220204))
action filter_type
action find
entity Q2619055
relation P19
type Q13220204
[ANSWER] is the place of birth of Erik Lund
['Q2619055', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?s WHERE { resource:Q2619055 property:P19 ?s . ?s rdf:type ontology:Q13220204 }
Fredrikstad
Fredrikstad is the place of birth of Erik Lund
Fredrikstad
action filter_type
action find
entity Erik Lund
relation place of birth
type second-level administrative country subdivision
['Erik Lund', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?s WHERE { resource:Erik_Lund property:place_of_birth ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2619055
P106
Q12737077
USER
Which occupation has Erik Lund as his/her 's career ?
(Q2619055,P106,c(Q12737077))
action filter_type
action find
entity Q2619055
relation P106
type Q12737077
['Q2619055', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2619055 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Erik Lund
action filter_type
action find
entity Erik Lund
relation occupation
type occupation
['Erik Lund', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Erik_Lund property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q14089670
SYSTEM
rugby union player
Q14089670
(Q2619055,P106,c(Q12737077))
action filter_type
action find
entity Q2619055
relation P106
type Q12737077
Player [ANSWER] has Erik Lund as his/her 's career
['Q2619055', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2619055 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
rugby union player
Player rugby union player has Erik Lund as his/her 's career
rugby union player
action filter_type
action find
entity Erik Lund
relation occupation
type occupation
['Erik Lund', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Erik_Lund property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5221199 Q2619055
P106
Q12737077
USER
Or Dante Spencer?
OR((Q2619055,P106,c(Q12737077)), (Q5221199,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2619055
relation P106
action find
entity Q5221199
relation P106
type Q12737077
{'OR': [['Q2619055', 'P106', {'concept': 'Q12737077'}], ['Q5221199', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?y ) { ( resource:Q5221199 ) ( resource:Q2619055 ) } . ?y property:P106 ?g } . ?g rdf:type ontology:Q12737077 }
Dante Spencer Erik Lund
action filter_type
action union
action find
entity Erik Lund
relation occupation
action find
entity Dante Spencer
relation occupation
type occupation
{'OR': [['Erik Lund', 'occupation', {'concept': 'occupation'}], ['Dante Spencer', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?y ) { ( resource:Dante_Spencer ) ( resource:Erik_Lund ) } . ?y property:occupation ?g } . ?g rdf:type ontology:occupation }
[]
occupation
Q4610556 Q212980 Q14089670 Q18581305
SYSTEM
model, psychologist, rugby union player, beauty pageant contestant
Q4610556 Q212980 Q14089670 Q18581305
OR((Q2619055,P106,c(Q12737077)), (Q5221199,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2619055
relation P106
action find
entity Q5221199
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q2619055', 'P106', {'concept': 'Q12737077'}], ['Q5221199', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?y ) { ( resource:Q5221199 ) ( resource:Q2619055 ) } . ?y property:P106 ?g } . ?g rdf:type ontology:Q12737077 }
model psychologist rugby union player beauty pageant contestant
model psychologist rugby union player beauty pageant contestant
action filter_type
action union
action find
entity Erik Lund
relation occupation
action find
entity Dante Spencer
relation occupation
type occupation
{'OR': [['Erik Lund', 'occupation', {'concept': 'occupation'}], ['Dante Spencer', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?y ) { ( resource:Dante_Spencer ) ( resource:Erik_Lund ) } . ?y property:occupation ?g } . ?g rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5575577
P417
Q502895 Q12737077
USER
Which people are the patron saints of less number of occupations than Gobnait ?
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q5575577
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?i < ?s ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P417 resource:Q5575577 . ?v rdf:type ontology:Q12737077 } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P417 ?p . ?g rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 } GROUP BY ?p } }
Gobnait
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Gobnait
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?i < ?s ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:patron_saint resource:Gobnait . ?v rdf:type ontology:occupation } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:patron_saint ?p . ?g rdf:type ontology:occupation . ?p rdf:type ontology:common_name } GROUP BY ?p } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q5575577
relation P417
type Q12737077
[ANSWERS] are the patron saints of less number of occupations than Gobnait
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?i < ?s ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:P417 resource:Q5575577 . ?v rdf:type ontology:Q12737077 } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P417 ?p . ?g rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 } GROUP BY ?p } }
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
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saints of less number of occupations than Gobnait
Elizabeth II Tadeusz Kościuszko Louis IX of France
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Gobnait
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?i < ?s ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v property:patron_saint resource:Gobnait . ?v rdf:type ontology:occupation } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:patron_saint ?p . ?g rdf:type ontology:occupation . ?p rdf:type ontology:common_name } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4377230
P748
Q11204 Q502895 Q12737077
USER
How many occupations are appointed by approximately the same number of legislatures and people as Prime Minister of Greece ?
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q4377230
relation P748
type Q11204
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?v = ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q4377230 property:P748 ?p . { { ?p rdf:type ontology:Q11204 } UNION { ?p rdf:type ontology:Q502895 } } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?z WHERE { VALUES ( ?b ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } . ?a rdf:type ?b } GROUP BY ?z } }
Prime Minister of Greece
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Prime Minister of Greece
relation appointed by
type legislature
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?v = ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Prime_Minister_of_Greece property:appointed_by ?p . { { ?p rdf:type ontology:legislature } UNION { ?p rdf:type ontology:common_name } } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?z WHERE { VALUES ( ?b ) { ( ontology:legislature ) ( ontology:common_name ) } . ?a rdf:type ?b } GROUP BY ?z } }
[]
legislature common name occupation
SYSTEM
271
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1072417 Q27650822 Q21371106 Q1355456 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q642859 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q967762 Q943379 Q15305714 Q20872382 Q1749063 Q20872273 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q274948 Q2305968 Q21384866 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q1072415 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1591470 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q1195270 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q4377230
relation P748
type Q11204
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?v = ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q4377230 property:P748 ?p . { { ?p rdf:type ontology:Q11204 } UNION { ?p rdf:type ontology:Q502895 } } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?z WHERE { VALUES ( ?b ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } . ?a rdf:type ?b } GROUP BY ?z } }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea United States Secretary of Homeland Security Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam United States Secretary of Education Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Minister for Foreign Affairs of Sweden municipal executive of Boxmeer bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Thailand President of Botswana State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam Secretary of State for Dominion Affairs Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Prime Minister of Sweden Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Chief of Naval Operations Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General United States Secretary of the Army Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
271
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Prime Minister of Greece
relation appointed by
type legislature
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?v = ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Prime_Minister_of_Greece property:appointed_by ?p . { { ?p rdf:type ontology:legislature } UNION { ?p rdf:type ontology:common_name } } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?z WHERE { VALUES ( ?b ) { ( ontology:legislature ) ( ontology:common_name ) } . ?a rdf:type ?b } GROUP BY ?z } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q6865833
P748
Q11204 Q502895 Q12737077
USER
And how about Minister for Finance?
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q6865833
relation P748
type Q11204
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { { ?g property:P748 ?y . ?y rdf:type ontology:Q11204 . ?g rdf:type ontology:Q12737077 } UNION { ?g property:P748 ?y . ?g rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q502895 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } } . resource:Q6865833 property:P748 ?i } } . FILTER ( ?x = ?u ) }
Minister for Finance
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Minister for Finance
relation appointed by
type legislature
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { { ?g property:appointed_by ?y . ?y rdf:type ontology:legislature . ?g rdf:type ontology:occupation } UNION { ?g property:appointed_by ?y . ?g rdf:type ontology:occupation . ?y rdf:type ontology:common_name } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:legislature ) ( ontology:common_name ) } } . resource:Minister_for_Finance property:appointed_by ?i } } . FILTER ( ?x = ?u ) }
[]
legislature common name occupation
SYSTEM
271
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1072417 Q27650822 Q21371106 Q1355456 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q642859 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q967762 Q943379 Q15305714 Q20872382 Q1749063 Q20872273 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q274948 Q2305968 Q21384866 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q1072415 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1591470 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q1195270 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q6865833
relation P748
type Q11204
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { { ?g property:P748 ?y . ?y rdf:type ontology:Q11204 . ?g rdf:type ontology:Q12737077 } UNION { ?g property:P748 ?y . ?g rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q502895 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } } . resource:Q6865833 property:P748 ?i } } . FILTER ( ?x = ?u ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea United States Secretary of Homeland Security Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam United States Secretary of Education Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Minister for Foreign Affairs of Sweden municipal executive of Boxmeer bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Thailand President of Botswana State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam Secretary of State for Dominion Affairs Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Prime Minister of Sweden Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Chief of Naval Operations Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General United States Secretary of the Army Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
271
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Minister for Finance
relation appointed by
type legislature
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { { ?g property:appointed_by ?y . ?y rdf:type ontology:legislature . ?g rdf:type ontology:occupation } UNION { ?g property:appointed_by ?y . ?g rdf:type ontology:occupation . ?y rdf:type ontology:common_name } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:legislature ) ( ontology:common_name ) } } . resource:Minister_for_Finance property:appointed_by ?i } } . FILTER ( ?x = ?u ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6865833
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
action filter_type
action find_reverse
entity Q6865833
relation P39
type Q502895
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P39 resource:Q6865833 }
Minister for Finance
action filter_type
action find_reverse
entity Minister for Finance
relation position held
type common name
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:position_held resource:Minister_for_Finance }
[]
common name
Q51330 Q304561 Q1236571
SYSTEM
John Howard, Kim Beazley, Wayne Swan
Q456759 Q51330 Q7185740 Q1466753 Q304561 Q1236571 Q5387380 Q7177577 Q3339775 Q1813692 Q1894845 Q1826293 Q7288278
action filter_type
action find_reverse
entity Q6865833
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P39 resource:Q6865833 }
Penny Wong John Howard Phillip Lynch John Dawkins Kim Beazley Wayne Swan Eric Robinson Peter Walsh Nick Minchin Mathias Cormann Margaret Guilfoyle Lindsay Tanner Ralph Willis
John Howard, Kim Beazley and Wayne Swan were responsible for occupying the position of that occupation
John Howard Kim Beazley Wayne Swan
action filter_type
action find_reverse
entity Minister for Finance
relation position held
type common name
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:position_held resource:Minister_for_Finance }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6865833
P17
Q1048835
USER
Which political territory does that occupation belong to ?
(Q51330,P17,c(Q1048835)) (Q304561,P17,c(Q1048835)) (Q1236571,P17,c(Q1048835))
action filter_type
action find
entity Q6865833
relation P17
type Q1048835
['Q51330', 'P17', {'concept': 'Q1048835'}] ['Q304561', 'P17', {'concept': 'Q1048835'}] ['Q1236571', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q6865833 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Minister for Finance
action filter_type
action find
entity Minister for Finance
relation country
type political territorial entity
['John Howard', 'country', {'concept': 'political territorial entity'}] ['Kim Beazley', 'country', {'concept': 'political territorial entity'}] ['Wayne Swan', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Minister_for_Finance property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q51330,P17,c(Q1048835)) (Q304561,P17,c(Q1048835)) (Q1236571,P17,c(Q1048835))
action filter_type
action find
entity Q6865833
relation P17
type Q1048835
That occupation belongs to the [ANSWER]
['Q51330', 'P17', {'concept': 'Q1048835'}] ['Q304561', 'P17', {'concept': 'Q1048835'}] ['Q1236571', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q6865833 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Australia
That occupation belongs to the Australia
Australia
action filter_type
action find
entity Minister for Finance
relation country
type political territorial entity
['John Howard', 'country', {'concept': 'political territorial entity'}] ['Kim Beazley', 'country', {'concept': 'political territorial entity'}] ['Wayne Swan', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Minister_for_Finance property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5004472 Q6865833
P17
Q1048835
USER
Or Byron Sound?
OR((Q6865833,P17,c(Q1048835)), (Q5004472,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q6865833
relation P17
action find
entity Q5004472
relation P17
type Q1048835
{'OR': [['Q6865833', 'P17', {'concept': 'Q1048835'}], ['Q5004472', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q6865833 property:P17 ?x } UNION { resource:Q5004472 property:P17 ?x } } . ?x rdf:type ontology:Q1048835 }
Byron Sound Minister for Finance
action filter_type
action union
action find
entity Minister for Finance
relation country
action find
entity Byron Sound
relation country
type political territorial entity
{'OR': [['Minister for Finance', 'country', {'concept': 'political territorial entity'}], ['Byron Sound', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Minister_for_Finance property:country ?x } UNION { resource:Byron_Sound property:country ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q9648 Q408
SYSTEM
Falkland Islands, Australia
Q9648 Q408
OR((Q6865833,P17,c(Q1048835)), (Q5004472,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q6865833
relation P17
action find
entity Q5004472
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q6865833', 'P17', {'concept': 'Q1048835'}], ['Q5004472', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q6865833 property:P17 ?x } UNION { resource:Q5004472 property:P17 ?x } } . ?x rdf:type ontology:Q1048835 }
Falkland Islands Australia
Falkland Islands Australia
action filter_type
action union
action find
entity Minister for Finance
relation country
action find
entity Byron Sound
relation country
type political territorial entity
{'OR': [['Minister for Finance', 'country', {'concept': 'political territorial entity'}], ['Byron Sound', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Minister_for_Finance property:country ?x } UNION { resource:Byron_Sound property:country ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9648 Q408
P38
Q8142
USER
Which currencies are the currencies of those political territories ?
(Q9648,P38,c(Q8142)) (Q408,P38,c(Q8142))
action filter_type
action find
entity prev_answer
relation P38
type Q8142
['Q9648', 'P38', {'concept': 'Q8142'}] ['Q408', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q8142 . ?r property:P38 ?t . VALUES ( ?r ) { ( resource:Q9648 ) ( resource:Q408 ) } }
Falkland Islands Australia
action filter_type
action find
entity prev_answer
relation currency
type currency
['Falkland Islands', 'currency', {'concept': 'currency'}] ['Australia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:currency . ?r property:currency ?t . VALUES ( ?r ) { ( resource:Falkland_Islands ) ( resource:Australia ) } }
[]
currency
Q25224 Q25224
SYSTEM
pound sterling
Q25224 Q25224
(Q9648,P38,c(Q8142)) (Q408,P38,c(Q8142))
action filter_type
action find
entity prev_answer
relation P38
type Q8142
The currencies of those political territories are [ANSWER] and [ANSWER]
['Q9648', 'P38', {'concept': 'Q8142'}] ['Q408', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q8142 . ?r property:P38 ?t . VALUES ( ?r ) { ( resource:Q9648 ) ( resource:Q408 ) } }
pound sterling pound sterling
The currencies of those political territories are pound sterling and pound sterling
pound sterling pound sterling
action filter_type
action find
entity prev_answer
relation currency
type currency
['Falkland Islands', 'currency', {'concept': 'currency'}] ['Australia', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:currency . ?r property:currency ?t . VALUES ( ?r ) { ( resource:Falkland_Islands ) ( resource:Australia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5004472
P403
Q355304
USER
Which watercourse flows into Byron Sound ?
(c(Q355304),P403,Q5004472)
action filter_type
action find_reverse
entity Q5004472
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q5004472']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q355304 . ?v property:P403 resource:Q5004472 }
Byron Sound
action filter_type
action find_reverse
entity Byron Sound
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Byron Sound']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:watercourse . ?v property:mouth_of_the_watercourse resource:Byron_Sound }
[]
watercourse
Q15199596
SYSTEM
Blackburn River
Q15199596
(c(Q355304),P403,Q5004472)
action filter_type
action find_reverse
entity Q5004472
relation P403
type Q355304
[ANSWER] flows into Byron Sound
[{'concept': 'Q355304'}, 'P403', 'Q5004472']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q355304 . ?v property:P403 resource:Q5004472 }
Blackburn River
Blackburn River flows into Byron Sound
Blackburn River
action filter_type
action find_reverse
entity Byron Sound
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Byron Sound']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:watercourse . ?v property:mouth_of_the_watercourse resource:Byron_Sound }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4812044
Q355304
USER
And how about Asylum Run?
(Q4812044,P403,c(Q355304))
action filter_type
action find
entity Q4812044
relation P403
type Q355304
['Q4812044', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { resource:Q4812044 property:P403 ?q . ?q rdf:type ontology:Q355304 }
Asylum Run
action filter_type
action find
entity Asylum Run
relation mouth of the watercourse
type watercourse
['Asylum Run', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { resource:Asylum_Run property:mouth_of_the_watercourse ?q . ?q rdf:type ontology:watercourse }
[]
watercourse
Q7156521
SYSTEM
Paxton Creek
Q7156521
(Q4812044,P403,c(Q355304))
action filter_type
action find
entity Q4812044
relation P403
type Q355304
[ANSWER]
['Q4812044', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { resource:Q4812044 property:P403 ?q . ?q rdf:type ontology:Q355304 }
Paxton Creek
Paxton Creek
action filter_type
action find
entity Asylum Run
relation mouth of the watercourse
type watercourse
['Asylum Run', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { resource:Asylum_Run property:mouth_of_the_watercourse ?q . ?q rdf:type ontology:watercourse }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q286703
P469
Q337567 Q23397 Q355304
USER
Which watercourses flow through around the same number of still waterss and lakes as English River ?
(c(Q355304),P469,c(Q337567)|c(Q23397))
action approx
action union
action find_tuple_counts
relation P469
type Q355304
type Q337567
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_multi_types
action find
entity Q286703
relation P469
type Q337567
type Q23397
[{'concept': 'Q355304'}, 'P469', [{'concept': 'Q337567'}, {'concept': 'Q23397'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?d WHERE { VALUES ( ?m ) { ( ontology:Q337567 ) ( ontology:Q23397 ) } . ?n rdf:type ?m } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q286703 property:P469 ?h . { { ?h rdf:type ontology:Q337567 } UNION { ?h rdf:type ontology:Q23397 } } } } . FILTER ( ?i = ?l ) }
English River
action approx
action union
action find_tuple_counts
relation lakes on river
type watercourse
type still waters
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_multi_types
action find
entity English River
relation lakes on river
type still waters
type lake
[{'concept': 'watercourse'}, 'lakes on river', [{'concept': 'still waters'}, {'concept': 'lake'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?d WHERE { VALUES ( ?m ) { ( ontology:still_waters ) ( ontology:lake ) } . ?n rdf:type ?m } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:English_River property:lakes_on_river ?h . { { ?h rdf:type ontology:still_waters } UNION { ?h rdf:type ontology:lake } } } } . FILTER ( ?i = ?l ) }
[]
still waters lake watercourse
Q128102 Q584 Q14333
SYSTEM
Irtysh River, Rhine, Saane/Sarine
Q1888146 Q13533400 Q2279579 Q664341 Q581307 Q1393263 Q2028742 Q6661013 Q3458654 Q4071815 Q4503043 Q749950 Q1429523 Q1144474 Q410410 Q2492910 Q668244 Q160140 Q1813684 Q5507324 Q18150029 Q2415273 Q4580881 Q2668113 Q3017105 Q362183 Q1789505 Q2368048 Q1636349 Q4790369 Q664121 Q668892 Q1458500 Q82776 Q3458570 Q7069329 Q4068821 Q4408691 Q748195 Q1435649 Q255379 Q6976632 Q4246441 Q859274 Q220839 Q954009 Q248756 Q450584 Q10718791 Q833164 Q6661118 Q4576100 Q537889 Q1445804 Q214748 Q4427701 Q14366 Q882739 Q3377411 Q283622 Q289638 Q5882378 Q4059960 Q3732920 Q1877245 Q2264472 Q502773 Q3275381 Q642694 Q3348721 Q1329928 Q2737438 Q152661 Q1586793 Q51845 Q848670 Q1519836 Q1338024 Q1076530 Q3635074 Q4225184 Q5635 Q1779641 Q49582 Q6513766 Q870065 Q1032656 Q951240 Q927499 Q679808 Q298372 Q1524764 Q6513842 Q516140 Q2331787 Q10667340 Q82147 Q1164945 Q525091 Q4429078 Q120189 Q792016 Q524612 Q1882914 Q1047568 Q3218643 Q1714941 Q1343164 Q4179226 Q3512615 Q2566970 Q668478 Q1273955 Q890526 Q11990461 Q499668 Q2598623 Q1144510 Q3433647 Q151858 Q1048696 Q1353913 Q10520049 Q626 Q1376034 Q128350 Q80240 Q321043 Q2936036 Q11873746 Q18681925 Q128102 Q1430986 Q971114 Q75745 Q4282693 Q1669474 Q300672 Q300674 Q1953821 Q471382 Q7161432 Q4985505 Q17512637 Q383379 Q7402707 Q3196524 Q30548 Q1710848 Q684728 Q2624495 Q7401266 Q26475 Q2216 Q1046455 Q1666552 Q1538524 Q429769 Q680765 Q3292 Q4573966 Q4143776 Q978496 Q3720471 Q4134618 Q4460344 Q53484 Q1809877 Q757914 Q4074592 Q2846182 Q11883442 Q1628207 Q258400 Q286703 Q1801063 Q1343379 Q846926 Q843024 Q4251953 Q1748443 Q949042 Q324350 Q698586 Q517670 Q10706307 Q2462900 Q1491454 Q8051453 Q16945 Q1066192 Q5307904 Q857676 Q3411 Q525121 Q3374047 Q10429656 Q555450 Q1636202 Q1331306 Q6977407 Q1478566 Q2750140 Q258243 Q1538332 Q4131027 Q19849708 Q19849705 Q1161204 Q35591 Q1243669 Q19798122 Q3062302 Q4424134 Q2626727 Q4424133 Q19518505 Q1235975 Q1867521 Q382489 Q192567 Q209031 Q490186 Q548 Q2128582 Q4249198 Q1715173 Q226862 Q17476676 Q426516 Q6990897 Q93360 Q4222569 Q3785326 Q572425 Q3720244 Q661667 Q162737 Q1548669 Q23550 Q59647 Q503723 Q1542229 Q166301 Q1742075 Q1531702 Q1009177 Q1808066 Q7074548 Q11762217 Q391411 Q3773325 Q3179104 Q63109 Q22680166 Q2155664 Q1054311 Q584 Q1682 Q182042 Q3458740 Q4103724 Q5755799 Q318435 Q645 Q2244 Q4375034 Q10727731 Q270427 Q5447707 Q203862 Q280126 Q4081114 Q4532009 Q1645200 Q2155708 Q1479784 Q5872598 Q4586319 Q2738652 Q1485122 Q1514693 Q770781 Q10891111 Q2090382 Q15122970 Q846419 Q602 Q9394362 Q2143805 Q4407311 Q138631 Q729801 Q5625 Q273456 Q384194 Q671309 Q936688 Q785531 Q1364212 Q217956 Q650985 Q11899928 Q10561333 Q782845 Q7516332 Q954645 Q14333 Q1272368 Q14338 Q2992698 Q3739940 Q4015 Q1349937
(c(Q355304),P469,c(Q337567)|c(Q23397))
action approx
action union
action find_tuple_counts
relation P469
type Q355304
type Q337567
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_multi_types
action find
entity Q286703
relation P469
type Q337567
type Q23397
[ANSWERS] flow through around the same number of still waterss and lakes as English River
[{'concept': 'Q355304'}, 'P469', [{'concept': 'Q337567'}, {'concept': 'Q23397'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?d WHERE { VALUES ( ?m ) { ( ontology:Q337567 ) ( ontology:Q23397 ) } . ?n rdf:type ?m } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q286703 property:P469 ?h . { { ?h rdf:type ontology:Q337567 } UNION { ?h rdf:type ontology:Q23397 } } } } . FILTER ( ?i = ?l ) }
Kaministiquia River Vermilion River (Minnesota) Shire River Traun São Gonçalo Channel Fairford River Ord River Ljusnan Huahum River Astkhadzor (river) Tsakkar Elliðaár Karatal River Huskvarna River Hvítá Vytegra River Vedeggio Schwarzer Schöps Leiblach Fui River Cochrane River Pola River Ålkistan Ajaguz River Davsha Ager Ksani Tes River Råne River Nkusi River Glanfurt Engelberger Aa Vodla River Terek River Palena River Symsarna Argichi Sarma River Ruzizi River Fond du Lac River Lovat River Piaśnica Kultuchnaya Big Sioux River Luvua River River Corrib Tyya Alz Vårbybäcken Buzău River Llancahue River Skithegga Drammenselva Voxnan Göta älv Solzan Ticino Blue Nile Little Bostonnais River Atrek River Selizharovka River Hollyford River Aksu River Ulluchay River Lumi River Seeache Dranse Astarachay Otra Ochlockonee River Ing River Kazinga Channel Salzach Rapa River Ume älv Oglio Tokke Klarälven Sió Barnhusviken Kobona River Masurian Canal Hunnselva Olonka River Tinnelva Broye Rapel River Calcurrupe River Gudbrandsdalslågen Toce Österdal River Michipicoten River Heddøla Maggia Stanley River Sickla canal Taymyr River Nipigon River Großache Soroga (river) Rönne River Begna River Paatsjoki Mackintosh River Shelon River Laune Jänisjoki Leysse Zhelcha River Sumgayit River White River Kander Saint Louis River Kymi River Mølleåen Nidelva Pirsaat River Långan Bostonnais River Luapula River Waiau River (Southland) Rickleån Helige å Volga Waswanipi River Lukuga River Ural River Dornbirner Ach Canal de Savières Kutujoki Kaivanto Canal Irtysh River Sefīd-Rūd Pieman River Selenga River Martuni (river) Nottaway River Aabach Aabach (Seetal) Murray Mouth Kinda Canal Pelican River Bueno River Nares River Afon Glaslyn Sajna Kika Hrazdan River Pic River Jona Thiou Saint Francis River Treska Athabasca River Lepsy River Murchison River Gosen Canal Tidan Glatt Nelson River Langvassåga Gorgan Wisconsin River Shura-Ozen River Gdovka River Tompuda Syas River Richelieu River Attawapiskat River Babkha Andoma River Murole Canal Huon River Loisach English River Lake River Enningdalsälven Madawaska River Chaudière River Lava River, Leningrad Oblast Sjoa Ljungan Königsseer Ache Bregenzer Ache Emba River Tunaån Utulik Große Aa Yelcho River Suhre Sog River Drive Creek Lule River Mackenzie River Argen Kynne River Billstaån Akerselva Koitajoki Elizabeth River, Tasmania Svärtaån Santa Cruz River Kagera River Würm Hallingdalselva Gavaraget Seebach Grundlseer Traun San Juan River Tigris Azopardo River Hurdalselva Naknek River Slyudyanka Kura River Slyudyanka Sveselva Gullspångsälven Lockhart River Alter Rhein Ili River Narva River Andelva Vistula Rainy River Qusar River Jökulsá á Brú Suna River Nordbyelva Indalsälven Nemadji River Bío Bío River Kichera Stryneelva Lütschine Rubas River Flambeau River Angara River Great Bear River Velikaya River Abitibi River Cassarate Jämsänjoki Amper King River Ruvu Turka Otta Obabika River Liwna Gatineau River Aji Chay Kalambo River Adda Dajna Batiscan River Upper Angara River Rhine Havel Kuma River Pascua River Vardenis (river) Barabduchai Detroit River Neva Beaver River Pokhabikha Ösan Green River Figgja Saint-Maurice river Robson River Bezymyannaya Enco River Simojoki Matawin River Norrström Simineh River Hobølelva Fimi River Pigeon River Malagarasi River Sulak River Jeannotte River Khara-Murin Manouane River (Saint-Maurice River) Kenai River Rhône Łososina Thompson River San Pedro River Mandalselva Trosaån Pissa River Omo River Łupawa Primero River Mincio Snezhnaya River Renaelva Tsna River Nidau-Büren Canal Vaajavirta Lidan Awash River Zarriné-Rūd Little Zab Saane/Sarine Vindel River Limmat Burnaya River Åker's Canal Reuss Nyköpingsån
Irtysh River, Rhine and Saane/Sarine flow through around the same number of still waterss and lakes as English River
Irtysh River Rhine Saane/Sarine
action approx
action union
action find_tuple_counts
relation lakes on river
type watercourse
type still waters
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_multi_types
action find
entity English River
relation lakes on river
type still waters
type lake
[{'concept': 'watercourse'}, 'lakes on river', [{'concept': 'still waters'}, {'concept': 'lake'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?d WHERE { VALUES ( ?m ) { ( ontology:still_waters ) ( ontology:lake ) } . ?n rdf:type ?m } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:English_River property:lakes_on_river ?h . { { ?h rdf:type ontology:still_waters } UNION { ?h rdf:type ontology:lake } } } } . FILTER ( ?i = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q8051453
P469
Q337567 Q23397 Q355304
USER
And what about Yelcho River?
(c(Q355304),P469,c(Q337567)|c(Q23397))
action approx
action union
action find_tuple_counts
relation P469
type Q355304
type Q337567
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_multi_types
action find
entity Q8051453
relation P469
type Q337567
type Q23397
[{'concept': 'Q355304'}, 'P469', [{'concept': 'Q337567'}, {'concept': 'Q23397'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) ?m WHERE { VALUES ( ?n ) { ( ontology:Q337567 ) ( ontology:Q23397 ) } . ?s rdf:type ?n } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q8051453 property:P469 ?c . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q337567 ) ( ontology:Q23397 ) } } } } . FILTER ( ?e = ?u ) }
Yelcho River
action approx
action union
action find_tuple_counts
relation lakes on river
type watercourse
type still waters
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_multi_types
action find
entity Yelcho River
relation lakes on river
type still waters
type lake
[{'concept': 'watercourse'}, 'lakes on river', [{'concept': 'still waters'}, {'concept': 'lake'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) ?m WHERE { VALUES ( ?n ) { ( ontology:still_waters ) ( ontology:lake ) } . ?s rdf:type ?n } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Yelcho_River property:lakes_on_river ?c . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:still_waters ) ( ontology:lake ) } } } } . FILTER ( ?e = ?u ) }
[]
still waters lake watercourse
Q128102 Q584 Q14333
SYSTEM
Irtysh River, Rhine, Saane/Sarine
Q1888146 Q13533400 Q2279579 Q664341 Q581307 Q1393263 Q2028742 Q6661013 Q3458654 Q4071815 Q4503043 Q749950 Q1429523 Q1144474 Q410410 Q2492910 Q668244 Q160140 Q1813684 Q5507324 Q18150029 Q2415273 Q4580881 Q2668113 Q3017105 Q362183 Q1789505 Q2368048 Q1636349 Q4790369 Q664121 Q668892 Q1458500 Q82776 Q3458570 Q7069329 Q4068821 Q4408691 Q748195 Q1435649 Q255379 Q6976632 Q4246441 Q859274 Q220839 Q954009 Q248756 Q450584 Q10718791 Q833164 Q6661118 Q4576100 Q537889 Q1445804 Q214748 Q4427701 Q14366 Q882739 Q3377411 Q283622 Q289638 Q5882378 Q4059960 Q3732920 Q1877245 Q2264472 Q502773 Q3275381 Q642694 Q3348721 Q1329928 Q2737438 Q152661 Q1586793 Q51845 Q848670 Q1519836 Q1338024 Q1076530 Q3635074 Q4225184 Q5635 Q1779641 Q49582 Q6513766 Q870065 Q1032656 Q951240 Q927499 Q679808 Q298372 Q1524764 Q6513842 Q516140 Q2331787 Q10667340 Q82147 Q1164945 Q525091 Q4429078 Q120189 Q792016 Q524612 Q1882914 Q1047568 Q3218643 Q1714941 Q1343164 Q4179226 Q3512615 Q2566970 Q668478 Q1273955 Q890526 Q11990461 Q499668 Q2598623 Q1144510 Q3433647 Q151858 Q1048696 Q1353913 Q10520049 Q626 Q1376034 Q128350 Q80240 Q321043 Q2936036 Q11873746 Q18681925 Q128102 Q1430986 Q971114 Q75745 Q4282693 Q1669474 Q300672 Q300674 Q1953821 Q471382 Q7161432 Q4985505 Q17512637 Q383379 Q7402707 Q3196524 Q30548 Q1710848 Q684728 Q2624495 Q7401266 Q26475 Q2216 Q1046455 Q1666552 Q1538524 Q429769 Q680765 Q3292 Q4573966 Q4143776 Q978496 Q3720471 Q4134618 Q4460344 Q53484 Q1809877 Q757914 Q4074592 Q2846182 Q11883442 Q1628207 Q258400 Q286703 Q1801063 Q1343379 Q846926 Q843024 Q4251953 Q1748443 Q949042 Q324350 Q698586 Q517670 Q10706307 Q2462900 Q1491454 Q8051453 Q16945 Q1066192 Q5307904 Q857676 Q3411 Q525121 Q3374047 Q10429656 Q555450 Q1636202 Q1331306 Q6977407 Q1478566 Q2750140 Q258243 Q1538332 Q4131027 Q19849708 Q19849705 Q1161204 Q35591 Q1243669 Q19798122 Q3062302 Q4424134 Q2626727 Q4424133 Q19518505 Q1235975 Q1867521 Q382489 Q192567 Q209031 Q490186 Q548 Q2128582 Q4249198 Q1715173 Q226862 Q17476676 Q426516 Q6990897 Q93360 Q4222569 Q3785326 Q572425 Q3720244 Q661667 Q162737 Q1548669 Q23550 Q59647 Q503723 Q1542229 Q166301 Q1742075 Q1531702 Q1009177 Q1808066 Q7074548 Q11762217 Q391411 Q3773325 Q3179104 Q63109 Q22680166 Q2155664 Q1054311 Q584 Q1682 Q182042 Q3458740 Q4103724 Q5755799 Q318435 Q645 Q2244 Q4375034 Q10727731 Q270427 Q5447707 Q203862 Q280126 Q4081114 Q4532009 Q1645200 Q2155708 Q1479784 Q5872598 Q4586319 Q2738652 Q1485122 Q1514693 Q770781 Q10891111 Q2090382 Q15122970 Q846419 Q602 Q9394362 Q2143805 Q4407311 Q138631 Q729801 Q5625 Q273456 Q384194 Q671309 Q936688 Q785531 Q1364212 Q217956 Q650985 Q11899928 Q10561333 Q782845 Q7516332 Q954645 Q14333 Q1272368 Q14338 Q2992698 Q3739940 Q4015 Q1349937
(c(Q355304),P469,c(Q337567)|c(Q23397))
action approx
action union
action find_tuple_counts
relation P469
type Q355304
type Q337567
action find_tuple_counts
relation P469
type Q355304
type Q23397
action count
action filter_multi_types
action find
entity Q8051453
relation P469
type Q337567
type Q23397
[ANSWERS]
[{'concept': 'Q355304'}, 'P469', [{'concept': 'Q337567'}, {'concept': 'Q23397'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) ?m WHERE { VALUES ( ?n ) { ( ontology:Q337567 ) ( ontology:Q23397 ) } . ?s rdf:type ?n } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q8051453 property:P469 ?c . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:Q337567 ) ( ontology:Q23397 ) } } } } . FILTER ( ?e = ?u ) }
Kaministiquia River Vermilion River (Minnesota) Shire River Traun São Gonçalo Channel Fairford River Ord River Ljusnan Huahum River Astkhadzor (river) Tsakkar Elliðaár Karatal River Huskvarna River Hvítá Vytegra River Vedeggio Schwarzer Schöps Leiblach Fui River Cochrane River Pola River Ålkistan Ajaguz River Davsha Ager Ksani Tes River Råne River Nkusi River Glanfurt Engelberger Aa Vodla River Terek River Palena River Symsarna Argichi Sarma River Ruzizi River Fond du Lac River Lovat River Piaśnica Kultuchnaya Big Sioux River Luvua River River Corrib Tyya Alz Vårbybäcken Buzău River Llancahue River Skithegga Drammenselva Voxnan Göta älv Solzan Ticino Blue Nile Little Bostonnais River Atrek River Selizharovka River Hollyford River Aksu River Ulluchay River Lumi River Seeache Dranse Astarachay Otra Ochlockonee River Ing River Kazinga Channel Salzach Rapa River Ume älv Oglio Tokke Klarälven Sió Barnhusviken Kobona River Masurian Canal Hunnselva Olonka River Tinnelva Broye Rapel River Calcurrupe River Gudbrandsdalslågen Toce Österdal River Michipicoten River Heddøla Maggia Stanley River Sickla canal Taymyr River Nipigon River Großache Soroga (river) Rönne River Begna River Paatsjoki Mackintosh River Shelon River Laune Jänisjoki Leysse Zhelcha River Sumgayit River White River Kander Saint Louis River Kymi River Mølleåen Nidelva Pirsaat River Långan Bostonnais River Luapula River Waiau River (Southland) Rickleån Helige å Volga Waswanipi River Lukuga River Ural River Dornbirner Ach Canal de Savières Kutujoki Kaivanto Canal Irtysh River Sefīd-Rūd Pieman River Selenga River Martuni (river) Nottaway River Aabach Aabach (Seetal) Murray Mouth Kinda Canal Pelican River Bueno River Nares River Afon Glaslyn Sajna Kika Hrazdan River Pic River Jona Thiou Saint Francis River Treska Athabasca River Lepsy River Murchison River Gosen Canal Tidan Glatt Nelson River Langvassåga Gorgan Wisconsin River Shura-Ozen River Gdovka River Tompuda Syas River Richelieu River Attawapiskat River Babkha Andoma River Murole Canal Huon River Loisach English River Lake River Enningdalsälven Madawaska River Chaudière River Lava River, Leningrad Oblast Sjoa Ljungan Königsseer Ache Bregenzer Ache Emba River Tunaån Utulik Große Aa Yelcho River Suhre Sog River Drive Creek Lule River Mackenzie River Argen Kynne River Billstaån Akerselva Koitajoki Elizabeth River, Tasmania Svärtaån Santa Cruz River Kagera River Würm Hallingdalselva Gavaraget Seebach Grundlseer Traun San Juan River Tigris Azopardo River Hurdalselva Naknek River Slyudyanka Kura River Slyudyanka Sveselva Gullspångsälven Lockhart River Alter Rhein Ili River Narva River Andelva Vistula Rainy River Qusar River Jökulsá á Brú Suna River Nordbyelva Indalsälven Nemadji River Bío Bío River Kichera Stryneelva Lütschine Rubas River Flambeau River Angara River Great Bear River Velikaya River Abitibi River Cassarate Jämsänjoki Amper King River Ruvu Turka Otta Obabika River Liwna Gatineau River Aji Chay Kalambo River Adda Dajna Batiscan River Upper Angara River Rhine Havel Kuma River Pascua River Vardenis (river) Barabduchai Detroit River Neva Beaver River Pokhabikha Ösan Green River Figgja Saint-Maurice river Robson River Bezymyannaya Enco River Simojoki Matawin River Norrström Simineh River Hobølelva Fimi River Pigeon River Malagarasi River Sulak River Jeannotte River Khara-Murin Manouane River (Saint-Maurice River) Kenai River Rhône Łososina Thompson River San Pedro River Mandalselva Trosaån Pissa River Omo River Łupawa Primero River Mincio Snezhnaya River Renaelva Tsna River Nidau-Büren Canal Vaajavirta Lidan Awash River Zarriné-Rūd Little Zab Saane/Sarine Vindel River Limmat Burnaya River Åker's Canal Reuss Nyköpingsån
Irtysh River Rhine Saane/Sarine
action approx
action union
action find_tuple_counts
relation lakes on river
type watercourse
type still waters
action find_tuple_counts
relation lakes on river
type watercourse
type lake
action count
action filter_multi_types
action find
entity Yelcho River
relation lakes on river
type still waters
type lake
[{'concept': 'watercourse'}, 'lakes on river', [{'concept': 'still waters'}, {'concept': 'lake'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) ?m WHERE { VALUES ( ?n ) { ( ontology:still_waters ) ( ontology:lake ) } . ?s rdf:type ?n } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Yelcho_River property:lakes_on_river ?c . { ?c rdf:type ?h . VALUES ( ?h ) { ( ontology:still_waters ) ( ontology:lake ) } } } } . FILTER ( ?e = ?u ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P403
Q15324 Q355304
USER
Which bodies of water do approximately 43 watercourses drain into ?
(c(Q355304),P403,c(Q15324))
action approx
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 43
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?s ) WHERE { ?f rdf:type ontology:Q15324 . ?q rdf:type ontology:Q355304 . ?q property:P403 ?f } GROUP BY ?f } . FILTER ( ?s = 43 ) }
action approx
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 43
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?s ) WHERE { ?f rdf:type ontology:body_of_water . ?q rdf:type ontology:watercourse . ?q property:mouth_of_the_watercourse ?f } GROUP BY ?f } . FILTER ( ?s = 43 ) }
[]
body of water watercourse
Q1693 Q82931 Q12630
SYSTEM
North Sea, Coral Sea, Gulf of Mexico
Q12630 Q1693 Q82931 Q38882
(c(Q355304),P403,c(Q15324))
action approx
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 43
[ANSWERS]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?s ) WHERE { ?f rdf:type ontology:Q15324 . ?q rdf:type ontology:Q355304 . ?q property:P403 ?f } GROUP BY ?f } . FILTER ( ?s = 43 ) }
Gulf of Mexico North Sea Coral Sea Tyrrhenian Sea
Which bodies of water approximately 43 watercourses drain into
North Sea Coral Sea Gulf of Mexico
action approx
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 43
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?s ) WHERE { ?f rdf:type ontology:body_of_water . ?q rdf:type ontology:watercourse . ?q property:mouth_of_the_watercourse ?f } GROUP BY ?f } . FILTER ( ?s = 43 ) }
[]