Simple Question (Direct)
Simple Question
Q7925963
P800
Q2342494
USER
Who notable work was done by Victor Hugo Green ?
(Q7925963,P800,c(Q2342494))
action filter_type
action find
entity Q7925963
relation P800
type Q2342494
['Q7925963', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?n WHERE { resource:Q7925963 property:P800 ?n . ?n rdf:type ontology:Q2342494 }
Victor Hugo Green
action filter_type
action find
entity Victor Hugo Green
relation notable work
type collectable
['Victor Hugo Green', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?n WHERE { resource:Victor_Hugo_Green property:notable_work ?n . ?n rdf:type ontology:collectable }
[]
collectable
Q17114195
SYSTEM
The Negro Motorist Green Book
Q17114195
(Q7925963,P800,c(Q2342494))
action filter_type
action find
entity Q7925963
relation P800
type Q2342494
The [ANSWER] was done by Victor Hugo Green
['Q7925963', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?n WHERE { resource:Q7925963 property:P800 ?n . ?n rdf:type ontology:Q2342494 }
The Negro Motorist Green Book
The The Negro Motorist Green Book was done by Victor Hugo Green
The Negro Motorist Green Book
action filter_type
action find
entity Victor Hugo Green
relation notable work
type collectable
['Victor Hugo Green', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?n WHERE { resource:Victor_Hugo_Green property:notable_work ?n . ?n rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17114195
P50
Q502895
USER
Who wrote that collectable ?
(Q17114195,P50,c(Q502895))
action filter_type
action find
entity Q17114195
relation P50
type Q502895
['Q17114195', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q17114195 property:P50 ?d . ?d rdf:type ontology:Q502895 }
The Negro Motorist Green Book
action filter_type
action find
entity The Negro Motorist Green Book
relation author
type common name
['The Negro Motorist Green Book', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Negro_Motorist_Green_Book property:author ?d . ?d rdf:type ontology:common_name }
[]
common name
Q7925963
SYSTEM
Victor Hugo Green
Q7925963
(Q17114195,P50,c(Q502895))
action filter_type
action find
entity Q17114195
relation P50
type Q502895
[ANSWER] wrote that collectable
['Q17114195', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q17114195 property:P50 ?d . ?d rdf:type ontology:Q502895 }
Victor Hugo Green
Victor Hugo Green wrote that collectable
Victor Hugo Green
action filter_type
action find
entity The Negro Motorist Green Book
relation author
type common name
['The Negro Motorist Green Book', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Negro_Motorist_Green_Book property:author ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7925963
P172
Q2472587
USER
Which people does that person have as his/her race ?
(Q7925963,P172,c(Q2472587))
action filter_type
action find
entity Q7925963
relation P172
type Q2472587
['Q7925963', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2472587 . resource:Q7925963 property:P172 ?q }
Victor Hugo Green
action filter_type
action find
entity Victor Hugo Green
relation ethnic group
type people
['Victor Hugo Green', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:people . resource:Victor_Hugo_Green property:ethnic_group ?q }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q7925963,P172,c(Q2472587))
action filter_type
action find
entity Q7925963
relation P172
type Q2472587
That person has adopted [ANSWER] as his / her race
['Q7925963', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2472587 . resource:Q7925963 property:P172 ?q }
African Americans
That person has adopted African Americans as his / her race
African Americans
action filter_type
action find
entity Victor Hugo Green
relation ethnic group
type people
['Victor Hugo Green', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:people . resource:Victor_Hugo_Green property:ethnic_group ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7925963
P19
Q2983893
USER
Which urban district was Victor Hugo Green born in ?
(Q7925963,P19,c(Q2983893))
action filter_type
action find
entity Q7925963
relation P19
type Q2983893
['Q7925963', 'P19', {'concept': 'Q2983893'}]
SELECT DISTINCT ?x WHERE { resource:Q7925963 property:P19 ?x . ?x rdf:type ontology:Q2983893 }
Victor Hugo Green
action filter_type
action find
entity Victor Hugo Green
relation place of birth
type urban district
['Victor Hugo Green', 'place of birth', {'concept': 'urban district'}]
SELECT DISTINCT ?x WHERE { resource:Victor_Hugo_Green property:place_of_birth ?x . ?x rdf:type ontology:urban_district }
[]
urban district
Q11299
SYSTEM
Manhattan
Q11299
(Q7925963,P19,c(Q2983893))
action filter_type
action find
entity Q7925963
relation P19
type Q2983893
Victor Hugo Green was born in [ANSWER]
['Q7925963', 'P19', {'concept': 'Q2983893'}]
SELECT DISTINCT ?x WHERE { resource:Q7925963 property:P19 ?x . ?x rdf:type ontology:Q2983893 }
Manhattan
Victor Hugo Green was born in Manhattan
Manhattan
action filter_type
action find
entity Victor Hugo Green
relation place of birth
type urban district
['Victor Hugo Green', 'place of birth', {'concept': 'urban district'}]
SELECT DISTINCT ?x WHERE { resource:Victor_Hugo_Green property:place_of_birth ?x . ?x rdf:type ontology:urban_district }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11299 Q4906303
P20
Q502895
USER
Does Big Scoob have that urban district as the area of death ?
(Q4906303,P20,Q11299)
action is_in
entity Q4906303
action find
entity Q11299
relation P20
['Q4906303', 'P20', 'Q11299']
ASK WHERE { resource:Q11299 property:P20 resource:Q4906303 }
Manhattan Big Scoob
action is_in
entity Big Scoob
action find
entity Manhattan
relation place of death
['Big Scoob', 'place of death', 'Manhattan']
ASK WHERE { resource:Manhattan property:place_of_death resource:Big_Scoob }
[]
common name
SYSTEM
NO
(Q4906303,P20,Q11299)
action is_in
entity Q4906303
action find
entity Q11299
relation P20
[ANSWER]
['Q4906303', 'P20', 'Q11299']
ASK WHERE { resource:Q11299 property:P20 resource:Q4906303 }
No
action is_in
entity Big Scoob
action find
entity Manhattan
relation place of death
['Big Scoob', 'place of death', 'Manhattan']
ASK WHERE { resource:Manhattan property:place_of_death resource:Big_Scoob }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q309953
P417
Q502895 Q56061 Q12737077
USER
Which people are the patron saints of approximately the same number of administrative territories or occupations as Gregory the Illuminator ?
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q309953
relation P417
type Q56061
type Q12737077
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?a WHERE { VALUES ( ?v ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } . ?u rdf:type ?v } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P417 resource:Q309953 . { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?i = ?x ) }
Gregory the Illuminator
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Gregory the Illuminator
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?a WHERE { VALUES ( ?v ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } . ?u rdf:type ?v } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:patron_saint resource:Gregory_the_Illuminator . { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } } } . FILTER ( ?i = ?x ) }
[]
common name administrative territorial entity occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 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 Q163900 Q31966 Q603655 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q380345 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q208331
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q309953
relation P417
type Q56061
type Q12737077
[ANSWERS] are the patron saints of approximately the same number of administrative territories or occupations as Gregory the Illuminator
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?a WHERE { VALUES ( ?v ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } . ?u rdf:type ?v } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P417 resource:Q309953 . { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?i = ?x ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola 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 Saint Francis Xavier Mark the Evangelist Fidelis of Como 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Maurus Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi 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 Cyriacus Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon 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 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 Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula 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 Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary 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 Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian 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 saints of approximately the same number of administrative territories or occupations as Gregory the Illuminator
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Gregory the Illuminator
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?a WHERE { VALUES ( ?v ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } . ?u rdf:type ?v } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:patron_saint resource:Gregory_the_Illuminator . { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } } } . FILTER ( ?i = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q132797
P417
Q502895 Q56061 Q12737077
USER
And what about Mark?
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q132797
relation P417
type Q56061
type Q12737077
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { { ?k property:P417 ?q . ?q rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } UNION { ?k property:P417 ?q . ?q rdf:type ontology:Q502895 . ?k rdf:type ontology:Q56061 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P417 resource:Q132797 . { { ?y rdf:type ontology:Q56061 } UNION { ?y rdf:type ontology:Q12737077 } } } } . FILTER ( ?e = ?l ) }
Mark
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Mark
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { { ?k property:patron_saint ?q . ?q rdf:type ontology:common_name . ?k rdf:type ontology:occupation } UNION { ?k property:patron_saint ?q . ?q rdf:type ontology:common_name . ?k rdf:type ontology:administrative_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:patron_saint resource:Mark . { { ?y rdf:type ontology:administrative_territorial_entity } UNION { ?y rdf:type ontology:occupation } } } } . FILTER ( ?e = ?l ) }
[]
common name administrative territorial entity occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 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 Q163900 Q31966 Q603655 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q380345 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q208331
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q132797
relation P417
type Q56061
type Q12737077
[ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { { ?k property:P417 ?q . ?q rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } UNION { ?k property:P417 ?q . ?q rdf:type ontology:Q502895 . ?k rdf:type ontology:Q56061 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P417 resource:Q132797 . { { ?y rdf:type ontology:Q56061 } UNION { ?y rdf:type ontology:Q12737077 } } } } . FILTER ( ?e = ?l ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola 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 Saint Francis Xavier Mark the Evangelist Fidelis of Como 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Maurus Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi 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 Cyriacus Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon 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 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 Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula 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 Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary 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 Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian 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 Tadeusz Kościuszko
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Mark
relation patron saint
type administrative territorial entity
type occupation
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { { ?k property:patron_saint ?q . ?q rdf:type ontology:common_name . ?k rdf:type ontology:occupation } UNION { ?k property:patron_saint ?q . ?q rdf:type ontology:common_name . ?k rdf:type ontology:administrative_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:patron_saint resource:Mark . { { ?y rdf:type ontology:administrative_territorial_entity } UNION { ?y rdf:type ontology:occupation } } } } . FILTER ( ?e = ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q651231 Q4906303
P175
Q2031291
USER
Which releases gave the performance of Big Scoob or Boyz II Men ?
OR((c(Q2031291),P175,Q4906303), (c(Q2031291),P175,Q651231))
action filter_type
action union
action find_reverse
entity Q4906303
relation P175
action find_reverse
entity Q651231
relation P175
type Q2031291
{'OR': [[{'concept': 'Q2031291'}, 'P175', 'Q4906303'], [{'concept': 'Q2031291'}, 'P175', 'Q651231']]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?t ) { ( resource:Q4906303 ) ( resource:Q651231 ) } . ?p property:P175 ?t } . ?p rdf:type ontology:Q2031291 }
Boyz II Men Big Scoob
action filter_type
action union
action find_reverse
entity Big Scoob
relation performer
action find_reverse
entity Boyz II Men
relation performer
type release
{'OR': [[{'concept': 'release'}, 'performer', 'Big Scoob'], [{'concept': 'release'}, 'performer', 'Boyz II Men']]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?t ) { ( resource:Big_Scoob ) ( resource:Boyz_II_Men ) } . ?p property:performer ?t } . ?p rdf:type ontology:release }
[]
release
Q913565 Q1133074 Q4046517 Q4052980 Q251670 Q4052321 Q1044719 Q4041691 Q6918561 Q2816950
SYSTEM
Some of them are One Sweet Day, Evolution, Pass You By, Water Runs Dry, Motown: A Journey Through Hitsville USA, Uhh Ahh, Full Circle, I'll Make Love to You, Motownphilly, 4 Seasons of Loneliness
Q4045782 Q4047084 Q4048161 Q4041691 Q4043208 Q1044719 Q4040633 Q913565 Q5151865 Q1133074 Q4046517 Q726037 Q4041220 Q251670 Q6918561 Q4038061 Q1208014 Q4052321 Q7726846 Q4033152 Q2816950 Q4050916 Q7857775 Q1044727 Q2092155 Q2092170 Q4052980 Q18713574 Q4898576 Q5179225 Q5212703
OR((c(Q2031291),P175,Q4906303), (c(Q2031291),P175,Q651231))
action filter_type
action union
action find_reverse
entity Q4906303
relation P175
action find_reverse
entity Q651231
relation P175
type Q2031291
[ANSWERS] gave the performance of Big Scoob or Boyz II Men
{'OR': [[{'concept': 'Q2031291'}, 'P175', 'Q4906303'], [{'concept': 'Q2031291'}, 'P175', 'Q651231']]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?t ) { ( resource:Q4906303 ) ( resource:Q651231 ) } . ?p property:P175 ?t } . ?p rdf:type ontology:Q2031291 }
On Bended Knee Please Don't Go Relax Your Mind I'll Make Love to You Love Full Circle Hey Lover One Sweet Day Comin' Home Baby Evolution Pass You By Brokenhearted I Will Get There Motown: A Journey Through Hitsville USA Motownphilly End of the Road II Uhh Ahh The Color of Love A Song for Mama 4 Seasons of Loneliness Thank You in Advance Twenty Nathan Michael Shawn Wanya The Remedy Throwback, Vol. 1 Water Runs Dry Collide Better on the Other Side Covered: Winter Damn Fool
One Sweet Day, Evolution, Pass You By, Water Runs Dry, Motown: A Journey Through Hitsville USA, Uhh Ahh, Full Circle, I'll Make Love to You, Motownphilly and 4 Seasons of Loneliness gave the performance of Big Scoob or Boyz II Men
One Sweet Day Evolution Pass You By Water Runs Dry Motown: A Journey Through Hitsville USA Uhh Ahh Full Circle I'll Make Love to You Motownphilly 4 Seasons of Loneliness
action filter_type
action union
action find_reverse
entity Big Scoob
relation performer
action find_reverse
entity Boyz II Men
relation performer
type release
{'OR': [[{'concept': 'release'}, 'performer', 'Big Scoob'], [{'concept': 'release'}, 'performer', 'Boyz II Men']]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?t ) { ( resource:Big_Scoob ) ( resource:Boyz_II_Men ) } . ?p property:performer ?t } . ?p rdf:type ontology:release }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q913565
P676
Q502895
USER
Who is the lyricist of One Sweet Day ?
(Q913565,P676,c(Q502895))
action filter_type
action find
entity Q913565
relation P676
type Q502895
['Q913565', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q913565 property:P676 ?z . ?z rdf:type ontology:Q502895 }
One Sweet Day
action filter_type
action find
entity One Sweet Day
relation lyrics by
type common name
['One Sweet Day', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:One_Sweet_Day property:lyrics_by ?z . ?z rdf:type ontology:common_name }
[]
common name
Q41076
SYSTEM
Mariah Carey
Q41076
(Q913565,P676,c(Q502895))
action filter_type
action find
entity Q913565
relation P676
type Q502895
The lyricist of One Sweet Day is born [ANSWER]
['Q913565', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q913565 property:P676 ?z . ?z rdf:type ontology:Q502895 }
Mariah Carey
The lyricist of One Sweet Day is born Mariah Carey
Mariah Carey
action filter_type
action find
entity One Sweet Day
relation lyrics by
type common name
['One Sweet Day', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:One_Sweet_Day property:lyrics_by ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9682
P166
Q2003221 Q193622
USER
How many chivalric orders or orders were received by Elizabeth II ?
(Q9682,P166,c(Q2003221)) (Q9682,P166,c(Q193622))
action count
action union
action filter_type
action find
entity Q9682
relation P166
type Q2003221
action filter_type
action find
entity Q9682
relation P166
type Q193622
['Q9682', 'P166', {'concept': 'Q2003221'}] ['Q9682', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d rdf:type ontology:Q2003221 . resource:Q9682 property:P166 ?d } UNION { resource:Q9682 property:P166 ?d . ?d rdf:type ontology:Q193622 } }
Elizabeth II
action count
action union
action filter_type
action find
entity Elizabeth II
relation award received
type chivalric order
action filter_type
action find
entity Elizabeth II
relation award received
type order
['Elizabeth II', 'award received', {'concept': 'chivalric order'}] ['Elizabeth II', 'award received', {'concept': 'order'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d rdf:type ontology:chivalric_order . resource:Elizabeth_II property:award_received ?d } UNION { resource:Elizabeth_II property:award_received ?d . ?d rdf:type ontology:order } }
[]
chivalric order order
SYSTEM
4
Q15117228 Q1635491 Q3885362 Q14539990
(Q9682,P166,c(Q2003221)) (Q9682,P166,c(Q193622))
action count
action union
action filter_type
action find
entity Q9682
relation P166
type Q2003221
action filter_type
action find
entity Q9682
relation P166
type Q193622
[ANSWER]
['Q9682', 'P166', {'concept': 'Q2003221'}] ['Q9682', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d rdf:type ontology:Q2003221 . resource:Q9682 property:P166 ?d } UNION { resource:Q9682 property:P166 ?d . ?d rdf:type ontology:Q193622 } }
Knight of the Order of the Golden Fleece Order of the Crown of India Order of the Virtues Knight Grand Cross with Collar of the Order of Merit of the Italian Republic
4
action count
action union
action filter_type
action find
entity Elizabeth II
relation award received
type chivalric order
action filter_type
action find
entity Elizabeth II
relation award received
type order
['Elizabeth II', 'award received', {'concept': 'chivalric order'}] ['Elizabeth II', 'award received', {'concept': 'order'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d rdf:type ontology:chivalric_order . resource:Elizabeth_II property:award_received ?d } UNION { resource:Elizabeth_II property:award_received ?d . ?d rdf:type ontology:order } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41076
P161
Q838948
USER
Which works of art have Mariah Carey in their star cast ?
(c(Q838948),P161,Q41076)
action filter_type
action find_reverse
entity Q41076
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q41076']
SELECT DISTINCT ?q WHERE { ?q property:P161 resource:Q41076 . ?q rdf:type ontology:Q838948 }
Mariah Carey
action filter_type
action find_reverse
entity Mariah Carey
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mariah Carey']
SELECT DISTINCT ?q WHERE { ?q property:cast_member resource:Mariah_Carey . ?q rdf:type ontology:work_of_art }
[]
work of art
Q958417 Q3520173 Q616806
SYSTEM
You Don't Mess with the Zohan, The Butler, Bad 25
Q3234596 Q269331 Q916221 Q958417 Q1812700 Q3520173 Q590869 Q616806
(c(Q838948),P161,Q41076)
action filter_type
action find_reverse
entity Q41076
relation P161
type Q838948
[ANSWERS] have Mariah Carey in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q41076']
SELECT DISTINCT ?q WHERE { ?q property:P161 resource:Q41076 . ?q rdf:type ontology:Q838948 }
Tennessee Precious Glitter You Don't Mess with the Zohan WiseGirls The Butler The Bachelor Bad 25
You Don't Mess with the Zohan, The Butler and Bad 25 have Mariah Carey in their star cast
You Don't Mess with the Zohan The Butler Bad 25
action filter_type
action find_reverse
entity Mariah Carey
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mariah Carey']
SELECT DISTINCT ?q WHERE { ?q property:cast_member resource:Mariah_Carey . ?q rdf:type ontology:work_of_art }
[]