Simple Question (Direct)
Simple Question
Q3419812
P19
Q56061
USER
Where was Rasha Bukvic born ?
(Q3419812,P19,c(Q56061))
action filter_type
action find
entity Q3419812
relation P19
type Q56061
['Q3419812', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3419812 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Rasha Bukvic
action filter_type
action find
entity Rasha Bukvic
relation place of birth
type administrative territorial entity
['Rasha Bukvic', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rasha_Bukvic property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q204475
SYSTEM
Sombor
Q204475
(Q3419812,P19,c(Q56061))
action filter_type
action find
entity Q3419812
relation P19
type Q56061
Rasha Bukvic was born in [ANSWER]
['Q3419812', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3419812 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Sombor
Rasha Bukvic was born in Sombor
Sombor
action filter_type
action find
entity Rasha Bukvic
relation place of birth
type administrative territorial entity
['Rasha Bukvic', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rasha_Bukvic property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3419812
P21
Q290
USER
Which sex does that person belong to ?
(Q204475,P21,c(Q290))
action filter_type
action find
entity Q3419812
relation P21
type Q290
['Q204475', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3419812 property:P21 ?e . ?e rdf:type ontology:Q290 }
Rasha Bukvic
action filter_type
action find
entity Rasha Bukvic
relation gender
type sex
['Sombor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Rasha_Bukvic property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q204475,P21,c(Q290))
action filter_type
action find
entity Q3419812
relation P21
type Q290
That person belongs to [ANSWER]
['Q204475', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3419812 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Rasha Bukvic
relation gender
type sex
['Sombor', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Rasha_Bukvic property:gender ?e . ?e rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q204475
P19 P21
Q502895
USER
Which people have location of birth at Sombor and have male as the sex ?
AND((c(Q502895),P19,Q204475), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q204475
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q204475'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q204475 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
male Sombor
action filter_type
action intersection
action find_reverse
entity Sombor
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Sombor'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Sombor . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]
common name
Q715075 Q7801767 Q839358 Q3744381 Q1117789 Q4937450 Q891152 Q685143 Q3419812 Q178244
SYSTEM
Some of them are József Schweidel, Tihomir Novakov, László Ranódy, Rade Mijatović, Nikola Poplašen, Bogdan Maglich, Bojan Tomović, Ivan Nemet, Rasha Bukvic, Filip Krajinović
Q19561229 Q20438340 Q5336724 Q1707407 Q326861 Q715075 Q6786325 Q346554 Q6990946 Q685143 Q7801767 Q129340 Q139471 Q339501 Q16236732 Q3419812 Q1257161 Q6885690 Q3744381 Q287162 Q19664054 Q16233601 Q613234 Q1117789 Q2985710 Q27305979 Q16732139 Q839358 Q178244 Q923771 Q1179199 Q15627804 Q12758603 Q5304874 Q7938681 Q891152 Q18128757 Q934779 Q6990935 Q17573725 Q3951238 Q316131 Q8074794 Q18221525 Q16233551 Q4502879 Q3012387 Q4957419 Q5396036 Q402199 Q4937450 Q2633794 Q4251732 Q6710795 Q137852 Q12747499 Q1541544 Q18344823 Q17281073 Q5223727 Q1177196 Q12642748 Q3508970 Q1225952 Q7800511 Q791356 Q1114511 Q18044481 Q17580048
AND((c(Q502895),P19,Q204475), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q204475
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Sombor and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q204475'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q204475 . ?b property:P21 resource:Q6581097 . ?b rdf:type ontology:Q502895 }
Zlatko Liščević Vladan Brdarić Ede Višinka Joseph Kish Jovo Stanojević József Schweidel Mate Brajković Ivan Frgić Nemanja Milić Ivan Nemet Tihomir Novakov Mitar Markez Dušan Radić Veljko Petrović Dejan Dražić Rasha Bukvic Miroslav Josić Višnjić Mlađan Šilobad Rade Mijatović Sándor Gombos Nikola Šakić Aleksandar Stojković Radivoj Korać Nikola Poplašen Milan Konjović Nikola Stanković Aleksa Matić László Ranódy Filip Krajinović József Vértesy Mihály Morell Béla Ambrozovics Saša Radojčić Dragan Mutibarić Vladimir Torbica Bojan Tomović Saša Tomanović Stjepan Gomboš Nemanja Dabić István Székely Saša Zorić Helmar Müller Zsigmond Vincze Ernest Brummer Danilo Sekulić Franz Xaver Rudolf von Höhnel Dalibor Čutura Branislav Vejnović Ervin Holpert Platon Atanacković Bogdan Maglich Zvonko Bogdan Nemanja Obrić László Z. Molnár Saša Dragin Đorđe Lebović Gustav Mezey Miko Golubovic Nikola Jokić Darko Bošković Milan Bogunović Stipan Dora Zdenko Škrabalo Dimitrije Pejanović Tibor Szabó Avram Mrazović Antal Koch Zoran Krstanovic Branimir Jočić
József Schweidel, Tihomir Novakov, László Ranódy, Rade Mijatović, Nikola Poplašen, Bogdan Maglich, Bojan Tomović, Ivan Nemet, Rasha Bukvic and Filip Krajinović have location of birth at Sombor and have male as the sex
József Schweidel Tihomir Novakov László Ranódy Rade Mijatović Nikola Poplašen Bogdan Maglich Bojan Tomović Ivan Nemet Rasha Bukvic Filip Krajinović
action filter_type
action intersection
action find_reverse
entity Sombor
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Sombor'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Sombor . ?b property:gender resource:male . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P88
Q502895 Q15709879 Q1107656
USER
Which people commissioned max number of artwork series or gardens ?
(c(Q15709879)|c(Q1107656),P88,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q15709879
action find_reverse_tuple_counts
relation P88
type Q502895
type Q1107656
[[{'concept': 'Q15709879'}, {'concept': 'Q1107656'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?o ) { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1107656 ) ( ontology:Q15709879 ) } } GROUP BY ?w } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q15709879 ) ( ontology:Q1107656 ) } . ?p rdf:type ?f } GROUP BY ?b } . FILTER ( ?v = ?o ) }
action argmax
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type artwork series
action find_reverse_tuple_counts
relation commissioned by
type common name
type garden
[[{'concept': 'artwork series'}, {'concept': 'garden'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?o ) { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:garden ) ( ontology:artwork_series ) } } GROUP BY ?w } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:artwork_series ) ( ontology:garden ) } . ?p rdf:type ?f } GROUP BY ?b } . FILTER ( ?v = ?o ) }
[]
common name artwork series garden
Q289149
SYSTEM
Étienne François, duc de Choiseul
Q289149
(c(Q15709879)|c(Q1107656),P88,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q15709879
action find_reverse_tuple_counts
relation P88
type Q502895
type Q1107656
[ANSWER] commissioned max number of artwork series or gardens
[[{'concept': 'Q15709879'}, {'concept': 'Q1107656'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?o ) { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1107656 ) ( ontology:Q15709879 ) } } GROUP BY ?w } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q15709879 ) ( ontology:Q1107656 ) } . ?p rdf:type ?f } GROUP BY ?b } . FILTER ( ?v = ?o ) }
Étienne François, duc de Choiseul
Étienne François, duc de Choiseul commissioned max number of artwork series or gardens
Étienne François, duc de Choiseul
action argmax
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type artwork series
action find_reverse_tuple_counts
relation commissioned by
type common name
type garden
[[{'concept': 'artwork series'}, {'concept': 'garden'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?o ) { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:garden ) ( ontology:artwork_series ) } } GROUP BY ?w } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:artwork_series ) ( ontology:garden ) } . ?p rdf:type ?f } GROUP BY ?b } . FILTER ( ?v = ?o ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q289149
P674
Q2342494
USER
Which collectable has the character that person ?
(c(Q2342494),P674,Q289149)
action filter_type
action find_reverse
entity Q289149
relation P674
type Q2342494
[{'concept': 'Q2342494'}, 'P674', 'Q289149']
SELECT DISTINCT ?b WHERE { ?b property:P674 resource:Q289149 . ?b rdf:type ontology:Q2342494 }
Étienne François, duc de Choiseul
action filter_type
action find_reverse
entity Étienne François, duc de Choiseul
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'Étienne François, duc de Choiseul']
SELECT DISTINCT ?b WHERE { ?b property:characters resource:Étienne_François,_duc_de_Choiseul . ?b rdf:type ontology:collectable }
[]
collectable
Q616350
SYSTEM
Joseph Balsamo
Q616350
(c(Q2342494),P674,Q289149)
action filter_type
action find_reverse
entity Q289149
relation P674
type Q2342494
[ANSWER] has the character that person
[{'concept': 'Q2342494'}, 'P674', 'Q289149']
SELECT DISTINCT ?b WHERE { ?b property:P674 resource:Q289149 . ?b rdf:type ontology:Q2342494 }
Joseph Balsamo
Joseph Balsamo has the character that person
Joseph Balsamo
action filter_type
action find_reverse
entity Étienne François, duc de Choiseul
relation characters
type collectable
[{'concept': 'collectable'}, 'characters', 'Étienne François, duc de Choiseul']
SELECT DISTINCT ?b WHERE { ?b property:characters resource:Étienne_François,_duc_de_Choiseul . ?b rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q44539 Q16970
USER
How many people are the patron saint of atmost 27 temples or churches ?
(c(Q44539)|c(Q16970),P417,c(Q502895))
action count
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 Q16970
value 27
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?i ) WHERE { { ?m rdf:type ontology:Q502895 . ?c rdf:type ontology:Q44539 . ?c property:P417 ?m } UNION { ?c property:P417 ?m . ?m rdf:type ontology:Q502895 . ?c rdf:type ontology:Q16970 } } GROUP BY ?m } . FILTER ( ?i <= 27 ) }
action count
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 church
value 27
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?i ) WHERE { { ?m rdf:type ontology:common_name . ?c rdf:type ontology:temple . ?c property:patron_saint ?m } UNION { ?c property:patron_saint ?m . ?m rdf:type ontology:common_name . ?c rdf:type ontology:church } } GROUP BY ?m } . FILTER ( ?i <= 27 ) }
[]
common name temple church
SYSTEM
317
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 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 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 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 Q192816 Q43982 Q58559 Q179718 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 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 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(Q16970),P417,c(Q502895))
action count
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 Q16970
value 27
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?i ) WHERE { { ?m rdf:type ontology:Q502895 . ?c rdf:type ontology:Q44539 . ?c property:P417 ?m } UNION { ?c property:P417 ?m . ?m rdf:type ontology:Q502895 . ?c rdf:type ontology:Q16970 } } GROUP BY ?m } . FILTER ( ?i <= 27 ) }
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 Sixtus I Stephen 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 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 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 Saint Barbara Bartholomew the Apostle Leo IX Catherine of Alexandria 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 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 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
317
action count
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 church
value 27
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?i ) WHERE { { ?m rdf:type ontology:common_name . ?c rdf:type ontology:temple . ?c property:patron_saint ?m } UNION { ?c property:patron_saint ?m . ?m rdf:type ontology:common_name . ?c rdf:type ontology:church } } GROUP BY ?m } . FILTER ( ?i <= 27 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q685143 Q5943800
P20
Q56061
USER
How many administrative territories did Ivan Nemet or José Marín die ?
(Q685143,P20,c(Q56061)) (Q5943800,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q685143
relation P20
type Q56061
action filter_type
action find
entity Q5943800
relation P20
type Q56061
['Q685143', 'P20', {'concept': 'Q56061'}] ['Q5943800', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?p ) { ( resource:Q685143 ) ( resource:Q5943800 ) } . ?p property:P20 ?s }
Ivan Nemet José Marín
action count
action union
action filter_type
action find
entity Ivan Nemet
relation place of death
type administrative territorial entity
action filter_type
action find
entity José Marín
relation place of death
type administrative territorial entity
['Ivan Nemet', 'place of death', {'concept': 'administrative territorial entity'}] ['José Marín', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?p ) { ( resource:Ivan_Nemet ) ( resource:José_Marín ) } . ?p property:place_of_death ?s }
[]
administrative territorial entity
SYSTEM
2
Q2807 Q78
(Q685143,P20,c(Q56061)) (Q5943800,P20,c(Q56061))
action count
action union
action filter_type
action find
entity Q685143
relation P20
type Q56061
action filter_type
action find
entity Q5943800
relation P20
type Q56061
[ANSWER]
['Q685143', 'P20', {'concept': 'Q56061'}] ['Q5943800', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?p ) { ( resource:Q685143 ) ( resource:Q5943800 ) } . ?p property:P20 ?s }
Madrid Basel
2
action count
action union
action filter_type
action find
entity Ivan Nemet
relation place of death
type administrative territorial entity
action filter_type
action find
entity José Marín
relation place of death
type administrative territorial entity
['Ivan Nemet', 'place of death', {'concept': 'administrative territorial entity'}] ['José Marín', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?p ) { ( resource:Ivan_Nemet ) ( resource:José_Marín ) } . ?p property:place_of_death ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15438166 Q685143
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Ivan Nemet or Jesús Sanoja Hernández ?
OR((Q685143,P27,c(Q15617994)), (Q15438166,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q685143
relation P27
action find
entity Q15438166
relation P27
type Q15617994
{'OR': [['Q685143', 'P27', {'concept': 'Q15617994'}], ['Q15438166', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q15438166 property:P27 ?v } UNION { resource:Q685143 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Jesús Sanoja Hernández Ivan Nemet
action filter_type
action union
action find
entity Ivan Nemet
relation country of citizenship
action find
entity Jesús Sanoja Hernández
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ivan Nemet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jesús Sanoja Hernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Jesús_Sanoja_Hernández property:country_of_citizenship ?v } UNION { resource:Ivan_Nemet property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q717
SYSTEM
Switzerland, Venezuela
Q39 Q717
OR((Q685143,P27,c(Q15617994)), (Q15438166,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q685143
relation P27
action find
entity Q15438166
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Ivan Nemet or Jesús Sanoja Hernández
{'OR': [['Q685143', 'P27', {'concept': 'Q15617994'}], ['Q15438166', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q15438166 property:P27 ?v } UNION { resource:Q685143 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Switzerland Venezuela
Switzerland and Venezuela are the countries of citizenship of Ivan Nemet or Jesús Sanoja Hernández
Switzerland Venezuela
action filter_type
action union
action find
entity Ivan Nemet
relation country of citizenship
action find
entity Jesús Sanoja Hernández
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ivan Nemet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jesús Sanoja Hernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Jesús_Sanoja_Hernández property:country_of_citizenship ?v } UNION { resource:Ivan_Nemet property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]