Simple Question (Direct)
Simple Question
Q19760458
P19
Q56061
USER
Where was Arne Zuidhoek born ?
(Q19760458,P19,c(Q56061))
action filter_type
action find
entity Q19760458
relation P19
type Q56061
['Q19760458', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q19760458 property:P19 ?t }
Arne Zuidhoek
action filter_type
action find
entity Arne Zuidhoek
relation place of birth
type administrative territorial entity
['Arne Zuidhoek', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Arne_Zuidhoek property:place_of_birth ?t }
[]
administrative territorial entity
Q727
SYSTEM
Amsterdam
Q727
(Q19760458,P19,c(Q56061))
action filter_type
action find
entity Q19760458
relation P19
type Q56061
Arne Zuidhoek was born in [ANSWER]
['Q19760458', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q19760458 property:P19 ?t }
Amsterdam
Arne Zuidhoek was born in Amsterdam
Amsterdam
action filter_type
action find
entity Arne Zuidhoek
relation place of birth
type administrative territorial entity
['Arne Zuidhoek', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Arne_Zuidhoek property:place_of_birth ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19760458
P106
Q12737077
USER
What do that person do for a living ?
(Q727,P106,c(Q12737077))
action filter_type
action find
entity Q19760458
relation P106
type Q12737077
['Q727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q19760458 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Arne Zuidhoek
action filter_type
action find
entity Arne Zuidhoek
relation occupation
type occupation
['Amsterdam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Arne_Zuidhoek property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q644687 Q36180 Q15296811
SYSTEM
illustrator, writer, draughtsperson
Q644687 Q483501 Q36180 Q15296811
(Q727,P106,c(Q12737077))
action filter_type
action find
entity Q19760458
relation P106
type Q12737077
[ANSWERS] that person do for a living
['Q727', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q19760458 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
illustrator artist writer draughtsperson
Illustrator, writer and draughtsperson that person do for a living
illustrator writer draughtsperson
action filter_type
action find
entity Arne Zuidhoek
relation occupation
type occupation
['Amsterdam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Arne_Zuidhoek property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19760458
P21
Q290
USER
What is the sex of that person ?
(Q644687,P21,c(Q290)) (Q36180,P21,c(Q290)) (Q15296811,P21,c(Q290))
action filter_type
action find
entity Q19760458
relation P21
type Q290
['Q644687', 'P21', {'concept': 'Q290'}] ['Q36180', 'P21', {'concept': 'Q290'}] ['Q15296811', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q19760458 property:P21 ?p }
Arne Zuidhoek
action filter_type
action find
entity Arne Zuidhoek
relation gender
type sex
['illustrator', 'gender', {'concept': 'sex'}] ['writer', 'gender', {'concept': 'sex'}] ['draughtsperson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Arne_Zuidhoek property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q644687,P21,c(Q290)) (Q36180,P21,c(Q290)) (Q15296811,P21,c(Q290))
action filter_type
action find
entity Q19760458
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q644687', 'P21', {'concept': 'Q290'}] ['Q36180', 'P21', {'concept': 'Q290'}] ['Q15296811', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q19760458 property:P21 ?p }
male
The sex of that person is a male
male
action filter_type
action find
entity Arne Zuidhoek
relation gender
type sex
['illustrator', 'gender', {'concept': 'sex'}] ['writer', 'gender', {'concept': 'sex'}] ['draughtsperson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Arne_Zuidhoek property:gender ?p }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q294536 Q19760458
P21
Q290
USER
And also Christopher Stevens
AND((Q19760458,P21,c(Q290)), (Q294536,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q19760458
relation P21
action find
entity Q294536
relation P21
type Q290
{'AND': [['Q19760458', 'P21', {'concept': 'Q290'}], ['Q294536', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { resource:Q19760458 property:P21 ?p . resource:Q294536 property:P21 ?p . ?p rdf:type ontology:Q290 }
Christopher Stevens Arne Zuidhoek
action filter_type
action intersection
action find
entity Arne Zuidhoek
relation gender
action find
entity Christopher Stevens
relation gender
type sex
{'AND': [['Arne Zuidhoek', 'gender', {'concept': 'sex'}], ['Christopher Stevens', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { resource:Arne_Zuidhoek property:gender ?p . resource:Christopher_Stevens property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q19760458,P21,c(Q290)), (Q294536,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q19760458
relation P21
action find
entity Q294536
relation P21
type Q290
[ANSWER]
{'AND': [['Q19760458', 'P21', {'concept': 'Q290'}], ['Q294536', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { resource:Q19760458 property:P21 ?p . resource:Q294536 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Arne Zuidhoek
relation gender
action find
entity Christopher Stevens
relation gender
type sex
{'AND': [['Arne Zuidhoek', 'gender', {'concept': 'sex'}], ['Christopher Stevens', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { resource:Arne_Zuidhoek property:gender ?p . resource:Christopher_Stevens property:gender ?p . ?p rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q152457
P417
Q502895 Q12737077
USER
How many people are the patron saint of lesser number of occupations than Saint Roch ?
(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 Q152457
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?s ) WHERE { ?r rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 . ?i property:P417 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:Q12737077 . ?h property:P417 resource:Q152457 } } . FILTER ( ?s < ?l ) }
Saint Roch
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 Roch
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?s ) WHERE { ?r rdf:type ontology:common_name . ?i rdf:type ontology:occupation . ?i property:patron_saint ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:occupation . ?h property:patron_saint resource:Saint_Roch } } . FILTER ( ?s < ?l ) }
[]
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 Q152457
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?s ) WHERE { ?r rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 . ?i property:P417 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:Q12737077 . ?h property:P417 resource:Q152457 } } . FILTER ( ?s < ?l ) }
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 Saint Roch
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?s ) WHERE { ?r rdf:type ontology:common_name . ?i rdf:type ontology:occupation . ?i property:patron_saint ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ontology:occupation . ?h property:patron_saint resource:Saint_Roch } } . FILTER ( ?s < ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q192816
P417
Q502895 Q12737077
USER
And also tell me about Saint Barbara?
(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 Q192816
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P417 ?d . ?d rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:P417 resource:Q192816 . ?f rdf:type ontology:Q12737077 } } . FILTER ( ?s < ?p ) }
Saint Barbara
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 Barbara
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:patron_saint ?d . ?d rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:patron_saint resource:Saint_Barbara . ?f rdf:type ontology:occupation } } . FILTER ( ?s < ?p ) }
[]
common name occupation
SYSTEM
314
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 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 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q183240 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 Q196653 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 Q44265 Q232453 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 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 Q44248 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 Q192816
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P417 ?d . ?d rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:P417 resource:Q192816 . ?f rdf:type ontology:Q12737077 } } . FILTER ( ?s < ?p ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours 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 Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy 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 Saint Veronica 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 Benedict of Nursia 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 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 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 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
314
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 Barbara
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:patron_saint ?d . ?d rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:patron_saint resource:Saint_Barbara . ?f rdf:type ontology:occupation } } . FILTER ( ?s < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q867765
P417
Q502895 Q12737077
USER
How many people are the patron saints of more number of occupations than Sossius ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q867765
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P417 ?g . ?c rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q867765 property:P417 ?r . ?r rdf:type ontology:Q502895 } } }
Sossius
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Sossius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:patron_saint ?g . ?c rdf:type ontology:occupation . ?g rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Sossius property:patron_saint ?r . ?r rdf:type ontology:common_name } } }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q867765
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P417 ?g . ?c rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q867765 property:P417 ?r . ?r rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Sossius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:patron_saint ?g . ?c rdf:type ontology:occupation . ?g rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?d > ?y ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Sossius property:patron_saint ?r . ?r rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q192236
P417
Q502895 Q12737077
USER
And what about Thomas Becket?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q192236
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P417 ?v . ?v rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 } GROUP BY ?v } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:Q502895 . resource:Q192236 property:P417 ?p } } }
Thomas Becket
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Thomas Becket
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:patron_saint ?v . ?v rdf:type ontology:common_name . ?w rdf:type ontology:occupation } GROUP BY ?v } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:common_name . resource:Thomas_Becket property:patron_saint ?p } } }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q192236
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P417 ?v . ?v rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 } GROUP BY ?v } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:Q502895 . resource:Q192236 property:P417 ?p } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Thomas Becket
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:patron_saint ?v . ?v rdf:type ontology:common_name . ?w rdf:type ontology:occupation } GROUP BY ?v } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:common_name . resource:Thomas_Becket property:patron_saint ?p } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2141
P840
Q56061 Q15416 Q838948
USER
Which administrative territories are greater number of television programs or works of art set in than Halifax ?
(c(Q15416)|c(Q838948),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2141
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { { ?t property:P840 ?v . ?v rdf:type ontology:Q56061 . ?t rdf:type ontology:Q15416 } UNION { ?t property:P840 ?v . ?t rdf:type ontology:Q838948 . ?v rdf:type ontology:Q56061 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P840 resource:Q2141 . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } . FILTER ( ?e > ?x ) }
Halifax
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Halifax
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { { ?t property:narrative_location ?v . ?v rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:television_program } UNION { ?t property:narrative_location ?v . ?t rdf:type ontology:work_of_art . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:narrative_location resource:Halifax . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } . FILTER ( ?e > ?x ) }
[]
administrative territorial entity television program work of art
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q1715 Q34804 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q210292 Q25286 Q25287 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q1050826 Q4093 Q3659 Q16563 Q8692 Q2656 Q10690 Q585 Q1425428 Q124739 Q1754 Q1022 Q90 Q101625 Q48320 Q80985 Q215646 Q1930 Q597 Q690 Q257536 Q22889 Q49272 Q12273 Q365 Q5836 Q12994 Q667268 Q33935 Q54140 Q180294 Q8818 Q16555 Q1335 Q1891 Q39121 Q9427 Q262483 Q186237 Q5083 Q23154 Q2567585 Q1489 Q209055 Q7094142 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q495 Q2044 Q36036 Q3703 Q208287 Q54212 Q23436 Q3141 Q3630 Q17151 Q237 Q25416 Q16559 Q16554 Q753121 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q1297 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q1748 Q169492 Q26881 Q84 Q85 Q128321 Q1737 Q37320 Q25390 Q214178 Q45301 Q25395 Q34863 Q72 Q71 Q178168 Q38022 Q174 Q172 Q270 Q2028 Q184587 Q208472 Q79985 Q49241 Q49243 Q472 Q1070 Q3590079 Q837165 Q41819 Q1861 Q5092 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q437 Q124539 Q387047 Q18419 Q1780 Q1781 Q690052 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q49149 Q1353 Q1352 Q1524 Q220 Q340 Q125434 Q494728 Q25230 Q612 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q915 Q985531 Q193082 Q1020373 Q23070 Q1659757 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q65 Q60 Q61 Q62 Q1757 Q18125 Q1867 Q5813 Q12439 Q126148 Q23556 Q837478 Q184345 Q13362 Q6106 Q495373 Q10313 Q42810 Q49255 Q3640 Q641 Q727 Q649 Q41621 Q3483936 Q3358921 Q158119 Q79848 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q2751 Q41876 Q485186 Q42448 Q34647 Q1085
(c(Q15416)|c(Q838948),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2141
relation P840
type Q15416
type Q838948
[ANSWERS] are greater number of television programs or works of art set in than Halifax
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { { ?t property:P840 ?v . ?v rdf:type ontology:Q56061 . ?t rdf:type ontology:Q15416 } UNION { ?t property:P840 ?v . ?t rdf:type ontology:Q838948 . ?v rdf:type ontology:Q56061 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P840 resource:Q2141 . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } } } . FILTER ( ?e > ?x ) }
Hanover Albuquerque Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Yozgat Uppsala Gothenburg Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Palermo Cardiff Oslo Newcastle upon Tyne Tijuana Stockholm Stuttgart Paris Marrakesh Kōbe Fes Edo Ottawa Lisbon Delft Janesville Bath Chandler Gijón Cologne Toledo Bruges Nevada City Tel Aviv Salem Jaffa Valencia Houston Montevideo Bologna Leeds Timbuktu Deadwood Joensuu Seattle Bristol Dybbøl Mexico City Torquay Onllwyn Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Turin Florence Lviv Bamako Kauniainen Barnsley Edinburgh Melbourne Jakarta Thessaloniki Vatican City Stavanger Austin Denver Atacames Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Chicago Ascot Bloomington Havana Kazan Brighton Vienna Copenhagen Neukölln Helsingør London Cairo Midland Bregenz Cleveland Leeuwarden Nablus Trabzon Newark Oklahoma City Zürich Geneva Mitrovica St. Louis São Paulo Toronto Warsaw Verona Grand Rapids Bingöl Kodiak Lexington Riverside Sofia Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Baltimore Beijing Guatemala City Tokyo La Paz Barcelona El Paso Ljubljana Whitechapel Malibu Brooklyn Bratislava Budapest Trebinje Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Nantucket Delhi Chennai Athens Rome Montreal Port Elizabeth West Covina Guernsey Dubai Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Perm Tulkarm Svishtov Jindabyne Sneek Gimli Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Los Angeles New York City Washington, D.C. San Francisco Helsinki Manchester Taipei Canary Islands Detroit Tangier Atlanta Sabinov Viña del Mar Ferrara Portland Visalia Donostia/San Sebastián Le Havre Tampa Ankara Venice Amsterdam Moscow Haifa Sils Maria Overschild Ramallah Southampton Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Baikonur The Hamptons Liège San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Siena Reims Key West Sheffield Johannesburg Prague
Prague, Zürich and Moscow are greater number of television programs or works of art set in than Halifax
Prague Zürich Moscow
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Halifax
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?e ) WHERE { { ?t property:narrative_location ?v . ?v rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:television_program } UNION { ?t property:narrative_location ?v . ?t rdf:type ontology:work_of_art . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:narrative_location resource:Halifax . { ?d rdf:type ?r . VALUES ( ?r ) { ( ontology:television_program ) ( ontology:work_of_art ) } } } } . FILTER ( ?e > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13496
P840
Q56061 Q15416 Q838948
USER
And also tell me about Brindisi?
(c(Q15416)|c(Q838948),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q13496
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P840 resource:Q13496 . { { ?i rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q15416 } } } } . FILTER ( ?v > ?k ) }
Brindisi
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Brindisi
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:narrative_location resource:Brindisi . { { ?i rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:television_program } } } } . FILTER ( ?v > ?k ) }
[]
administrative territorial entity television program work of art
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q1715 Q34804 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q210292 Q25286 Q25287 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q1050826 Q4093 Q3659 Q16563 Q8692 Q2656 Q10690 Q585 Q1425428 Q124739 Q1754 Q1022 Q90 Q101625 Q48320 Q80985 Q215646 Q1930 Q597 Q690 Q257536 Q22889 Q49272 Q12273 Q365 Q5836 Q12994 Q667268 Q33935 Q54140 Q180294 Q8818 Q16555 Q1335 Q1891 Q39121 Q9427 Q262483 Q186237 Q5083 Q23154 Q2567585 Q1489 Q209055 Q7094142 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q495 Q2044 Q36036 Q3703 Q208287 Q54212 Q23436 Q3141 Q3630 Q17151 Q237 Q25416 Q16559 Q16554 Q753121 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q1297 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q1748 Q169492 Q26881 Q84 Q85 Q128321 Q1737 Q37320 Q25390 Q214178 Q45301 Q25395 Q34863 Q72 Q71 Q178168 Q38022 Q174 Q172 Q270 Q2028 Q184587 Q208472 Q79985 Q49241 Q49243 Q472 Q1070 Q3590079 Q837165 Q41819 Q1861 Q5092 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q437 Q124539 Q387047 Q18419 Q1780 Q1781 Q690052 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q49149 Q1353 Q1352 Q1524 Q220 Q340 Q125434 Q494728 Q25230 Q612 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q915 Q985531 Q193082 Q1020373 Q23070 Q1659757 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q65 Q60 Q61 Q62 Q1757 Q18125 Q1867 Q5813 Q12439 Q126148 Q23556 Q837478 Q184345 Q13362 Q6106 Q495373 Q10313 Q42810 Q49255 Q3640 Q641 Q727 Q649 Q41621 Q3483936 Q3358921 Q158119 Q79848 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q2751 Q41876 Q485186 Q42448 Q34647 Q1085
(c(Q15416)|c(Q838948),P840,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q13496
relation P840
type Q15416
type Q838948
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P840 resource:Q13496 . { { ?i rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q15416 } } } } . FILTER ( ?v > ?k ) }
Hanover Albuquerque Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Yozgat Uppsala Gothenburg Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Palermo Cardiff Oslo Newcastle upon Tyne Tijuana Stockholm Stuttgart Paris Marrakesh Kōbe Fes Edo Ottawa Lisbon Delft Janesville Bath Chandler Gijón Cologne Toledo Bruges Nevada City Tel Aviv Salem Jaffa Valencia Houston Montevideo Bologna Leeds Timbuktu Deadwood Joensuu Seattle Bristol Dybbøl Mexico City Torquay Onllwyn Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Turin Florence Lviv Bamako Kauniainen Barnsley Edinburgh Melbourne Jakarta Thessaloniki Vatican City Stavanger Austin Denver Atacames Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Chicago Ascot Bloomington Havana Kazan Brighton Vienna Copenhagen Neukölln Helsingør London Cairo Midland Bregenz Cleveland Leeuwarden Nablus Trabzon Newark Oklahoma City Zürich Geneva Mitrovica St. Louis São Paulo Toronto Warsaw Verona Grand Rapids Bingöl Kodiak Lexington Riverside Sofia Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Baltimore Beijing Guatemala City Tokyo La Paz Barcelona El Paso Ljubljana Whitechapel Malibu Brooklyn Bratislava Budapest Trebinje Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Nantucket Delhi Chennai Athens Rome Montreal Port Elizabeth West Covina Guernsey Dubai Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Perm Tulkarm Svishtov Jindabyne Sneek Gimli Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Los Angeles New York City Washington, D.C. San Francisco Helsinki Manchester Taipei Canary Islands Detroit Tangier Atlanta Sabinov Viña del Mar Ferrara Portland Visalia Donostia/San Sebastián Le Havre Tampa Ankara Venice Amsterdam Moscow Haifa Sils Maria Overschild Ramallah Southampton Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Baikonur The Hamptons Liège San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Siena Reims Key West Sheffield Johannesburg Prague
Prague Zürich Moscow
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Brindisi
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:narrative_location resource:Brindisi . { { ?i rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:television_program } } } } . FILTER ( ?v > ?k ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1085 Q72 Q649
P276
Q1190554
USER
What are situated at Prague, Zürich and Moscow ?
(c(Q1190554),P276,Q1085) (c(Q1190554),P276,Q72) (c(Q1190554),P276,Q649)
action union
action filter_type
action find_reverse
entity Q1085
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q72
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q649
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q1085'] [{'concept': 'Q1190554'}, 'P276', 'Q72'] [{'concept': 'Q1190554'}, 'P276', 'Q649']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q1190554 . ?a property:P276 resource:Q72 } UNION { ?a property:P276 resource:Q1085 . ?a rdf:type ontology:Q1190554 } }
Prague Zürich Moscow
action union
action filter_type
action find_reverse
entity Prague
relation location
type event
action filter_type
action find_reverse
entity Zürich
relation location
type event
action filter_type
action find_reverse
entity Moscow
relation location
type event
[{'concept': 'event'}, 'location', 'Prague'] [{'concept': 'event'}, 'location', 'Zürich'] [{'concept': 'event'}, 'location', 'Moscow']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:event . ?a property:location resource:Zürich } UNION { ?a property:location resource:Prague . ?a rdf:type ontology:event } }
[]
event
Q4870163 Q1083718 Q598090
SYSTEM
Battle for Czech Radio, Battle of Tarutino, Battle of Maloyaroslavets
Q14566614 Q4870163 Q26486550 Q3494380 Q14687340 Q12046768 Q17282337 Q19597130 Q223622 Q575973 Q451404 Q233426 Q1083718 Q598090
(c(Q1190554),P276,Q1085) (c(Q1190554),P276,Q72) (c(Q1190554),P276,Q649)
action union
action filter_type
action find_reverse
entity Q1085
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q72
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q649
relation P276
type Q1190554
[ANSWERS] are situated at Prague, Zürich and Moscow
[{'concept': 'Q1190554'}, 'P276', 'Q1085'] [{'concept': 'Q1190554'}, 'P276', 'Q72'] [{'concept': 'Q1190554'}, 'P276', 'Q649']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q1190554 . ?a property:P276 resource:Q72 } UNION { ?a property:P276 resource:Q1085 . ?a rdf:type ontology:Q1190554 } }
Prague Pride 2012 Battle for Czech Radio Prague Pride 2016 Battle of Prague Prague Pride 2013 Prague Pride 2011 Prague Pride 2014 Prague Pride 2015 Battle of Prague (1757) First Battle of Zurich Battle of St. Jakob an der Sihl Second Battle of Zurich Battle of Tarutino Battle of Maloyaroslavets
Battle for Czech Radio, Battle of Tarutino and Battle of Maloyaroslavets are situated at Prague, Zürich and Moscow
Battle for Czech Radio Battle of Tarutino Battle of Maloyaroslavets
action union
action filter_type
action find_reverse
entity Prague
relation location
type event
action filter_type
action find_reverse
entity Zürich
relation location
type event
action filter_type
action find_reverse
entity Moscow
relation location
type event
[{'concept': 'event'}, 'location', 'Prague'] [{'concept': 'event'}, 'location', 'Zürich'] [{'concept': 'event'}, 'location', 'Moscow']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:event . ?a property:location resource:Zürich } UNION { ?a property:location resource:Prague . ?a rdf:type ontology:event } }
[]