Simple Question (Direct)
Simple Question
Q4078278
P106
Q12737077
USER
Which occupation has Boris Barkas as his/her 's career ?
(Q4078278,P106,c(Q12737077))
action filter_type
action find
entity Q4078278
relation P106
type Q12737077
['Q4078278', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4078278 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Boris Barkas
action filter_type
action find
entity Boris Barkas
relation occupation
type occupation
['Boris Barkas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Boris_Barkas property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q49757
SYSTEM
poet
Q49757
(Q4078278,P106,c(Q12737077))
action filter_type
action find
entity Q4078278
relation P106
type Q12737077
The [ANSWER] has Boris Barkas as his/her 's career
['Q4078278', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4078278 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
poet
The poet has Boris Barkas as his/her 's career
poet
action filter_type
action find
entity Boris Barkas
relation occupation
type occupation
['Boris Barkas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Boris_Barkas property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4078278
P21
Q290
USER
Which sex does that person possess ?
(Q49757,P21,c(Q290))
action filter_type
action find
entity Q4078278
relation P21
type Q290
['Q49757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q4078278 property:P21 ?l . ?l rdf:type ontology:Q290 }
Boris Barkas
action filter_type
action find
entity Boris Barkas
relation gender
type sex
['poet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Boris_Barkas property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q49757,P21,c(Q290))
action filter_type
action find
entity Q4078278
relation P21
type Q290
That person possesses a [ANSWER]
['Q49757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q4078278 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Boris Barkas
relation gender
type sex
['poet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Boris_Barkas property:gender ?l . ?l rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q309953
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of around the same number of occupations as Gregory the Illuminator ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q309953
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q309953 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?b = ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:P417 ?e . ?w rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q502895 } GROUP BY ?e } }
Gregory the Illuminator
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Gregory the Illuminator
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Gregory_the_Illuminator property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?b = ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:patron_saint ?e . ?w rdf:type ontology:occupation . ?e rdf:type ontology:common_name } GROUP BY ?e } }
[]
common name occupation
SYSTEM
266
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q309953
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q309953 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?b = ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:P417 ?e . ?w rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q502895 } GROUP BY ?e } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Gregory the Illuminator
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Gregory_the_Illuminator property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?b = ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?b ) WHERE { ?w property:patron_saint ?e . ?w rdf:type ontology:occupation . ?e rdf:type ontology:common_name } GROUP BY ?e } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q641523 Q4078278
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Boris Barkas or Predrag Drobnjak ?
OR((Q4078278,P27,c(Q15617994)), (Q641523,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4078278
relation P27
action find
entity Q641523
relation P27
type Q15617994
{'OR': [['Q4078278', 'P27', {'concept': 'Q15617994'}], ['Q641523', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { ?a property:P27 ?d . VALUES ( ?a ) { ( resource:Q4078278 ) ( resource:Q641523 ) } } }
Predrag Drobnjak Boris Barkas
action filter_type
action union
action find
entity Boris Barkas
relation country of citizenship
action find
entity Predrag Drobnjak
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Boris Barkas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Predrag Drobnjak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?a property:country_of_citizenship ?d . VALUES ( ?a ) { ( resource:Boris_Barkas ) ( resource:Predrag_Drobnjak ) } } }
[]
designation for an administrative territorial entity
Q236 Q159
SYSTEM
Montenegro, Russia
Q236 Q159
OR((Q4078278,P27,c(Q15617994)), (Q641523,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4078278
relation P27
action find
entity Q641523
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Boris Barkas or Predrag Drobnjak
{'OR': [['Q4078278', 'P27', {'concept': 'Q15617994'}], ['Q641523', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { ?a property:P27 ?d . VALUES ( ?a ) { ( resource:Q4078278 ) ( resource:Q641523 ) } } }
Montenegro Russia
Montenegro and Russia are the countries of citizenship of Boris Barkas or Predrag Drobnjak
Montenegro Russia
action filter_type
action union
action find
entity Boris Barkas
relation country of citizenship
action find
entity Predrag Drobnjak
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Boris Barkas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Predrag Drobnjak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?a property:country_of_citizenship ?d . VALUES ( ?a ) { ( resource:Boris_Barkas ) ( resource:Predrag_Drobnjak ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3455867
P47
Q56061
USER
Do those administrative territories share a border with Randivälja ?
(Q3455867,P47,Q236) (Q3455867,P47,Q159)
action is_in
entity prev_answer
action find
entity Q3455867
relation P47
['Q3455867', 'P47', 'Q236'] ['Q3455867', 'P47', 'Q159']
ASK WHERE { resource:Q3455867 property:P47 ?d . VALUES ( ?d ) { ( resource:Q236 ) ( resource:Q159 ) } }
Randivälja
action is_in
entity prev_answer
action find
entity Randivälja
relation shares border with
['Randivälja', 'shares border with', 'Montenegro'] ['Randivälja', 'shares border with', 'Russia']
ASK WHERE { resource:Randivälja property:shares_border_with ?d . VALUES ( ?d ) { ( resource:Montenegro ) ( resource:Russia ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q3455867,P47,Q236) (Q3455867,P47,Q159)
action is_in
entity prev_answer
action find
entity Q3455867
relation P47
[ANSWER]
['Q3455867', 'P47', 'Q236'] ['Q3455867', 'P47', 'Q159']
ASK WHERE { resource:Q3455867 property:P47 ?d . VALUES ( ?d ) { ( resource:Q236 ) ( resource:Q159 ) } }
No
action is_in
entity prev_answer
action find
entity Randivälja
relation shares border with
['Randivälja', 'shares border with', 'Montenegro'] ['Randivälja', 'shares border with', 'Russia']
ASK WHERE { resource:Randivälja property:shares_border_with ?d . VALUES ( ?d ) { ( resource:Montenegro ) ( resource:Russia ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4078278 Q649
P19
Q56061
USER
Was Boris Barkas born in Moscow ?
(Q4078278,P19,Q649)
action is_in
entity Q649
action find
entity Q4078278
relation P19
['Q4078278', 'P19', 'Q649']
ASK WHERE { resource:Q4078278 property:P19 resource:Q649 }
Boris Barkas Moscow
action is_in
entity Moscow
action find
entity Boris Barkas
relation place of birth
['Boris Barkas', 'place of birth', 'Moscow']
ASK WHERE { resource:Boris_Barkas property:place_of_birth resource:Moscow }
[]
administrative territorial entity
SYSTEM
YES
(Q4078278,P19,Q649)
action is_in
entity Q649
action find
entity Q4078278
relation P19
[ANSWER]
['Q4078278', 'P19', 'Q649']
ASK WHERE { resource:Q4078278 property:P19 resource:Q649 }
Yes
action is_in
entity Moscow
action find
entity Boris Barkas
relation place of birth
['Boris Barkas', 'place of birth', 'Moscow']
ASK WHERE { resource:Boris_Barkas property:place_of_birth resource:Moscow }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4078278
P119
Q43229
USER
Where was that person buried ?
action filter_type
action find
entity Q4078278
relation P119
type Q43229
SELECT DISTINCT ?d WHERE { resource:Q4078278 property:P119 ?d . ?d rdf:type ontology:Q43229 }
Boris Barkas
action filter_type
action find
entity Boris Barkas
relation place of burial
type organization
SELECT DISTINCT ?d WHERE { resource:Boris_Barkas property:place_of_burial ?d . ?d rdf:type ontology:organization }
[]
organization
Q1242128
SYSTEM
Donskoe Cemetery
Q1242128
action filter_type
action find
entity Q4078278
relation P119
type Q43229
That person was buried in [ANSWER]
SELECT DISTINCT ?d WHERE { resource:Q4078278 property:P119 ?d . ?d rdf:type ontology:Q43229 }
Donskoe Cemetery
That person was buried in Donskoe Cemetery
Donskoe Cemetery
action filter_type
action find
entity Boris Barkas
relation place of burial
type organization
SELECT DISTINCT ?d WHERE { resource:Boris_Barkas property:place_of_burial ?d . ?d rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4078278
P20
Q56061
USER
Where did the demise of that person occur ?
(Q1242128,P20,c(Q56061))
action filter_type
action find
entity Q4078278
relation P20
type Q56061
['Q1242128', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q4078278 property:P20 ?y }
Boris Barkas
action filter_type
action find
entity Boris Barkas
relation place of death
type administrative territorial entity
['Donskoe Cemetery', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Boris_Barkas property:place_of_death ?y }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q1242128,P20,c(Q56061))
action filter_type
action find
entity Q4078278
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q1242128', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q4078278 property:P20 ?y }
Moscow
The demise of that person occurred in Moscow
Moscow
action filter_type
action find
entity Boris Barkas
relation place of death
type administrative territorial entity
['Donskoe Cemetery', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Boris_Barkas property:place_of_death ?y }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3483718 Q236
P161 P35
Q502895
USER
Which people are the heads of state of Montenegro or starred in Signé Arsène Lupin ?
OR((Q236,P35,c(Q502895)), (Q3483718,P161,c(Q502895)))
action filter_type
action union
action find
entity Q236
relation P35
action find
entity Q3483718
relation P161
type Q502895
{'OR': [['Q236', 'P35', {'concept': 'Q502895'}], ['Q3483718', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { { resource:Q3483718 property:P161 ?n } UNION { resource:Q236 property:P35 ?n } } }
Signé Arsène Lupin Montenegro
action filter_type
action union
action find
entity Montenegro
relation head of state
action find
entity Signé Arsène Lupin
relation cast member
type common name
{'OR': [['Montenegro', 'head of state', {'concept': 'common name'}], ['Signé Arsène Lupin', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { { resource:Signé_Arsène_Lupin property:cast_member ?n } UNION { resource:Montenegro property:head_of_state ?n } } }
[]
common name
Q2161692 Q922779 Q2977804 Q3172199 Q3311087 Q694877 Q1524941 Q3384860 Q615795 Q57542
SYSTEM
Some of them are Roger Dumas, Paul Préboist, Claude Mercutio, Jean Galland, Michel Vocoret, Yves Robert, Ginette Pigeon, Pierre Duncan, Jacques Dufilho, Filip Vujanović
Q3372378 Q106940 Q3093765 Q2671274 Q3436183 Q615795 Q2161692 Q3172199 Q3426353 Q3142127 Q1524941 Q3127616 Q3090354 Q694877 Q2977804 Q3170677 Q3311087 Q57542 Q2367485 Q922779 Q3426516 Q722412 Q3107815 Q3384860 Q200507
OR((Q236,P35,c(Q502895)), (Q3483718,P161,c(Q502895)))
action filter_type
action union
action find
entity Q236
relation P35
action find
entity Q3483718
relation P161
type Q502895
[ANSWERS] are the heads of state of Montenegro or starred in Signé Arsène Lupin
{'OR': [['Q236', 'P35', {'concept': 'Q502895'}], ['Q3483718', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . { { resource:Q3483718 property:P161 ?n } UNION { resource:Q236 property:P35 ?n } } }
Paul Ville Alida Valli Gabriel Gobin Robert Lamoureux Robert Rollis Jacques Dufilho Roger Dumas Jean Galland René Hell Hubert de Lapparent Ginette Pigeon Harold Kay Michel Etcheverry Yves Robert Claude Mercutio Jean Bellanger Michel Vocoret Filip Vujanović Gérard Darrieu Paul Préboist René Lefèvre-Bel Robert Dalban Gisèle Grandpré Pierre Duncan Paul Müller
Roger Dumas, Paul Préboist, Claude Mercutio, Jean Galland, Michel Vocoret, Yves Robert, Ginette Pigeon, Pierre Duncan, Jacques Dufilho and Filip Vujanović are the heads of state of Montenegro or starred in Signé Arsène Lupin
Roger Dumas Paul Préboist Claude Mercutio Jean Galland Michel Vocoret Yves Robert Ginette Pigeon Pierre Duncan Jacques Dufilho Filip Vujanović
action filter_type
action union
action find
entity Montenegro
relation head of state
action find
entity Signé Arsène Lupin
relation cast member
type common name
{'OR': [['Montenegro', 'head of state', {'concept': 'common name'}], ['Signé Arsène Lupin', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . { { resource:Signé_Arsène_Lupin property:cast_member ?n } UNION { resource:Montenegro property:head_of_state ?n } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q5962346 Q15617994
USER
Which administrative territories are known to have exactly 1 languages or classification schemes as their official language ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action equal
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 1
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?x WHERE { { ?x property:P37 ?n . ?x rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q34770 } UNION { ?n rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q15617994 . ?x property:P37 ?n } } GROUP BY ?x } . FILTER ( ?u = 1 ) }
action equal
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?x WHERE { { ?x property:official_language ?n . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:language } UNION { ?n rdf:type ontology:classification_scheme . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:official_language ?n } } GROUP BY ?x } . FILTER ( ?u = 1 ) }
[]
language classification scheme designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q34 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q20 Q1044 Q1042 Q27 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action equal
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 1
[ANSWERS] are known to have exactly 1 languages or classification schemes as their official language
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?x WHERE { { ?x property:P37 ?n . ?x rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q34770 } UNION { ?n rdf:type ontology:Q5962346 . ?x rdf:type ontology:Q15617994 . ?x property:P37 ?n } } GROUP BY ?x } . FILTER ( ?u = 1 ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Sweden Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Norway Sierra Leone Seychelles Ireland Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy, Netherlands and Zambia are known to have exactly 1 languages or classification schemes as their official language
Italy Netherlands Zambia
action equal
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?x WHERE { { ?x property:official_language ?n . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:language } UNION { ?n rdf:type ontology:classification_scheme . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:official_language ?n } } GROUP BY ?x } . FILTER ( ?u = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q55 Q953
P463
Q484652
USER
What were Italy, Netherlands and Zambia a member of ?
(Q38,P463,c(Q484652)) (Q55,P463,c(Q484652)) (Q953,P463,c(Q484652))
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q55
relation P463
type Q484652
action filter_type
action find
entity Q953
relation P463
type Q484652
['Q38', 'P463', {'concept': 'Q484652'}] ['Q55', 'P463', {'concept': 'Q484652'}] ['Q953', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q484652 . resource:Q38 property:P463 ?q } UNION { resource:Q55 property:P463 ?q . ?q rdf:type ontology:Q484652 } }
Italy Netherlands Zambia
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Netherlands
relation member of
type international organization
action filter_type
action find
entity Zambia
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Netherlands', 'member of', {'concept': 'international organization'}] ['Zambia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:international_organization . resource:Italy property:member_of ?q } UNION { resource:Netherlands property:member_of ?q . ?q rdf:type ontology:international_organization } }
[]
international organization
Q81299 Q81299 Q19771
SYSTEM
Organization for Security and Co-operation in Europe for 1st, 2nd, G20 for 3rd
Q81299 Q1065 Q826700 Q605326 Q47488 Q7184 Q42262 Q1045198 Q472311 Q8475 Q1480793 Q188822 Q170424 Q201054 Q7804 Q842490 Q19771 Q54129 Q1411881 Q17495 Q192177 Q37143 Q176815 Q182000 Q233611 Q1043527 Q81299 Q826700 Q188822 Q47488 Q42262 Q152299 Q1043527 Q472311 Q8475 Q7184 Q201054 Q7804 Q842490 Q54129 Q1480793 Q1411881 Q182000 Q233611 Q1045198 Q1065 Q47488 Q472311 Q8475 Q7785 Q7804 Q54129 Q294278 Q1043527
(Q38,P463,c(Q484652)) (Q55,P463,c(Q484652)) (Q953,P463,c(Q484652))
action union
action filter_type
action find
entity Q38
relation P463
type Q484652
action filter_type
action find
entity Q55
relation P463
type Q484652
action filter_type
action find
entity Q953
relation P463
type Q484652
[ANSWERS]
['Q38', 'P463', {'concept': 'Q484652'}] ['Q55', 'P463', {'concept': 'Q484652'}] ['Q953', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q484652 . resource:Q38 property:P463 ?q } UNION { resource:Q55 property:P463 ?q . ?q rdf:type ontology:Q484652 } }
Organization for Security and Co-operation in Europe United Nations International Energy Agency World Customs Organization International Criminal Court North Atlantic Treaty Organisation European Space Agency Permanent Court of Arbitration International Organization for Migration Interpol Nuclear Suppliers Group Asian Development Bank World Meteorological Organization International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons G20 International Labour Organization Group of Ten Universal Postal Union Union for the Mediterranean G8 Inter-Parliamentary Union United Nations Conference on Trade and Development International Hydrographic Organization Multilateral Investment Guarantee Agency Organization for Security and Co-operation in Europe International Energy Agency Asian Development Bank International Criminal Court European Space Agency Dutch Language Union Multilateral Investment Guarantee Agency International Organization for Migration Interpol North Atlantic Treaty Organisation International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons International Labour Organization Nuclear Suppliers Group Group of Ten United Nations Conference on Trade and Development International Hydrographic Organization Permanent Court of Arbitration United Nations International Criminal Court International Organization for Migration Interpol Commonwealth of Nations International Monetary Fund International Labour Organization African, Caribbean and Pacific Group of States Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, Organization for Security and Co-operation in Europe and G20 were Italy, Netherlands and Zambia a member of
Organization for Security and Co-operation in Europe Organization for Security and Co-operation in Europe G20
action union
action filter_type
action find
entity Italy
relation member of
type international organization
action filter_type
action find
entity Netherlands
relation member of
type international organization
action filter_type
action find
entity Zambia
relation member of
type international organization
['Italy', 'member of', {'concept': 'international organization'}] ['Netherlands', 'member of', {'concept': 'international organization'}] ['Zambia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:international_organization . resource:Italy property:member_of ?q } UNION { resource:Netherlands property:member_of ?q . ?q rdf:type ontology:international_organization } }
[]