Simple Question (Direct)
Simple Question
Q2575479
P410
Q4189293
USER
Which title has Ruben Lagus achieved ?
(Q2575479,P410,c(Q4189293))
action filter_type
action find
entity Q2575479
relation P410
type Q4189293
['Q2575479', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?w WHERE { resource:Q2575479 property:P410 ?w . ?w rdf:type ontology:Q4189293 }
Ruben Lagus
action filter_type
action find
entity Ruben Lagus
relation military rank
type title
['Ruben Lagus', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?w WHERE { resource:Ruben_Lagus property:military_rank ?w . ?w rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q2575479,P410,c(Q4189293))
action filter_type
action find
entity Q2575479
relation P410
type Q4189293
Ruben Lagus has achieved rank [ANSWER]
['Q2575479', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?w WHERE { resource:Q2575479 property:P410 ?w . ?w rdf:type ontology:Q4189293 }
general officer
Ruben Lagus has achieved rank general officer
general officer
action filter_type
action find
entity Ruben Lagus
relation military rank
type title
['Ruben Lagus', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?w WHERE { resource:Ruben_Lagus property:military_rank ?w . ?w rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2575479
P106
Q12737077
USER
What does Ruben Lagus do for a living ?
(Q2575479,P106,c(Q12737077))
action filter_type
action find
entity Q2575479
relation P106
type Q12737077
['Q2575479', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q2575479 property:P106 ?d }
Ruben Lagus
action filter_type
action find
entity Ruben Lagus
relation occupation
type occupation
['Ruben Lagus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Ruben_Lagus property:occupation ?d }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q2575479,P106,c(Q12737077))
action filter_type
action find
entity Q2575479
relation P106
type Q12737077
Ruben Lagus does for a living in [ANSWER]
['Q2575479', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q2575479 property:P106 ?d }
military personnel
Ruben Lagus does for a living in military personnel
military personnel
action filter_type
action find
entity Ruben Lagus
relation occupation
type occupation
['Ruben Lagus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Ruben_Lagus property:occupation ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2575479
P607
Q198
USER
What was the war that Ruben Lagus took part in
(Q2575479,P607,c(Q198))
action filter_type
action find
entity Q2575479
relation P607
type Q198
['Q2575479', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q2575479 property:P607 ?d . ?d rdf:type ontology:Q198 }
Ruben Lagus
action filter_type
action find
entity Ruben Lagus
relation conflict
type war
['Ruben Lagus', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:Ruben_Lagus property:conflict ?d . ?d rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q2575479,P607,c(Q198))
action filter_type
action find
entity Q2575479
relation P607
type Q198
The war that Ruben Lagus took part in was in [ANSWER]
['Q2575479', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q2575479 property:P607 ?d . ?d rdf:type ontology:Q198 }
World War I
The war that Ruben Lagus took part in was in World War I
World War I
action filter_type
action find
entity Ruben Lagus
relation conflict
type war
['Ruben Lagus', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:Ruben_Lagus property:conflict ?d . ?d rdf:type ontology:war }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24954
Q198
USER
And what about Bolesław Własnowolski?
(Q24954,P607,c(Q198))
action filter_type
action find
entity Q24954
relation P607
type Q198
['Q24954', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { resource:Q24954 property:P607 ?i . ?i rdf:type ontology:Q198 }
Bolesław Własnowolski
action filter_type
action find
entity Bolesław Własnowolski
relation conflict
type war
['Bolesław Własnowolski', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { resource:Bolesław_Własnowolski property:conflict ?i . ?i rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q24954,P607,c(Q198))
action filter_type
action find
entity Q24954
relation P607
type Q198
[ANSWER]
['Q24954', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { resource:Q24954 property:P607 ?i . ?i rdf:type ontology:Q198 }
World War II
World War II
action filter_type
action find
entity Bolesław Własnowolski
relation conflict
type war
['Bolesław Własnowolski', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { resource:Bolesław_Własnowolski property:conflict ?i . ?i rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2438324
P674
Q502895 Q838948 Q15850590
USER
How many people plays a role in more number of works of art and theatrical genres than Julie d'Aubigny ?
(c(Q838948)|c(Q15850590),P674,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q2438324
relation P674
type Q838948
type Q15850590
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?d WHERE { { ?i property:P674 ?d . ?d rdf:type ontology:Q502895 . ?i rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q502895 . ?i rdf:type ontology:Q15850590 . ?i property:P674 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P674 resource:Q2438324 . { { ?z rdf:type ontology:Q15850590 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?n > ?a ) }
Julie d'Aubigny
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Julie d'Aubigny
relation characters
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?d WHERE { { ?i property:characters ?d . ?d rdf:type ontology:common_name . ?i rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:common_name . ?i rdf:type ontology:theatrical_genre . ?i property:characters ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:characters resource:Julie_d'Aubigny . { { ?z rdf:type ontology:theatrical_genre } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?n > ?a ) }
[]
common name work of art theatrical genre
SYSTEM
118
Q7793319 Q6741571 Q1986812 Q3051256 Q2635523 Q7788839 Q1851366 Q3680198 Q6173387 Q17141 Q36724 Q7322 Q12591 Q955856 Q248029 Q2850415 Q1354988 Q21916822 Q456931 Q3181675 Q4212237 Q10265876 Q206459 Q220344 Q765624 Q44387 Q312660 Q547828 Q1234647 Q4679883 Q460763 Q13560546 Q234811 Q24061503 Q2355196 Q129165 Q282220 Q1411 Q1413 Q1416 Q1140161 Q7207 Q5363384 Q328793 Q42544 Q223440 Q353188 Q1979876 Q603096 Q83235 Q2361344 Q6780925 Q591879 Q38370 Q6818772 Q17410 Q128358 Q76918 Q188541 Q184176 Q193232 Q8462 Q692 Q86745 Q209535 Q7422342 Q236243 Q185476 Q76723 Q83159 Q289694 Q3080825 Q215512 Q24062019 Q68366 Q145746 Q8409 Q9045 Q80823 Q1773005 Q237201 Q229432 Q170172 Q1377025 Q3261049 Q9588 Q83808 Q66107 Q16404704 Q182637 Q3421721 Q6264078 Q5944261 Q19118331 Q318726 Q5816 Q230716 Q3275910 Q1771963 Q7647581 Q443256 Q233359 Q981902 Q347133 Q983502 Q517 Q154732 Q568082 Q36517 Q745286 Q1960623 Q3182316 Q158707 Q3471206 Q190116 Q15427574 Q43954 Q236017
(c(Q838948)|c(Q15850590),P674,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q2438324
relation P674
type Q838948
type Q15850590
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?d WHERE { { ?i property:P674 ?d . ?d rdf:type ontology:Q502895 . ?i rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q502895 . ?i rdf:type ontology:Q15850590 . ?i property:P674 ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P674 resource:Q2438324 . { { ?z rdf:type ontology:Q15850590 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?n > ?a ) }
Thomas Putnam Malayaketu Tituba Elizabeth Parris Henry Percy, 6th Earl of Northumberland Thomas Danforth Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Attila the Hun Christopher Columbus Nebuchadnezzar II Pallas Jiro Horikoshi Ann Putnam, Jr. Giles Corey Giovanni Corrado Orsini Sextus Tarquinius John Hale Kanva Dhana Nanda Feodor II of Russia Pythia Willem Adriaan van der Stel Darius I of Persia Gaius Mucius Scaevola Christiaan de Wet Mark Smeaton Adam Tas Benjamin Heidi Blickenstaff Emma, Lady Hamilton Petrus Kalden Martinus Theunis Steyn Xerxes Judah Claudius Nero Otho Marina Mniszech Elizabeth I of England Elizabeth Proctor Periander Thomas More Lucius Junius Brutus Lucius Tarquinius Collatinus Israel Hands Leon Klinghoffer Horatio Nelson Durvasa Mary Warren Piet Cronjé Henry VIII Mercy Lewis Zhou Enlai Bayezid I Johann Georg Faust Chandragupta Maurya Seleucus I Nicator Vasili IV of Russia Timur William Shakespeare Georg Michael Welzel False Dmitriy I Sarah Good Giulia Farnese Flavius Aetius Maurice de Saxe Clement VII Abigail Williams Frances Nelson Levi Henning Huising Siward, Earl of Northumbria Joseph Alexander the Great Chanakya Anne Boleyn Simeon Adrienne Lecouvreur Lucretia Boris Godunov Bharata Louis Ange Pitou Richard Nixon François Joseph Lefebvre Henry Kissinger Endel Nelis Jane Seymour Rebecca Nurse John Willard Hunter Bell Andrey Shchelkalov Publius Valerius Publicola Mao Zedong Poppaea Sabina Anne Françoise Elisabeth Lange Naphtali Susan Blackwell Marie Favart Atossa Charles Simon Favart George Boleyn, Viscount Rochford St. Nerses I Napoleon Agrippina the Younger Arshak II Francis Drake Sir Thomas Hardy, 1st Baronet Tsarevna Xenia Borisovna of Russia John Proctor Pat Nixon Samuel Parris Benvenuto Cellini John Hathorne Leo I Jiang Qing
118
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type work of art
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity Julie d'Aubigny
relation characters
type work of art
type theatrical genre
[[{'concept': 'work of art'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) ?d WHERE { { ?i property:characters ?d . ?d rdf:type ontology:common_name . ?i rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:common_name . ?i rdf:type ontology:theatrical_genre . ?i property:characters ?d } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:characters resource:Julie_d'Aubigny . { { ?z rdf:type ontology:theatrical_genre } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?n > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q324700
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of lesser number of occupations than Urban of Langres ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q324700
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P417 ?p . ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P417 resource:Q324700 . ?a rdf:type ontology:Q12737077 } } . FILTER ( ?h < ?z ) }
Urban of Langres
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Urban of Langres
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:patron_saint ?p . ?p rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:patron_saint resource:Urban_of_Langres . ?a rdf:type ontology:occupation } } . FILTER ( ?h < ?z ) }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q324700
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P417 ?p . ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P417 resource:Q324700 . ?a rdf:type ontology:Q12737077 } } . FILTER ( ?h < ?z ) }
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 less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Urban of Langres
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:patron_saint ?p . ?p rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:patron_saint resource:Urban_of_Langres . ?a rdf:type ontology:occupation } } . FILTER ( ?h < ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2575479
P27
Q15617994
USER
Which administrative territory does Ruben Lagus belong to ?
(Q2575479,P27,c(Q15617994))
action filter_type
action find
entity Q2575479
relation P27
type Q15617994
['Q2575479', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2575479 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Ruben Lagus
action filter_type
action find
entity Ruben Lagus
relation country of citizenship
type designation for an administrative territorial entity
['Ruben Lagus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ruben_Lagus property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q2575479,P27,c(Q15617994))
action filter_type
action find
entity Q2575479
relation P27
type Q15617994
Ruben Lagus belongs to [ANSWER]
['Q2575479', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2575479 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Finland
Ruben Lagus belongs to Finland
Finland
action filter_type
action find
entity Ruben Lagus
relation country of citizenship
type designation for an administrative territorial entity
['Ruben Lagus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Ruben_Lagus property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P276
Q1190554
USER
Which event is situated at that administrative territory ?
(c(Q1190554),P276,Q33)
action filter_type
action find_reverse
entity Q33
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q33']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . ?m property:P276 resource:Q33 }
Finland
action filter_type
action find_reverse
entity Finland
relation location
type event
[{'concept': 'event'}, 'location', 'Finland']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . ?m property:location resource:Finland }
[]
event
Q2446643
SYSTEM
Battle of Raate Road
Q2446643
(c(Q1190554),P276,Q33)
action filter_type
action find_reverse
entity Q33
relation P276
type Q1190554
[ANSWER] is situated at that administrative territory
[{'concept': 'Q1190554'}, 'P276', 'Q33']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . ?m property:P276 resource:Q33 }
Battle of Raate Road
Battle of Raate Road is situated at that administrative territory
Battle of Raate Road
action filter_type
action find_reverse
entity Finland
relation location
type event
[{'concept': 'event'}, 'location', 'Finland']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . ?m property:location resource:Finland }
[]