Simple Question (Direct)
Simple Question
Q1395690
P106
Q12737077
USER
What do Suzanne Tamim do for a living ?
(Q1395690,P106,c(Q12737077))
action filter_type
action find
entity Q1395690
relation P106
type Q12737077
['Q1395690', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1395690 property:P106 ?h }
Suzanne Tamim
action filter_type
action find
entity Suzanne Tamim
relation occupation
type occupation
['Suzanne Tamim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Suzanne_Tamim property:occupation ?h }
[]
occupation
Q33999 Q177220
SYSTEM
actor, singer
Q33999 Q177220
(Q1395690,P106,c(Q12737077))
action filter_type
action find
entity Q1395690
relation P106
type Q12737077
[ANSWERS] Suzanne Tamim do for a living
['Q1395690', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1395690 property:P106 ?h }
actor singer
Actor and singer Suzanne Tamim do for a living
actor singer
action filter_type
action find
entity Suzanne Tamim
relation occupation
type occupation
['Suzanne Tamim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Suzanne_Tamim property:occupation ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1395690
P1196
Q1914636
USER
Which activity best describes with type of death of Suzanne Tamim ?
(Q1395690,P1196,c(Q1914636))
action filter_type
action find
entity Q1395690
relation P1196
type Q1914636
['Q1395690', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { resource:Q1395690 property:P1196 ?g . ?g rdf:type ontology:Q1914636 }
Suzanne Tamim
action filter_type
action find
entity Suzanne Tamim
relation manner of death
type activity
['Suzanne Tamim', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { resource:Suzanne_Tamim property:manner_of_death ?g . ?g rdf:type ontology:activity }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q1395690,P1196,c(Q1914636))
action filter_type
action find
entity Q1395690
relation P1196
type Q1914636
[ANSWER] best describes with type of death of Suzanne Tamim
['Q1395690', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { resource:Q1395690 property:P1196 ?g . ?g rdf:type ontology:Q1914636 }
homicide
Homicide best describes with type of death of Suzanne Tamim
homicide
action filter_type
action find
entity Suzanne Tamim
relation manner of death
type activity
['Suzanne Tamim', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { resource:Suzanne_Tamim property:manner_of_death ?g . ?g rdf:type ontology:activity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q149086 Q5293975
P1196
Q502895
USER
Did Donald Aronow die as that activity ?
(Q5293975,P1196,Q149086)
action is_in
entity Q149086
action find
entity Q5293975
relation P1196
['Q5293975', 'P1196', 'Q149086']
ASK WHERE { resource:Q5293975 property:P1196 resource:Q149086 }
homicide Donald Aronow
action is_in
entity homicide
action find
entity Donald Aronow
relation manner of death
['Donald Aronow', 'manner of death', 'homicide']
ASK WHERE { resource:Donald_Aronow property:manner_of_death resource:homicide }
[]
common name
SYSTEM
YES
(Q5293975,P1196,Q149086)
action is_in
entity Q149086
action find
entity Q5293975
relation P1196
[ANSWER]
['Q5293975', 'P1196', 'Q149086']
ASK WHERE { resource:Q5293975 property:P1196 resource:Q149086 }
Yes
action is_in
entity homicide
action find
entity Donald Aronow
relation manner of death
['Donald Aronow', 'manner of death', 'homicide']
ASK WHERE { resource:Donald_Aronow property:manner_of_death resource:homicide }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1395690 Q52320 Q7898618
P27
Q15617994
USER
Is Suzanne Tamim a citizen of Miglionico and Upper Dublin School District ?
(Q1395690,P27,Q52320) (Q1395690,P27,Q7898618)
action is_in
entity Q1395690
action intersection
action find_reverse
entity Q52320
relation P27
action find_reverse
entity Q7898618
relation P27
['Q1395690', 'P27', 'Q52320'] ['Q1395690', 'P27', 'Q7898618']
ASK WHERE { resource:Q1395690 property:P27 resource:Q52320 . resource:Q1395690 property:P27 resource:Q7898618 }
Suzanne Tamim Miglionico Upper Dublin School District
action is_in
entity Suzanne Tamim
action intersection
action find_reverse
entity Miglionico
relation country of citizenship
action find_reverse
entity Upper Dublin School District
relation country of citizenship
['Suzanne Tamim', 'country of citizenship', 'Miglionico'] ['Suzanne Tamim', 'country of citizenship', 'Upper Dublin School District']
ASK WHERE { resource:Suzanne_Tamim property:country_of_citizenship resource:Miglionico . resource:Suzanne_Tamim property:country_of_citizenship resource:Upper_Dublin_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1395690,P27,Q52320) (Q1395690,P27,Q7898618)
action is_in
entity Q1395690
action intersection
action find_reverse
entity Q52320
relation P27
action find_reverse
entity Q7898618
relation P27
[ANSWER]
['Q1395690', 'P27', 'Q52320'] ['Q1395690', 'P27', 'Q7898618']
ASK WHERE { resource:Q1395690 property:P27 resource:Q52320 . resource:Q1395690 property:P27 resource:Q7898618 }
No
action is_in
entity Suzanne Tamim
action intersection
action find_reverse
entity Miglionico
relation country of citizenship
action find_reverse
entity Upper Dublin School District
relation country of citizenship
['Suzanne Tamim', 'country of citizenship', 'Miglionico'] ['Suzanne Tamim', 'country of citizenship', 'Upper Dublin School District']
ASK WHERE { resource:Suzanne_Tamim property:country_of_citizenship resource:Miglionico . resource:Suzanne_Tamim property:country_of_citizenship resource:Upper_Dublin_School_District }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P417
Q502895 Q16970 Q56061
USER
Which people are the patron saint of min number of churches or administrative territories ?
(c(Q16970)|c(Q56061),P417,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
[[{'concept': 'Q16970'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?t WHERE { VALUES ( ?d ) { ( ontology:Q16970 ) ( ontology:Q56061 ) } . ?b rdf:type ?d } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?z WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q16970 ) } . ?w rdf:type ?h } GROUP BY ?z } . FILTER ( ?r = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
[[{'concept': 'church'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?t WHERE { VALUES ( ?d ) { ( ontology:church ) ( ontology:administrative_territorial_entity ) } . ?b rdf:type ?d } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?z WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:church ) } . ?w rdf:type ?h } GROUP BY ?z } . FILTER ( ?r = ?g ) }
[]
common name church administrative territorial entity
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q349086 Q315640 Q719683 Q331697 Q1553720 Q351635 Q3759661 Q118087 Q1281133 Q236974 Q378656 Q61620 Q2987904 Q2574015 Q101090 Q1834624 Q1249745 Q47144 Q240610 Q166876 Q603655 Q314700 Q3940728 Q44020 Q313807 Q149315 Q2360539 Q244383 Q3615108 Q235857 Q192236 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q243122 Q238744 Q3747052 Q153024 Q3949261 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q9438 Q1502088 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q191479 Q3745904 Q191107 Q4282480 Q3859960 Q203437 Q207113 Q43675 Q618214 Q242274 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q37599 Q232975 Q122376 Q119289 Q15284282 Q360798 Q380345 Q316295 Q4014956 Q159834 Q119512 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q339541 Q160922 Q1115725 Q913528 Q231256 Q196653 Q560531 Q508214 Q1270991 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q6732208 Q64196 Q2824511 Q3887342 Q310686 Q43669 Q9156208 Q336704 Q181489 Q587596 Q372668 Q831571 Q3779522 Q2352076 Q977571 Q44265 Q232453 Q58559 Q359878 Q190240 Q332656 Q210096 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q160374 Q442516 Q920226 Q43600 Q283447 Q324700 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q1172641 Q3738578 Q367208 Q469978 Q232427 Q2270111 Q103556 Q129603 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q160445 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q208331
(c(Q16970)|c(Q56061),P417,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
[ANSWERS] are the patron saint of min number of churches or administrative territories
[[{'concept': 'Q16970'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?t WHERE { VALUES ( ?d ) { ( ontology:Q16970 ) ( ontology:Q56061 ) } . ?b rdf:type ?d } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?z WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q16970 ) } . ?w rdf:type ?h } GROUP BY ?z } . FILTER ( ?r = ?g ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena Jude the Apostle Prisco di Nocera Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Leopold III, Margrave of Austria Francis of Paola Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Genesio di Brescello Ludmila of Bohemia Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Mamilian of Palermo Linus Euphemia Isidore of Seville Fidelis of Como Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Donatus of Arezzo Rose of Lima Anatolia martire Elizabeth of Aragon Thomas Becket Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Ferdinand III of Castile Peter of Verona Saint Fulk Rita of Cascia Saint Venera Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Thomas Aquinas Genesius of Arles Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Tadeusz Kościuszko Fiorenzo di Bastia Clare of Assisi Saint Martha Modestinus Stanislaus Kostka Hippolytus Philip the Apostle Aper of Toul Dorothea of Caesarea Marziano di Siracusa Ursus of Aosta Pontian Sixtus I John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Anastasia of Sirmium Callixtus I Leonard of Port Maurice Adolphus Saint Eligius Saint Maurus Bernardino of Siena Vitaliano da Capua Hubertus William of Maleval Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Rufinus of Assisi Celestine I Saint Giovanni Battista de Rossi Brice of Tours Francis de Sales Saint Veronica Suitbert of Kaiserswerdt Cyriacus Eugenius of Carthage Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia Victoria, Anatolia, and Audax Magnus of Cuneo Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Leo IX Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Norbert of Xanten Germanus of Auxerre Michael de Sanctis Matthew the Apostle Lambert of Maastricht Urban of Langres Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Calogerus Falco di Palena Saint Remigius Devota Saint Apollonia Maternus Henry II, Holy Roman Emperor Caesarius of Africa Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Marina the Monk Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Saint Boniface Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Olaf II of Norway
Elizabeth II, Thomas Aquinas and Tadeusz Kościuszko are the patron saint of min number of churches or administrative territories
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action argmin
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
[[{'concept': 'church'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?t WHERE { VALUES ( ?d ) { ( ontology:church ) ( ontology:administrative_territorial_entity ) } . ?b rdf:type ?d } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?z WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:church ) } . ?w rdf:type ?h } GROUP BY ?z } . FILTER ( ?r = ?g ) }
[]