Simple Question (Direct)
Simple Question
Q8006690
P39
Q12737077
USER
Which occupation was a position for which William Chant was appointed ?
(Q8006690,P39,c(Q12737077))
action filter_type
action find
entity Q8006690
relation P39
type Q12737077
['Q8006690', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q8006690 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
William Chant
action filter_type
action find
entity William Chant
relation position held
type occupation
['William Chant', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:William_Chant property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q15964815
SYSTEM
member of Alberta Legislative Assembly
Q15964815
(Q8006690,P39,c(Q12737077))
action filter_type
action find
entity Q8006690
relation P39
type Q12737077
A [ANSWER] was a position for which William Chant was appointed
['Q8006690', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q8006690 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
member of Alberta Legislative Assembly
A member of Alberta Legislative Assembly was a position for which William Chant was appointed
member of Alberta Legislative Assembly
action filter_type
action find
entity William Chant
relation position held
type occupation
['William Chant', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:William_Chant property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8006690
P102
Q7210356
USER
Which party is William Chant affiliated with ?
(Q8006690,P102,c(Q7210356))
action filter_type
action find
entity Q8006690
relation P102
type Q7210356
['Q8006690', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q8006690 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
William Chant
action filter_type
action find
entity William Chant
relation member of political party
type political organization
['William Chant', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:William_Chant property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q827958
SYSTEM
British Columbia Social Credit Party
Q827958
(Q8006690,P102,c(Q7210356))
action filter_type
action find
entity Q8006690
relation P102
type Q7210356
William Chant is affiliated with [ANSWER]
['Q8006690', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q8006690 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
British Columbia Social Credit Party
William Chant is affiliated with British Columbia Social Credit Party
British Columbia Social Credit Party
action filter_type
action find
entity William Chant
relation member of political party
type political organization
['William Chant', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:William_Chant property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20484845
Q7210356
USER
And what about Stephanie Lose?
(Q20484845,P102,c(Q7210356))
action filter_type
action find
entity Q20484845
relation P102
type Q7210356
['Q20484845', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q20484845 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Stephanie Lose
action filter_type
action find
entity Stephanie Lose
relation member of political party
type political organization
['Stephanie Lose', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Stephanie_Lose property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q217321
SYSTEM
Venstre
Q217321
(Q20484845,P102,c(Q7210356))
action filter_type
action find
entity Q20484845
relation P102
type Q7210356
[ANSWER]
['Q20484845', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q20484845 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Venstre
Venstre
action filter_type
action find
entity Stephanie Lose
relation member of political party
type political organization
['Stephanie Lose', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Stephanie_Lose property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20484845
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q217321,P27,c(Q1048835))
action filter_type
action find
entity Q20484845
relation P27
type Q1048835
['Q217321', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q20484845 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Stephanie Lose
action filter_type
action find
entity Stephanie Lose
relation country of citizenship
type political territorial entity
['Venstre', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Stephanie_Lose property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q217321,P27,c(Q1048835))
action filter_type
action find
entity Q20484845
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q217321', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q20484845 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Denmark
Denmark is that person a civilian of
Denmark
action filter_type
action find
entity Stephanie Lose
relation country of citizenship
type political territorial entity
['Venstre', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Stephanie_Lose property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20484845
P106
Q12737077
USER
What is the job of Stephanie Lose ?
(Q20484845,P106,c(Q12737077))
action filter_type
action find
entity Q20484845
relation P106
type Q12737077
['Q20484845', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q20484845 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Stephanie Lose
action filter_type
action find
entity Stephanie Lose
relation occupation
type occupation
['Stephanie Lose', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Stephanie_Lose property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q20484845,P106,c(Q12737077))
action filter_type
action find
entity Q20484845
relation P106
type Q12737077
The job of Stephanie Lose is a [ANSWER]
['Q20484845', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q20484845 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
The job of Stephanie Lose is a politician
politician
action filter_type
action find
entity Stephanie Lose
relation occupation
type occupation
['Stephanie Lose', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Stephanie_Lose property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Which human behaviour has that one as the associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?b WHERE { resource:Q82955 property:P425 ?b . ?b rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?b WHERE { resource:politician property:field_of_this_occupation ?b . ?b rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has that one as the associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?b WHERE { resource:Q82955 property:P425 ?b . ?b rdf:type ontology:Q3769299 }
politics
Politics has that one as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?b WHERE { resource:politician property:field_of_this_occupation ?b . ?b rdf:type ontology:human_behaviour }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P921
Q15416 Q5398426
USER
How many television programs and television series are that human behaviour a main subject of ?
(c(Q15416),P921,Q7163) (c(Q5398426),P921,Q7163) (c(Q15416),P921,Q7163) (c(Q5398426),P921,Q7163)
action count
action union
action filter_type
action find_reverse
entity Q7163
relation P921
type Q15416
action filter_type
action find_reverse
entity Q7163
relation P921
type Q5398426
[{'concept': 'Q15416'}, 'P921', 'Q7163'] [{'concept': 'Q5398426'}, 'P921', 'Q7163'] [{'concept': 'Q15416'}, 'P921', 'Q7163'] [{'concept': 'Q5398426'}, 'P921', 'Q7163']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { VALUES ( ?w ) { ( ontology:Q15416 ) ( ontology:Q5398426 ) } . ?p rdf:type ?w }
action count
action union
action filter_type
action find_reverse
entity politics
relation main subject
type television program
action filter_type
action find_reverse
entity politics
relation main subject
type television series
[{'concept': 'television program'}, 'main subject', 'politics'] [{'concept': 'television series'}, 'main subject', 'politics'] [{'concept': 'television program'}, 'main subject', 'politics'] [{'concept': 'television series'}, 'main subject', 'politics']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { VALUES ( ?w ) { ( ontology:television_program ) ( ontology:television_series ) } . ?p rdf:type ?w }
[]
television program television series
SYSTEM
71 television programs and 5 television series
Q1797430 Q7827474 Q7979453 Q2961247 Q478360 Q7719044 Q7757676 Q1392115 Q894496 Q5209337 Q3330940 Q8031616 Q7734125 Q697031 Q1508425 Q23594 Q3041434 Q174390 Q74801 Q568201 Q7811076 Q7711347 Q6389583 Q7713329 Q6651101 Q28214 Q7757984 Q7491901 Q7713706 Q193973 Q1525645 Q4690485 Q8042408 Q6008823 Q5688654 Q7683633 Q7737406 Q5873048 Q4467311 Q3059121 Q5207322 Q794258 Q7225177 Q1248464 Q276180 Q684695 Q5403465 Q4660407 Q585758 Q1164745 Q7744290 Q5214637 Q7271259 Q6175835 Q7140892 Q818181 Q1129149 Q3093037 Q7824675 Q6010299 Q7044315 Q256527 Q3878254 Q3426576 Q13454437 Q7062132 Q80217 Q929354 Q2274417 Q15483532 Q3283591 Q1055984 Q6851840 Q56194 Q924889 Q7733901
(c(Q15416),P921,Q7163) (c(Q5398426),P921,Q7163) (c(Q15416),P921,Q7163) (c(Q5398426),P921,Q7163)
action count
action union
action filter_type
action find_reverse
entity Q7163
relation P921
type Q15416
action filter_type
action find_reverse
entity Q7163
relation P921
type Q5398426
[ANSWER]
[{'concept': 'Q15416'}, 'P921', 'Q7163'] [{'concept': 'Q5398426'}, 'P921', 'Q7163'] [{'concept': 'Q15416'}, 'P921', 'Q7163'] [{'concept': 'Q5398426'}, 'P921', 'Q7163']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { VALUES ( ?w ) { ( ontology:Q15416 ) ( ontology:Q5398426 ) } . ?p rdf:type ?w }
Hearts Afire Tory! Tory! Tory! Weekend World Chartrand et Simonne The Wire The Bold Ones: The Senator The Politician's Wife Political Animals Boss Daily Politics House of Cards Women of the House The First Family Commander in Chief The State Within Homeland Duplessis State of Play Veep The Thick of It To Play the King Thatcher: The Final Days Kennedy The Amazing Mrs Pritchard Little Napoleons The Killing The Powers That Be She's the Mayor The Andrew Marr Show Secret State Scandal After Dark XPM InSecurity He's the Mayor Tanner '88 The Governor & J.J. Hizzonner Tanner on Tanner Et Dieu créa... Laflaque Da Vinci's City Hall Capitol Critters Politics Show The New Statesman The Newsroom That's My Bush! Ethics in America A Very British Coup Boardwalk Empire The Event The Kids in the Hall: Death Comes to Town Dan for Mayor Quentin Durgens, M.P. Jeffrey Archer: The Truth Party Animals Benson Whoops Apocalypse G.B.H. Top of the Hill In Opposition No Job for a Lady Spin City Grandpa Goes to Washington René Lévesque The Politician's Husband Not My Department 1600 Penn The Man and the City Absolute Power 24: Live Another Day Mister Sterling House of Cards Miliband of Brothers 24 The Power of Nightmares The Final Cut
71 television programs and 5 television series
action count
action union
action filter_type
action find_reverse
entity politics
relation main subject
type television program
action filter_type
action find_reverse
entity politics
relation main subject
type television series
[{'concept': 'television program'}, 'main subject', 'politics'] [{'concept': 'television series'}, 'main subject', 'politics'] [{'concept': 'television program'}, 'main subject', 'politics'] [{'concept': 'television series'}, 'main subject', 'politics']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { VALUES ( ?w ) { ( ontology:television_program ) ( ontology:television_series ) } . ?p rdf:type ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2824511
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of approximately the same number of occupations as Adjutor ?
(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 Q2824511
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?p = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q2824511 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:P417 ?l . ?l rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?l } }
Adjutor
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Adjutor
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?p = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Adjutor property:patron_saint ?q . ?q rdf:type ontology:common_name } } . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:patron_saint ?l . ?l rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?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 Q2824511
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of approximately the same number of occupations as Adjutor
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?p = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q2824511 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:P417 ?l . ?l rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?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 and Louis IX of France are the names of the patron saint of approximately the same number of occupations as Adjutor
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 Adjutor
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?p = ?x ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Adjutor property:patron_saint ?q . ?q rdf:type ontology:common_name } } . { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:patron_saint ?l . ?l rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q339541
P417
Q502895 Q12737077
USER
And what about Rufinus of Assisi?
(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 Q339541
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q339541 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P417 ?g . ?g rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?g } }
Rufinus of Assisi
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Rufinus of Assisi
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Rufinus_of_Assisi property:patron_saint ?m . ?m rdf:type ontology:common_name } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:patron_saint ?g . ?g rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?g } }
[]
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 Q339541
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Q339541 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P417 ?g . ?g rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?g } }
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 Rufinus of Assisi
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?j = ?z ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { resource:Rufinus_of_Assisi property:patron_saint ?m . ?m rdf:type ontology:common_name } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:patron_saint ?g . ?g rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?g } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9682 Q191479 Q346
P21
Q290
USER
Which sexes do those people have ?
(Q9682,P21,c(Q290)) (Q191479,P21,c(Q290)) (Q346,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q9682', 'P21', {'concept': 'Q290'}] ['Q191479', 'P21', {'concept': 'Q290'}] ['Q346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . ?e property:P21 ?x . VALUES ( ?e ) { ( resource:Q2366998 ) ( resource:Q561838 ) ( resource:Q380092 ) } }
Elizabeth II Tadeusz Kościuszko Louis IX of France
action filter_type
action find
entity prev_answer
relation gender
type sex
['Elizabeth II', 'gender', {'concept': 'sex'}] ['Tadeusz Kościuszko', 'gender', {'concept': 'sex'}] ['Louis IX of France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . ?e property:gender ?x . VALUES ( ?e ) { ( resource:Eurosia ) ( resource:Alexander_of_Bergamo ) ( resource:Francis_Borgia,_4th_Duke_of_Gandía ) } }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q9682,P21,c(Q290)) (Q191479,P21,c(Q290)) (Q346,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q9682', 'P21', {'concept': 'Q290'}] ['Q191479', 'P21', {'concept': 'Q290'}] ['Q346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . ?e property:P21 ?x . VALUES ( ?e ) { ( resource:Q2366998 ) ( resource:Q561838 ) ( resource:Q380092 ) } }
female male male
Those people have a female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Elizabeth II', 'gender', {'concept': 'sex'}] ['Tadeusz Kościuszko', 'gender', {'concept': 'sex'}] ['Louis IX of France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . ?e property:gender ?x . VALUES ( ?e ) { ( resource:Eurosia ) ( resource:Alexander_of_Bergamo ) ( resource:Francis_Borgia,_4th_Duke_of_Gandía ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P140
Q9174
USER
What is the religious affiliation of Elizabeth II ?
(Q9682,P140,c(Q9174))
action filter_type
action find
entity Q9682
relation P140
type Q9174
['Q9682', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?s WHERE { resource:Q9682 property:P140 ?s . ?s rdf:type ontology:Q9174 }
Elizabeth II
action filter_type
action find
entity Elizabeth II
relation religion
type religion
['Elizabeth II', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?s WHERE { resource:Elizabeth_II property:religion ?s . ?s rdf:type ontology:religion }
[]
religion
Q6423963
SYSTEM
Anglicanism
Q6423963
(Q9682,P140,c(Q9174))
action filter_type
action find
entity Q9682
relation P140
type Q9174
The religious affiliation of Elizabeth is of [ANSWER]
['Q9682', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?s WHERE { resource:Q9682 property:P140 ?s . ?s rdf:type ontology:Q9174 }
Anglicanism
The religious affiliation of Elizabeth is of Anglicanism
Anglicanism
action filter_type
action find
entity Elizabeth II
relation religion
type religion
['Elizabeth II', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?s WHERE { resource:Elizabeth_II property:religion ?s . ?s rdf:type ontology:religion }
[]