Simple Question (Direct)
Simple Question
Q451146
P39
Q12737077
USER
What was the position held by Orville H. Platt ?
(Q451146,P39,c(Q12737077))
action filter_type
action find
entity Q451146
relation P39
type Q12737077
['Q451146', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q451146 property:P39 ?h }
Orville H. Platt
action filter_type
action find
entity Orville H. Platt
relation position held
type occupation
['Orville H. Platt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Orville_H._Platt property:position_held ?h }
[]
occupation
Q13217683
SYSTEM
United States Senator
Q13217683
(Q451146,P39,c(Q12737077))
action filter_type
action find
entity Q451146
relation P39
type Q12737077
The position held by Orville H. was a [ANSWER]
['Q451146', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q451146 property:P39 ?h }
United States Senator
The position held by Orville H. was a United States Senator
United States Senator
action filter_type
action find
entity Orville H. Platt
relation position held
type occupation
['Orville H. Platt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Orville_H._Platt property:position_held ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q451146
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q13217683,P20,c(Q56061))
action filter_type
action find
entity Q451146
relation P20
type Q56061
['Q13217683', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q451146 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Orville H. Platt
action filter_type
action find
entity Orville H. Platt
relation place of death
type administrative territorial entity
['United States Senator', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Orville_H._Platt property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54220
SYSTEM
Meriden
Q54220
(Q13217683,P20,c(Q56061))
action filter_type
action find
entity Q451146
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q13217683', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q451146 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Meriden
The expiration of that person occurred in Meriden
Meriden
action filter_type
action find
entity Orville H. Platt
relation place of death
type administrative territorial entity
['United States Senator', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Orville_H._Platt property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q2342494
USER
Which occupations were the main subjects of approximately 1 publications and collectables 's work ?
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?p WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?p } . FILTER ( ?r = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 1
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?p WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?p } . FILTER ( ?r = 1 ) }
[]
occupation publication collectable
Q42973 Q18145518 Q18220900
SYSTEM
architect, Member of the New Zealand House of Representatives, Member of the South Australian House of Assembly
Q774306 Q3809586 Q83307 Q4610556 Q18145518 Q2094335 Q82955 Q730242 Q42973 Q9402 Q43845 Q29182 Q131524 Q14373094 Q18220900 Q15320003 Q16003605 Q49757 Q1238570 Q2259532
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 1
[ANSWERS] were the main subjects of approximately 1 publications and collectables 's work
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?p WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?p } . FILTER ( ?r = 1 ) }
surgeon Wikipedian in Residence minister model Member of the New Zealand House of Representatives United States Attorney politician test pilot architect ninja businessperson bishop entrepreneur rugby league player Member of the South Australian House of Assembly migrant worker elementary school student poet political scientist cleric
Architect, Member of the New Zealand House of Representatives and Member of the South Australian House of Assembly were the main subjects of approximately 1 publications and collectables 's work
architect Member of the New Zealand House of Representatives Member of the South Australian House of Assembly
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 1
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?p WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?p } . FILTER ( ?r = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18534408
P921
Q12737077 Q838948 Q2342494
USER
How many occupations were the main subjects of more number of works of art and collectables 's work than member of the Victorian Legislative Assembly ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q18534408
relation P921
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?y rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q rdf:type ?c . VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } . ?q property:P921 resource:Q18534408 } } . FILTER ( ?r > ?b ) }
member of the Victorian Legislative Assembly
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity member of the Victorian Legislative Assembly
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?y rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q rdf:type ?c . VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:collectable ) } } . ?q property:main_subject resource:member_of_the_Victorian_Legislative_Assembly } } . FILTER ( ?r > ?b ) }
[]
occupation work of art collectable
SYSTEM
38
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q774306 Q83307 Q4610556 Q18145518 Q7358 Q82955 Q730242 Q42973 Q1930187 Q937857 Q9402 Q2961580 Q43845 Q101539 Q29182 Q131524 Q205375 Q164236 Q14373094 Q18220900 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q49757 Q2095549 Q1238570 Q2259532 Q1674312 Q16003532
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q18534408
relation P921
type Q838948
type Q2342494
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?y rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q rdf:type ?c . VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } . ?q property:P921 resource:Q18534408 } } . FILTER ( ?r > ?b ) }
industrialist business magnate physician lumberjack astronaut actor writer surgeon minister model Member of the New Zealand House of Representatives clown politician test pilot architect journalist association football player ninja taxi driver businessperson flight attendant bishop entrepreneur inventor war correspondent rugby league player Member of the South Australian House of Assembly nanny high school student elementary school student comedian photographer poet aviator political scientist cleric rag-and-bone man middle school student
38
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity member of the Victorian Legislative Assembly
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?y rdf:type ?u } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q rdf:type ?c . VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:collectable ) } } . ?q property:main_subject resource:member_of_the_Victorian_Legislative_Assembly } } . FILTER ( ?r > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q483501
P921
Q12737077 Q838948 Q2342494
USER
And also tell me about artist?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q483501
relation P921
type Q838948
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { { ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q2342494 } } . ?f property:P921 resource:Q483501 } } . FILTER ( ?r > ?u ) }
artist
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity artist
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { { ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:collectable } } . ?f property:main_subject resource:artist } } . FILTER ( ?r > ?u ) }
[]
occupation work of art collectable
SYSTEM
38
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q774306 Q83307 Q4610556 Q18145518 Q7358 Q82955 Q730242 Q42973 Q1930187 Q937857 Q9402 Q2961580 Q43845 Q101539 Q29182 Q131524 Q205375 Q164236 Q14373094 Q18220900 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q49757 Q2095549 Q1238570 Q2259532 Q1674312 Q16003532
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q483501
relation P921
type Q838948
type Q2342494
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { { ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q2342494 } } . ?f property:P921 resource:Q483501 } } . FILTER ( ?r > ?u ) }
industrialist business magnate physician lumberjack astronaut actor writer surgeon minister model Member of the New Zealand House of Representatives clown politician test pilot architect journalist association football player ninja taxi driver businessperson flight attendant bishop entrepreneur inventor war correspondent rugby league player Member of the South Australian House of Assembly nanny high school student elementary school student comedian photographer poet aviator political scientist cleric rag-and-bone man middle school student
38
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity artist
relation main subject
type work of art
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { ?t rdf:type ?o . VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { { ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:collectable } } . ?f property:main_subject resource:artist } } . FILTER ( ?r > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q374822
P417
Q502895 Q12737077
USER
Which people are the patron saint of lesser number of occupations than Adrian of Nicomedia ?
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q374822
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?t ) WHERE { ?x rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q502895 . ?x property:P417 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:P417 resource:Q374822 . ?m rdf:type ontology:Q12737077 } } . FILTER ( ?t < ?r ) }
Adrian of Nicomedia
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Adrian of Nicomedia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?t ) WHERE { ?x rdf:type ontology:occupation . ?k rdf:type ontology:common_name . ?x property:patron_saint ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:patron_saint resource:Adrian_of_Nicomedia . ?m rdf:type ontology:occupation } } . FILTER ( ?t < ?r ) }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q374822
relation P417
type Q12737077
[ANSWERS] are the patron saint of lesser number of occupations than Adrian of Nicomedia
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?t ) WHERE { ?x rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q502895 . ?x property:P417 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:P417 resource:Q374822 . ?m rdf:type ontology:Q12737077 } } . FILTER ( ?t < ?r ) }
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 lesser number of occupations than Adrian of Nicomedia
Elizabeth II Tadeusz Kościuszko Louis IX of France
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Adrian of Nicomedia
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?t ) WHERE { ?x rdf:type ontology:occupation . ?k rdf:type ontology:common_name . ?x property:patron_saint ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:patron_saint resource:Adrian_of_Nicomedia . ?m rdf:type ontology:occupation } } . FILTER ( ?t < ?r ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9682 Q191479 Q346
P40
Q502895
USER
Who have those ones as an offspring ?
(c(Q502895),P40,Q9682) (c(Q502895),P40,Q191479) (c(Q502895),P40,Q346)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q9682'] [{'concept': 'Q502895'}, 'P40', 'Q191479'] [{'concept': 'Q502895'}, 'P40', 'Q346']
SELECT DISTINCT ?l WHERE { VALUES ( ?u ) { ( resource:Q2366998 ) ( resource:Q561838 ) ( resource:Q380092 ) } . ?l rdf:type ontology:Q502895 . ?l property:P40 ?u }
Elizabeth II Tadeusz Kościuszko Louis IX of France
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Elizabeth II'] [{'concept': 'common name'}, 'child', 'Tadeusz Kościuszko'] [{'concept': 'common name'}, 'child', 'Louis IX of France']
SELECT DISTINCT ?l WHERE { VALUES ( ?u ) { ( resource:Eurosia ) ( resource:Alexander_of_Bergamo ) ( resource:Francis_Borgia,_4th_Duke_of_Gandía ) } . ?l rdf:type ontology:common_name . ?l property:child ?u }
[]
common name
Q280856 Q10633 Q353
SYSTEM
George VI, Queen Elizabeth The Queen Mother, Blanche of Castile
Q10633 Q280856 Q11763952 Q9356383 Q353 Q165284
(c(Q502895),P40,Q9682) (c(Q502895),P40,Q191479) (c(Q502895),P40,Q346)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS] have those ones as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q9682'] [{'concept': 'Q502895'}, 'P40', 'Q191479'] [{'concept': 'Q502895'}, 'P40', 'Q346']
SELECT DISTINCT ?l WHERE { VALUES ( ?u ) { ( resource:Q2366998 ) ( resource:Q561838 ) ( resource:Q380092 ) } . ?l rdf:type ontology:Q502895 . ?l property:P40 ?u }
Queen Elizabeth The Queen Mother George VI Ludwik Tadeusz Kościuszko Tekla Ratomska Blanche of Castile Louis VIII of France
George VI, Queen Elizabeth The Queen Mother and Blanche of Castile have those ones as an offspring
George VI Queen Elizabeth The Queen Mother Blanche of Castile
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Elizabeth II'] [{'concept': 'common name'}, 'child', 'Tadeusz Kościuszko'] [{'concept': 'common name'}, 'child', 'Louis IX of France']
SELECT DISTINCT ?l WHERE { VALUES ( ?u ) { ( resource:Eurosia ) ( resource:Alexander_of_Bergamo ) ( resource:Francis_Borgia,_4th_Duke_of_Gandía ) } . ?l rdf:type ontology:common_name . ?l property:child ?u }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q280856 Q10633 Q353
P40
Q502895
USER
Which people have those ones as a child ?
(c(Q502895),P40,Q280856) (c(Q502895),P40,Q10633) (c(Q502895),P40,Q353)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q280856'] [{'concept': 'Q502895'}, 'P40', 'Q10633'] [{'concept': 'Q502895'}, 'P40', 'Q353']
SELECT DISTINCT ?n WHERE { ?n property:P40 ?z . ?n rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q10633 ) ( resource:Q280856 ) ( resource:Q11763952 ) } }
George VI Queen Elizabeth The Queen Mother Blanche of Castile
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'George VI'] [{'concept': 'common name'}, 'child', 'Queen Elizabeth The Queen Mother'] [{'concept': 'common name'}, 'child', 'Blanche of Castile']
SELECT DISTINCT ?n WHERE { ?n property:child ?z . ?n rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:Queen_Elizabeth_The_Queen_Mother ) ( resource:George_VI ) ( resource:Ludwik_Tadeusz_Kościuszko ) } }
[]
common name
Q269412 Q76927 Q232144
SYSTEM
George V, Mary of Teck, Eleanor of England, Queen of Castile
Q76927 Q269412 Q238820 Q335159 Q295268 Q232144
(c(Q502895),P40,Q280856) (c(Q502895),P40,Q10633) (c(Q502895),P40,Q353)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q280856'] [{'concept': 'Q502895'}, 'P40', 'Q10633'] [{'concept': 'Q502895'}, 'P40', 'Q353']
SELECT DISTINCT ?n WHERE { ?n property:P40 ?z . ?n rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q10633 ) ( resource:Q280856 ) ( resource:Q11763952 ) } }
Mary of Teck George V Cecilia Bowes-Lyon, Countess of Strathmore and Kinghorne Claude Bowes-Lyon, 14th Earl of Strathmore and Kinghorne Alfonso VIII of Castile Eleanor of England, Queen of Castile
George V, Mary of Teck and Eleanor of England, Queen of Castile have those ones as a child
George V Mary of Teck Eleanor of England, Queen of Castile
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'George VI'] [{'concept': 'common name'}, 'child', 'Queen Elizabeth The Queen Mother'] [{'concept': 'common name'}, 'child', 'Blanche of Castile']
SELECT DISTINCT ?n WHERE { ?n property:child ?z . ?n rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:Queen_Elizabeth_The_Queen_Mother ) ( resource:George_VI ) ( resource:Ludwik_Tadeusz_Kościuszko ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q269412 Q76927 Q232144
P26
Q502895
USER
Who are married to George V, Mary of Teck and Eleanor of England, Queen of Castile ?
(c(Q502895),P26,Q269412) (c(Q502895),P26,Q76927) (c(Q502895),P26,Q232144)
action union
action filter_type
action find
entity Q269412
relation P26
type Q502895
action filter_type
action find
entity Q76927
relation P26
type Q502895
action filter_type
action find
entity Q232144
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q269412'] [{'concept': 'Q502895'}, 'P26', 'Q76927'] [{'concept': 'Q502895'}, 'P26', 'Q232144']
SELECT DISTINCT ?x WHERE { { resource:Q76927 property:P26 ?x . ?x rdf:type ontology:Q502895 } UNION { resource:Q269412 property:P26 ?x . ?x rdf:type ontology:Q502895 } }
George V Mary of Teck Eleanor of England, Queen of Castile
action union
action filter_type
action find
entity George V
relation spouse
type common name
action filter_type
action find
entity Mary of Teck
relation spouse
type common name
action filter_type
action find
entity Eleanor of England, Queen of Castile
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'George V'] [{'concept': 'common name'}, 'spouse', 'Mary of Teck'] [{'concept': 'common name'}, 'spouse', 'Eleanor of England, Queen of Castile']
SELECT DISTINCT ?x WHERE { { resource:Mary_of_Teck property:spouse ?x . ?x rdf:type ontology:common_name } UNION { resource:George_V property:spouse ?x . ?x rdf:type ontology:common_name } }
[]
common name
Q76927 Q269412 Q295268
SYSTEM
Mary of Teck, George V, Alfonso VIII of Castile
Q76927 Q269412 Q295268
(c(Q502895),P26,Q269412) (c(Q502895),P26,Q76927) (c(Q502895),P26,Q232144)
action union
action filter_type
action find
entity Q269412
relation P26
type Q502895
action filter_type
action find
entity Q76927
relation P26
type Q502895
action filter_type
action find
entity Q232144
relation P26
type Q502895
[ANSWERS] are married to George V, Mary of Teck and Eleanor of England, Queen of Castile
[{'concept': 'Q502895'}, 'P26', 'Q269412'] [{'concept': 'Q502895'}, 'P26', 'Q76927'] [{'concept': 'Q502895'}, 'P26', 'Q232144']
SELECT DISTINCT ?x WHERE { { resource:Q76927 property:P26 ?x . ?x rdf:type ontology:Q502895 } UNION { resource:Q269412 property:P26 ?x . ?x rdf:type ontology:Q502895 } }
Mary of Teck George V Alfonso VIII of Castile
Mary of Teck, George V and Alfonso VIII of Castile are married to George V, Mary of Teck and Eleanor of England, Queen of Castile
Mary of Teck George V Alfonso VIII of Castile
action union
action filter_type
action find
entity George V
relation spouse
type common name
action filter_type
action find
entity Mary of Teck
relation spouse
type common name
action filter_type
action find
entity Eleanor of England, Queen of Castile
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'George V'] [{'concept': 'common name'}, 'spouse', 'Mary of Teck'] [{'concept': 'common name'}, 'spouse', 'Eleanor of England, Queen of Castile']
SELECT DISTINCT ?x WHERE { { resource:Mary_of_Teck property:spouse ?x . ?x rdf:type ontology:common_name } UNION { resource:George_V property:spouse ?x . ?x rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q269412
P25
Q502895
USER
Who was the mom of that one ?
(Q269412,P25,c(Q502895))
action filter_type
action find
entity Q269412
relation P25
type Q502895
['Q269412', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q269412 property:P25 ?v }
George V
action filter_type
action find
entity George V
relation mother
type common name
['George V', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:George_V property:mother ?v }
[]
common name
Clarification for simple ques.
Q295268
SYSTEM
Did you mean Alfonso VIII of Castile ?
Q76927 Q269412 Q295268
(Q76927,P25,c(Q502895)) (Q269412,P25,c(Q502895)) (Q295268,P25,c(Q502895))
[ANSWER]
['Q76927', 'P25', {'concept': 'Q502895'}] ['Q269412', 'P25', {'concept': 'Q502895'}] ['Q295268', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q269412 property:P25 ?v }
Mary of Teck George V Alfonso VIII of Castile
Did you mean Alfonso VIII of Castile ?
Alfonso VIII of Castile
['Mary of Teck', 'mother', {'concept': 'common name'}] ['George V', 'mother', {'concept': 'common name'}] ['Alfonso VIII of Castile', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:George_V property:mother ?v }
[]
Simple Question (Coreferenced)
USER
No, I meant George V. Could you tell me the answer for that?
(Q269412,P25,c(Q502895))
Q269412
['Q269412', 'P25', {'concept': 'Q502895'}]
['George V', 'mother', {'concept': 'common name'}]
[]
Q152260
SYSTEM
Alexandra of Denmark
Q152260
(Q269412,P25,c(Q502895))
action filter_type
action find
entity Q269412
relation P25
type Q502895
The mom of that one was Princess [ANSWER]
['Q269412', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q269412 property:P25 ?v }
Alexandra of Denmark
The mom of that one was Princess Alexandra of Denmark
Alexandra of Denmark
action filter_type
action find
entity George V
relation mother
type common name
['George V', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:George_V property:mother ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P25
Q502895
USER
How many people have that person as a parent ?
(c(Q502895),P25,Q152260)
action count
action filter_type
action find_reverse
entity Q152260
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q152260']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P25 resource:Q152260 . ?p rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Alexandra of Denmark
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Alexandra of Denmark']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:mother resource:Alexandra_of_Denmark . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q233516 Q159670 Q269412 Q154423 Q234542
(c(Q502895),P25,Q152260)
action count
action filter_type
action find_reverse
entity Q152260
relation P25
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q152260']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P25 resource:Q152260 . ?p rdf:type ontology:Q502895 }
Louise, Princess Royal Prince Albert Victor, Duke of Clarence and Avondale George V Maud of Wales Princess Victoria of the United Kingdom
5
action count
action filter_type
action find_reverse
entity Alexandra of Denmark
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Alexandra of Denmark']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:mother resource:Alexandra_of_Denmark . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q269412
P35
Q35798
USER
Which executive branches have George V as their chief of state ?
(c(Q35798),P35,Q269412)
action filter_type
action find_reverse
entity Q269412
relation P35
type Q35798
[{'concept': 'Q35798'}, 'P35', 'Q269412']
SELECT DISTINCT ?i WHERE { ?i property:P35 resource:Q269412 . ?i rdf:type ontology:Q35798 }
George V
action filter_type
action find_reverse
entity George V
relation head of state
type executive branch
[{'concept': 'executive branch'}, 'head of state', 'George V']
SELECT DISTINCT ?i WHERE { ?i property:head_of_state resource:George_V . ?i rdf:type ontology:executive_branch }
[]
executive branch
Q5589378 Q3112469 Q2056244
SYSTEM
Government of the 2nd Dáil, First Jan Smuts government, Louis Botha government
Q3112469 Q15925728 Q5452582 Q5589382 Q2056244 Q5589379 Q941396 Q5589378 Q5589376 Q5589384 Q5589360
(c(Q35798),P35,Q269412)
action filter_type
action find_reverse
entity Q269412
relation P35
type Q35798
[ANSWERS] have George V as their chief of state
[{'concept': 'Q35798'}, 'P35', 'Q269412']
SELECT DISTINCT ?i WHERE { ?i property:P35 resource:Q269412 . ?i rdf:type ontology:Q35798 }
First Jan Smuts government Government of the 8th Dáil First Cabinet of Southern Rhodesia Government of the 5th Dáil Louis Botha government Government of the 4th Dáil J. B. M. Hertzog government Government of the 2nd Dáil Government of the 3rd Dáil Government of the 7th Dáil Government of the 1st Dáil
Government of the 2nd Dáil, First Jan Smuts government and Louis Botha government have George V as their chief of state
Government of the 2nd Dáil First Jan Smuts government Louis Botha government
action filter_type
action find_reverse
entity George V
relation head of state
type executive branch
[{'concept': 'executive branch'}, 'head of state', 'George V']
SELECT DISTINCT ?i WHERE { ?i property:head_of_state resource:George_V . ?i rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q269412
P9
Q502895
USER
Who are the sisters of George V ?
(Q269412,P9,c(Q502895))
action filter_type
action find
entity Q269412
relation P9
type Q502895
['Q269412', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q269412 property:P9 ?s . ?s rdf:type ontology:Q502895 }
George V
action filter_type
action find
entity George V
relation sister
type common name
['George V', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:George_V property:sister ?s . ?s rdf:type ontology:common_name }
[]
common name
Q234542 Q154423 Q233516
SYSTEM
Princess Victoria of the United Kingdom, Maud of Wales, Louise, Princess Royal
Q234542 Q154423 Q233516
(Q269412,P9,c(Q502895))
action filter_type
action find
entity Q269412
relation P9
type Q502895
[ANSWERS]
['Q269412', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q269412 property:P9 ?s . ?s rdf:type ontology:Q502895 }
Princess Victoria of the United Kingdom Maud of Wales Louise, Princess Royal
The sisters of George V are the Princess Victoria of the United Kingdom, Maud of Wales and Louise, Princess Royal
Princess Victoria of the United Kingdom Maud of Wales Louise, Princess Royal
action filter_type
action find
entity George V
relation sister
type common name
['George V', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:George_V property:sister ?s . ?s rdf:type ontology:common_name }
[]