Simple Question (Direct)
Simple Question
Q502019
P54
Q12973014
USER
Which sports teams are Andrei Ogorodnikov a member of ?
(Q502019,P54,c(Q12973014))
action filter_type
action find
entity Q502019
relation P54
type Q12973014
['Q502019', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?l WHERE { resource:Q502019 property:P54 ?l . ?l rdf:type ontology:Q12973014 }
Andrei Ogorodnikov
action filter_type
action find
entity Andrei Ogorodnikov
relation member of sports team
type sports team
['Andrei Ogorodnikov', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?l WHERE { resource:Andrei_Ogorodnikov property:member_of_sports_team ?l . ?l rdf:type ontology:sports_team }
[]
sports team
Q1460310 Q1529953 Q911572
SYSTEM
HC Yugra, Ermak Angarsk, SKA Saint Petersburg
Q1460310 Q1529953 Q911572
(Q502019,P54,c(Q12973014))
action filter_type
action find
entity Q502019
relation P54
type Q12973014
[ANSWERS] are Andrei Ogorodnikov a member of
['Q502019', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?l WHERE { resource:Q502019 property:P54 ?l . ?l rdf:type ontology:Q12973014 }
HC Yugra Ermak Angarsk SKA Saint Petersburg
HC Yugra, Ermak Angarsk and SKA Saint Petersburg are Andrei Ogorodnikov a member of
HC Yugra Ermak Angarsk SKA Saint Petersburg
action filter_type
action find
entity Andrei Ogorodnikov
relation member of sports team
type sports team
['Andrei Ogorodnikov', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?l WHERE { resource:Andrei_Ogorodnikov property:member_of_sports_team ?l . ?l rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q502019
P106
Q12737077
USER
What does Andrei Ogorodnikov do for a living ?
(Q502019,P106,c(Q12737077))
action filter_type
action find
entity Q502019
relation P106
type Q12737077
['Q502019', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q502019 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Andrei Ogorodnikov
action filter_type
action find
entity Andrei Ogorodnikov
relation occupation
type occupation
['Andrei Ogorodnikov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Andrei_Ogorodnikov property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q502019,P106,c(Q12737077))
action filter_type
action find
entity Q502019
relation P106
type Q12737077
Andrei Ogorodnikov does for a living as [ANSWER]
['Q502019', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q502019 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
ice hockey player
Andrei Ogorodnikov does for a living as ice hockey player
ice hockey player
action filter_type
action find
entity Andrei Ogorodnikov
relation occupation
type occupation
['Andrei Ogorodnikov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Andrei_Ogorodnikov property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5292951
Q12737077
USER
And what about Don Ladner?
(Q5292951,P106,c(Q12737077))
action filter_type
action find
entity Q5292951
relation P106
type Q12737077
['Q5292951', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5292951 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Don Ladner
action filter_type
action find
entity Don Ladner
relation occupation
type occupation
['Don Ladner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Don_Ladner property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q14373094
SYSTEM
rugby league player
Q14373094
(Q5292951,P106,c(Q12737077))
action filter_type
action find
entity Q5292951
relation P106
type Q12737077
[ANSWER]
['Q5292951', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5292951 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
rugby league player
rugby league player
action filter_type
action find
entity Don Ladner
relation occupation
type occupation
['Don Ladner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Don_Ladner property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q14373094 Q206091
P425
Q349
USER
Is canyoning associated with the field of occupation that one ?
(Q14373094,P425,Q206091)
action is_in
entity Q206091
action find
entity Q14373094
relation P425
['Q14373094', 'P425', 'Q206091']
ASK WHERE { resource:Q14373094 property:P425 resource:Q206091 }
rugby league player canyoning
action is_in
entity canyoning
action find
entity rugby league player
relation field of this occupation
['rugby league player', 'field of this occupation', 'canyoning']
ASK WHERE { resource:rugby_league_player property:field_of_this_occupation resource:canyoning }
[]
sport
SYSTEM
NO
(Q14373094,P425,Q206091)
action is_in
entity Q206091
action find
entity Q14373094
relation P425
[ANSWER]
['Q14373094', 'P425', 'Q206091']
ASK WHERE { resource:Q14373094 property:P425 resource:Q206091 }
No
action is_in
entity canyoning
action find
entity rugby league player
relation field of this occupation
['rugby league player', 'field of this occupation', 'canyoning']
ASK WHERE { resource:rugby_league_player property:field_of_this_occupation resource:canyoning }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q149315
P417
Q502895 Q12737077
USER
How many people are the patron saint of approximately the same number of occupations as Silverius ?
(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 Q149315
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q149315 property:P417 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P417 ?i . ?i rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?i } }
Silverius
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 Silverius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Silverius property:patron_saint ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:patron_saint ?i . ?i rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?i } }
[]
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 Q149315
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q149315 property:P417 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P417 ?i . ?i rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?i } }
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 Silverius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Silverius property:patron_saint ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?r = ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:patron_saint ?i . ?i rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q43675
P417
Q502895 Q12737077
USER
And what about Philip the Apostle?
(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 Q43675
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P417 ?q . ?q rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q43675 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?o = ?e ) }
Philip the Apostle
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 Philip the Apostle
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:patron_saint ?q . ?q rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Philip_the_Apostle property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?o = ?e ) }
[]
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 Q43675
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P417 ?q . ?q rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q43675 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?o = ?e ) }
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 Philip the Apostle
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:patron_saint ?q . ?q rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Philip_the_Apostle property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?o = ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q1752346 Q895526 Q12737077
USER
How many occupations were appointed by approximately 1 assemblies and authority organs ?
(c(Q12737077),P748,c(Q1752346)|c(Q895526))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q895526
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?z WHERE { VALUES ( ?h ) { ( ontology:Q895526 ) ( ontology:Q1752346 ) } . ?a rdf:type ?h } GROUP BY ?z } . FILTER ( ?b = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type authority organ
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?z WHERE { VALUES ( ?h ) { ( ontology:authority_organ ) ( ontology:assembly ) } . ?a rdf:type ?h } GROUP BY ?z } . FILTER ( ?b = 1 ) }
[]
assembly authority organ occupation
SYSTEM
41
Q2666591 Q1072417 Q2287650 Q5333410 Q261746 Q1029955 Q642859 Q967762 Q15305714 Q842386 Q19056310 Q890030 Q796593 Q940135 Q2305968 Q7444340 Q2419581 Q25863345 Q2747647 Q13645132 Q636207 Q7574264 Q2003296 Q967750 Q783785 Q1072415 Q3409203 Q327948 Q1763459 Q1591470 Q735015 Q1029968 Q2297543 Q967737 Q1370482 Q6542448 Q2301213 Q1658460 Q628102 Q786242 Q1434880
(c(Q12737077),P748,c(Q1752346)|c(Q895526))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q895526
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?z WHERE { VALUES ( ?h ) { ( ontology:Q895526 ) ( ontology:Q1752346 ) } . ?a rdf:type ?h } GROUP BY ?z } . FILTER ( ?b = 1 ) }
Chair of the Federal Reserve Chief of Staff of the United States Air Force United States Secretary of the Interior Economic Secretary to the Treasury United States Secretary of the Air Force United States Secretary of Agriculture United States Secretary of Homeland Security United States Secretary of Education Prime Minister of Libya Prime Minister of Russia President of Botswana State President of South Africa President of Malta United States Secretary of the Navy United States Secretary of Health and Human Services Secretary of State for Dominion Affairs United States Secretary of Housing and Urban Development Secretary of State for International Trade Secretary of State for Defence Lord Mayor of Dublin United States Attorney General Speaker of the Hellenic Parliament United States Secretary of Commerce United States Secretary of Labor Chief of Staff of the United States Army Chief of Naval Operations President of Greece President of Israel Chairman of the Joint Chiefs of Staff United States Secretary of the Army United States Secretary of Defense United States Secretary of Energy United States Deputy Secretary of Defense United States Secretary of Transportation President of Cuba Librarian of Congress United States Deputy Secretary of State United States Secretary of Veterans Affairs President of Nauru White House Chief of Staff Surgeon General of the United States
41
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type authority organ
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?z WHERE { VALUES ( ?h ) { ( ontology:authority_organ ) ( ontology:assembly ) } . ?a rdf:type ?h } GROUP BY ?z } . FILTER ( ?b = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2522855 Q149315
P19 P27
Q15617994
USER
Which administrative territories are the birthplace of Silverius or are Marjolein Keuning an inhabitant of ?
OR((Q149315,P19,c(Q15617994)), (Q2522855,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q149315
relation P19
action find
entity Q2522855
relation P27
type Q15617994
{'OR': [['Q149315', 'P19', {'concept': 'Q15617994'}], ['Q2522855', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q149315 property:P19 ?c } UNION { resource:Q2522855 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Marjolein Keuning Silverius
action filter_type
action union
action find
entity Silverius
relation place of birth
action find
entity Marjolein Keuning
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Silverius', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Marjolein Keuning', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Silverius property:place_of_birth ?c } UNION { resource:Marjolein_Keuning property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q13413
SYSTEM
Kingdom of the Netherlands, Frosinone
Q29999 Q13413
OR((Q149315,P19,c(Q15617994)), (Q2522855,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q149315
relation P19
action find
entity Q2522855
relation P27
type Q15617994
[ANSWERS] are the birthplace of Silverius or are Marjolein Keuning an inhabitant of
{'OR': [['Q149315', 'P19', {'concept': 'Q15617994'}], ['Q2522855', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q149315 property:P19 ?c } UNION { resource:Q2522855 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Frosinone
Kingdom of the Netherlands and Frosinone are the birthplace of Silverius or are Marjolein Keuning an inhabitant of
Kingdom of the Netherlands Frosinone
action filter_type
action union
action find
entity Silverius
relation place of birth
action find
entity Marjolein Keuning
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Silverius', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Marjolein Keuning', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Silverius property:place_of_birth ?c } UNION { resource:Marjolein_Keuning property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q664
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with lesser number of administrative territories than New Zealand ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?j ) WHERE { ?s rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 . ?s property:P530 ?x } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q664 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } . FILTER ( ?j < ?f ) }
New Zealand
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?j ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?x } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:New_Zealand property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } . FILTER ( ?j < ?f ) }
[]
political territorial entity designation for an administrative territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with lesser number of administrative territories than New Zealand
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?j ) WHERE { ?s rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 . ?s property:P530 ?x } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q664 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } . FILTER ( ?j < ?f ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
Gabon, Grenada and Papua New Guinea have diplomatic relations with lesser number of administrative territories than New Zealand
Gabon Grenada Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?j ) WHERE { ?s rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?x } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:New_Zealand property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } . FILTER ( ?j < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q35
P530
Q1048835 Q15617994
USER
And how about Denmark?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?w < ?m ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q35 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?w ) WHERE { ?u property:P530 ?v . ?u rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?u } }
Denmark
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?w < ?m ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Denmark property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?w ) WHERE { ?u property:diplomatic_relation ?v . ?u rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } }
[]
political territorial entity designation for an administrative territorial entity
Q664 Q1000 Q769
SYSTEM
New Zealand, Gabon, Grenada
Q1000 Q781 Q778 Q769 Q685 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?w < ?m ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q35 property:P530 ?r . ?r rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?w ) WHERE { ?u property:P530 ?v . ?u rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?u } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea New Zealand Jamaica
New Zealand Gabon Grenada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?w < ?m ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Denmark property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?w ) WHERE { ?u property:diplomatic_relation ?v . ?u rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26698110 Q664
P47 P1001
Q1048835
USER
Which political territories are adjacent to New Zealand or apply to jurisdiction of mayor of Masegoso ?
OR((Q664,P47,c(Q1048835)), (Q26698110,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q664
relation P47
action find
entity Q26698110
relation P1001
type Q1048835
{'OR': [['Q664', 'P47', {'concept': 'Q1048835'}], ['Q26698110', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . { { resource:Q664 property:P47 ?i } UNION { resource:Q26698110 property:P1001 ?i } } }
mayor of Masegoso New Zealand
action filter_type
action union
action find
entity New Zealand
relation shares border with
action find
entity mayor of Masegoso
relation applies to jurisdiction
type political territorial entity
{'OR': [['New Zealand', 'shares border with', {'concept': 'political territorial entity'}], ['mayor of Masegoso', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . { { resource:New_Zealand property:shares_border_with ?i } UNION { resource:mayor_of_Masegoso property:applies_to_jurisdiction ?i } } }
[]
political territorial entity
Q408 Q384843
SYSTEM
Australia, Masegoso
Q408 Q384843
OR((Q664,P47,c(Q1048835)), (Q26698110,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q664
relation P47
action find
entity Q26698110
relation P1001
type Q1048835
[ANSWERS] are adjacent to New Zealand or apply to jurisdiction of mayor of Masegoso
{'OR': [['Q664', 'P47', {'concept': 'Q1048835'}], ['Q26698110', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . { { resource:Q664 property:P47 ?i } UNION { resource:Q26698110 property:P1001 ?i } } }
Australia Masegoso
Australia and Masegoso are adjacent to New Zealand or apply to jurisdiction of mayor of Masegoso
Australia Masegoso
action filter_type
action union
action find
entity New Zealand
relation shares border with
action find
entity mayor of Masegoso
relation applies to jurisdiction
type political territorial entity
{'OR': [['New Zealand', 'shares border with', {'concept': 'political territorial entity'}], ['mayor of Masegoso', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . { { resource:New_Zealand property:shares_border_with ?i } UNION { resource:mayor_of_Masegoso property:applies_to_jurisdiction ?i } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
Which political territories do less number of people belong to than that political territory ?
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity common name
Comparative|More/Less|Single entity type|Clarification
Q384843
SYSTEM
Did you mean Masegoso ?
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Did you mean Masegoso ?
Masegoso
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Australia. Could you tell me the answer for that?
(c(Q502895),P27,c(Q1048835))
Q408
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
[]
Q35 Q40 Q5705
SYSTEM
Denmark, Austria, Catalonia
Q635755 Q668384 Q1000 Q193714 Q1747689 Q746558 Q838261 Q785 Q193619 Q691 Q769 Q685 Q699964 Q763 Q1232887 Q664 Q766 Q22880 Q170361 Q1054923 Q10557 Q5720 Q505610 Q693551 Q13353 Q494354 Q650489 Q781 Q5705 Q757 Q168159 Q5785 Q35 Q109128 Q3306663 Q190959 Q11266977 Q223793 Q3995 Q130842 Q40 Q18221 Q650682 Q778 Q9676 Q217829 Q100166 Q9648 Q234 Q4040 Q2991382 Q309460 Q129286 Q168651 Q3908 Q9337 Q23635 Q192184 Q25228 Q31747 Q25305 Q79965 Q157070 Q170604
(c(Q502895),P27,c(Q1048835))
[ANSWERS] less number of people belong to than that political territory
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Odieta Medellín Gabon Mandatory Palestine Ancient Rome Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Papua New Guinea Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis County of Savoy New Zealand Jamaica Electoral Palatinate Saar British Hong Kong Swabia Valencian Country Flintshire Landgraviate of Hesse-Darmstadt Montserrat Kara-Khanid Khanate Margraviate of Baden Antigua and Barbuda Catalonia Saint Vincent and the Grenadines Anglesey Cayman Islands Denmark Gwynedd Merthyr Tydfil County Borough Transvaal Epirus Kingdom of Etruria Basque Country Greater Lebanon Austria Turks and Caicos Islands Denbighshire The Bahamas Isle of Man Ceredigion Orkney Islands Falkland Islands Flemish Region Aragon County of Provence County of Hainaut British Raj Landgraviate of Hesse-Kassel Galicia Flemish Region Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands Golden Horde County of Flanders New France
Denmark, Austria and Catalonia less number of people belong to than that political territory
Denmark Austria Catalonia
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q35
P361
Q2221906
USER
Which geographic locations are that political territory a portion of ?
(Q35,P361,c(Q2221906))
action filter_type
action find
entity Q35
relation P361
type Q2221906
['Q35', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2221906 . resource:Q35 property:P361 ?s }
Denmark
action filter_type
action find
entity Denmark
relation part of
type geographic location
['Denmark', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:geographic_location . resource:Denmark property:part_of ?s }
[]
geographic location
Clarification for simple ques.
Q40
SYSTEM
Did you mean Austria ?
Q35 Q40 Q5705
(Q35,P361,c(Q2221906)) (Q40,P361,c(Q2221906)) (Q5705,P361,c(Q2221906))
[ANSWER]
['Q35', 'P361', {'concept': 'Q2221906'}] ['Q40', 'P361', {'concept': 'Q2221906'}] ['Q5705', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2221906 . resource:Q35 property:P361 ?s }
Denmark Austria Catalonia
Did you mean Austria ?
Austria
['Denmark', 'part of', {'concept': 'geographic location'}] ['Austria', 'part of', {'concept': 'geographic location'}] ['Catalonia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:geographic_location . resource:Denmark property:part_of ?s }
[]
Simple Question (Coreferenced)
USER
No, I meant Denmark. Could you tell me the answer for that?
(Q35,P361,c(Q2221906))
Q35
['Q35', 'P361', {'concept': 'Q2221906'}]
['Denmark', 'part of', {'concept': 'geographic location'}]
[]
Q46 Q21195
SYSTEM
Europe, Scandinavia
Q46 Q21195
(Q35,P361,c(Q2221906))
action filter_type
action find
entity Q35
relation P361
type Q2221906
[ANSWERS] are that political territory a portion of
['Q35', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2221906 . resource:Q35 property:P361 ?s }
Europe Scandinavia
Europe and Scandinavia are that political territory a portion of
Europe Scandinavia
action filter_type
action find
entity Denmark
relation part of
type geographic location
['Denmark', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:geographic_location . resource:Denmark property:part_of ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21195
P17
Q15617994
USER
Which administrative territories are that geographic location located in ?
(Q21195,P17,c(Q15617994))
action filter_type
action find
entity Q21195
relation P17
type Q15617994
['Q21195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q21195 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Scandinavia
action filter_type
action find
entity Scandinavia
relation country
type designation for an administrative territorial entity
['Scandinavia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Scandinavia property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q21195
SYSTEM
Did you mean Scandinavia ?
Q46 Q21195
(Q46,P17,c(Q15617994)) (Q21195,P17,c(Q15617994))
[ANSWER]
['Q46', 'P17', {'concept': 'Q15617994'}] ['Q21195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q21195 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Europe Scandinavia
Did you mean Scandinavia ?
Scandinavia
['Europe', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Scandinavia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Scandinavia property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21195,P17,c(Q15617994))
['Q21195', 'P17', {'concept': 'Q15617994'}]
['Scandinavia', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q20 Q34
SYSTEM
Norway, Sweden
Q20 Q34
(Q21195,P17,c(Q15617994))
action filter_type
action find
entity Q21195
relation P17
type Q15617994
That geographic location are located in [ANSWERS]
['Q21195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q21195 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Norway Sweden
That geographic location are located in Norway and Sweden
Norway Sweden
action filter_type
action find
entity Scandinavia
relation country
type designation for an administrative territorial entity
['Scandinavia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Scandinavia property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]