Simple Question (Direct)
Simple Question
Q279502
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Los Villares ?
(Q279502,P1313,c(Q12737077))
action filter_type
action find
entity Q279502
relation P1313
type Q12737077
['Q279502', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q279502 property:P1313 ?t . ?t rdf:type ontology:Q12737077 }
Los Villares
action filter_type
action find
entity Los Villares
relation office held by head of government
type occupation
['Los Villares', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Los_Villares property:office_held_by_head_of_government ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q26697841
SYSTEM
mayor of Los Villares
Q26697841
(Q279502,P1313,c(Q12737077))
action filter_type
action find
entity Q279502
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Los Villares
['Q279502', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q279502 property:P1313 ?t . ?t rdf:type ontology:Q12737077 }
mayor of Los Villares
The mayor of Los Villares serves as the political office that is fulfilled by the head of the government of Los Villares
mayor of Los Villares
action filter_type
action find
entity Los Villares
relation office held by head of government
type occupation
['Los Villares', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Los_Villares property:office_held_by_head_of_government ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q279502
P1001
Q12737077
USER
Which occupation has jurisdiction over that political territory ?
(c(Q12737077),P1001,Q26697841)
action filter_type
action find_reverse
entity Q279502
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q26697841']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . ?x property:P1001 resource:Q279502 }
Los Villares
action filter_type
action find_reverse
entity Los Villares
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'mayor of Los Villares']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . ?x property:applies_to_jurisdiction resource:Los_Villares }
[]
occupation
Q26697841
SYSTEM
mayor of Los Villares
Q26697841
(c(Q12737077),P1001,Q26697841)
action filter_type
action find_reverse
entity Q279502
relation P1001
type Q12737077
[ANSWER] has jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q26697841']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . ?x property:P1001 resource:Q279502 }
mayor of Los Villares
Mayor of Los Villares has jurisdiction over that political territory
mayor of Los Villares
action filter_type
action find_reverse
entity Los Villares
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'mayor of Los Villares']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . ?x property:applies_to_jurisdiction resource:Los_Villares }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q196653
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of less number of occupations than Saint Veronica ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q196653
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?m ) WHERE { ?l rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 . ?u property:P417 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P417 resource:Q196653 . ?o rdf:type ontology:Q12737077 } } . FILTER ( ?m < ?h ) }
Saint Veronica
action count
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 Veronica
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?m ) WHERE { ?l rdf:type ontology:common_name . ?u rdf:type ontology:occupation . ?u property:patron_saint ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:patron_saint resource:Saint_Veronica . ?o rdf:type ontology:occupation } } . FILTER ( ?m < ?h ) }
[]
common name occupation
SYSTEM
304
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 count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q196653
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?m ) WHERE { ?l rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 . ?u property:P417 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P417 resource:Q196653 . ?o rdf:type ontology:Q12737077 } } . FILTER ( ?m < ?h ) }
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
304
action count
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 Veronica
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?m ) WHERE { ?l rdf:type ontology:common_name . ?u rdf:type ontology:occupation . ?u property:patron_saint ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:patron_saint resource:Saint_Veronica . ?o rdf:type ontology:occupation } } . FILTER ( ?m < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q44015
P417
Q502895 Q12737077
USER
And also tell me about John the Apostle?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q44015
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?z ) WHERE { ?y rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 . ?h property:P417 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P417 resource:Q44015 . ?d rdf:type ontology:Q12737077 } } . FILTER ( ?z < ?r ) }
John the Apostle
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John the Apostle
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?z ) WHERE { ?y rdf:type ontology:common_name . ?h rdf:type ontology:occupation . ?h property:patron_saint ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:patron_saint resource:John_the_Apostle . ?d rdf:type ontology:occupation } } . FILTER ( ?z < ?r ) }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q44015
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?z ) WHERE { ?y rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 . ?h property:P417 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P417 resource:Q44015 . ?d rdf:type ontology:Q12737077 } } . FILTER ( ?z < ?r ) }
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 less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John the Apostle
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?z ) WHERE { ?y rdf:type ontology:common_name . ?h rdf:type ontology:occupation . ?h property:patron_saint ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:patron_saint resource:John_the_Apostle . ?d rdf:type ontology:occupation } } . FILTER ( ?z < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q279502
P19
Q502895
USER
Who were born at Los Villares ?
(c(Q502895),P19,Q279502)
action filter_type
action find_reverse
entity Q279502
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q279502']
SELECT DISTINCT ?o WHERE { ?o property:P19 resource:Q279502 . ?o rdf:type ontology:Q502895 }
Los Villares
action filter_type
action find_reverse
entity Los Villares
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Los Villares']
SELECT DISTINCT ?o WHERE { ?o property:place_of_birth resource:Los_Villares . ?o rdf:type ontology:common_name }
[]
common name
Q5942516 Q328461 Q11022603
SYSTEM
José Martínez Romero, Justo Mullor García, Juan Carlos Abril
Q5942516 Q328461 Q11022603
(c(Q502895),P19,Q279502)
action filter_type
action find_reverse
entity Q279502
relation P19
type Q502895
[ANSWERS] were born at Los Villares
[{'concept': 'Q502895'}, 'P19', 'Q279502']
SELECT DISTINCT ?o WHERE { ?o property:P19 resource:Q279502 . ?o rdf:type ontology:Q502895 }
José Martínez Romero Justo Mullor García Juan Carlos Abril
José Martínez Romero, Justo Mullor García and Juan Carlos Abril were born at Los Villares
José Martínez Romero Justo Mullor García Juan Carlos Abril
action filter_type
action find_reverse
entity Los Villares
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Los Villares']
SELECT DISTINCT ?o WHERE { ?o property:place_of_birth resource:Los_Villares . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5942516 Q328461 Q11022603
P27
Q15617994
USER
Which administrative territories do José Martínez Romero, Justo Mullor García and Juan Carlos Abril belong to ?
(Q5942516,P27,c(Q15617994)) (Q328461,P27,c(Q15617994)) (Q11022603,P27,c(Q15617994))
action union
action filter_type
action find
entity Q5942516
relation P27
type Q15617994
action filter_type
action find
entity Q328461
relation P27
type Q15617994
action filter_type
action find
entity Q11022603
relation P27
type Q15617994
['Q5942516', 'P27', {'concept': 'Q15617994'}] ['Q328461', 'P27', {'concept': 'Q15617994'}] ['Q11022603', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q5942516 property:P27 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q328461 property:P27 ?v . ?v rdf:type ontology:Q15617994 } }
José Martínez Romero Justo Mullor García Juan Carlos Abril
action union
action filter_type
action find
entity José Martínez Romero
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Justo Mullor García
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Juan Carlos Abril
relation country of citizenship
type designation for an administrative territorial entity
['José Martínez Romero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Justo Mullor García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Juan Carlos Abril', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:José_Martínez_Romero property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Justo_Mullor_García property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q29 Q29 Q29
SYSTEM
Spain
Q29 Q29 Q29
(Q5942516,P27,c(Q15617994)) (Q328461,P27,c(Q15617994)) (Q11022603,P27,c(Q15617994))
action union
action filter_type
action find
entity Q5942516
relation P27
type Q15617994
action filter_type
action find
entity Q328461
relation P27
type Q15617994
action filter_type
action find
entity Q11022603
relation P27
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] José Martínez Romero, Justo Mullor García and Juan Carlos Abril belong to
['Q5942516', 'P27', {'concept': 'Q15617994'}] ['Q328461', 'P27', {'concept': 'Q15617994'}] ['Q11022603', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q5942516 property:P27 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q328461 property:P27 ?v . ?v rdf:type ontology:Q15617994 } }
Spain Spain Spain
Spain, Spain and Spain José Martínez Romero, Justo Mullor García and Juan Carlos Abril belong to
Spain Spain Spain
action union
action filter_type
action find
entity José Martínez Romero
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Justo Mullor García
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Juan Carlos Abril
relation country of citizenship
type designation for an administrative territorial entity
['José Martínez Romero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Justo Mullor García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Juan Carlos Abril', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:José_Martínez_Romero property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Justo_Mullor_García property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P30
Q2221906
USER
Where are Spain situated ?
(Q29,P30,c(Q2221906))
action filter_type
action find
entity Q29
relation P30
type Q2221906
['Q29', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q29 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Spain
action filter_type
action find
entity Spain
relation continent
type geographic location
['Spain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Spain property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q15
SYSTEM
Europe, Africa
Q46 Q15
(Q29,P30,c(Q2221906))
action filter_type
action find
entity Q29
relation P30
type Q2221906
Spain are situated in [ANSWERS]
['Q29', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q29 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Europe Africa
Spain are situated in Europe and Africa
Europe Africa
action filter_type
action find
entity Spain
relation continent
type geographic location
['Spain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Spain property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P407
Q1002697
USER
Which periodical literature uses that administrative territory as language ?
(c(Q1002697),P407,Q46) (c(Q1002697),P407,Q15)
action filter_type
action find_reverse
entity Q29
relation P407
type Q1002697
[{'concept': 'Q1002697'}, 'P407', 'Q46'] [{'concept': 'Q1002697'}, 'P407', 'Q15']
SELECT DISTINCT ?x WHERE { ?x property:P407 resource:Q29 . ?x rdf:type ontology:Q1002697 }
Spain
action filter_type
action find_reverse
entity Spain
relation language of work or name
type periodical literature
[{'concept': 'periodical literature'}, 'language of work or name', 'Europe'] [{'concept': 'periodical literature'}, 'language of work or name', 'Africa']
SELECT DISTINCT ?x WHERE { ?x property:language_of_work_or_name resource:Spain . ?x rdf:type ontology:periodical_literature }
[]
periodical literature
Q26206339
SYSTEM
Unidad
Q26206339
(c(Q1002697),P407,Q46) (c(Q1002697),P407,Q15)
action filter_type
action find_reverse
entity Q29
relation P407
type Q1002697
[ANSWER] uses that administrative territory as language
[{'concept': 'Q1002697'}, 'P407', 'Q46'] [{'concept': 'Q1002697'}, 'P407', 'Q15']
SELECT DISTINCT ?x WHERE { ?x property:P407 resource:Q29 . ?x rdf:type ontology:Q1002697 }
Unidad
Unidad uses that administrative territory as language
Unidad
action filter_type
action find_reverse
entity Spain
relation language of work or name
type periodical literature
[{'concept': 'periodical literature'}, 'language of work or name', 'Europe'] [{'concept': 'periodical literature'}, 'language of work or name', 'Africa']
SELECT DISTINCT ?x WHERE { ?x property:language_of_work_or_name resource:Spain . ?x rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P85
Q484692
USER
What is the anthem for Spain ?
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q29 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Spain
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Spain property:anthem ?p . ?p rdf:type ontology:hymn }
[]
hymn
Q130940
SYSTEM
Marcha Real
Q130940
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
The anthem for Spain is the [ANSWER]
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q29 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Marcha Real
The anthem for Spain is the Marcha Real
Marcha Real
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Spain property:anthem ?p . ?p rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P710
Q15275719
USER
Which recurring event was that administrative territory a participant of ?
(c(Q15275719),P710,Q130940)
action filter_type
action find_reverse
entity Q29
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q130940']
SELECT DISTINCT ?c WHERE { ?c property:P710 resource:Q29 . ?c rdf:type ontology:Q15275719 }
Spain
action filter_type
action find_reverse
entity Spain
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Marcha Real']
SELECT DISTINCT ?c WHERE { ?c property:participant resource:Spain . ?c rdf:type ontology:recurring_event }
[]
recurring event
Q207815
SYSTEM
Eurovision Song Contest 1996
Q207815
(c(Q15275719),P710,Q130940)
action filter_type
action find_reverse
entity Q29
relation P710
type Q15275719
[ANSWER] was that administrative territory a participant of
[{'concept': 'Q15275719'}, 'P710', 'Q130940']
SELECT DISTINCT ?c WHERE { ?c property:P710 resource:Q29 . ?c rdf:type ontology:Q15275719 }
Eurovision Song Contest 1996
Eurovision Song Contest 1996 was that administrative territory a participant of
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Spain
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Marcha Real']
SELECT DISTINCT ?c WHERE { ?c property:participant resource:Spain . ?c rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P37
Q34770
USER
Which languages are the official languages of Spain ?
(Q29,P37,c(Q34770))
action filter_type
action find
entity Q29
relation P37
type Q34770
['Q29', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q29 property:P37 ?n }
Spain
action filter_type
action find
entity Spain
relation official language
type language
['Spain', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Spain property:official_language ?n }
[]
language
Q8752 Q1321
SYSTEM
Basque, Spanish
Q8752 Q1321
(Q29,P37,c(Q34770))
action filter_type
action find
entity Q29
relation P37
type Q34770
[ANSWERS] are the official languages of Spain
['Q29', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q29 property:P37 ?n }
Basque Spanish
Basque and Spanish are the official languages of Spain
Basque Spanish
action filter_type
action find
entity Spain
relation official language
type language
['Spain', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Spain property:official_language ?n }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1321
P101
Q502895
USER
Which people have field of work as that language ?
(c(Q502895),P101,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P101 resource:Q1321 }
Spanish
action filter_type
action find_reverse
entity Spanish
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:field_of_work resource:Spanish }
[]
common name
Clarification for simple ques.
Q8752
SYSTEM
Did you mean Basque ?
Q8752 Q1321
(c(Q502895),P101,Q8752) (c(Q502895),P101,Q1321)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q8752'] [{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P101 resource:Q1321 }
Basque Spanish
Did you mean Basque ?
Basque
[{'concept': 'common name'}, 'field of work', 'Basque'] [{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:field_of_work resource:Spanish }
[]
Simple Question (Coreferenced)
USER
No, I meant Spanish. Could you tell me the answer for that?
(c(Q502895),P101,Q1321)
Q1321
[{'concept': 'Q502895'}, 'P101', 'Q1321']
[{'concept': 'common name'}, 'field of work', 'Spanish']
[]
Q21883986 Q6775684 Q7155818
SYSTEM
Josef Forbelský, Martin Hilský, Pavel Šrut
Q19800675 Q16515323 Q7155818 Q6775684 Q21886139 Q21883986 Q11985590 Q12054279 Q10823155 Q12044360 Q17157078
(c(Q502895),P101,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P101
type Q502895
[ANSWERS] have field of work as that language
[{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P101 resource:Q1321 }
Zdeněk Šmíd Blanka Stárková Pavel Šrut Martin Hilský Miloslav Uličný Josef Forbelský Václav Jiřina Simona Binková Anežka Charvátová Pavla Lidmilová Petr Zavadil
Josef Forbelský, Martin Hilský and Pavel Šrut have field of work as that language
Josef Forbelský Martin Hilský Pavel Šrut
action filter_type
action find_reverse
entity Spanish
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:field_of_work resource:Spanish }
[]