Simple Question (Direct)
Simple Question
Q737356
P6
Q502895
USER
Which person has Candamo as its head of government ?
(Q737356,P6,c(Q502895))
action filter_type
action find
entity Q737356
relation P6
type Q502895
['Q737356', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q737356 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Candamo
action filter_type
action find
entity Candamo
relation head of government
type common name
['Candamo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Candamo property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
Q14026291
SYSTEM
Jose Antonio Garcia Vega
Q14026291
(Q737356,P6,c(Q502895))
action filter_type
action find
entity Q737356
relation P6
type Q502895
[ANSWER] has Candamo as its head of government
['Q737356', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q737356 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Jose Antonio Garcia Vega
Jose Antonio Garcia Vega has Candamo as its head of government
Jose Antonio Garcia Vega
action filter_type
action find
entity Candamo
relation head of government
type common name
['Candamo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Candamo property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14026291
P106
Q12737077
USER
What is the profession of that person ?
(Q14026291,P106,c(Q12737077))
action filter_type
action find
entity Q14026291
relation P106
type Q12737077
['Q14026291', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q14026291 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Jose Antonio Garcia Vega
action filter_type
action find
entity Jose Antonio Garcia Vega
relation occupation
type occupation
['Jose Antonio Garcia Vega', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Jose_Antonio_Garcia_Vega property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q14026291,P106,c(Q12737077))
action filter_type
action find
entity Q14026291
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q14026291', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q14026291 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
politician
The profession of that person is a politician
politician
action filter_type
action find
entity Jose Antonio Garcia Vega
relation occupation
type occupation
['Jose Antonio Garcia Vega', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Jose_Antonio_Garcia_Vega property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14026291
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q14026291
relation P27
type Q15617994
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q14026291 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Jose Antonio Garcia Vega
action filter_type
action find
entity Jose Antonio Garcia Vega
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jose_Antonio_Garcia_Vega property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q14026291
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q14026291 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Spain
The Spain is the native country of that person
Spain
action filter_type
action find
entity Jose Antonio Garcia Vega
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jose_Antonio_Garcia_Vega property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately 70 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 70
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { ?s property:P530 ?e . ?s rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?r = 70 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 70
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { ?s property:diplomatic_relation ?e . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?r = 70 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 70
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { ?s property:P530 ?e . ?s rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?r = 70 ) }
Italy Georgia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 70
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { ?s property:diplomatic_relation ?e . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?r = 70 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q115550
P417
Q502895 Q12737077 Q16970
USER
Which people are the patron saints of less number of occupations and churches than Nicholas of Flüe ?
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q115550
relation P417
type Q12737077
type Q16970
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } . ?o rdf:type ?y } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P417 resource:Q115550 . { { ?a rdf:type ontology:Q12737077 } UNION { ?a rdf:type ontology:Q16970 } } } } . FILTER ( ?m < ?z ) }
Nicholas of Flüe
action less
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Nicholas of Flüe
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:occupation ) ( ontology:church ) } . ?o rdf:type ?y } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:patron_saint resource:Nicholas_of_Flüe . { { ?a rdf:type ontology:occupation } UNION { ?a rdf:type ontology:church } } } } . FILTER ( ?m < ?z ) }
[]
common name occupation church
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(Q12737077)|c(Q16970),P417,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q115550
relation P417
type Q12737077
type Q16970
[ANSWERS] are the patron saints of less number of occupations and churches than Nicholas of Flüe
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } . ?o rdf:type ?y } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P417 resource:Q115550 . { { ?a rdf:type ontology:Q12737077 } UNION { ?a rdf:type ontology:Q16970 } } } } . FILTER ( ?m < ?z ) }
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 saints of less number of occupations and churches than Nicholas of Flüe
Elizabeth II Tadeusz Kościuszko Louis IX of France
action less
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Nicholas of Flüe
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:occupation ) ( ontology:church ) } . ?o rdf:type ?y } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:patron_saint resource:Nicholas_of_Flüe . { { ?a rdf:type ontology:occupation } UNION { ?a rdf:type ontology:church } } } } . FILTER ( ?m < ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q200895
P417
Q502895 Q12737077 Q16970
USER
And how about Agatha of Sicily?
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q200895
relation P417
type Q12737077
type Q16970
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } . ?y rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P417 resource:Q200895 . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } } } } . FILTER ( ?j < ?c ) }
Agatha of Sicily
action less
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Agatha of Sicily
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:occupation ) ( ontology:church ) } . ?y rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:patron_saint resource:Agatha_of_Sicily . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:occupation ) ( ontology:church ) } } } } . FILTER ( ?j < ?c ) }
[]
common name occupation church
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 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 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 Q167477 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 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q200895
relation P417
type Q12737077
type Q16970
[ANSWERS]
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } . ?y rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P417 resource:Q200895 . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } } } } . FILTER ( ?j < ?c ) }
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 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 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 Anthony of Padua 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 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 Tadeusz Kościuszko
action less
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Agatha of Sicily
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?j ) WHERE { VALUES ( ?u ) { ( ontology:occupation ) ( ontology:church ) } . ?y rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:patron_saint resource:Agatha_of_Sicily . { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:occupation ) ( ontology:church ) } } } } . FILTER ( ?j < ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q838948 Q223393
USER
How many people plays a role in around 1 works of art and literary genres ?
(c(Q838948)|c(Q223393),P674,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?p WHERE { { ?d property:P674 ?p . ?d rdf:type ontology:Q223393 . ?p rdf:type ontology:Q502895 } UNION { ?d property:P674 ?p . ?p rdf:type ontology:Q502895 . ?d rdf:type ontology:Q838948 } } GROUP BY ?p } . FILTER ( ?a = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
value 1
[[{'concept': 'work of art'}, {'concept': 'literary genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?p WHERE { { ?d property:characters ?p . ?d rdf:type ontology:literary_genre . ?p rdf:type ontology:common_name } UNION { ?d property:characters ?p . ?p rdf:type ontology:common_name . ?d rdf:type ontology:work_of_art } } GROUP BY ?p } . FILTER ( ?a = 1 ) }
[]
common name work of art literary genre
SYSTEM
159
Q7793319 Q5254 Q6741571 Q18720650 Q1986812 Q33923 Q2054 Q33760 Q3051256 Q676555 Q7788839 Q43706 Q36724 Q1093574 Q295824 Q635 Q41370 Q248029 Q2850415 Q3867479 Q234022 Q1354988 Q92639 Q243203 Q130221 Q3181675 Q4212237 Q10265876 Q41155 Q270438 Q220344 Q44387 Q2254800 Q547828 Q44265 Q317554 Q244912 Q41980 Q2721219 Q2355196 Q129165 Q2521377 Q1067 Q367387 Q5363384 Q172916 Q59180 Q188646 Q328793 Q8778 Q42544 Q223440 Q83041 Q1979876 Q9438 Q81018 Q232913 Q2361344 Q5264 Q6780925 Q1133523 Q9077 Q152717 Q591879 Q38370 Q207535 Q426862 Q154938 Q6818772 Q359237 Q76918 Q4344 Q172353 Q184176 Q43939 Q355903 Q1425 Q312537 Q86745 Q7422342 Q111559 Q297776 Q83400 Q76721 Q289694 Q160441 Q7734 Q311456 Q3236830 Q1398 Q7328 Q434217 Q166876 Q7198 Q68366 Q8747 Q118081 Q83375 Q549041 Q34943 Q170859 Q8011 Q48305 Q8018 Q451516 Q102851 Q706003 Q80823 Q1377025 Q310686 Q316876 Q8581 Q913 Q785250 Q211246 Q234533 Q366270 Q41866 Q199991 Q16404704 Q2755054 Q3421721 Q466048 Q6264078 Q868 Q247137 Q9458 Q170335 Q1402591 Q172248 Q188411 Q2497107 Q1541 Q132786 Q6197 Q859 Q233359 Q203792 Q325026 Q1048 Q665165 Q6691 Q39837 Q36303 Q258369 Q131463 Q3182316 Q267733 Q3471206 Q43746 Q40662 Q205365 Q448586 Q315347 Q332750 Q1405 Q15427574 Q207370 Q60059
(c(Q838948)|c(Q223393),P674,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q223393
value 1
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?p WHERE { { ?d property:P674 ?p . ?d rdf:type ontology:Q223393 . ?p rdf:type ontology:Q502895 } UNION { ?d property:P674 ?p . ?p rdf:type ontology:Q502895 . ?d rdf:type ontology:Q838948 } } GROUP BY ?p } . FILTER ( ?a = 1 ) }
Thomas Putnam Folquet de Marselha Malayaketu Nyssia Tituba Peter Seneca Bertrand Russell Elizabeth Parris Francis of Assisi Thomas Danforth John Chrysostom Attila the Hun Ruggieri degli Ubaldini Peter I of Portugal Cleopatra David Jiro Horikoshi Ann Putnam, Jr. Musciatto Franzesi Inês de Castro Giles Corey Christos Papadimitriou Publius Papinius Statius Frederick II, Holy Roman Emperor John Hale Kanva Dhana Nanda Heraclitus Charles of Valois Pythia Darius I of Persia Cunizza da Romano Christiaan de Wet Benedict of Nursia Hugh of Saint Victor Hezekiah Democritus Farinata degli Uberti Martinus Theunis Steyn Xerxes Ottaviano degli Ubaldini Dante Alighieri William II of Sicily Elizabeth Proctor John XXI Diogenes of Sinope Lucan Periander Galen Thomas More Lucius Junius Brutus Anaxagoras Israel Hands Thomas Aquinas Judas Iscariot Beatrice Portinari Durvasa Hippocrates Mary Warren Jephthah Moses Henry VII, Holy Roman Emperor Piet Cronjé Henry VIII Roland Guido Bonatti Bede Mercy Lewis Charles Martel of Anjou Johann Georg Faust Arnaut Daniel Pyrrhus Seleucus I Nicator Anselm of Canterbury Siger of Brabant Trajan Gyges of Lydia Georg Michael Welzel Sarah Good Judah Maccabee Pedanius Dioscorides Paulo da Gama Godfrey of Bouillon Abigail Williams Rabanus Maurus Joshua Orosius Princess Changping Virgil Vasco da Gama Candaules Isidore of Seville Ovid Siward, Earl of Northumbria Euclid Pope Celestine V Empedocles Graciano Ptolemy Nicholas III Avicenna Euripides Augustine of Hippo Gaius Scribonius Curio Boethius Ugolino della Gherardesca Anne Boleyn Bharata Dionysius the Areopagite Guido Cavalcanti Saladin Socrates Petrus Comestor Caiaphas Cornelia Africana Guido Guinizelli Justinian I Joachim of Fiore Endel Nelis Guido I da Montefeltro Rebecca Nurse Francesca da Rimini John Willard Aristotle Aelius Donatus Muhammad Constance, Queen of Sicily Ohthere Marcus Junius Brutus Bernard of Clairvaux Igor Svyatoslavich Cicero Anastasius II Horace Plato Atossa Robert Guiscard Anacharsis Julius Caesar Sordello Homer Averroes Thales Peter Damian Clement V John Proctor Thaïs Samuel Parris Bonaventure John the Baptist Cain Fra Dolcino Peter Lombard Dionysius I of Syracuse Augustus John Hathorne Gaius Cassius Longinus Albertus Magnus
159
action count
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type literary genre
value 1
[[{'concept': 'work of art'}, {'concept': 'literary genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?p WHERE { { ?d property:characters ?p . ?d rdf:type ontology:literary_genre . ?p rdf:type ontology:common_name } UNION { ?d property:characters ?p . ?p rdf:type ontology:common_name . ?d rdf:type ontology:work_of_art } } GROUP BY ?p } . FILTER ( ?a = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24858 Q191479
P47 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Tadeusz Kościuszko or share border with Asigliano Vercellese ?
OR((Q191479,P27,c(Q15617994)), (Q24858,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q191479
relation P27
action find
entity Q24858
relation P47
type Q15617994
{'OR': [['Q191479', 'P27', {'concept': 'Q15617994'}], ['Q24858', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q191479 property:P27 ?n } UNION { resource:Q24858 property:P47 ?n } } . ?n rdf:type ontology:Q15617994 }
Asigliano Vercellese Tadeusz Kościuszko
action filter_type
action union
action find
entity Tadeusz Kościuszko
relation country of citizenship
action find
entity Asigliano Vercellese
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Tadeusz Kościuszko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Asigliano Vercellese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Tadeusz_Kościuszko property:country_of_citizenship ?n } UNION { resource:Asigliano_Vercellese property:shares_border_with ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q5990 Q30 Q25211 Q25176 Q25050 Q25170 Q25171 Q25025
SYSTEM
Vercelli, United States of America, Stroppiana, Prarolo, Desana, Pertengo, Pezzana, Costanzana
Q5990 Q30 Q25211 Q25176 Q25050 Q25170 Q25171 Q25025
OR((Q191479,P27,c(Q15617994)), (Q24858,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q191479
relation P27
action find
entity Q24858
relation P47
type Q15617994
[ANSWERS] are the countries of citizenship of Tadeusz Kościuszko or share border with Asigliano Vercellese
{'OR': [['Q191479', 'P27', {'concept': 'Q15617994'}], ['Q24858', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q191479 property:P27 ?n } UNION { resource:Q24858 property:P47 ?n } } . ?n rdf:type ontology:Q15617994 }
Vercelli United States of America Stroppiana Prarolo Desana Pertengo Pezzana Costanzana
Vercelli, United States of America, Stroppiana, Prarolo, Desana, Pertengo, Pezzana and Costanzana are the countries of citizenship of Tadeusz Kościuszko or share border with Asigliano Vercellese
Vercelli United States of America Stroppiana Prarolo Desana Pertengo Pezzana Costanzana
action filter_type
action union
action find
entity Tadeusz Kościuszko
relation country of citizenship
action find
entity Asigliano Vercellese
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Tadeusz Kościuszko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Asigliano Vercellese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Tadeusz_Kościuszko property:country_of_citizenship ?n } UNION { resource:Asigliano_Vercellese property:shares_border_with ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]