Simple Question (Direct)
Simple Question
Q5647662
P344
Q502895
USER
Who is appointed as the cinematographer of Handsome Siblings ?
(Q5647662,P344,c(Q502895))
action filter_type
action find
entity Q5647662
relation P344
type Q502895
['Q5647662', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q5647662 property:P344 ?l }
Handsome Siblings
action filter_type
action find
entity Handsome Siblings
relation director of photography
type common name
['Handsome Siblings', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Handsome_Siblings property:director_of_photography ?l }
[]
common name
Q6202377
SYSTEM
Jingle Ma
Q6202377
(Q5647662,P344,c(Q502895))
action filter_type
action find
entity Q5647662
relation P344
type Q502895
[ANSWER] is appointed as the cinematographer of Handsome Siblings
['Q5647662', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q5647662 property:P344 ?l }
Jingle Ma
Jingle Ma is appointed as the cinematographer of Handsome Siblings
Jingle Ma
action filter_type
action find
entity Handsome Siblings
relation director of photography
type common name
['Handsome Siblings', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Handsome_Siblings property:director_of_photography ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5647662
P57
Q502895
USER
Who was the director of Handsome Siblings ?
(Q5647662,P57,c(Q502895))
action filter_type
action find
entity Q5647662
relation P57
type Q502895
['Q5647662', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5647662 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Handsome Siblings
action filter_type
action find
entity Handsome Siblings
relation director
type common name
['Handsome Siblings', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Handsome_Siblings property:director ?u . ?u rdf:type ontology:common_name }
[]
common name
Q445608
SYSTEM
Eric Tsang
Q445608
(Q5647662,P57,c(Q502895))
action filter_type
action find
entity Q5647662
relation P57
type Q502895
The director of Handsome Siblings was named [ANSWER]
['Q5647662', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5647662 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Eric Tsang
The director of Handsome Siblings was named Eric Tsang
Eric Tsang
action filter_type
action find
entity Handsome Siblings
relation director
type common name
['Handsome Siblings', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Handsome_Siblings property:director ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5647662
P86
Q502895
USER
Who composed that work of art ?
(Q445608,P86,c(Q502895))
action filter_type
action find
entity Q5647662
relation P86
type Q502895
['Q445608', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q5647662 property:P86 ?t . ?t rdf:type ontology:Q502895 }
Handsome Siblings
action filter_type
action find
entity Handsome Siblings
relation composer
type common name
['Eric Tsang', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Handsome_Siblings property:composer ?t . ?t rdf:type ontology:common_name }
[]
common name
Q701911
SYSTEM
Lowell Lo
Q701911
(Q445608,P86,c(Q502895))
action filter_type
action find
entity Q5647662
relation P86
type Q502895
[ANSWER] composed that work of art
['Q445608', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q5647662 property:P86 ?t . ?t rdf:type ontology:Q502895 }
Lowell Lo
Lowell Lo composed that work of art
Lowell Lo
action filter_type
action find
entity Handsome Siblings
relation composer
type common name
['Eric Tsang', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Handsome_Siblings property:composer ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P417
Q502895 Q16970 Q12737077
USER
Which people are the patron saint of min number of churches or occupations ?
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?l WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?t WHERE { { ?y property:P417 ?t . ?t rdf:type ontology:Q502895 . ?y rdf:type ontology:Q16970 } UNION { ?t rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 . ?y property:P417 ?t } } GROUP BY ?t } . FILTER ( ?p = ?w ) }
action argmin
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?l WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:occupation ) ( ontology:church ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?t WHERE { { ?y property:patron_saint ?t . ?t rdf:type ontology:common_name . ?y rdf:type ontology:church } UNION { ?t rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?y property:patron_saint ?t } } GROUP BY ?t } . FILTER ( ?p = ?w ) }
[]
common name church occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q43945 Q3922154 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q2987904 Q2574015 Q101090 Q1834624 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q2360539 Q244383 Q3615108 Q235857 Q287916 Q192236 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 Q1502088 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q3745904 Q4210004 Q4282480 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q315312 Q43675 Q618214 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q37599 Q232975 Q122376 Q15284282 Q380345 Q288295 Q218921 Q316295 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q160922 Q1115725 Q913528 Q231256 Q560531 Q4161703 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q12871 Q9156208 Q336704 Q181489 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q208331
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the patron saint of min number of churches or occupations
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?l WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?t WHERE { { ?y property:P417 ?t . ?t rdf:type ontology:Q502895 . ?y rdf:type ontology:Q16970 } UNION { ?t rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 . ?y property:P417 ?t } } GROUP BY ?t } . FILTER ( ?p = ?w ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Jude the Apostle Prisco di Nocera 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 Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus 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 Donatus of Arezzo Rose of Lima Anatolia martire Elizabeth of Aragon Finbarr of Cork Thomas Becket 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 Genesius of Arles Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Fiorenzo di Bastia Venantius of Camerino Saint Martha Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Januarius Philip the Apostle Aper of Toul Marziano di Siracusa Ursus of Aosta Pontian Sixtus I John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Anastasia of Sirmium Callixtus I Adolphus Saint Maurus Justina of Padua Saint Eustace Bernardino of Siena Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Celestine I Saint Giovanni Battista de Rossi Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX 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 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 Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I 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 Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of min number of churches or occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) ?l WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:occupation ) ( ontology:church ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?t WHERE { { ?y property:patron_saint ?t . ?t rdf:type ontology:common_name . ?y rdf:type ontology:church } UNION { ?t rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?y property:patron_saint ?t } } GROUP BY ?t } . FILTER ( ?p = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q44539 Q56061
USER
Which people are the patron saint of atmost 7 temples or administrative territories ?
(c(Q44539)|c(Q56061),P417,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
value 7
[[{'concept': 'Q44539'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?d WHERE { { ?g property:P417 ?d . ?d rdf:type ontology:Q502895 . ?g rdf:type ontology:Q44539 } UNION { ?g property:P417 ?d . ?d rdf:type ontology:Q502895 . ?g rdf:type ontology:Q56061 } } GROUP BY ?d } . FILTER ( ?w <= 7 ) }
action atmost
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
value 7
[[{'concept': 'temple'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?d WHERE { { ?g property:patron_saint ?d . ?d rdf:type ontology:common_name . ?g rdf:type ontology:temple } UNION { ?g property:patron_saint ?d . ?d rdf:type ontology:common_name . ?g rdf:type ontology:administrative_territorial_entity } } GROUP BY ?d } . FILTER ( ?w <= 7 ) }
[]
common name temple administrative territorial entity
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 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 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 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 Q81634 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 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 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q44539)|c(Q56061),P417,c(Q502895))
action atmost
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
value 7
[ANSWERS] are the patron saint of atmost 7 temples or administrative territories
[[{'concept': 'Q44539'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?d WHERE { { ?g property:P417 ?d . ?d rdf:type ontology:Q502895 . ?g rdf:type ontology:Q44539 } UNION { ?g property:P417 ?d . ?d rdf:type ontology:Q502895 . ?g rdf:type ontology:Q56061 } } GROUP BY ?d } . FILTER ( ?w <= 7 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena 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 John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great 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 Sixtus I John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus 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 Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Leo IX Henry 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 Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia 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 Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome 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 and Tadeusz Kościuszko are the patron saint of atmost 7 temples or administrative territories
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action atmost
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
value 7
[[{'concept': 'temple'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?d WHERE { { ?g property:patron_saint ?d . ?d rdf:type ontology:common_name . ?g rdf:type ontology:temple } UNION { ?g property:patron_saint ?d . ?d rdf:type ontology:common_name . ?g rdf:type ontology:administrative_territorial_entity } } GROUP BY ?d } . FILTER ( ?w <= 7 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q9186 Q6202377
P57 P364
Q838948
USER
Which works of art did Jingle Ma direct and were originally created in Cantonese language ?
AND((c(Q838948),P57,Q6202377), (c(Q838948),P364,Q9186))
action filter_type
action intersection
action find_reverse
entity Q6202377
relation P57
action find_reverse
entity Q9186
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q6202377'], [{'concept': 'Q838948'}, 'P364', 'Q9186']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P57 resource:Q6202377 . ?q property:P364 resource:Q9186 }
Cantonese Jingle Ma
action filter_type
action intersection
action find_reverse
entity Jingle Ma
relation director
action find_reverse
entity Cantonese
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Jingle Ma'], [{'concept': 'work of art'}, 'original language of work', 'Cantonese']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:director resource:Jingle_Ma . ?q property:original_language_of_work resource:Cantonese }
[]
work of art
Q16242393 Q6691863 Q3478838 Q3503661 Q6724473 Q987943 Q837340 Q836268
SYSTEM
Why Me, Sweetie?!, Love in the City, Seoul Raiders, Summer Holiday, Para Para Sakura, Fly Me to Polaris, Silver Hawk, Tokyo Raiders
Q16242393 Q6691863 Q3478838 Q3503661 Q6724473 Q987943 Q837340 Q836268
AND((c(Q838948),P57,Q6202377), (c(Q838948),P364,Q9186))
action filter_type
action intersection
action find_reverse
entity Q6202377
relation P57
action find_reverse
entity Q9186
relation P364
type Q838948
[ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P57', 'Q6202377'], [{'concept': 'Q838948'}, 'P364', 'Q9186']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P57 resource:Q6202377 . ?q property:P364 resource:Q9186 }
Why Me, Sweetie?! Love in the City Seoul Raiders Summer Holiday Para Para Sakura Fly Me to Polaris Silver Hawk Tokyo Raiders
Jingle Ma directed Why Me, Sweetie?!, Love in the City, Seoul Raiders, Summer Holiday, Para Sakura, Fly Me to Polaris, Silver Hawk and Tokyo Raiders
Why Me, Sweetie?! Love in the City Seoul Raiders Summer Holiday Para Para Sakura Fly Me to Polaris Silver Hawk Tokyo Raiders
action filter_type
action intersection
action find_reverse
entity Jingle Ma
relation director
action find_reverse
entity Cantonese
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director', 'Jingle Ma'], [{'concept': 'work of art'}, 'original language of work', 'Cantonese']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:director resource:Jingle_Ma . ?q property:original_language_of_work resource:Cantonese }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q234460 Q95074
USER
Which people inspired around 1 texts or fictional characters ?
(c(Q234460)|c(Q95074),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
value 1
[[{'concept': 'Q234460'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?l WHERE { { ?g property:P941 ?l . ?l rdf:type ontology:Q502895 . ?g rdf:type ontology:Q234460 } UNION { ?g property:P941 ?l . ?l rdf:type ontology:Q502895 . ?g rdf:type ontology:Q95074 } } GROUP BY ?l } . FILTER ( ?k = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
value 1
[[{'concept': 'text'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?l WHERE { { ?g property:inspired_by ?l . ?l rdf:type ontology:common_name . ?g rdf:type ontology:text } UNION { ?g property:inspired_by ?l . ?l rdf:type ontology:common_name . ?g rdf:type ontology:fictional_character } } GROUP BY ?l } . FILTER ( ?k = 1 ) }
[]
common name text fictional character
Q8016 Q352 Q100937
SYSTEM
Winston Churchill, Adolf Hitler, Fred Astaire
Q40475 Q42229 Q5296307 Q129308 Q42305 Q558333 Q1067550 Q2707376 Q180919 Q105719 Q712955 Q8016 Q649801 Q2864567 Q228024 Q182450 Q3047248 Q711129 Q352 Q145746 Q921798 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q56016 Q73089 Q182462 Q575668 Q171745 Q100937 Q272068 Q2437296 Q9077 Q443540 Q1281170 Q46373 Q267803 Q284047 Q2552694 Q6577515 Q2975042 Q104109 Q16397 Q528428 Q83359 Q6246943 Q129429 Q2121085 Q212531 Q5294232 Q958996 Q94002 Q49285 Q27429917 Q1523 Q28493 Q527735 Q2181776 Q27429984 Q263241 Q356129 Q3925 Q34851 Q26806 Q2552902 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q2412941 Q297816 Q3525855 Q210447 Q2373032 Q3719992 Q199369 Q2110873 Q193406 Q233845 Q3429566 Q3047181 Q237813 Q578878
(c(Q234460)|c(Q95074),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
value 1
[ANSWERS] inspired around 1 texts or fictional characters
[[{'concept': 'Q234460'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?l WHERE { { ?g property:P941 ?l . ?l rdf:type ontology:Q502895 . ?g rdf:type ontology:Q234460 } UNION { ?g property:P941 ?l . ?l rdf:type ontology:Q502895 . ?g rdf:type ontology:Q95074 } } GROUP BY ?l } . FILTER ( ?k = 1 ) }
Joan Crawford Mel Gibson Donna Atwood John of England Richard I of England Buddy Hackett Charmaine Craig Dick Jones Natalie Wood Jean Harlow Bobby Driscoll Winston Churchill Fred Moore Art Stevens John Smith George C. Scott Eddie Collins Terry-Thomas Adolf Hitler Joseph Sabu Dastagir Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Katharine Hepburn Gene Kelly Janet Gaynor Lionel Atwill Jeremy Irons Fred Astaire Heather Angel Eric Larson Moses Ollie Johnston Frances Bavier Edgar Degas Spring Byington Christy Turlington Madge Blake Samuel Claire Du Brey Mary Pickford Bruce Lee Douglas Fairbanks Jr James Dean John Martin Vivien Leigh Walter Catlett Kate Moss Donald DeFreeze Irene Bedard Barbara Stanwyck Sally Ride Michelle Stacy Ramesses II Ralph Fiennes Cedric Hardwicke Paul Collins John Culhane Mary Wickes John Stamos Grace Kelly Elizabeth Taylor Danny DeVito Hans Conried Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport The Fox and the Cat Sammy Davis, Jr. T. Hee Mark Hamill Pierre Gringoire Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Pocahontas Gale Sondergaard Rhoda Williams Ed Kemmer Maila Nurmi Chief Powhatan
Winston Churchill, Adolf Hitler and Fred Astaire inspired around 1 texts or fictional characters
Winston Churchill Adolf Hitler Fred Astaire
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
value 1
[[{'concept': 'text'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?l WHERE { { ?g property:inspired_by ?l . ?l rdf:type ontology:common_name . ?g rdf:type ontology:text } UNION { ?g property:inspired_by ?l . ?l rdf:type ontology:common_name . ?g rdf:type ontology:fictional_character } } GROUP BY ?l } . FILTER ( ?k = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8016 Q352 Q100937
P21
Q290
USER
Which sexes do those people have ?
(Q8016,P21,c(Q290)) (Q352,P21,c(Q290)) (Q100937,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q8016', 'P21', {'concept': 'Q290'}] ['Q352', 'P21', {'concept': 'Q290'}] ['Q100937', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . VALUES ( ?f ) { ( resource:Q40475 ) ( resource:Q42229 ) ( resource:Q5296307 ) } . ?f property:P21 ?v }
Winston Churchill Adolf Hitler Fred Astaire
action filter_type
action find
entity prev_answer
relation gender
type sex
['Winston Churchill', 'gender', {'concept': 'sex'}] ['Adolf Hitler', 'gender', {'concept': 'sex'}] ['Fred Astaire', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . VALUES ( ?f ) { ( resource:Joan_Crawford ) ( resource:Mel_Gibson ) ( resource:Donna_Atwood ) } . ?f property:gender ?v }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q8016,P21,c(Q290)) (Q352,P21,c(Q290)) (Q100937,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people have a [ANSWER], [ANSWER] and [ANSWER]
['Q8016', 'P21', {'concept': 'Q290'}] ['Q352', 'P21', {'concept': 'Q290'}] ['Q100937', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . VALUES ( ?f ) { ( resource:Q40475 ) ( resource:Q42229 ) ( resource:Q5296307 ) } . ?f property:P21 ?v }
male male male
Those people have a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Winston Churchill', 'gender', {'concept': 'sex'}] ['Adolf Hitler', 'gender', {'concept': 'sex'}] ['Fred Astaire', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . VALUES ( ?f ) { ( resource:Joan_Crawford ) ( resource:Mel_Gibson ) ( resource:Donna_Atwood ) } . ?f property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8016
P6
Q35798
USER
Which executive branch has Winston Churchill as its administrative leader ?
(c(Q35798),P6,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P6
type Q35798
[{'concept': 'Q35798'}, 'P6', 'Q8016']
SELECT DISTINCT ?b WHERE { ?b property:P6 resource:Q8016 . ?b rdf:type ontology:Q35798 }
Winston Churchill
action filter_type
action find_reverse
entity Winston Churchill
relation head of government
type executive branch
[{'concept': 'executive branch'}, 'head of government', 'Winston Churchill']
SELECT DISTINCT ?b WHERE { ?b property:head_of_government resource:Winston_Churchill . ?b rdf:type ontology:executive_branch }
[]
executive branch
Q5118241
SYSTEM
Churchill war ministry
Q5118241
(c(Q35798),P6,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P6
type Q35798
The [ANSWER] has Winston Churchill as its administrative leader
[{'concept': 'Q35798'}, 'P6', 'Q8016']
SELECT DISTINCT ?b WHERE { ?b property:P6 resource:Q8016 . ?b rdf:type ontology:Q35798 }
Churchill war ministry
The Churchill war ministry has Winston Churchill as its administrative leader
Churchill war ministry
action filter_type
action find_reverse
entity Winston Churchill
relation head of government
type executive branch
[{'concept': 'executive branch'}, 'head of government', 'Winston Churchill']
SELECT DISTINCT ?b WHERE { ?b property:head_of_government resource:Winston_Churchill . ?b rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8016
P466
Q3947
USER
What is the house occupied by Winston Churchill ?
(c(Q3947),P466,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P466
type Q3947
[{'concept': 'Q3947'}, 'P466', 'Q8016']
SELECT DISTINCT ?n WHERE { ?n property:P466 resource:Q8016 . ?n rdf:type ontology:Q3947 }
Winston Churchill
action filter_type
action find_reverse
entity Winston Churchill
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'Winston Churchill']
SELECT DISTINCT ?n WHERE { ?n property:occupant resource:Winston_Churchill . ?n rdf:type ontology:house }
[]
house
Q1067909
SYSTEM
Chartwell
Q1067909
(c(Q3947),P466,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P466
type Q3947
The house occupied by Winston Churchill is in [ANSWER]
[{'concept': 'Q3947'}, 'P466', 'Q8016']
SELECT DISTINCT ?n WHERE { ?n property:P466 resource:Q8016 . ?n rdf:type ontology:Q3947 }
Chartwell
The house occupied by Winston Churchill is in Chartwell
Chartwell
action filter_type
action find_reverse
entity Winston Churchill
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'Winston Churchill']
SELECT DISTINCT ?n WHERE { ?n property:occupant resource:Winston_Churchill . ?n rdf:type ontology:house }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8016
P7
Q502895
USER
Who is a sibling of that one ?
(c(Q502895),P7,Q1067909)
action filter_type
action find
entity Q8016
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q1067909']
SELECT DISTINCT ?b WHERE { resource:Q8016 property:P7 ?b . ?b rdf:type ontology:Q502895 }
Winston Churchill
action filter_type
action find
entity Winston Churchill
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Chartwell']
SELECT DISTINCT ?b WHERE { resource:Winston_Churchill property:brother ?b . ?b rdf:type ontology:common_name }
[]
common name
Q721915
SYSTEM
John Strange Spencer-Churchill
Q721915
(c(Q502895),P7,Q1067909)
action filter_type
action find
entity Q8016
relation P7
type Q502895
A sibling of that one is Sir [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q1067909']
SELECT DISTINCT ?b WHERE { resource:Q8016 property:P7 ?b . ?b rdf:type ontology:Q502895 }
John Strange Spencer-Churchill
A sibling of that one is Sir John Strange Spencer-Churchill
John Strange Spencer-Churchill
action filter_type
action find
entity Winston Churchill
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Chartwell']
SELECT DISTINCT ?b WHERE { resource:Winston_Churchill property:brother ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q721915
P19
Q515
USER
Where was that person born ?
(Q721915,P19,c(Q515))
action filter_type
action find
entity Q721915
relation P19
type Q515
['Q721915', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q721915 property:P19 ?u }
John Strange Spencer-Churchill
action filter_type
action find
entity John Strange Spencer-Churchill
relation place of birth
type city
['John Strange Spencer-Churchill', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:John_Strange_Spencer-Churchill property:place_of_birth ?u }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(Q721915,P19,c(Q515))
action filter_type
action find
entity Q721915
relation P19
type Q515
That person was born in [ANSWER]
['Q721915', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q721915 property:P19 ?u }
Dublin
That person was born in Dublin
Dublin
action filter_type
action find
entity John Strange Spencer-Churchill
relation place of birth
type city
['John Strange Spencer-Churchill', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:John_Strange_Spencer-Churchill property:place_of_birth ?u }
[]