Simple Question (Direct)
Simple Question
Q3383082
P39
Q12737077
USER
Which occupation was a position held by Pierre-George de Meulenaëre ?
(Q3383082,P39,c(Q12737077))
action filter_type
action find
entity Q3383082
relation P39
type Q12737077
['Q3383082', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3383082 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Pierre-George de Meulenaëre
action filter_type
action find
entity Pierre-George de Meulenaëre
relation position held
type occupation
['Pierre-George de Meulenaëre', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Pierre-George_de_Meulenaëre property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3383082,P39,c(Q12737077))
action filter_type
action find
entity Q3383082
relation P39
type Q12737077
A member of the French National Assembly was a position held by Pierre-George de Meulenaëre
['Q3383082', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q3383082 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position held by Pierre-George de Meulenaëre
member of the French National Assembly
action filter_type
action find
entity Pierre-George de Meulenaëre
relation position held
type occupation
['Pierre-George de Meulenaëre', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Pierre-George_de_Meulenaëre property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3383082
P21
Q290
USER
What is the sex of that person ?
(Q3044918,P21,c(Q290))
action filter_type
action find
entity Q3383082
relation P21
type Q290
['Q3044918', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3383082 property:P21 ?t . ?t rdf:type ontology:Q290 }
Pierre-George de Meulenaëre
action filter_type
action find
entity Pierre-George de Meulenaëre
relation gender
type sex
['member of the French\xa0National Assembly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Pierre-George_de_Meulenaëre property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3044918,P21,c(Q290))
action filter_type
action find
entity Q3383082
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q3044918', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3383082 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Pierre-George de Meulenaëre
relation gender
type sex
['member of the French\xa0National Assembly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Pierre-George_de_Meulenaëre property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3383082
P106
Q12737077
USER
What are the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q3383082
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3383082 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Pierre-George de Meulenaëre
action filter_type
action find
entity Pierre-George de Meulenaëre
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Pierre-George_de_Meulenaëre property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q82955 Q4594605
SYSTEM
politician, magistrate
Q82955 Q4594605
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q3383082
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3383082 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
politician magistrate
The job of that person are the politician and magistrate
politician magistrate
action filter_type
action find
entity Pierre-George de Meulenaëre
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Pierre-George_de_Meulenaëre property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q119375
P106
Q502895
USER
Do Paul Holz have those occupations as his/her means of employment ?
(Q119375,P106,Q82955) (Q119375,P106,Q4594605)
action is_in
entity prev_answer
action find
entity Q119375
relation P106
['Q119375', 'P106', 'Q82955'] ['Q119375', 'P106', 'Q4594605']
ASK WHERE { resource:Q119375 property:P106 ?z . VALUES ( ?z ) { ( resource:Q82955 ) ( resource:Q4594605 ) } }
Paul Holz
action is_in
entity prev_answer
action find
entity Paul Holz
relation occupation
['Paul Holz', 'occupation', 'politician'] ['Paul Holz', 'occupation', 'magistrate']
ASK WHERE { resource:Paul_Holz property:occupation ?z . VALUES ( ?z ) { ( resource:politician ) ( resource:magistrate ) } }
[]
common name
SYSTEM
NO
(Q119375,P106,Q82955) (Q119375,P106,Q4594605)
action is_in
entity prev_answer
action find
entity Q119375
relation P106
[ANSWER]
['Q119375', 'P106', 'Q82955'] ['Q119375', 'P106', 'Q4594605']
ASK WHERE { resource:Q119375 property:P106 ?z . VALUES ( ?z ) { ( resource:Q82955 ) ( resource:Q4594605 ) } }
No
action is_in
entity prev_answer
action find
entity Paul Holz
relation occupation
['Paul Holz', 'occupation', 'politician'] ['Paul Holz', 'occupation', 'magistrate']
ASK WHERE { resource:Paul_Holz property:occupation ?z . VALUES ( ?z ) { ( resource:politician ) ( resource:magistrate ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1512383 Q119375
P106
Q12737077
USER
Which occupations do Paul Holz and Gerhard Rummel do for a living ?
AND((Q119375,P106,c(Q12737077)), (Q1512383,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q119375
relation P106
action find
entity Q1512383
relation P106
type Q12737077
{'AND': [['Q119375', 'P106', {'concept': 'Q12737077'}], ['Q1512383', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { resource:Q119375 property:P106 ?e . resource:Q1512383 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Gerhard Rummel Paul Holz
action filter_type
action intersection
action find
entity Paul Holz
relation occupation
action find
entity Gerhard Rummel
relation occupation
type occupation
{'AND': [['Paul Holz', 'occupation', {'concept': 'occupation'}], ['Gerhard Rummel', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { resource:Paul_Holz property:occupation ?e . resource:Gerhard_Rummel property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
AND((Q119375,P106,c(Q12737077)), (Q1512383,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q119375
relation P106
action find
entity Q1512383
relation P106
type Q12737077
Paul Holz and Gerhard Rummel do for a living as [ANSWER]
{'AND': [['Q119375', 'P106', {'concept': 'Q12737077'}], ['Q1512383', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { resource:Q119375 property:P106 ?e . resource:Q1512383 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
university teacher
Paul Holz and Gerhard Rummel do for a living as university teacher
university teacher
action filter_type
action intersection
action find
entity Paul Holz
relation occupation
action find
entity Gerhard Rummel
relation occupation
type occupation
{'AND': [['Paul Holz', 'occupation', {'concept': 'occupation'}], ['Gerhard Rummel', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { resource:Paul_Holz property:occupation ?e . resource:Gerhard_Rummel property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q167477
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of approximately the same number of occupations as Anthony of Padua ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q167477
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P417 ?q . ?q rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q167477 property:P417 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?y = ?w ) }
Anthony of Padua
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Anthony of Padua
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:patron_saint ?q . ?q rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Anthony_of_Padua property:patron_saint ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?y = ?w ) }
[]
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 approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q167477
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P417 ?q . ?q rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q167477 property:P417 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?y = ?w ) }
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 approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Anthony of Padua
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:patron_saint ?q . ?q rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Anthony_of_Padua property:patron_saint ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?y = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q44281
P417
Q502895 Q12737077
USER
And what about Ignatius of Loyola?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44281
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P417 ?o . ?o rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { resource:Q44281 property:P417 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?v = ?w ) }
Ignatius of Loyola
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Ignatius of Loyola
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:patron_saint ?o . ?o rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { resource:Ignatius_of_Loyola property:patron_saint ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?v = ?w ) }
[]
common name occupation
SYSTEM
38
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44281
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P417 ?o . ?o rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { resource:Q44281 property:P417 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?v = ?w ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
38
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Ignatius of Loyola
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:patron_saint ?o . ?o rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { resource:Ignatius_of_Loyola property:patron_saint ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?v = ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6098288 Q3383082
P19
Q56061
USER
Which administrative territories were Pierre-George de Meulenaëre or Rai López born at ?
OR((Q3383082,P19,c(Q56061)), (Q6098288,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3383082
relation P19
action find
entity Q6098288
relation P19
type Q56061
{'OR': [['Q3383082', 'P19', {'concept': 'Q56061'}], ['Q6098288', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q3383082 property:P19 ?h } UNION { resource:Q6098288 property:P19 ?h } } . ?h rdf:type ontology:Q56061 }
Rai López Pierre-George de Meulenaëre
action filter_type
action union
action find
entity Pierre-George de Meulenaëre
relation place of birth
action find
entity Rai López
relation place of birth
type administrative territorial entity
{'OR': [['Pierre-George de Meulenaëre', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rai López', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Pierre-George_de_Meulenaëre property:place_of_birth ?h } UNION { resource:Rai_López property:place_of_birth ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1296 Q8851
SYSTEM
Ghent, Málaga
Q1296 Q8851
OR((Q3383082,P19,c(Q56061)), (Q6098288,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3383082
relation P19
action find
entity Q6098288
relation P19
type Q56061
Pierre-George de Meulenaëre or Rai López were born in [ANSWERS]
{'OR': [['Q3383082', 'P19', {'concept': 'Q56061'}], ['Q6098288', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q3383082 property:P19 ?h } UNION { resource:Q6098288 property:P19 ?h } } . ?h rdf:type ontology:Q56061 }
Ghent Málaga
Pierre-George de Meulenaëre or Rai López were born in Ghent and Málaga
Ghent Málaga
action filter_type
action union
action find
entity Pierre-George de Meulenaëre
relation place of birth
action find
entity Rai López
relation place of birth
type administrative territorial entity
{'OR': [['Pierre-George de Meulenaëre', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rai López', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Pierre-George_de_Meulenaëre property:place_of_birth ?h } UNION { resource:Rai_López property:place_of_birth ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3208959 Q1622272
P161 P417
Q502895
USER
Which people are the patron saint of university teacher or starred in The End of the Day ?
OR((Q1622272,P417,c(Q502895)), (Q3208959,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1622272
relation P417
action find
entity Q3208959
relation P161
type Q502895
{'OR': [['Q1622272', 'P417', {'concept': 'Q502895'}], ['Q3208959', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q3208959 property:P161 ?c } UNION { resource:Q1622272 property:P417 ?c } } . ?c rdf:type ontology:Q502895 }
The End of the Day university teacher
action filter_type
action union
action find
entity university teacher
relation patron saint
action find
entity The End of the Day
relation cast member
type common name
{'OR': [['university teacher', 'patron saint', {'concept': 'common name'}], ['The End of the Day', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:The_End_of_the_Day property:cast_member ?c } UNION { resource:university_teacher property:patron_saint ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q3425827 Q2833413 Q3275703 Q1383724 Q3426452 Q3171416 Q3421279 Q3301396 Q3100697 Q3436183
SYSTEM
Some of them are René Bergeron, Alexandre Arquillière, Madeleine Ozeray, Victor Francen, René Lacourt, Jean Coquelin, Raymone Duchateau, Maurice Schutz, Geneviève Sorya, Robert Rollis
Q2905965 Q3301396 Q3291876 Q3386065 Q60801 Q3421279 Q3094173 Q3436183 Q3100697 Q3295268 Q3440596 Q9438 Q1451173 Q3576462 Q3426452 Q3557631 Q3380634 Q3436021 Q2833413 Q3425827 Q3263301 Q3172814 Q3170476 Q526164 Q3094129 Q3275703 Q3386981 Q3349208 Q3102293 Q3102599 Q124112 Q3290791 Q323377 Q3371172 Q2978115 Q2871087 Q1383724 Q351276 Q2865072 Q3122957 Q3171416 Q2959252 Q526024 Q3099045
OR((Q1622272,P417,c(Q502895)), (Q3208959,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1622272
relation P417
action find
entity Q3208959
relation P161
type Q502895
[ANSWERS] are the patron saint of university teacher or starred in The End of the Day
{'OR': [['Q1622272', 'P417', {'concept': 'Q502895'}], ['Q3208959', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q3208959 property:P161 ?c } UNION { resource:Q1622272 property:P417 ?c } } . ?c rdf:type ontology:Q502895 }
Blanche Denège Maurice Schutz Marie-Hélène Dasté Pierre Magnier Louis Jouvet Raymone Duchateau Gaby André Robert Rollis Geneviève Sorya Martial Rèbe Romain Bouquet Thomas Aquinas François Périer Zélie Yzelle René Lacourt Victor Vina Philippe Richard Robert Ozanne Alexandre Arquillière René Bergeron Louis Vonelly Jean Joffre Jean Ayme Gabrielle Dorziat Gabrielle Fontan Madeleine Ozeray Pierre Sergeol Odette Talazac Georges Bever Georges Denola Michel Simon Marguerite de Morlaye Gaston Modot Paul Escoffier Claude Sainval Auguste Boverio Victor Francen Henri Nassiet Arthur Devère Génia Vaury Jean Coquelin Charles Granval Sylvie Gaston Jacquet
René Bergeron, Alexandre Arquillière, Madeleine Ozeray, Victor Francen, René Lacourt, Jean Coquelin, Raymone Duchateau, Maurice Schutz, Geneviève Sorya and Robert Rollis are the patron saint of university teacher or starred in The End of the Day
René Bergeron Alexandre Arquillière Madeleine Ozeray Victor Francen René Lacourt Jean Coquelin Raymone Duchateau Maurice Schutz Geneviève Sorya Robert Rollis
action filter_type
action union
action find
entity university teacher
relation patron saint
action find
entity The End of the Day
relation cast member
type common name
{'OR': [['university teacher', 'patron saint', {'concept': 'common name'}], ['The End of the Day', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:The_End_of_the_Day property:cast_member ?c } UNION { resource:university_teacher property:patron_saint ?c } } . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3301396
P20
Q20667921
USER
Which french administrative division is the place of death of that person ?
(Q3301396,P20,c(Q20667921))
action filter_type
action find
entity Q3301396
relation P20
type Q20667921
['Q3301396', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q3301396 property:P20 ?m . ?m rdf:type ontology:Q20667921 }
Maurice Schutz
action filter_type
action find
entity Maurice Schutz
relation place of death
type type of french administrative division
['Maurice Schutz', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Maurice_Schutz property:place_of_death ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q3275703
SYSTEM
Did you mean Madeleine Ozeray ?
Q3425827 Q2833413 Q3275703 Q1383724 Q3426452 Q3171416 Q3421279 Q3301396 Q3100697 Q3436183
(Q3425827,P20,c(Q20667921)) (Q2833413,P20,c(Q20667921)) (Q3275703,P20,c(Q20667921)) (Q1383724,P20,c(Q20667921)) (Q3426452,P20,c(Q20667921)) (Q3171416,P20,c(Q20667921)) (Q3421279,P20,c(Q20667921)) (Q3301396,P20,c(Q20667921)) (Q3100697,P20,c(Q20667921)) (Q3436183,P20,c(Q20667921))
[ANSWER]
['Q3425827', 'P20', {'concept': 'Q20667921'}] ['Q2833413', 'P20', {'concept': 'Q20667921'}] ['Q3275703', 'P20', {'concept': 'Q20667921'}] ['Q1383724', 'P20', {'concept': 'Q20667921'}] ['Q3426452', 'P20', {'concept': 'Q20667921'}] ['Q3171416', 'P20', {'concept': 'Q20667921'}] ['Q3421279', 'P20', {'concept': 'Q20667921'}] ['Q3301396', 'P20', {'concept': 'Q20667921'}] ['Q3100697', 'P20', {'concept': 'Q20667921'}] ['Q3436183', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q3301396 property:P20 ?m . ?m rdf:type ontology:Q20667921 }
René Bergeron Alexandre Arquillière Madeleine Ozeray Victor Francen René Lacourt Jean Coquelin Raymone Duchateau Maurice Schutz Geneviève Sorya Robert Rollis
Did you mean Madeleine Ozeray ?
Madeleine Ozeray
['René Bergeron', 'place of death', {'concept': 'type of french administrative division'}] ['Alexandre Arquillière', 'place of death', {'concept': 'type of french administrative division'}] ['Madeleine Ozeray', 'place of death', {'concept': 'type of french administrative division'}] ['Victor Francen', 'place of death', {'concept': 'type of french administrative division'}] ['René Lacourt', 'place of death', {'concept': 'type of french administrative division'}] ['Jean Coquelin', 'place of death', {'concept': 'type of french administrative division'}] ['Raymone Duchateau', 'place of death', {'concept': 'type of french administrative division'}] ['Maurice Schutz', 'place of death', {'concept': 'type of french administrative division'}] ['Geneviève Sorya', 'place of death', {'concept': 'type of french administrative division'}] ['Robert Rollis', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Maurice_Schutz property:place_of_death ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Maurice Schutz. Could you tell me the answer for that?
(Q3301396,P20,c(Q20667921))
Q3301396
['Q3301396', 'P20', {'concept': 'Q20667921'}]
['Maurice Schutz', 'place of death', {'concept': 'type of french administrative division'}]
[]
Q201982
SYSTEM
Clichy
Q201982
(Q3301396,P20,c(Q20667921))
action filter_type
action find
entity Q3301396
relation P20
type Q20667921
[ANSWER] is the place of death of that person
['Q3301396', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q3301396 property:P20 ?m . ?m rdf:type ontology:Q20667921 }
Clichy
Clichy is the place of death of that person
Clichy
action filter_type
action find
entity Maurice Schutz
relation place of death
type type of french administrative division
['Maurice Schutz', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Maurice_Schutz property:place_of_death ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16121375
P608
Q1656682 Q33506 Q502895
USER
Which people were displayed at less number of events and museums than Judith Lowry ?
(c(Q502895),P608,c(Q1656682)|c(Q33506))
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q16121375
relation P608
type Q1656682
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) ?z WHERE { { ?z property:P608 ?i . ?z rdf:type ontology:Q502895 . ?i rdf:type ontology:Q1656682 } UNION { ?z property:P608 ?i . ?i rdf:type ontology:Q33506 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q16121375 property:P608 ?o . { { ?o rdf:type ontology:Q1656682 } UNION { ?o rdf:type ontology:Q33506 } } } } }
Judith Lowry
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Judith Lowry
relation exhibition history
type event
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'museum'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) ?z WHERE { { ?z property:exhibition_history ?i . ?z rdf:type ontology:common_name . ?i rdf:type ontology:event } UNION { ?z property:exhibition_history ?i . ?i rdf:type ontology:museum . ?z rdf:type ontology:common_name } } GROUP BY ?z } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Judith_Lowry property:exhibition_history ?o . { { ?o rdf:type ontology:event } UNION { ?o rdf:type ontology:museum } } } } }
[]
event museum common name
Q1964408 Q15527965 Q55192
SYSTEM
Nan Hoover, Margaretha Roosenboom, Gertrude Abercrombie
Q70006 Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q7649008 Q16858002 Q15991813 Q16062545 Q5671224 Q17625628 Q16005428 Q27505608 Q5248733 Q2824894 Q1964408 Q15734237 Q2965423 Q6687160 Q3289592 Q22815085 Q5375139 Q9015308 Q805807 Q16080418 Q15527965 Q15873898 Q55192 Q3335569
(c(Q502895),P608,c(Q1656682)|c(Q33506))
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q16121375
relation P608
type Q1656682
type Q33506
[ANSWERS] were displayed at less number of events and museums than Judith Lowry
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) ?z WHERE { { ?z property:P608 ?i . ?z rdf:type ontology:Q502895 . ?i rdf:type ontology:Q1656682 } UNION { ?z property:P608 ?i . ?i rdf:type ontology:Q33506 . ?z rdf:type ontology:Q502895 } } GROUP BY ?z } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q16121375 property:P608 ?o . { { ?o rdf:type ontology:Q1656682 } UNION { ?o rdf:type ontology:Q33506 } } } } }
Lotte Jacobi René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Alice Havers Pablo Borges Delgado Deborah De Robertis Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Nan Hoover Tony van Alphen Christian Lhopital Louis Ferstadt Moniek Toebosch Georges Violet Ena Swansea Juan Carlos Alom Balto Alyce Frank Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet
Nan Hoover, Margaretha Roosenboom and Gertrude Abercrombie were displayed at less number of events and museums than Judith Lowry
Nan Hoover Margaretha Roosenboom Gertrude Abercrombie
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Judith Lowry
relation exhibition history
type event
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'museum'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) ?z WHERE { { ?z property:exhibition_history ?i . ?z rdf:type ontology:common_name . ?i rdf:type ontology:event } UNION { ?z property:exhibition_history ?i . ?i rdf:type ontology:museum . ?z rdf:type ontology:common_name } } GROUP BY ?z } . FILTER ( ?e < ?d ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Judith_Lowry property:exhibition_history ?o . { { ?o rdf:type ontology:event } UNION { ?o rdf:type ontology:museum } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4648360
P608
Q1656682 Q33506 Q502895
USER
And how about A. S. Baylinson?
(c(Q502895),P608,c(Q1656682)|c(Q33506))
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q4648360
relation P608
type Q1656682
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?i WHERE { { ?j rdf:type ontology:Q1656682 . ?i rdf:type ontology:Q502895 . ?i property:P608 ?j } UNION { ?i property:P608 ?j . ?j rdf:type ontology:Q33506 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q4648360 property:P608 ?v . { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1656682 ) ( ontology:Q33506 ) } } } } . FILTER ( ?e < ?r ) }
A. S. Baylinson
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity A. S. Baylinson
relation exhibition history
type event
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'museum'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?i WHERE { { ?j rdf:type ontology:event . ?i rdf:type ontology:common_name . ?i property:exhibition_history ?j } UNION { ?i property:exhibition_history ?j . ?j rdf:type ontology:museum . ?i rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:A._S._Baylinson property:exhibition_history ?v . { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:event ) ( ontology:museum ) } } } } . FILTER ( ?e < ?r ) }
[]
event museum common name
Q1964408 Q15527965 Q55192
SYSTEM
Nan Hoover, Margaretha Roosenboom, Gertrude Abercrombie
Q70006 Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q7649008 Q16858002 Q15991813 Q6990118 Q16062545 Q5671224 Q17625628 Q16005428 Q27505608 Q5248733 Q2824894 Q1964408 Q15734237 Q2965423 Q6687160 Q3289592 Q20888837 Q22815085 Q5375139 Q9015308 Q805807 Q16080418 Q16121375 Q15527965 Q15873898 Q55192 Q3335569 Q16968866
(c(Q502895),P608,c(Q1656682)|c(Q33506))
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q4648360
relation P608
type Q1656682
type Q33506
[ANSWERS]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?i WHERE { { ?j rdf:type ontology:Q1656682 . ?i rdf:type ontology:Q502895 . ?i property:P608 ?j } UNION { ?i property:P608 ?j . ?j rdf:type ontology:Q33506 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q4648360 property:P608 ?v . { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1656682 ) ( ontology:Q33506 ) } } } } . FILTER ( ?e < ?r ) }
Lotte Jacobi René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Nellie Mae Rowe Alice Havers Pablo Borges Delgado Deborah De Robertis Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Nan Hoover Tony van Alphen Christian Lhopital Louis Ferstadt Moniek Toebosch Angélique Bègue Georges Violet Ena Swansea Juan Carlos Alom Balto Alyce Frank Judith Lowry Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet Lydia Schouten
Nan Hoover Margaretha Roosenboom Gertrude Abercrombie
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity A. S. Baylinson
relation exhibition history
type event
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'museum'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) ?i WHERE { { ?j rdf:type ontology:event . ?i rdf:type ontology:common_name . ?i property:exhibition_history ?j } UNION { ?i property:exhibition_history ?j . ?j rdf:type ontology:museum . ?i rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:A._S._Baylinson property:exhibition_history ?v . { ?v rdf:type ?t . VALUES ( ?t ) { ( ontology:event ) ( ontology:museum ) } } } } . FILTER ( ?e < ?r ) }
[]