Simple Question (Direct)
Simple Question
Q4533430
P26
Q502895
USER
Who are the spouses of Andrei Eshpai ?
(Q4533430,P26,c(Q502895))
action filter_type
action find
entity Q4533430
relation P26
type Q502895
['Q4533430', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q4533430 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Andrei Eshpai
action filter_type
action find
entity Andrei Eshpai
relation spouse
type common name
['Andrei Eshpai', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Andrei_Eshpai property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1970312 Q2391188
SYSTEM
Larisa Udovichenko, Yevgeniya Simonova
Q1970312 Q2391188
(Q4533430,P26,c(Q502895))
action filter_type
action find
entity Q4533430
relation P26
type Q502895
The spouses of Andrei Eshpai are Princess [ANSWERS]
['Q4533430', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q4533430 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Larisa Udovichenko Yevgeniya Simonova
The spouses of Andrei Eshpai are Princess Larisa Udovichenko and Yevgeniya Simonova
Larisa Udovichenko Yevgeniya Simonova
action filter_type
action find
entity Andrei Eshpai
relation spouse
type common name
['Andrei Eshpai', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Andrei_Eshpai property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1970312
P69
Q3914
USER
Which school is the alma mater of that person ?
(Q1970312,P69,c(Q3914))
action filter_type
action find
entity Q1970312
relation P69
type Q3914
['Q1970312', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?b WHERE { resource:Q1970312 property:P69 ?b . ?b rdf:type ontology:Q3914 }
Larisa Udovichenko
action filter_type
action find
entity Larisa Udovichenko
relation educated at
type school
['Larisa Udovichenko', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?b WHERE { resource:Larisa_Udovichenko property:educated_at ?b . ?b rdf:type ontology:school }
[]
school
Clarification for simple ques.
Q2391188
SYSTEM
Did you mean Yevgeniya Simonova ?
Q1970312 Q2391188
(Q1970312,P69,c(Q3914)) (Q2391188,P69,c(Q3914))
[ANSWER]
['Q1970312', 'P69', {'concept': 'Q3914'}] ['Q2391188', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?b WHERE { resource:Q1970312 property:P69 ?b . ?b rdf:type ontology:Q3914 }
Larisa Udovichenko Yevgeniya Simonova
Did you mean Yevgeniya Simonova ?
Yevgeniya Simonova
['Larisa Udovichenko', 'educated at', {'concept': 'school'}] ['Yevgeniya Simonova', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?b WHERE { resource:Larisa_Udovichenko property:educated_at ?b . ?b rdf:type ontology:school }
[]
Simple Question (Coreferenced)
USER
No, I meant Larisa Udovichenko. Could you tell me the answer for that?
(Q1970312,P69,c(Q3914))
Q1970312
['Q1970312', 'P69', {'concept': 'Q3914'}]
['Larisa Udovichenko', 'educated at', {'concept': 'school'}]
[]
Q1130457
SYSTEM
Gerasimov Institute of Cinematography
Q1130457
(Q1970312,P69,c(Q3914))
action filter_type
action find
entity Q1970312
relation P69
type Q3914
[ANSWER] is the alma mater of that person
['Q1970312', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?b WHERE { resource:Q1970312 property:P69 ?b . ?b rdf:type ontology:Q3914 }
Gerasimov Institute of Cinematography
Gerasimov Institute of Cinematography is the alma mater of that person
Gerasimov Institute of Cinematography
action filter_type
action find
entity Larisa Udovichenko
relation educated at
type school
['Larisa Udovichenko', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?b WHERE { resource:Larisa_Udovichenko property:educated_at ?b . ?b rdf:type ontology:school }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1130457 Q7114011
P159
Q56061
USER
Is Overton, Nova Scotia the head office for that school located ?
(Q1130457,P159,Q7114011)
action is_in
entity Q7114011
action find
entity Q1130457
relation P159
['Q1130457', 'P159', 'Q7114011']
ASK WHERE { resource:Q1130457 property:P159 resource:Q7114011 }
Gerasimov Institute of Cinematography Overton, Nova Scotia
action is_in
entity Overton, Nova Scotia
action find
entity Gerasimov Institute of Cinematography
relation headquarters location
['Gerasimov Institute of Cinematography', 'headquarters location', 'Overton, Nova Scotia']
ASK WHERE { resource:Gerasimov_Institute_of_Cinematography property:headquarters_location resource:Overton,_Nova_Scotia }
[]
administrative territorial entity
SYSTEM
NO
(Q1130457,P159,Q7114011)
action is_in
entity Q7114011
action find
entity Q1130457
relation P159
[ANSWER]
['Q1130457', 'P159', 'Q7114011']
ASK WHERE { resource:Q1130457 property:P159 resource:Q7114011 }
No
action is_in
entity Overton, Nova Scotia
action find
entity Gerasimov Institute of Cinematography
relation headquarters location
['Gerasimov Institute of Cinematography', 'headquarters location', 'Overton, Nova Scotia']
ASK WHERE { resource:Gerasimov_Institute_of_Cinematography property:headquarters_location resource:Overton,_Nova_Scotia }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q43999
P417
Q502895 Q12737077 Q16970
USER
How many people are the patron saint of lesser number of occupations and churches than James ?
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q43999
relation P417
type Q12737077
type Q16970
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?k ) WHERE { { ?m property:P417 ?j . ?j rdf:type ontology:Q502895 . ?m rdf:type ontology:Q16970 } UNION { ?m property:P417 ?j . ?j rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P417 resource:Q43999 . { { ?e rdf:type ontology:Q16970 } UNION { ?e rdf:type ontology:Q12737077 } } } } . FILTER ( ?k < ?y ) }
James
action count
action less
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity James
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?k ) WHERE { { ?m property:patron_saint ?j . ?j rdf:type ontology:common_name . ?m rdf:type ontology:church } UNION { ?m property:patron_saint ?j . ?j rdf:type ontology:common_name . ?m rdf:type ontology:occupation } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:patron_saint resource:James . { { ?e rdf:type ontology:church } UNION { ?e rdf:type ontology:occupation } } } } . FILTER ( ?k < ?y ) }
[]
common name occupation church
SYSTEM
291
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q31966 Q603655 Q44024 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 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 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 Q310633 Q208331
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q43999
relation P417
type Q12737077
type Q16970
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?k ) WHERE { { ?m property:P417 ?j . ?j rdf:type ontology:Q502895 . ?m rdf:type ontology:Q16970 } UNION { ?m property:P417 ?j . ?j rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P417 resource:Q43999 . { { ?e rdf:type ontology:Q16970 } UNION { ?e rdf:type ontology:Q12737077 } } } } . FILTER ( ?k < ?y ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville 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 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 Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha 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 John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica 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 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 Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite 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 Benedict of Nursia 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 Urban of Langres Clement of Ohrid Zita 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 Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia 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 Demetrius of Thessaloniki Olaf II of Norway
291
action count
action less
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity James
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?k ) WHERE { { ?m property:patron_saint ?j . ?j rdf:type ontology:common_name . ?m rdf:type ontology:church } UNION { ?m property:patron_saint ?j . ?j rdf:type ontology:common_name . ?m rdf:type ontology:occupation } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:patron_saint resource:James . { { ?e rdf:type ontology:church } UNION { ?e rdf:type ontology:occupation } } } } . FILTER ( ?k < ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2142772
P417
Q502895 Q12737077 Q16970
USER
And what about Gereon?
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q2142772
relation P417
type Q12737077
type Q16970
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?t ) WHERE { { ?l property:P417 ?b . ?b rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q16970 . ?b rdf:type ontology:Q502895 . ?l property:P417 ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:P417 resource:Q2142772 . { VALUES ( ?s ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } . ?h rdf:type ?s } } } . FILTER ( ?t < ?y ) }
Gereon
action count
action less
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Gereon
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?t ) WHERE { { ?l property:patron_saint ?b . ?b rdf:type ontology:common_name . ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:church . ?b rdf:type ontology:common_name . ?l property:patron_saint ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:patron_saint resource:Gereon . { VALUES ( ?s ) { ( ontology:occupation ) ( ontology:church ) } . ?h rdf:type ?s } } } . FILTER ( ?t < ?y ) }
[]
common name occupation church
SYSTEM
291
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q31966 Q603655 Q44024 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 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 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 Q310633 Q208331
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action count
action less
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q2142772
relation P417
type Q12737077
type Q16970
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?t ) WHERE { { ?l property:P417 ?b . ?b rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } UNION { ?l rdf:type ontology:Q16970 . ?b rdf:type ontology:Q502895 . ?l property:P417 ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:P417 resource:Q2142772 . { VALUES ( ?s ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } . ?h rdf:type ?s } } } . FILTER ( ?t < ?y ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville 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 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 Clement I Fiorenzo di Bastia Clare of Assisi Venantius of Camerino Saint Martha 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 John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Saint Veronica 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 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 Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite 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 Benedict of Nursia 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 Urban of Langres Clement of Ohrid Zita 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 Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia 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 Demetrius of Thessaloniki Olaf II of Norway
291
action count
action less
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Gereon
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?t ) WHERE { { ?l property:patron_saint ?b . ?b rdf:type ontology:common_name . ?l rdf:type ontology:occupation } UNION { ?l rdf:type ontology:church . ?b rdf:type ontology:common_name . ?l property:patron_saint ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h property:patron_saint resource:Gereon . { VALUES ( ?s ) { ( ontology:occupation ) ( ontology:church ) } . ?h rdf:type ?s } } } . FILTER ( ?t < ?y ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1257444 Q1970312
P136 P161
Q15416
USER
Which television programs stars Larisa Udovichenko as actor and have film adaptation as their category ?
AND((c(Q15416),P161,Q1970312), (c(Q15416),P136,Q1257444))
action filter_type
action intersection
action find_reverse
entity Q1970312
relation P161
action find_reverse
entity Q1257444
relation P136
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P161', 'Q1970312'], [{'concept': 'Q15416'}, 'P136', 'Q1257444']]}
SELECT DISTINCT ?i WHERE { ?i property:P136 resource:Q1257444 . ?i property:P161 resource:Q1970312 . ?i rdf:type ontology:Q15416 }
film adaptation Larisa Udovichenko
action filter_type
action intersection
action find_reverse
entity Larisa Udovichenko
relation cast member
action find_reverse
entity film adaptation
relation genre
type television program
{'AND': [[{'concept': 'television program'}, 'cast member', 'Larisa Udovichenko'], [{'concept': 'television program'}, 'genre', 'film adaptation']]}
SELECT DISTINCT ?i WHERE { ?i property:genre resource:film_adaptation . ?i property:cast_member resource:Larisa_Udovichenko . ?i rdf:type ontology:television_program }
[]
television program
Q2370768
SYSTEM
The Meeting Place Cannot Be Changed
Q2370768
AND((c(Q15416),P161,Q1970312), (c(Q15416),P136,Q1257444))
action filter_type
action intersection
action find_reverse
entity Q1970312
relation P161
action find_reverse
entity Q1257444
relation P136
type Q15416
The Meeting Place cannot Be Changed stars Larisa Udovichenko as actor and have film adaptation as their category
{'AND': [[{'concept': 'Q15416'}, 'P161', 'Q1970312'], [{'concept': 'Q15416'}, 'P136', 'Q1257444']]}
SELECT DISTINCT ?i WHERE { ?i property:P136 resource:Q1257444 . ?i property:P161 resource:Q1970312 . ?i rdf:type ontology:Q15416 }
The Meeting Place Cannot Be Changed
The Meeting Place cannot Be Changed stars Larisa Udovichenko as actor and have film adaptation as their category
The Meeting Place Cannot Be Changed
action filter_type
action intersection
action find_reverse
entity Larisa Udovichenko
relation cast member
action find_reverse
entity film adaptation
relation genre
type television program
{'AND': [[{'concept': 'television program'}, 'cast member', 'Larisa Udovichenko'], [{'concept': 'television program'}, 'genre', 'film adaptation']]}
SELECT DISTINCT ?i WHERE { ?i property:genre resource:film_adaptation . ?i property:cast_member resource:Larisa_Udovichenko . ?i rdf:type ontology:television_program }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2370768 Q1689226 Q16832179
P161
Q502895
USER
Does that television program have Jim Stewart and William Roelofson as actor ?
(Q2370768,P161,Q1689226) (Q2370768,P161,Q16832179)
action is_in
entity Q2370768
action intersection
action find_reverse
entity Q1689226
relation P161
action find_reverse
entity Q16832179
relation P161
['Q2370768', 'P161', 'Q1689226'] ['Q2370768', 'P161', 'Q16832179']
ASK WHERE { resource:Q2370768 property:P161 resource:Q1689226 . resource:Q2370768 property:P161 resource:Q16832179 }
The Meeting Place Cannot Be Changed Jim Stewart William Roelofson
action is_in
entity The Meeting Place Cannot Be Changed
action intersection
action find_reverse
entity Jim Stewart
relation cast member
action find_reverse
entity William Roelofson
relation cast member
['The Meeting Place Cannot Be Changed', 'cast member', 'Jim Stewart'] ['The Meeting Place Cannot Be Changed', 'cast member', 'William Roelofson']
ASK WHERE { resource:The_Meeting_Place_Cannot_Be_Changed property:cast_member resource:Jim_Stewart . resource:The_Meeting_Place_Cannot_Be_Changed property:cast_member resource:William_Roelofson }
[]
common name
SYSTEM
NO
(Q2370768,P161,Q1689226) (Q2370768,P161,Q16832179)
action is_in
entity Q2370768
action intersection
action find_reverse
entity Q1689226
relation P161
action find_reverse
entity Q16832179
relation P161
[ANSWER]
['Q2370768', 'P161', 'Q1689226'] ['Q2370768', 'P161', 'Q16832179']
ASK WHERE { resource:Q2370768 property:P161 resource:Q1689226 . resource:Q2370768 property:P161 resource:Q16832179 }
No
action is_in
entity The Meeting Place Cannot Be Changed
action intersection
action find_reverse
entity Jim Stewart
relation cast member
action find_reverse
entity William Roelofson
relation cast member
['The Meeting Place Cannot Be Changed', 'cast member', 'Jim Stewart'] ['The Meeting Place Cannot Be Changed', 'cast member', 'William Roelofson']
ASK WHERE { resource:The_Meeting_Place_Cannot_Be_Changed property:cast_member resource:Jim_Stewart . resource:The_Meeting_Place_Cannot_Be_Changed property:cast_member resource:William_Roelofson }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1970312 Q39914
P27
Q15617994
USER
Is Chiuro the country of citizenship of Larisa Udovichenko ?
(Q1970312,P27,Q39914)
action is_in
entity Q39914
action find
entity Q1970312
relation P27
['Q1970312', 'P27', 'Q39914']
ASK WHERE { resource:Q1970312 property:P27 resource:Q39914 }
Larisa Udovichenko Chiuro
action is_in
entity Chiuro
action find
entity Larisa Udovichenko
relation country of citizenship
['Larisa Udovichenko', 'country of citizenship', 'Chiuro']
ASK WHERE { resource:Larisa_Udovichenko property:country_of_citizenship resource:Chiuro }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1970312,P27,Q39914)
action is_in
entity Q39914
action find
entity Q1970312
relation P27
[ANSWER]
['Q1970312', 'P27', 'Q39914']
ASK WHERE { resource:Q1970312 property:P27 resource:Q39914 }
No
action is_in
entity Chiuro
action find
entity Larisa Udovichenko
relation country of citizenship
['Larisa Udovichenko', 'country of citizenship', 'Chiuro']
ASK WHERE { resource:Larisa_Udovichenko property:country_of_citizenship resource:Chiuro }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2370768 Q649
P840
Q56061
USER
Is that television program set in Moscow ?
(Q2370768,P840,Q649)
action is_in
entity Q649
action find
entity Q2370768
relation P840
['Q2370768', 'P840', 'Q649']
ASK WHERE { resource:Q2370768 property:P840 resource:Q649 }
The Meeting Place Cannot Be Changed Moscow
action is_in
entity Moscow
action find
entity The Meeting Place Cannot Be Changed
relation narrative location
['The Meeting Place Cannot Be Changed', 'narrative location', 'Moscow']
ASK WHERE { resource:The_Meeting_Place_Cannot_Be_Changed property:narrative_location resource:Moscow }
[]
administrative territorial entity
SYSTEM
YES
(Q2370768,P840,Q649)
action is_in
entity Q649
action find
entity Q2370768
relation P840
[ANSWER]
['Q2370768', 'P840', 'Q649']
ASK WHERE { resource:Q2370768 property:P840 resource:Q649 }
Yes
action is_in
entity Moscow
action find
entity The Meeting Place Cannot Be Changed
relation narrative location
['The Meeting Place Cannot Be Changed', 'narrative location', 'Moscow']
ASK WHERE { resource:The_Meeting_Place_Cannot_Be_Changed property:narrative_location resource:Moscow }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4533430
P40
Q502895
USER
How many people have Andrei Eshpai as a child ?
(c(Q502895),P40,Q4533430)
action count
action filter_type
action find_reverse
entity Q4533430
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4533430']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P40 resource:Q4533430 . ?l rdf:type ontology:Q502895 }
Andrei Eshpai
action count
action filter_type
action find_reverse
entity Andrei Eshpai
relation child
type common name
[{'concept': 'common name'}, 'child', 'Andrei Eshpai']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:child resource:Andrei_Eshpai . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q502147
(c(Q502895),P40,Q4533430)
action count
action filter_type
action find_reverse
entity Q4533430
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q4533430']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P40 resource:Q4533430 . ?l rdf:type ontology:Q502895 }
Andrei Eshpai
1
action count
action filter_type
action find_reverse
entity Andrei Eshpai
relation child
type common name
[{'concept': 'common name'}, 'child', 'Andrei Eshpai']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:child resource:Andrei_Eshpai . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1130457
P17
Q15617994
USER
Which administrative territory is Gerasimov Institute of Cinematography a part of ?
(Q1130457,P17,c(Q15617994))
action filter_type
action find
entity Q1130457
relation P17
type Q15617994
['Q1130457', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1130457 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Gerasimov Institute of Cinematography
action filter_type
action find
entity Gerasimov Institute of Cinematography
relation country
type designation for an administrative territorial entity
['Gerasimov Institute of Cinematography', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Gerasimov_Institute_of_Cinematography property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q1130457,P17,c(Q15617994))
action filter_type
action find
entity Q1130457
relation P17
type Q15617994
[ANSWER] is Gerasimov Institute of Cinematography a part of
['Q1130457', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1130457 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Russia
Russia is Gerasimov Institute of Cinematography a part of
Russia
action filter_type
action find
entity Gerasimov Institute of Cinematography
relation country
type designation for an administrative territorial entity
['Gerasimov Institute of Cinematography', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Gerasimov_Institute_of_Cinematography property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1130457
P272
Q15416
USER
Which television program had that school as the production house ?
(c(Q15416),P272,Q159)
action filter_type
action find_reverse
entity Q1130457
relation P272
type Q15416
[{'concept': 'Q15416'}, 'P272', 'Q159']
SELECT DISTINCT ?y WHERE { ?y property:P272 resource:Q1130457 . ?y rdf:type ontology:Q15416 }
Gerasimov Institute of Cinematography
action filter_type
action find_reverse
entity Gerasimov Institute of Cinematography
relation production company
type television program
[{'concept': 'television program'}, 'production company', 'Russia']
SELECT DISTINCT ?y WHERE { ?y property:production_company resource:Gerasimov_Institute_of_Cinematography . ?y rdf:type ontology:television_program }
[]
television program
Q1970252
SYSTEM
There Will Be No Leave Today
Q1970252
(c(Q15416),P272,Q159)
action filter_type
action find_reverse
entity Q1130457
relation P272
type Q15416
There will Be No Leave Today had that school as the production house
[{'concept': 'Q15416'}, 'P272', 'Q159']
SELECT DISTINCT ?y WHERE { ?y property:P272 resource:Q1130457 . ?y rdf:type ontology:Q15416 }
There Will Be No Leave Today
There will Be No Leave Today had that school as the production house
There Will Be No Leave Today
action filter_type
action find_reverse
entity Gerasimov Institute of Cinematography
relation production company
type television program
[{'concept': 'television program'}, 'production company', 'Russia']
SELECT DISTINCT ?y WHERE { ?y property:production_company resource:Gerasimov_Institute_of_Cinematography . ?y rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q4829081 Q1130457
P272
Q15416
USER
Or Avnet–Kerner Productions?
OR((c(Q15416),P272,Q1130457), (c(Q15416),P272,Q4829081))
action filter_type
action union
action find_reverse
entity Q1130457
relation P272
action find_reverse
entity Q4829081
relation P272
type Q15416
{'OR': [[{'concept': 'Q15416'}, 'P272', 'Q1130457'], [{'concept': 'Q15416'}, 'P272', 'Q4829081']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15416 . { { ?q property:P272 resource:Q1130457 } UNION { ?q property:P272 resource:Q4829081 } } }
Avnet–Kerner Productions Gerasimov Institute of Cinematography
action filter_type
action union
action find_reverse
entity Gerasimov Institute of Cinematography
relation production company
action find_reverse
entity Avnet–Kerner Productions
relation production company
type television program
{'OR': [[{'concept': 'television program'}, 'production company', 'Gerasimov Institute of Cinematography'], [{'concept': 'television program'}, 'production company', 'Avnet–Kerner Productions']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:television_program . { { ?q property:production_company resource:Gerasimov_Institute_of_Cinematography } UNION { ?q property:production_company resource:Avnet–Kerner_Productions } } }
[]
television program
Q5693220 Q1970252
SYSTEM
Heat Wave, There Will Be No Leave Today
Q5693220 Q1970252
OR((c(Q15416),P272,Q1130457), (c(Q15416),P272,Q4829081))
action filter_type
action union
action find_reverse
entity Q1130457
relation P272
action find_reverse
entity Q4829081
relation P272
type Q15416
[ANSWERS]
{'OR': [[{'concept': 'Q15416'}, 'P272', 'Q1130457'], [{'concept': 'Q15416'}, 'P272', 'Q4829081']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15416 . { { ?q property:P272 resource:Q1130457 } UNION { ?q property:P272 resource:Q4829081 } } }
Heat Wave There Will Be No Leave Today
Heat Wave There Will Be No Leave Today
action filter_type
action union
action find_reverse
entity Gerasimov Institute of Cinematography
relation production company
action find_reverse
entity Avnet–Kerner Productions
relation production company
type television program
{'OR': [[{'concept': 'television program'}, 'production company', 'Gerasimov Institute of Cinematography'], [{'concept': 'television program'}, 'production company', 'Avnet–Kerner Productions']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:television_program . { { ?q property:production_company resource:Gerasimov_Institute_of_Cinematography } UNION { ?q property:production_company resource:Avnet–Kerner_Productions } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q15416 Q386724
USER
Which works were described in atleast 1 television program ?
(c(Q386724),P1445,c(Q15416))
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q15416
value 1
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?f ) WHERE { ?r property:P1445 ?p . ?p rdf:type ontology:Q15416 . ?r rdf:type ontology:Q386724 } GROUP BY ?r } . FILTER ( ?f >= 1 ) }
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type television program
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?f ) WHERE { ?r property:fictional_universe_described_in ?p . ?p rdf:type ontology:television_program . ?r rdf:type ontology:work } GROUP BY ?r } . FILTER ( ?f >= 1 ) }
[]
television program work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q15416))
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q15416
value 1
[ANSWERS] were described in atleast 1 television program
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?f ) WHERE { ?r property:P1445 ?p . ?p rdf:type ontology:Q15416 . ?r rdf:type ontology:Q386724 } GROUP BY ?r } . FILTER ( ?f >= 1 ) }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek, Aladdin media franchise and Stargate were described in atleast 1 television program
Shrek Aladdin media franchise Stargate
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type television program
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?f ) WHERE { ?r property:fictional_universe_described_in ?p . ?p rdf:type ontology:television_program . ?r rdf:type ontology:work } GROUP BY ?r } . FILTER ( ?f >= 1 ) }
[]