Simple Question (Direct)
Simple Question
Q94653
P102
Q7210356
USER
Which party does Joseph Unger belong to ?
(Q94653,P102,c(Q7210356))
action filter_type
action find
entity Q94653
relation P102
type Q7210356
['Q94653', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7210356 . resource:Q94653 property:P102 ?i }
Joseph Unger
action filter_type
action find
entity Joseph Unger
relation member of political party
type political organization
['Joseph Unger', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_organization . resource:Joseph_Unger property:member_of_political_party ?i }
[]
political organization
Q379922
SYSTEM
Constitutional Party
Q379922
(Q94653,P102,c(Q7210356))
action filter_type
action find
entity Q94653
relation P102
type Q7210356
Joseph Unger belongs to [ANSWER]
['Q94653', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7210356 . resource:Q94653 property:P102 ?i }
Constitutional Party
Joseph Unger belongs to Constitutional Party
Constitutional Party
action filter_type
action find
entity Joseph Unger
relation member of political party
type political organization
['Joseph Unger', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_organization . resource:Joseph_Unger property:member_of_political_party ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q94653
P39
Q12737077
USER
Which occupation was a position held by Joseph Unger ?
(Q94653,P39,c(Q12737077))
action filter_type
action find
entity Q94653
relation P39
type Q12737077
['Q94653', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q94653 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Joseph Unger
action filter_type
action find
entity Joseph Unger
relation position held
type occupation
['Joseph Unger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Joseph_Unger property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q18821575
SYSTEM
Member of the Landtag of Lower Austria
Q18821575
(Q94653,P39,c(Q12737077))
action filter_type
action find
entity Q94653
relation P39
type Q12737077
The [ANSWER] was a position held by Joseph Unger
['Q94653', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q94653 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Member of the Landtag of Lower Austria
The Member of the Landtag of Lower Austria was a position held by Joseph Unger
Member of the Landtag of Lower Austria
action filter_type
action find
entity Joseph Unger
relation position held
type occupation
['Joseph Unger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Joseph_Unger property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q94653
P21
Q290
USER
Which sex does that person belong to ?
(Q18821575,P21,c(Q290))
action filter_type
action find
entity Q94653
relation P21
type Q290
['Q18821575', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q94653 property:P21 ?f }
Joseph Unger
action filter_type
action find
entity Joseph Unger
relation gender
type sex
['Member of the Landtag of Lower Austria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Joseph_Unger property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18821575,P21,c(Q290))
action filter_type
action find
entity Q94653
relation P21
type Q290
That person belongs to [ANSWER]
['Q18821575', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q94653 property:P21 ?f }
male
That person belongs to male
male
action filter_type
action find
entity Joseph Unger
relation gender
type sex
['Member of the Landtag of Lower Austria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Joseph_Unger property:gender ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes do around the same number of people belong to as that sex ?
(c(Q502895),P21,c(Q290))
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?g ) WHERE { ?c rdf:type ontology:Q290 . ?o rdf:type ontology:Q502895 . ?o property:P21 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q6581097 property:P21 ?r . ?r rdf:type ontology:Q290 } } . FILTER ( ?g = ?p ) }
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?g ) WHERE { ?c rdf:type ontology:sex . ?o rdf:type ontology:common_name . ?o property:gender ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:male property:gender ?r . ?r rdf:type ontology:sex } } . FILTER ( ?g = ?p ) }
[]
sex common name
Q6581097
SYSTEM
male
Q6581097
(c(Q502895),P21,c(Q290))
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[ANSWER] around the same number of people belong to as that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?g ) WHERE { ?c rdf:type ontology:Q290 . ?o rdf:type ontology:Q502895 . ?o property:P21 ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q6581097 property:P21 ?r . ?r rdf:type ontology:Q290 } } . FILTER ( ?g = ?p ) }
male
Male around the same number of people belong to as that sex
male
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?g ) WHERE { ?c rdf:type ontology:sex . ?o rdf:type ontology:common_name . ?o property:gender ?c } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:male property:gender ?r . ?r rdf:type ontology:sex } } . FILTER ( ?g = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q351635
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of around the same number of occupations as Stanislaus of Szczepanów ?
(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 Q351635
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P417 ?c . ?t rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Q351635 property:P417 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?f = ?n ) }
Stanislaus of Szczepanów
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 Stanislaus of Szczepanów
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:patron_saint ?c . ?t rdf:type ontology:occupation . ?c rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Stanislaus_of_Szczepanów property:patron_saint ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?f = ?n ) }
[]
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 Q351635
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P417 ?c . ?t rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Q351635 property:P417 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?f = ?n ) }
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 Stanislaus of Szczepanów
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:patron_saint ?c . ?t rdf:type ontology:occupation . ?c rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Stanislaus_of_Szczepanów property:patron_saint ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?f = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q158504
P417
Q502895 Q12737077
USER
And what about Clement of Ohrid?
(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 Q158504
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P417 ?e . ?m rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q158504 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?f = ?z ) }
Clement of Ohrid
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 Clement of Ohrid
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:patron_saint ?e . ?m rdf:type ontology:occupation . ?e rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Clement_of_Ohrid property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?f = ?z ) }
[]
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 Q158504
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P417 ?e . ?m rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q158504 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?f = ?z ) }
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 Clement of Ohrid
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:patron_saint ?e . ?m rdf:type ontology:occupation . ?e rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Clement_of_Ohrid property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?f = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18821575
P361
Q320501
USER
What is Member of the Landtag of Lower Austria a component of ?
(Q18821575,P361,c(Q320501))
action filter_type
action find
entity Q18821575
relation P361
type Q320501
['Q18821575', 'P361', {'concept': 'Q320501'}]
SELECT DISTINCT ?e WHERE { resource:Q18821575 property:P361 ?e . ?e rdf:type ontology:Q320501 }
Member of the Landtag of Lower Austria
action filter_type
action find
entity Member of the Landtag of Lower Austria
relation part of
type Landtag
['Member of the Landtag of Lower Austria', 'part of', {'concept': 'Landtag'}]
SELECT DISTINCT ?e WHERE { resource:Member_of_the_Landtag_of_Lower_Austria property:part_of ?e . ?e rdf:type ontology:Landtag }
[]
Landtag
Q1803965
SYSTEM
Landtag of Lower Austria
Q1803965
(Q18821575,P361,c(Q320501))
action filter_type
action find
entity Q18821575
relation P361
type Q320501
Member of the [ANSWER] a component of is the [ANSWER]
['Q18821575', 'P361', {'concept': 'Q320501'}]
SELECT DISTINCT ?e WHERE { resource:Q18821575 property:P361 ?e . ?e rdf:type ontology:Q320501 }
Landtag of Lower Austria
Member of the Landtag of Lower Austria a component of is the Landtag of Lower Austria
Landtag of Lower Austria
action filter_type
action find
entity Member of the Landtag of Lower Austria
relation part of
type Landtag
['Member of the Landtag of Lower Austria', 'part of', {'concept': 'Landtag'}]
SELECT DISTINCT ?e WHERE { resource:Member_of_the_Landtag_of_Lower_Austria property:part_of ?e . ?e rdf:type ontology:Landtag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18821575
P17
Q1048835
USER
Which political territory is that occupation situated in ?
(Q1803965,P17,c(Q1048835))
action filter_type
action find
entity Q18821575
relation P17
type Q1048835
['Q1803965', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q18821575 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Member of the Landtag of Lower Austria
action filter_type
action find
entity Member of the Landtag of Lower Austria
relation country
type political territorial entity
['Landtag of Lower Austria', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_the_Landtag_of_Lower_Austria property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1803965,P17,c(Q1048835))
action filter_type
action find
entity Q18821575
relation P17
type Q1048835
That occupation is situated in [ANSWER]
['Q1803965', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q18821575 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Austria
That occupation is situated in Austria
Austria
action filter_type
action find
entity Member of the Landtag of Lower Austria
relation country
type political territorial entity
['Landtag of Lower Austria', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_the_Landtag_of_Lower_Austria property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
How many political territories are around the same number of people an inhabitant of as that political territory ?
(c(Q502895),P27,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find
entity Q40
relation P27
type Q1048835
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P27 ?b . ?b rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q40 property:P27 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?m = ?q ) }
action count
action approx
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find
entity Austria
relation country of citizenship
type political territorial entity
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Austria property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?m = ?q ) }
[]
political territorial entity common name
SYSTEM
5
Q664 Q16 Q35 Q40 Q408
(c(Q502895),P27,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find
entity Q40
relation P27
type Q1048835
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P27 ?b . ?b rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q40 property:P27 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?m = ?q ) }
New Zealand Canada Denmark Austria Australia
5
action count
action approx
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find
entity Austria
relation country of citizenship
type political territorial entity
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Austria property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?m = ?q ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P194
Q11204
USER
Which legislature is the legislative body for that political territory ?
action filter_type
action find
entity Q40
relation P194
type Q11204
SELECT DISTINCT ?k WHERE { resource:Q40 property:P194 ?k . ?k rdf:type ontology:Q11204 }
Austria
action filter_type
action find
entity Austria
relation legislative body
type legislature
SELECT DISTINCT ?k WHERE { resource:Austria property:legislative_body ?k . ?k rdf:type ontology:legislature }
[]
legislature
Q4817650
SYSTEM
Austrian Parliament
Q4817650
action filter_type
action find
entity Q40
relation P194
type Q11204
The [ANSWER] is the legislative body for that political territory
SELECT DISTINCT ?k WHERE { resource:Q40 property:P194 ?k . ?k rdf:type ontology:Q11204 }
Austrian Parliament
The Austrian Parliament is the legislative body for that political territory
Austrian Parliament
action filter_type
action find
entity Austria
relation legislative body
type legislature
SELECT DISTINCT ?k WHERE { resource:Austria property:legislative_body ?k . ?k rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4817650
P121
Q8513
USER
Which database is operated by that legislature ?
(Q4817650,P121,c(Q8513))
action filter_type
action find
entity Q4817650
relation P121
type Q8513
['Q4817650', 'P121', {'concept': 'Q8513'}]
SELECT DISTINCT ?e WHERE { resource:Q4817650 property:P121 ?e . ?e rdf:type ontology:Q8513 }
Austrian Parliament
action filter_type
action find
entity Austrian Parliament
relation item operated
type database
['Austrian Parliament', 'item operated', {'concept': 'database'}]
SELECT DISTINCT ?e WHERE { resource:Austrian_Parliament property:item_operated ?e . ?e rdf:type ontology:database }
[]
database
Q21857797
SYSTEM
Database of personal details
Q21857797
(Q4817650,P121,c(Q8513))
action filter_type
action find
entity Q4817650
relation P121
type Q8513
[ANSWER] is operated by that legislature
['Q4817650', 'P121', {'concept': 'Q8513'}]
SELECT DISTINCT ?e WHERE { resource:Q4817650 property:P121 ?e . ?e rdf:type ontology:Q8513 }
Database of personal details
Database of personal details is operated by that legislature
Database of personal details
action filter_type
action find
entity Austrian Parliament
relation item operated
type database
['Austrian Parliament', 'item operated', {'concept': 'database'}]
SELECT DISTINCT ?e WHERE { resource:Austrian_Parliament property:item_operated ?e . ?e rdf:type ontology:database }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21857797
P137
Q11204
USER
Who operates that database ?
(Q21857797,P137,c(Q11204))
action filter_type
action find
entity Q21857797
relation P137
type Q11204
['Q21857797', 'P137', {'concept': 'Q11204'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q11204 . resource:Q21857797 property:P137 ?h }
Database of personal details
action filter_type
action find
entity Database of personal details
relation operator
type legislature
['Database of personal details', 'operator', {'concept': 'legislature'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:legislature . resource:Database_of_personal_details property:operator ?h }
[]
legislature
Q4817650
SYSTEM
Austrian Parliament
Q4817650
(Q21857797,P137,c(Q11204))
action filter_type
action find
entity Q21857797
relation P137
type Q11204
[ANSWER] operates that database
['Q21857797', 'P137', {'concept': 'Q11204'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q11204 . resource:Q21857797 property:P137 ?h }
Austrian Parliament
Austrian Parliament operates that database
Austrian Parliament
action filter_type
action find
entity Database of personal details
relation operator
type legislature
['Database of personal details', 'operator', {'concept': 'legislature'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:legislature . resource:Database_of_personal_details property:operator ?h }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q1048835 Q2088357 Q15416
USER
Which political territories are the origin of max number of musical ensembles and television programs ?
(c(Q2088357)|c(Q15416),P495,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?g WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15416 ) ( ontology:Q2088357 ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?j WHERE { { ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q2088357 . ?h property:P495 ?j } UNION { ?h property:P495 ?j . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15416 } } GROUP BY ?j } . FILTER ( ?n = ?s ) }
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?g WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:television_program ) ( ontology:musical_ensemble ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?j WHERE { { ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:musical_ensemble . ?h property:country_of_origin ?j } UNION { ?h property:country_of_origin ?j . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:television_program } } GROUP BY ?j } . FILTER ( ?n = ?s ) }
[]
political territorial entity musical ensemble television program
Q16
SYSTEM
Canada
Q16
(c(Q2088357)|c(Q15416),P495,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
[ANSWER] is the origin of max number of musical ensembles and television programs
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?g WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15416 ) ( ontology:Q2088357 ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?j WHERE { { ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q2088357 . ?h property:P495 ?j } UNION { ?h property:P495 ?j . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15416 } } GROUP BY ?j } . FILTER ( ?n = ?s ) }
Canada
Canada is the origin of max number of musical ensembles and television programs
Canada
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?g WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:television_program ) ( ontology:musical_ensemble ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?j WHERE { { ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:musical_ensemble . ?h property:country_of_origin ?j } UNION { ?h property:country_of_origin ?j . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:television_program } } GROUP BY ?j } . FILTER ( ?n = ?s ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P36
Q56061
USER
Which administrative territory is called the capital of that political territory ?
(Q16,P36,c(Q56061))
action filter_type
action find
entity Q16
relation P36
type Q56061
['Q16', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q16 property:P36 ?w }
Canada
action filter_type
action find
entity Canada
relation capital
type administrative territorial entity
['Canada', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Canada property:capital ?w }
[]
administrative territorial entity
Q1930
SYSTEM
Ottawa
Q1930
(Q16,P36,c(Q56061))
action filter_type
action find
entity Q16
relation P36
type Q56061
[ANSWER] is called the capital of that political territory
['Q16', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q16 property:P36 ?w }
Ottawa
Ottawa is called the capital of that political territory
Ottawa
action filter_type
action find
entity Canada
relation capital
type administrative territorial entity
['Canada', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Canada property:capital ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1931811 Q16
P36
Q56061
USER
Or Mid Suffolk?
OR((Q16,P36,c(Q56061)), (Q1931811,P36,c(Q56061)))
action filter_type
action union
action find
entity Q16
relation P36
action find
entity Q1931811
relation P36
type Q56061
{'OR': [['Q16', 'P36', {'concept': 'Q56061'}], ['Q1931811', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . { { resource:Q16 property:P36 ?o } UNION { resource:Q1931811 property:P36 ?o } } }
Mid Suffolk Canada
action filter_type
action union
action find
entity Canada
relation capital
action find
entity Mid Suffolk
relation capital
type administrative territorial entity
{'OR': [['Canada', 'capital', {'concept': 'administrative territorial entity'}], ['Mid Suffolk', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . { { resource:Canada property:capital ?o } UNION { resource:Mid_Suffolk property:capital ?o } } }
[]
administrative territorial entity
Q1930 Q2321381
SYSTEM
Ottawa, Needham Market
Q1930 Q2321381
OR((Q16,P36,c(Q56061)), (Q1931811,P36,c(Q56061)))
action filter_type
action union
action find
entity Q16
relation P36
action find
entity Q1931811
relation P36
type Q56061
[ANSWERS]
{'OR': [['Q16', 'P36', {'concept': 'Q56061'}], ['Q1931811', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . { { resource:Q16 property:P36 ?o } UNION { resource:Q1931811 property:P36 ?o } } }
Ottawa Needham Market
Ottawa Needham Market
action filter_type
action union
action find
entity Canada
relation capital
action find
entity Mid Suffolk
relation capital
type administrative territorial entity
{'OR': [['Canada', 'capital', {'concept': 'administrative territorial entity'}], ['Mid Suffolk', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . { { resource:Canada property:capital ?o } UNION { resource:Mid_Suffolk property:capital ?o } } }
[]