Simple Question (Direct)
Simple Question
Q2384476
P20
Q515
USER
Which city is the place of death of Volodymyr Sabodan ?
(Q2384476,P20,c(Q515))
action filter_type
action find
entity Q2384476
relation P20
type Q515
['Q2384476', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q2384476 property:P20 ?b . ?b rdf:type ontology:Q515 }
Volodymyr Sabodan
action filter_type
action find
entity Volodymyr Sabodan
relation place of death
type city
['Volodymyr Sabodan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Volodymyr_Sabodan property:place_of_death ?b . ?b rdf:type ontology:city }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
(Q2384476,P20,c(Q515))
action filter_type
action find
entity Q2384476
relation P20
type Q515
[ANSWER]
['Q2384476', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q2384476 property:P20 ?b . ?b rdf:type ontology:Q515 }
Kyiv
Kyiv
action filter_type
action find
entity Volodymyr Sabodan
relation place of death
type city
['Volodymyr Sabodan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Volodymyr_Sabodan property:place_of_death ?b . ?b rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2384476
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q1899,P106,c(Q12737077))
action filter_type
action find
entity Q2384476
relation P106
type Q12737077
['Q1899', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q2384476 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Volodymyr Sabodan
action filter_type
action find
entity Volodymyr Sabodan
relation occupation
type occupation
['Kyiv', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Volodymyr_Sabodan property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q42603
SYSTEM
priest
Q42603
(Q1899,P106,c(Q12737077))
action filter_type
action find
entity Q2384476
relation P106
type Q12737077
[ANSWER]
['Q1899', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q2384476 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
priest
priest
action filter_type
action find
entity Volodymyr Sabodan
relation occupation
type occupation
['Kyiv', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Volodymyr_Sabodan property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1899 Q751907
P1376
Q15617994
USER
How many administrative territories have Kyiv or Heian-kyō as their capital ?
(Q1899,P1376,c(Q15617994)) (Q751907,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1899
relation P1376
type Q15617994
action filter_type
action find
entity Q751907
relation P1376
type Q15617994
['Q1899', 'P1376', {'concept': 'Q15617994'}] ['Q751907', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?e ) { ( resource:Q1899 ) ( resource:Q751907 ) } . ?e property:P1376 ?f }
Kyiv Heian-kyō
action count
action union
action filter_type
action find
entity Kyiv
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Heian-kyō
relation capital of
type designation for an administrative territorial entity
['Kyiv', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Heian-kyō', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?e ) { ( resource:Kyiv ) ( resource:Heian-kyō ) } . ?e property:capital_of ?f }
[]
designation for an administrative territorial entity
SYSTEM
2
Q212 Q17
(Q1899,P1376,c(Q15617994)) (Q751907,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1899
relation P1376
type Q15617994
action filter_type
action find
entity Q751907
relation P1376
type Q15617994
[ANSWER]
['Q1899', 'P1376', {'concept': 'Q15617994'}] ['Q751907', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?e ) { ( resource:Q1899 ) ( resource:Q751907 ) } . ?e property:P1376 ?f }
Ukraine Japan
2
action count
action union
action filter_type
action find
entity Kyiv
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Heian-kyō
relation capital of
type designation for an administrative territorial entity
['Kyiv', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Heian-kyō', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?e ) { ( resource:Kyiv ) ( resource:Heian-kyō ) } . ?e property:capital_of ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q744884
P417
Q502895 Q12737077
USER
Which people are the patron saint of lesser number of occupations than Zita ?
(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 Q744884
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P417 ?f . ?f rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P417 resource:Q744884 . ?u rdf:type ontology:Q12737077 } } . FILTER ( ?a < ?q ) }
Zita
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Zita
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:patron_saint ?f . ?f rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:patron_saint resource:Zita . ?u rdf:type ontology:occupation } } . FILTER ( ?a < ?q ) }
[]
common name occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q163900 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 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 Q744884
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P417 ?f . ?f rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P417 resource:Q744884 . ?u rdf:type ontology:Q12737077 } } . FILTER ( ?a < ?q ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Saint Roch 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 Ambrose 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 Saint Francis Xavier 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea 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 Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew 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 Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla 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 Thomas the Apostle 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 John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea 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 Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Zita
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:patron_saint ?f . ?f rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:patron_saint resource:Zita . ?u rdf:type ontology:occupation } } . FILTER ( ?a < ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q80513
P417
Q502895 Q12737077
USER
And how about Saint Cecilia?
(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 Q80513
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P417 ?b . ?b rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P417 resource:Q80513 . ?y rdf:type ontology:Q12737077 } } . FILTER ( ?q < ?f ) }
Saint Cecilia
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Saint Cecilia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:patron_saint ?b . ?b rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:patron_saint resource:Saint_Cecilia . ?y rdf:type ontology:occupation } } . FILTER ( ?q < ?f ) }
[]
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 Q80513
relation P417
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P417 ?b . ?b rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P417 resource:Q80513 . ?y rdf:type ontology:Q12737077 } } . FILTER ( ?q < ?f ) }
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 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 Saint Cecilia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:patron_saint ?b . ?b rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:patron_saint resource:Saint_Cecilia . ?y rdf:type ontology:occupation } } . FILTER ( ?q < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1899
P159
Q7210356 Q781132
USER
How many political organizations and military branches have their head office location at Kyiv ?
(c(Q7210356),P159,Q1899) (c(Q781132),P159,Q1899)
action count
action union
action filter_type
action find_reverse
entity Q1899
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q1899
relation P159
type Q781132
[{'concept': 'Q7210356'}, 'P159', 'Q1899'] [{'concept': 'Q781132'}, 'P159', 'Q1899']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { ?a property:P159 resource:Q1899 . ?a rdf:type ontology:Q781132 } UNION { ?a rdf:type ontology:Q7210356 . ?a property:P159 resource:Q1899 } }
Kyiv
action count
action union
action filter_type
action find_reverse
entity Kyiv
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Kyiv
relation headquarters location
type military branch
[{'concept': 'political organization'}, 'headquarters location', 'Kyiv'] [{'concept': 'military branch'}, 'headquarters location', 'Kyiv']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { ?a property:headquarters_location resource:Kyiv . ?a rdf:type ontology:military_branch } UNION { ?a rdf:type ontology:political_organization . ?a property:headquarters_location resource:Kyiv } }
[]
political organization military branch
SYSTEM
58 political organizations and 1 military branches
Q937266 Q383371 Q974724 Q2330393 Q1629755 Q6450960 Q290441 Q2299546 Q682152 Q4349891 Q2588871 Q922724 Q2617120 Q4088284 Q4430263 Q2104371 Q12142151 Q4260831 Q1083976 Q6947580 Q7878501 Q12100003 Q4430448 Q2636074 Q4430516 Q1519770 Q788180 Q2415479 Q15361249 Q4157651 Q3274568 Q1968659 Q884932 Q2994303 Q7086274 Q1499300 Q2351483 Q8061712 Q4396 Q947126 Q7878493 Q45376 Q1423126 Q4266 Q515003 Q1984877 Q7165502 Q7893743 Q2355317 Q11227474 Q2380317 Q2635662 Q4415027 Q1770215 Q2982576 Q2034609 Q7878407 Q4147532 Q204125
(c(Q7210356),P159,Q1899) (c(Q781132),P159,Q1899)
action count
action union
action filter_type
action find_reverse
entity Q1899
relation P159
type Q7210356
action filter_type
action find_reverse
entity Q1899
relation P159
type Q781132
[ANSWER]
[{'concept': 'Q7210356'}, 'P159', 'Q1899'] [{'concept': 'Q781132'}, 'P159', 'Q1899']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { ?a property:P159 resource:Q1899 . ?a rdf:type ontology:Q781132 } UNION { ?a rdf:type ontology:Q7210356 . ?a property:P159 resource:Q1899 } }
United Centre Yulia Tymoshenko Bloc For United Ukraine For Ukraine! Reforms and Order Party Kyiv Civil Activists Ukrainian Democratic Alliance for Reform Our Ukraine Ukrainian Ground Forces Petro Poroshenko Bloc Front for Change Socialist Party of Ukraine European Party of Ukraine Leonid Chernovetskyi Bloc Social Christian Party PORA New Politics (Ukraine) Liberal Democratic Party of Ukraine Christian Democratic Union Mykola Katerynchuk Bloc Ukrainian Republican Party Democratic Alliance Union Party People's Democratic Party Union of Leftists Congress of Ukrainian Nationalists Our Ukraine–People's Self-Defense Bloc Party of Greens of Ukraine Right Sector Democratic Party of Ukraine Ukrainian Party of Socialist Independists Republican Christian Party Lytvyn Bloc Party of Industrialists and Entrepreneurs of Ukraine Oleksandr Omelchenko Bloc Social Democratic Party of Ukraine People's Movement of Ukraine Yuriy Lutsenko's People's Self-Defense All-Ukrainian Union "Svoboda" Progressive Socialist Party of Ukraine Ukrainian Peasant Democratic Party Batkivshchyna Ukraine – Forward! Party of Regions Ukrainian People's Party Hromada People's Committee to Protect Ukraine Unity Radical Party Justice Party Russian Bloc Motherland Defenders Party Peasant Party of Ukraine Ukrainian Platform "Sobor" Liberal Party of Ukraine Ukrainian National Assembly – Ukrainian National Self Defence Ukraine of the Future Civil Position Bloc of Left and Center-left Forces
58 political organizations and 1 military branches
action count
action union
action filter_type
action find_reverse
entity Kyiv
relation headquarters location
type political organization
action filter_type
action find_reverse
entity Kyiv
relation headquarters location
type military branch
[{'concept': 'political organization'}, 'headquarters location', 'Kyiv'] [{'concept': 'military branch'}, 'headquarters location', 'Kyiv']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { ?a property:headquarters_location resource:Kyiv . ?a rdf:type ontology:military_branch } UNION { ?a rdf:type ontology:political_organization . ?a property:headquarters_location resource:Kyiv } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4233193 Q2384476
P166
Q618779
USER
Which awards were received by Volodymyr Sabodan and Nikolai Kormiltsev ?
AND((Q2384476,P166,c(Q618779)), (Q4233193,P166,c(Q618779)))
action filter_type
action intersection
action find
entity Q2384476
relation P166
action find
entity Q4233193
relation P166
type Q618779
{'AND': [['Q2384476', 'P166', {'concept': 'Q618779'}], ['Q4233193', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?y WHERE { resource:Q2384476 property:P166 ?y . resource:Q4233193 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Nikolai Kormiltsev Volodymyr Sabodan
action filter_type
action intersection
action find
entity Volodymyr Sabodan
relation award received
action find
entity Nikolai Kormiltsev
relation award received
type award
{'AND': [['Volodymyr Sabodan', 'award received', {'concept': 'award'}], ['Nikolai Kormiltsev', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?y WHERE { resource:Volodymyr_Sabodan property:award_received ?y . resource:Nikolai_Kormiltsev property:award_received ?y . ?y rdf:type ontology:award }
[]
award
Q2268261
SYSTEM
Order of Honour
Q2268261
AND((Q2384476,P166,c(Q618779)), (Q4233193,P166,c(Q618779)))
action filter_type
action intersection
action find
entity Q2384476
relation P166
action find
entity Q4233193
relation P166
type Q618779
[ANSWER]
{'AND': [['Q2384476', 'P166', {'concept': 'Q618779'}], ['Q4233193', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?y WHERE { resource:Q2384476 property:P166 ?y . resource:Q4233193 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Order of Honour
Order of Honour
action filter_type
action intersection
action find
entity Volodymyr Sabodan
relation award received
action find
entity Nikolai Kormiltsev
relation award received
type award
{'AND': [['Volodymyr Sabodan', 'award received', {'concept': 'award'}], ['Nikolai Kormiltsev', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?y WHERE { resource:Volodymyr_Sabodan property:award_received ?y . resource:Nikolai_Kormiltsev property:award_received ?y . ?y rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2268261 Q48133
P17
Q15617994
USER
Is that award present in Vigasio ?
(Q2268261,P17,Q48133)
action is_in
entity Q48133
action find
entity Q2268261
relation P17
['Q2268261', 'P17', 'Q48133']
ASK WHERE { resource:Q2268261 property:P17 resource:Q48133 }
Order of Honour Vigasio
action is_in
entity Vigasio
action find
entity Order of Honour
relation country
['Order of Honour', 'country', 'Vigasio']
ASK WHERE { resource:Order_of_Honour property:country resource:Vigasio }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2268261,P17,Q48133)
action is_in
entity Q48133
action find
entity Q2268261
relation P17
[ANSWER]
['Q2268261', 'P17', 'Q48133']
ASK WHERE { resource:Q2268261 property:P17 resource:Q48133 }
No
action is_in
entity Vigasio
action find
entity Order of Honour
relation country
['Order of Honour', 'country', 'Vigasio']
ASK WHERE { resource:Order_of_Honour property:country resource:Vigasio }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P35
Q1048835
USER
Which political territories are Elizabeth II the head of state of ?
(c(Q1048835),P35,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P35
type Q1048835
[{'concept': 'Q1048835'}, 'P35', 'Q9682']
SELECT DISTINCT ?o WHERE { ?o property:P35 resource:Q9682 . ?o rdf:type ontology:Q1048835 }
Elizabeth II
action filter_type
action find_reverse
entity Elizabeth II
relation head of state
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of state', 'Elizabeth II']
SELECT DISTINCT ?o WHERE { ?o property:head_of_state resource:Elizabeth_II . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16 Q664
SYSTEM
Australia, Canada, New Zealand
Q18221 Q9648 Q769 Q778 Q785 Q16 Q408 Q685 Q781 Q691 Q757 Q763 Q664 Q766 Q9676
(c(Q1048835),P35,Q9682)
action filter_type
action find_reverse
entity Q9682
relation P35
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P35', 'Q9682']
SELECT DISTINCT ?o WHERE { ?o property:P35 resource:Q9682 . ?o rdf:type ontology:Q1048835 }
Turks and Caicos Islands Falkland Islands Grenada The Bahamas Jersey Canada Australia Solomon Islands Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Saint Kitts and Nevis New Zealand Jamaica Isle of Man
Australia Canada New Zealand
action filter_type
action find_reverse
entity Elizabeth II
relation head of state
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of state', 'Elizabeth II']
SELECT DISTINCT ?o WHERE { ?o property:head_of_state resource:Elizabeth_II . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q408 Q16 Q664
P1532
Q502895
USER
Which people play for those political territories ?
(c(Q502895),P1532,Q408) (c(Q502895),P1532,Q16) (c(Q502895),P1532,Q664)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q408'] [{'concept': 'Q502895'}, 'P1532', 'Q16'] [{'concept': 'Q502895'}, 'P1532', 'Q664']
SELECT DISTINCT ?f WHERE { ?f property:P1532 ?j . VALUES ( ?j ) { ( resource:Q18221 ) ( resource:Q9648 ) ( resource:Q769 ) } . ?f rdf:type ontology:Q502895 }
Australia Canada New Zealand
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Australia'] [{'concept': 'common name'}, 'country for sport', 'Canada'] [{'concept': 'common name'}, 'country for sport', 'New Zealand']
SELECT DISTINCT ?f WHERE { ?f property:country_for_sport ?j . VALUES ( ?j ) { ( resource:Turks_and_Caicos_Islands ) ( resource:Falkland_Islands ) ( resource:Grenada ) } . ?f rdf:type ontology:common_name }
[]
common name
Q22669100 Q21858369 Q21777839
SYSTEM
Yvonne Saunders, Donalda Duprey, Robyn Meagher
Q22002433 Q26464637 Q26458209 Q23585219 Q20730516 Q6451041 Q26111349 Q23833732 Q23714540 Q23418594 Q7027756 Q26218001 Q21207539 Q952636 Q23799855 Q23419252 Q23419269 Q21620679 Q21777839 Q22083626 Q22669100 Q21858406 Q21858000 Q3011484 Q23771112 Q22666018 Q21858369 Q21593062 Q21858382 Q22095892 Q25915753 Q20313225 Q23316755 Q22978771 Q20312729 Q20354781 Q9334690 Q18011042
(c(Q502895),P1532,Q408) (c(Q502895),P1532,Q16) (c(Q502895),P1532,Q664)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1532', 'Q408'] [{'concept': 'Q502895'}, 'P1532', 'Q16'] [{'concept': 'Q502895'}, 'P1532', 'Q664']
SELECT DISTINCT ?f WHERE { ?f property:P1532 ?j . VALUES ( ?j ) { ( resource:Q18221 ) ( resource:Q9648 ) ( resource:Q769 ) } . ?f rdf:type ontology:Q502895 }
Nicholas Hudson Sharon Stewart Luke Mathews Jack Downey Joshua Clarke Kyle Anderson Rhydian Cowley Sue Cook Sue Hobson Chelsea Jaensch Nick Porzig Jenny Laurendet Jessica Thornton Simon Whitlock Georgia Ellenwood Philip Osei Gabriela Stafford Kelsie Ahbe Robyn Meagher Peter Ogilvie Yvonne Saunders Monte Raymond Adrian Woodley D.T.H. van der Merwe Laurie Kern Robert Gray Donalda Duprey Breanna Leslie Tim Kroeker Paula Schnurr Brandon McBride Taisto Heinonen Mobolade Ajomale Alison Wiley Shane Murland David Parkes Sean O'Neill Eliza McCartney
Yvonne Saunders Donalda Duprey Robyn Meagher
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Australia'] [{'concept': 'common name'}, 'country for sport', 'Canada'] [{'concept': 'common name'}, 'country for sport', 'New Zealand']
SELECT DISTINCT ?f WHERE { ?f property:country_for_sport ?j . VALUES ( ?j ) { ( resource:Turks_and_Caicos_Islands ) ( resource:Falkland_Islands ) ( resource:Grenada ) } . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22669100 Q21858369 Q21777839
P1532
Q1048835
USER
Which political territories are represented by Yvonne Saunders, Donalda Duprey and Robyn Meagher ?
(Q22669100,P1532,c(Q1048835)) (Q21858369,P1532,c(Q1048835)) (Q21777839,P1532,c(Q1048835))
action union
action filter_type
action find
entity Q22669100
relation P1532
type Q1048835
action filter_type
action find
entity Q21858369
relation P1532
type Q1048835
action filter_type
action find
entity Q21777839
relation P1532
type Q1048835
['Q22669100', 'P1532', {'concept': 'Q1048835'}] ['Q21858369', 'P1532', {'concept': 'Q1048835'}] ['Q21777839', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q1048835 . resource:Q22669100 property:P1532 ?i } UNION { resource:Q21858369 property:P1532 ?i . ?i rdf:type ontology:Q1048835 } }
Yvonne Saunders Donalda Duprey Robyn Meagher
action union
action filter_type
action find
entity Yvonne Saunders
relation country for sport
type political territorial entity
action filter_type
action find
entity Donalda Duprey
relation country for sport
type political territorial entity
action filter_type
action find
entity Robyn Meagher
relation country for sport
type political territorial entity
['Yvonne Saunders', 'country for sport', {'concept': 'political territorial entity'}] ['Donalda Duprey', 'country for sport', {'concept': 'political territorial entity'}] ['Robyn Meagher', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:political_territorial_entity . resource:Yvonne_Saunders property:country_for_sport ?i } UNION { resource:Donalda_Duprey property:country_for_sport ?i . ?i rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q16 Q16 Q16
SYSTEM
Canada
Q16 Q766 Q16 Q16
(Q22669100,P1532,c(Q1048835)) (Q21858369,P1532,c(Q1048835)) (Q21777839,P1532,c(Q1048835))
action union
action filter_type
action find
entity Q22669100
relation P1532
type Q1048835
action filter_type
action find
entity Q21858369
relation P1532
type Q1048835
action filter_type
action find
entity Q21777839
relation P1532
type Q1048835
[ANSWER]
['Q22669100', 'P1532', {'concept': 'Q1048835'}] ['Q21858369', 'P1532', {'concept': 'Q1048835'}] ['Q21777839', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q1048835 . resource:Q22669100 property:P1532 ?i } UNION { resource:Q21858369 property:P1532 ?i . ?i rdf:type ontology:Q1048835 } }
Canada Jamaica Canada Canada
Canada Canada Canada
action union
action filter_type
action find
entity Yvonne Saunders
relation country for sport
type political territorial entity
action filter_type
action find
entity Donalda Duprey
relation country for sport
type political territorial entity
action filter_type
action find
entity Robyn Meagher
relation country for sport
type political territorial entity
['Yvonne Saunders', 'country for sport', {'concept': 'political territorial entity'}] ['Donalda Duprey', 'country for sport', {'concept': 'political territorial entity'}] ['Robyn Meagher', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:political_territorial_entity . resource:Yvonne_Saunders property:country_for_sport ?i } UNION { resource:Donalda_Duprey property:country_for_sport ?i . ?i rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22669100
P495
Q1048835
USER
What is the origin of Yvonne Saunders?
(Q16,P495,c(Q1048835)) (Q16,P495,c(Q1048835)) (Q16,P495,c(Q1048835))
action filter_type
action find
entity Q22669100
relation P495
type Q1048835
['Q16', 'P495', {'concept': 'Q1048835'}] ['Q16', 'P495', {'concept': 'Q1048835'}] ['Q16', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q22669100 property:P495 ?t . ?t rdf:type ontology:Q1048835 }
Yvonne Saunders
action filter_type
action find
entity Yvonne Saunders
relation country of origin
type political territorial entity
['Canada', 'country of origin', {'concept': 'political territorial entity'}] ['Canada', 'country of origin', {'concept': 'political territorial entity'}] ['Canada', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Yvonne_Saunders property:country_of_origin ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q766
SYSTEM
Jamaica
Q766
(Q16,P495,c(Q1048835)) (Q16,P495,c(Q1048835)) (Q16,P495,c(Q1048835))
action filter_type
action find
entity Q22669100
relation P495
type Q1048835
[ANSWER]
['Q16', 'P495', {'concept': 'Q1048835'}] ['Q16', 'P495', {'concept': 'Q1048835'}] ['Q16', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q22669100 property:P495 ?t . ?t rdf:type ontology:Q1048835 }
Jamaica
Jamaica
action filter_type
action find
entity Yvonne Saunders
relation country of origin
type political territorial entity
['Canada', 'country of origin', {'concept': 'political territorial entity'}] ['Canada', 'country of origin', {'concept': 'political territorial entity'}] ['Canada', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Yvonne_Saunders property:country_of_origin ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P85
Q484692 Q1048835
USER
Which political territories have more number of hymns as their national anthem than that political territory ?
(c(Q1048835),P85,c(Q484692))
action greater
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action count
action filter_type
action find
entity Q766
relation P85
type Q1048835
[{'concept': 'Q1048835'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?e ) WHERE { ?c property:P85 ?n . ?c rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q484692 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q766 property:P85 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?e > ?z ) }
action greater
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action count
action filter_type
action find
entity Jamaica
relation anthem
type political territorial entity
[{'concept': 'political territorial entity'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?e ) WHERE { ?c property:anthem ?n . ?c rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:hymn } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Jamaica property:anthem ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?e > ?z ) }
[]
hymn political territorial entity
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q1000 Q601252 Q769 Q685 Q202023 Q763 Q664 Q766 Q9676 Q5705 Q16 Q35 Q5783 Q691 Q234 Q35672 Q40 Q408 Q31747
(c(Q1048835),P85,c(Q484692))
action greater
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action count
action filter_type
action find
entity Q766
relation P85
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?e ) WHERE { ?c property:P85 ?n . ?c rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q484692 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q766 property:P85 ?o . ?o rdf:type ontology:Q1048835 } } . FILTER ( ?e > ?z ) }
Gabon Banovina of Croatia Grenada Solomon Islands Herm Saint Kitts and Nevis New Zealand Jamaica Isle of Man Catalonia Canada Denmark Andalusia Papua New Guinea Flemish Region Pitcairn Islands Austria Australia Irish Free State
Australia Denmark Canada
action greater
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action count
action filter_type
action find
entity Jamaica
relation anthem
type political territorial entity
[{'concept': 'political territorial entity'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?e ) WHERE { ?c property:anthem ?n . ?c rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:hymn } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Jamaica property:anthem ?o . ?o rdf:type ontology:political_territorial_entity } } . FILTER ( ?e > ?z ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3630232
P17
Q334166
USER
Are Tamil Nadu Express located in those political territories ?
(Q3630232,P17,Q408) (Q3630232,P17,Q35) (Q3630232,P17,Q16)
action is_in
entity prev_answer
action find
entity Q3630232
relation P17
['Q3630232', 'P17', 'Q408'] ['Q3630232', 'P17', 'Q35'] ['Q3630232', 'P17', 'Q16']
ASK WHERE { resource:Q3630232 property:P17 ?a . VALUES ( ?a ) { ( resource:Q1000 ) ( resource:Q601252 ) ( resource:Q769 ) } }
Tamil Nadu Express
action is_in
entity prev_answer
action find
entity Tamil Nadu Express
relation country
['Tamil Nadu Express', 'country', 'Australia'] ['Tamil Nadu Express', 'country', 'Denmark'] ['Tamil Nadu Express', 'country', 'Canada']
ASK WHERE { resource:Tamil_Nadu_Express property:country ?a . VALUES ( ?a ) { ( resource:Gabon ) ( resource:Banovina_of_Croatia ) ( resource:Grenada ) } }
[]
mode of transport
SYSTEM
NO
(Q3630232,P17,Q408) (Q3630232,P17,Q35) (Q3630232,P17,Q16)
action is_in
entity prev_answer
action find
entity Q3630232
relation P17
[ANSWER]
['Q3630232', 'P17', 'Q408'] ['Q3630232', 'P17', 'Q35'] ['Q3630232', 'P17', 'Q16']
ASK WHERE { resource:Q3630232 property:P17 ?a . VALUES ( ?a ) { ( resource:Q1000 ) ( resource:Q601252 ) ( resource:Q769 ) } }
No
action is_in
entity prev_answer
action find
entity Tamil Nadu Express
relation country
['Tamil Nadu Express', 'country', 'Australia'] ['Tamil Nadu Express', 'country', 'Denmark'] ['Tamil Nadu Express', 'country', 'Canada']
ASK WHERE { resource:Tamil_Nadu_Express property:country ?a . VALUES ( ?a ) { ( resource:Gabon ) ( resource:Banovina_of_Croatia ) ( resource:Grenada ) } }
[]