Simple Question (Direct)
Simple Question
Q16943320
P1412
Q34770
USER
Which language is Joan Martí i Cantó capable of writing ?
(Q16943320,P1412,c(Q34770))
action filter_type
action find
entity Q16943320
relation P1412
type Q34770
['Q16943320', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q16943320 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Joan Martí i Cantó
action filter_type
action find
entity Joan Martí i Cantó
relation languages spoken, written or signed
type language
['Joan Martí i Cantó', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Joan_Martí_i_Cantó property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q16943320,P1412,c(Q34770))
action filter_type
action find
entity Q16943320
relation P1412
type Q34770
[ANSWER] is Joan Martí i Cantó capable of writing
['Q16943320', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q16943320 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
Spanish is Joan Martí i Cantó capable of writing
Spanish
action filter_type
action find
entity Joan Martí i Cantó
relation languages spoken, written or signed
type language
['Joan Martí i Cantó', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Joan_Martí_i_Cantó property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16943320
P19
Q56061
USER
Which administrative territory is the place of birth of Joan Martí i Cantó ?
(Q16943320,P19,c(Q56061))
action filter_type
action find
entity Q16943320
relation P19
type Q56061
['Q16943320', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q16943320 property:P19 ?f }
Joan Martí i Cantó
action filter_type
action find
entity Joan Martí i Cantó
relation place of birth
type administrative territorial entity
['Joan Martí i Cantó', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Joan_Martí_i_Cantó property:place_of_birth ?f }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q16943320,P19,c(Q56061))
action filter_type
action find
entity Q16943320
relation P19
type Q56061
[ANSWER] is the place of birth of Joan Martí i Cantó
['Q16943320', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q16943320 property:P19 ?f }
Barcelona
Barcelona is the place of birth of Joan Martí i Cantó
Barcelona
action filter_type
action find
entity Joan Martí i Cantó
relation place of birth
type administrative territorial entity
['Joan Martí i Cantó', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Joan_Martí_i_Cantó property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16943320
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q1492,P20,c(Q56061))
action filter_type
action find
entity Q16943320
relation P20
type Q56061
['Q1492', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q16943320 property:P20 ?j }
Joan Martí i Cantó
action filter_type
action find
entity Joan Martí i Cantó
relation place of death
type administrative territorial entity
['Barcelona', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Joan_Martí_i_Cantó property:place_of_death ?j }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q1492,P20,c(Q56061))
action filter_type
action find
entity Q16943320
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q1492', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q16943320 property:P20 ?j }
Barcelona
The expiration of that person occurred in Barcelona
Barcelona
action filter_type
action find
entity Joan Martí i Cantó
relation place of death
type administrative territorial entity
['Barcelona', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Joan_Martí_i_Cantó property:place_of_death ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1492
P159
Q43229
USER
Which organizations have headquarters located at that administrative territory ?
(c(Q43229),P159,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1492']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . ?j property:P159 resource:Q1492 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Barcelona']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . ?j property:headquarters_location resource:Barcelona }
[]
organization
Q1135120 Q5412559 Q847225
SYSTEM
Terra Networks, European Federation of Biotechnology, Caixabank
Q3813620 Q16928046 Q1023309 Q6004243 Q7247808 Q5560331 Q7960955 Q1980781 Q19802126 Q319730 Q944760 Q7671733 Q3750952 Q6507979 Q3410623 Q3107359 Q5412559 Q3117445 Q4700235 Q5445555 Q18390566 Q474690 Q3820563 Q1778212 Q3751860 Q8846494 Q5013368 Q5013376 Q17339823 Q549127 Q3046526 Q20017099 Q5323640 Q6013943 Q4889758 Q3746820 Q3012930 Q7130927 Q2929165 Q1315503 Q1992884 Q3100842 Q901262 Q19546442 Q1135120 Q5375251 Q847225 Q3817807 Q7353344 Q1877720 Q3346522 Q5337049 Q7993835 Q662894 Q509062 Q11697586 Q4735855 Q2309266 Q1562646 Q1845633 Q83819 Q17048722 Q17058977 Q938535 Q20102779 Q11938624 Q16245459 Q16846914 Q2071662 Q11921473 Q27148162 Q287753 Q3746834 Q1076068
(c(Q43229),P159,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P159
type Q43229
[ANSWERS] have headquarters located at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q1492']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . ?j property:P159 resource:Q1492 }
Grupo Compás VOILÀ Hotel Rewards CEDADE Imm sound Production Paradise Gigle Networks Wake Studios Caprabo SOM Biotech Abertis Almirall TSS – Transport Simulation Systems CatalunyaCaixa Le cool Puig Grupo Agbar European Federation of Biotechnology Hotusa Group Akamon Entertainment Fersa Energias Renovables Metalogenia Gas Natural SEPU Transports Metropolitans de Barcelona The Unfinished Sympathy Eurostars Hotels COMSA COMSA Rail Transport Foment d'Obres i Construccions S.A. Fomento de Construcciones y Contratas Galactic Suite Design LetsBonus EMTE Inbenta Catalan Food Safety Agency Fluendo S.A. Damm Pangea.org Byphasse Bodegas Torres Ninco Mediapro Grifols Sportium Terra Networks Enasa Caixabank Web Medica Acreditada Robot Comics Lust Films Nutrexpa Edesa Whisbi Barcelona Traction Inmobiliaria Colonial Pans & Company Alstom Wind Norma Editorial H10 Hotels Autoritat del Transport Metropolità Ferrocarrils de la Generalitat de Catalunya Social Point Wuaki.tv Chupa Chups Association of Surveyors, Technical Architects and Building Engineers of Barcelona Neufville Typefoundry Abantia IDAPT Groupalia Fabra i Coats Ramel, S.A. La Caixa Flumotion Matutano
Terra Networks, European Federation of Biotechnology and Caixabank have headquarters located at that administrative territory
Terra Networks European Federation of Biotechnology Caixabank
action filter_type
action find_reverse
entity Barcelona
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Barcelona']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . ?j property:headquarters_location resource:Barcelona }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1135120 Q5412559 Q847225
P159
Q56061
USER
Where are the head office for Terra Networks, European Federation of Biotechnology and Caixabank located ?
(Q1135120,P159,c(Q56061)) (Q5412559,P159,c(Q56061)) (Q847225,P159,c(Q56061))
action union
action filter_type
action find
entity Q1135120
relation P159
type Q56061
action filter_type
action find
entity Q5412559
relation P159
type Q56061
action filter_type
action find
entity Q847225
relation P159
type Q56061
['Q1135120', 'P159', {'concept': 'Q56061'}] ['Q5412559', 'P159', {'concept': 'Q56061'}] ['Q847225', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?s property:P159 ?r . VALUES ( ?s ) { ( resource:Q5412559 ) ( resource:Q1135120 ) } }
Terra Networks European Federation of Biotechnology Caixabank
action union
action filter_type
action find
entity Terra Networks
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity European Federation of Biotechnology
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Caixabank
relation headquarters location
type administrative territorial entity
['Terra Networks', 'headquarters location', {'concept': 'administrative territorial entity'}] ['European Federation of Biotechnology', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Caixabank', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?s property:headquarters_location ?r . VALUES ( ?s ) { ( resource:European_Federation_of_Biotechnology ) ( resource:Terra_Networks ) } }
[]
administrative territorial entity
Q1492 Q1492 Q1492
SYSTEM
Barcelona
Q1492 Q1492 Q1492
(Q1135120,P159,c(Q56061)) (Q5412559,P159,c(Q56061)) (Q847225,P159,c(Q56061))
action union
action filter_type
action find
entity Q1135120
relation P159
type Q56061
action filter_type
action find
entity Q5412559
relation P159
type Q56061
action filter_type
action find
entity Q847225
relation P159
type Q56061
Are the head office for Terra Networks , European Federation of Biotechnology and Caixabank located in [ANSWER], [ANSWER] and [ANSWER]
['Q1135120', 'P159', {'concept': 'Q56061'}] ['Q5412559', 'P159', {'concept': 'Q56061'}] ['Q847225', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?s property:P159 ?r . VALUES ( ?s ) { ( resource:Q5412559 ) ( resource:Q1135120 ) } }
Barcelona Barcelona Barcelona
Are the head office for Terra Networks , European Federation of Biotechnology and Caixabank located in Barcelona, Barcelona and Barcelona
Barcelona Barcelona Barcelona
action union
action filter_type
action find
entity Terra Networks
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity European Federation of Biotechnology
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Caixabank
relation headquarters location
type administrative territorial entity
['Terra Networks', 'headquarters location', {'concept': 'administrative territorial entity'}] ['European Federation of Biotechnology', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Caixabank', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?s property:headquarters_location ?r . VALUES ( ?s ) { ( resource:European_Federation_of_Biotechnology ) ( resource:Terra_Networks ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16943320
P106
Q12737077
USER
What are the job of Joan Martí i Cantó ?
(Q16943320,P106,c(Q12737077))
action filter_type
action find
entity Q16943320
relation P106
type Q12737077
['Q16943320', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q16943320 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Joan Martí i Cantó
action filter_type
action find
entity Joan Martí i Cantó
relation occupation
type occupation
['Joan Martí i Cantó', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Joan_Martí_i_Cantó property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q43845 Q36834
SYSTEM
businessperson, composer
Q43845 Q36834
(Q16943320,P106,c(Q12737077))
action filter_type
action find
entity Q16943320
relation P106
type Q12737077
The job of Joan Martí i Cantó are a [ANSWERS]
['Q16943320', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q16943320 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
businessperson composer
The job of Joan Martí i Cantó are a businessperson and composer
businessperson composer
action filter_type
action find
entity Joan Martí i Cantó
relation occupation
type occupation
['Joan Martí i Cantó', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Joan_Martí_i_Cantó property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3663117
P417
Q502895 Q12737077
USER
Which people are the patron saint of around the same number of occupations as Castrese di Sessa ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3663117
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P417 ?r . ?r rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q3663117 property:P417 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?z = ?y ) }
Castrese di Sessa
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Castrese di Sessa
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:patron_saint ?r . ?r rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Castrese_di_Sessa property:patron_saint ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?z = ?y ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
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 approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3663117
relation P417
type Q502895
[ANSWERS] are the patron saint of around the same number of occupations as Castrese di Sessa
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P417 ?r . ?r rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q3663117 property:P417 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?z = ?y ) }
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
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of around the same number of occupations as Castrese di Sessa
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Castrese di Sessa
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:patron_saint ?r . ?r rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Castrese_di_Sessa property:patron_saint ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?z = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3779522
P417
Q502895 Q12737077
USER
And how about Guido of Acqui?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3779522
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P417 ?e . ?e rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Q3779522 property:P417 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?d = ?l ) }
Guido of Acqui
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Guido of Acqui
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:patron_saint ?e . ?e rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Guido_of_Acqui property:patron_saint ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?d = ?l ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
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 approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q3779522
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P417 ?e . ?e rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Q3779522 property:P417 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?d = ?l ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Guido of Acqui
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:patron_saint ?e . ?e rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Guido_of_Acqui property:patron_saint ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?d = ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215536
P425
Q58778
USER
Who has merchant as the associated field of occupation ?
(Q215536,P425,c(Q58778))
action filter_type
action find
entity Q215536
relation P425
type Q58778
['Q215536', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?e WHERE { resource:Q215536 property:P425 ?e . ?e rdf:type ontology:Q58778 }
merchant
action filter_type
action find
entity merchant
relation field of this occupation
type system
['merchant', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?e WHERE { resource:merchant property:field_of_this_occupation ?e . ?e rdf:type ontology:system }
[]
system
Q601401
SYSTEM
trade
Q601401
(Q215536,P425,c(Q58778))
action filter_type
action find
entity Q215536
relation P425
type Q58778
[ANSWER] has merchant as the associated field of occupation
['Q215536', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?e WHERE { resource:Q215536 property:P425 ?e . ?e rdf:type ontology:Q58778 }
trade
Trade has merchant as the associated field of occupation
trade
action filter_type
action find
entity merchant
relation field of this occupation
type system
['merchant', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?e WHERE { resource:merchant property:field_of_this_occupation ?e . ?e rdf:type ontology:system }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7042855
Q58778
USER
And what about film editor?
(Q7042855,P425,c(Q58778))
action filter_type
action find
entity Q7042855
relation P425
type Q58778
['Q7042855', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?z WHERE { resource:Q7042855 property:P425 ?z . ?z rdf:type ontology:Q58778 }
film editor
action filter_type
action find
entity film editor
relation field of this occupation
type system
['film editor', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?z WHERE { resource:film_editor property:field_of_this_occupation ?z . ?z rdf:type ontology:system }
[]
system
Q289
SYSTEM
television
Q289
(Q7042855,P425,c(Q58778))
action filter_type
action find
entity Q7042855
relation P425
type Q58778
[ANSWER]
['Q7042855', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?z WHERE { resource:Q7042855 property:P425 ?z . ?z rdf:type ontology:Q58778 }
television
television
action filter_type
action find
entity film editor
relation field of this occupation
type system
['film editor', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?z WHERE { resource:film_editor property:field_of_this_occupation ?z . ?z rdf:type ontology:system }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q289 Q162345
P1056
Q43229
USER
Does LG Electronics produce that system ?
(Q162345,P1056,Q289)
action is_in
entity Q289
action find
entity Q162345
relation P1056
['Q162345', 'P1056', 'Q289']
ASK WHERE { resource:Q162345 property:P1056 resource:Q289 }
television LG Electronics
action is_in
entity television
action find
entity LG Electronics
relation product
['LG Electronics', 'product', 'television']
ASK WHERE { resource:LG_Electronics property:product resource:television }
[]
organization
SYSTEM
YES
(Q162345,P1056,Q289)
action is_in
entity Q289
action find
entity Q162345
relation P1056
[ANSWER]
['Q162345', 'P1056', 'Q289']
ASK WHERE { resource:Q162345 property:P1056 resource:Q289 }
Yes
action is_in
entity television
action find
entity LG Electronics
relation product
['LG Electronics', 'product', 'television']
ASK WHERE { resource:LG_Electronics property:product resource:television }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q346
P22
Q502895
USER
How many people are the offspring of Louis IX of France ?
(c(Q502895),P22,Q346)
action count
action filter_type
action find_reverse
entity Q346
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q346']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P22 resource:Q346 . ?c rdf:type ontology:Q502895 }
Louis IX of France
action count
action filter_type
action find_reverse
entity Louis IX of France
relation father
type common name
[{'concept': 'common name'}, 'father', 'Louis IX of France']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:father resource:Louis_IX_of_France . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
11
Q266309 Q14752200 Q457111 Q1875299 Q739327 Q14751950 Q172203 Q648617 Q257141 Q237486 Q456900
(c(Q502895),P22,Q346)
action count
action filter_type
action find_reverse
entity Q346
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q346']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P22 resource:Q346 . ?c rdf:type ontology:Q502895 }
Robert, Count of Clermont John of France Margaret of France, Duchess of Brabant Louis of France Peter, Count of Perche and Alençon Blanche de France Philip III of France John Tristan, Count of Valois Isabella of France, Queen of Navarre Agnes of France, Duchess of Burgundy Blanche of France, Infanta of Castile
11
action count
action filter_type
action find_reverse
entity Louis IX of France
relation father
type common name
[{'concept': 'common name'}, 'father', 'Louis IX of France']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:father resource:Louis_IX_of_France . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q346
P22
Q502895
USER
Which people have that one as a parent ?
action filter_type
action find_reverse
entity Q346
relation P22
type Q502895
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q346 . ?m rdf:type ontology:Q502895 }
Louis IX of France
action filter_type
action find_reverse
entity Louis IX of France
relation father
type common name
SELECT DISTINCT ?m WHERE { ?m property:father resource:Louis_IX_of_France . ?m rdf:type ontology:common_name }
[]
common name
Q172203 Q237486 Q648617
SYSTEM
Philip III of France, Agnes of France, Duchess of Burgundy, John Tristan, Count of Valois
Q237486 Q266309 Q14751950 Q257141 Q1875299 Q172203 Q457111 Q648617 Q456900 Q14752200 Q739327
action filter_type
action find_reverse
entity Q346
relation P22
type Q502895
[ANSWERS]
SELECT DISTINCT ?m WHERE { ?m property:P22 resource:Q346 . ?m rdf:type ontology:Q502895 }
Agnes of France, Duchess of Burgundy Robert, Count of Clermont Blanche de France Isabella of France, Queen of Navarre Louis of France Philip III of France Margaret of France, Duchess of Brabant John Tristan, Count of Valois Blanche of France, Infanta of Castile John of France Peter, Count of Perche and Alençon
Philip III of France, Agnes of France, Duchess of Burgundy and John Tristan, Count of Valois have that one as a parent
Philip III of France Agnes of France, Duchess of Burgundy John Tristan, Count of Valois
action filter_type
action find_reverse
entity Louis IX of France
relation father
type common name
SELECT DISTINCT ?m WHERE { ?m property:father resource:Louis_IX_of_France . ?m rdf:type ontology:common_name }
[]