Simple Question (Direct)
Simple Question
Q359053
P19
Q56061
USER
Which administrative territory is the place of birth of Percy Schmeiser ?
(Q359053,P19,c(Q56061))
action filter_type
action find
entity Q359053
relation P19
type Q56061
['Q359053', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q359053 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Percy Schmeiser
action filter_type
action find
entity Percy Schmeiser
relation place of birth
type administrative territorial entity
['Percy Schmeiser', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Percy_Schmeiser property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q855987
SYSTEM
Bruno
Q855987
(Q359053,P19,c(Q56061))
action filter_type
action find
entity Q359053
relation P19
type Q56061
[ANSWER] is the place of birth of Percy Schmeiser
['Q359053', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q359053 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Bruno
Bruno is the place of birth of Percy Schmeiser
Bruno
action filter_type
action find
entity Percy Schmeiser
relation place of birth
type administrative territorial entity
['Percy Schmeiser', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Percy_Schmeiser property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q359053
P39
Q12737077
USER
What was the position held by Percy Schmeiser ?
(Q359053,P39,c(Q12737077))
action filter_type
action find
entity Q359053
relation P39
type Q12737077
['Q359053', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q359053 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Percy Schmeiser
action filter_type
action find
entity Percy Schmeiser
relation position held
type occupation
['Percy Schmeiser', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Percy_Schmeiser property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q18675661
SYSTEM
Member of the Legislative Assembly of Saskatchewan
Q18675661
(Q359053,P39,c(Q12737077))
action filter_type
action find
entity Q359053
relation P39
type Q12737077
The position held by Percy Schmeiser was a [ANSWER]
['Q359053', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q359053 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Member of the Legislative Assembly of Saskatchewan
The position held by Percy Schmeiser was a Member of the Legislative Assembly of Saskatchewan
Member of the Legislative Assembly of Saskatchewan
action filter_type
action find
entity Percy Schmeiser
relation position held
type occupation
['Percy Schmeiser', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Percy_Schmeiser property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6767311
Q12737077
USER
And also tell me about Mark DeSaulnier?
(Q6767311,P39,c(Q12737077))
action filter_type
action find
entity Q6767311
relation P39
type Q12737077
['Q6767311', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q6767311 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Mark DeSaulnier
action filter_type
action find
entity Mark DeSaulnier
relation position held
type occupation
['Mark DeSaulnier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Mark_DeSaulnier property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q19690441 Q18180908
SYSTEM
member of the State Senate of California, member of the California State Assembly
Q19690441 Q18180908
(Q6767311,P39,c(Q12737077))
action filter_type
action find
entity Q6767311
relation P39
type Q12737077
[ANSWERS]
['Q6767311', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q6767311 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the State Senate of California member of the California State Assembly
member of the State Senate of California member of the California State Assembly
action filter_type
action find
entity Mark DeSaulnier
relation position held
type occupation
['Mark DeSaulnier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Mark_DeSaulnier property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q463600
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of less number of occupations than Saint Petronilla ?
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q463600
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?w < ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P417 resource:Q463600 . ?v rdf:type ontology:Q12737077 } } . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P417 ?d . ?b rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q502895 } GROUP BY ?d } }
Saint Petronilla
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Saint Petronilla
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?w < ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:patron_saint resource:Saint_Petronilla . ?v rdf:type ontology:occupation } } . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:patron_saint ?d . ?b rdf:type ontology:occupation . ?d rdf:type ontology:common_name } GROUP BY ?d } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q463600
relation P417
type Q12737077
[ANSWERS] are the names of the patron saint of less number of occupations than Saint Petronilla
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?w < ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P417 resource:Q463600 . ?v rdf:type ontology:Q12737077 } } . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P417 ?d . ?b rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q502895 } GROUP BY ?d } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the names of the patron saint of less number of occupations than Saint Petronilla
Elizabeth II Tadeusz Kościuszko Louis IX of France
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Saint Petronilla
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?w < ?g ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:patron_saint resource:Saint_Petronilla . ?v rdf:type ontology:occupation } } . { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:patron_saint ?d . ?b rdf:type ontology:occupation . ?d rdf:type ontology:common_name } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1284890 Q359053
P27
Q1048835
USER
Which political territories are the countries of citizenship of Percy Schmeiser or Marcus Fulvius Flaccus ?
OR((Q359053,P27,c(Q1048835)), (Q1284890,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q359053
relation P27
action find
entity Q1284890
relation P27
type Q1048835
{'OR': [['Q359053', 'P27', {'concept': 'Q1048835'}], ['Q1284890', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { ?e property:P27 ?a . VALUES ( ?e ) { ( resource:Q359053 ) ( resource:Q1284890 ) } } . ?a rdf:type ontology:Q1048835 }
Marcus Fulvius Flaccus Percy Schmeiser
action filter_type
action union
action find
entity Percy Schmeiser
relation country of citizenship
action find
entity Marcus Fulvius Flaccus
relation country of citizenship
type political territorial entity
{'OR': [['Percy Schmeiser', 'country of citizenship', {'concept': 'political territorial entity'}], ['Marcus Fulvius Flaccus', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?e property:country_of_citizenship ?a . VALUES ( ?e ) { ( resource:Percy_Schmeiser ) ( resource:Marcus_Fulvius_Flaccus ) } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689 Q16
SYSTEM
Ancient Rome, Canada
Q1747689 Q16
OR((Q359053,P27,c(Q1048835)), (Q1284890,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q359053
relation P27
action find
entity Q1284890
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Percy Schmeiser or Marcus Fulvius Flaccus
{'OR': [['Q359053', 'P27', {'concept': 'Q1048835'}], ['Q1284890', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { ?e property:P27 ?a . VALUES ( ?e ) { ( resource:Q359053 ) ( resource:Q1284890 ) } } . ?a rdf:type ontology:Q1048835 }
Ancient Rome Canada
Ancient Rome and Canada are the countries of citizenship of Percy Schmeiser or Marcus Fulvius Flaccus
Ancient Rome Canada
action filter_type
action union
action find
entity Percy Schmeiser
relation country of citizenship
action find
entity Marcus Fulvius Flaccus
relation country of citizenship
type political territorial entity
{'OR': [['Percy Schmeiser', 'country of citizenship', {'concept': 'political territorial entity'}], ['Marcus Fulvius Flaccus', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?e property:country_of_citizenship ?a . VALUES ( ?e ) { ( resource:Percy_Schmeiser ) ( resource:Marcus_Fulvius_Flaccus ) } } . ?a rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q597015 Q18675661
P47 P17
Q1048835
USER
Which political territories are Member of the Legislative Assembly of Saskatchewan located in or have a shared border with Barxeta ?
OR((Q18675661,P17,c(Q1048835)), (Q597015,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q18675661
relation P17
action find
entity Q597015
relation P47
type Q1048835
{'OR': [['Q18675661', 'P17', {'concept': 'Q1048835'}], ['Q597015', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q597015 property:P47 ?i } UNION { resource:Q18675661 property:P17 ?i } } . ?i rdf:type ontology:Q1048835 }
Barxeta Member of the Legislative Assembly of Saskatchewan
action filter_type
action union
action find
entity Member of the Legislative Assembly of Saskatchewan
relation country
action find
entity Barxeta
relation shares border with
type political territorial entity
{'OR': [['Member of the Legislative Assembly of Saskatchewan', 'country', {'concept': 'political territorial entity'}], ['Barxeta', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Barxeta property:shares_border_with ?i } UNION { resource:Member_of_the_Legislative_Assembly_of_Saskatchewan property:country ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1769957 Q2264712 Q1901075 Q16 Q1993407 Q2269874 Q1020545 Q1768829
SYSTEM
Benigànim, L'Ènova, Rafelguaraf, Canada, el Genovés, Llocnou d'En Fenollet, Simat de la Valldigna, Quatretondeta
Q1769957 Q2264712 Q1901075 Q16 Q1993407 Q2269874 Q1020545 Q1768829
OR((Q18675661,P17,c(Q1048835)), (Q597015,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q18675661
relation P17
action find
entity Q597015
relation P47
type Q1048835
[ANSWERS] are Member of the Legislative Assembly of Saskatchewan located in or have a shared border with Barxeta
{'OR': [['Q18675661', 'P17', {'concept': 'Q1048835'}], ['Q597015', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q597015 property:P47 ?i } UNION { resource:Q18675661 property:P17 ?i } } . ?i rdf:type ontology:Q1048835 }
Benigànim L'Ènova Rafelguaraf Canada el Genovés Llocnou d'En Fenollet Simat de la Valldigna Quatretondeta
Benigànim, L'Ènova, Rafelguaraf, Canada, el Genovés, Llocnou d'En Fenollet, Simat de la Valldigna and Quatretondeta are Member of the Legislative Assembly of Saskatchewan located in or have a shared border with Barxeta
Benigànim L'Ènova Rafelguaraf Canada el Genovés Llocnou d'En Fenollet Simat de la Valldigna Quatretondeta
action filter_type
action union
action find
entity Member of the Legislative Assembly of Saskatchewan
relation country
action find
entity Barxeta
relation shares border with
type political territorial entity
{'OR': [['Member of the Legislative Assembly of Saskatchewan', 'country', {'concept': 'political territorial entity'}], ['Barxeta', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Barxeta property:shares_border_with ?i } UNION { resource:Member_of_the_Legislative_Assembly_of_Saskatchewan property:country ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q760
P463
Q484652
USER
How many international organizations were Canada and Saint Lucia a member of ?
(Q16,P463,c(Q484652)) (Q760,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q16
relation P463
type Q484652
action filter_type
action find
entity Q760
relation P463
type Q484652
['Q16', 'P463', {'concept': 'Q484652'}] ['Q760', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q760 property:P463 ?g . ?g rdf:type ontology:Q484652 . resource:Q16 property:P463 ?g . ?g rdf:type ontology:Q484652 }
Canada Saint Lucia
action count
action intersection
action filter_type
action find
entity Canada
relation member of
type international organization
action filter_type
action find
entity Saint Lucia
relation member of
type international organization
['Canada', 'member of', {'concept': 'international organization'}] ['Saint Lucia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Saint_Lucia property:member_of ?g . ?g rdf:type ontology:international_organization . resource:Canada property:member_of ?g . ?g rdf:type ontology:international_organization }
[]
international organization
SYSTEM
3
Q7785 Q1065 Q1043527
(Q16,P463,c(Q484652)) (Q760,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q16
relation P463
type Q484652
action filter_type
action find
entity Q760
relation P463
type Q484652
[ANSWER]
['Q16', 'P463', {'concept': 'Q484652'}] ['Q760', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q760 property:P463 ?g . ?g rdf:type ontology:Q484652 . resource:Q16 property:P463 ?g . ?g rdf:type ontology:Q484652 }
Commonwealth of Nations United Nations Multilateral Investment Guarantee Agency
3
action count
action intersection
action filter_type
action find
entity Canada
relation member of
type international organization
action filter_type
action find
entity Saint Lucia
relation member of
type international organization
['Canada', 'member of', {'concept': 'international organization'}] ['Saint Lucia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Saint_Lucia property:member_of ?g . ?g rdf:type ontology:international_organization . resource:Canada property:member_of ?g . ?g rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16
P138
Q34442 Q19832486
USER
How many roads or locomotive classes are the eponym of Canada ?
(c(Q34442),P138,Q16) (c(Q19832486),P138,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P138
type Q34442
action filter_type
action find_reverse
entity Q16
relation P138
type Q19832486
[{'concept': 'Q34442'}, 'P138', 'Q16'] [{'concept': 'Q19832486'}, 'P138', 'Q16']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q19832486 ) } }
Canada
action count
action union
action filter_type
action find_reverse
entity Canada
relation named after
type road
action filter_type
action find_reverse
entity Canada
relation named after
type locomotive class
[{'concept': 'road'}, 'named after', 'Canada'] [{'concept': 'locomotive class'}, 'named after', 'Canada']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:road ) ( ontology:locomotive_class ) } }
[]
road locomotive class
SYSTEM
2
Q3452143 Q6459253
(c(Q34442),P138,Q16) (c(Q19832486),P138,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P138
type Q34442
action filter_type
action find_reverse
entity Q16
relation P138
type Q19832486
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q16'] [{'concept': 'Q19832486'}, 'P138', 'Q16']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q19832486 ) } }
rue du Canada LNER Class A4 4489 Dominion of Canada
2
action count
action union
action filter_type
action find_reverse
entity Canada
relation named after
type road
action filter_type
action find_reverse
entity Canada
relation named after
type locomotive class
[{'concept': 'road'}, 'named after', 'Canada'] [{'concept': 'locomotive class'}, 'named after', 'Canada']
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:road ) ( ontology:locomotive_class ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1747689
P840
Q2342494
USER
Which collectables have their narrative set in Ancient Rome ?
(c(Q2342494),P840,Q1747689)
action filter_type
action find_reverse
entity Q1747689
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q1747689']
SELECT DISTINCT ?w WHERE { ?w property:P840 resource:Q1747689 . ?w rdf:type ontology:Q2342494 }
Ancient Rome
action filter_type
action find_reverse
entity Ancient Rome
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Ancient Rome']
SELECT DISTINCT ?w WHERE { ?w property:narrative_location resource:Ancient_Rome . ?w rdf:type ontology:collectable }
[]
collectable
Q335315 Q5976130 Q1233795
SYSTEM
Quo Vadis, I Am a Barbarian, Memoirs of Hadrian
Q5016957 Q2016345 Q927075 Q378975 Q3910074 Q3554584 Q335315 Q636812 Q5381418 Q7744643 Q5976130 Q5703501 Q1218985 Q816528 Q7727845 Q4821361 Q4916103 Q7766619 Q1452613 Q5978344 Q7734826 Q1148938 Q1971599 Q3027580 Q135215 Q2247155 Q12060647 Q1137044 Q6785111 Q3925290 Q7747248 Q4424396 Q1233795 Q4750036 Q5915797 Q2536327 Q6318401 Q6411763 Q1660324 Q2811112
(c(Q2342494),P840,Q1747689)
action filter_type
action find_reverse
entity Q1747689
relation P840
type Q2342494
[ANSWERS] have their narrative set in Ancient Rome
[{'concept': 'Q2342494'}, 'P840', 'Q1747689']
SELECT DISTINCT ?w WHERE { ?w property:P840 resource:Q1747689 . ?w rdf:type ontology:Q2342494 }
Caesar's Daughter The Roman The Secret of the Kingdom Lustrum Raptor The Robe Quo Vadis A Struggle for Rome Envoy Extraordinary The Kingdom of the Wicked I Am a Barbarian Helena The Last Days of Pompeii Ben-Hur: A Tale of the Christ The Course of Honour Augustus Birds of Prey The Stone Rose Spartacus I Loved Tiberius The Forgotten Daughter The Ides of March Pompeii God Was Born in Exile I, Claudius Fabiola Hypatia Count Belisarius Master and God Publius Aurelius The Light Bearer The Death of the Gods Memoirs of Hadrian An Imaginary Life Household Gods The Last Legion Justinian King Jesus Imperium Lavinia
Quo Vadis, I Am a Barbarian and Memoirs of Hadrian have their narrative set in Ancient Rome
Quo Vadis I Am a Barbarian Memoirs of Hadrian
action filter_type
action find_reverse
entity Ancient Rome
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Ancient Rome']
SELECT DISTINCT ?w WHERE { ?w property:narrative_location resource:Ancient_Rome . ?w rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1747689
P361
Q34749
USER
What is a component of that political territory ?
(c(Q34749),P361,Q335315) (c(Q34749),P361,Q5976130) (c(Q34749),P361,Q1233795)
action filter_type
action find_reverse
entity Q1747689
relation P361
type Q34749
[{'concept': 'Q34749'}, 'P361', 'Q335315'] [{'concept': 'Q34749'}, 'P361', 'Q5976130'] [{'concept': 'Q34749'}, 'P361', 'Q1233795']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q1747689 . ?k rdf:type ontology:Q34749 }
Ancient Rome
action filter_type
action find_reverse
entity Ancient Rome
relation part of
type social science
[{'concept': 'social science'}, 'part of', 'Quo Vadis'] [{'concept': 'social science'}, 'part of', 'I Am a Barbarian'] [{'concept': 'social science'}, 'part of', 'Memoirs of Hadrian']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:Ancient_Rome . ?k rdf:type ontology:social_science }
[]
social science
Q15265460
SYSTEM
Roman economy
Q15265460
(c(Q34749),P361,Q335315) (c(Q34749),P361,Q5976130) (c(Q34749),P361,Q1233795)
action filter_type
action find_reverse
entity Q1747689
relation P361
type Q34749
A component of that political territory is the [ANSWER]
[{'concept': 'Q34749'}, 'P361', 'Q335315'] [{'concept': 'Q34749'}, 'P361', 'Q5976130'] [{'concept': 'Q34749'}, 'P361', 'Q1233795']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q1747689 . ?k rdf:type ontology:Q34749 }
Roman economy
A component of that political territory is the Roman economy
Roman economy
action filter_type
action find_reverse
entity Ancient Rome
relation part of
type social science
[{'concept': 'social science'}, 'part of', 'Quo Vadis'] [{'concept': 'social science'}, 'part of', 'I Am a Barbarian'] [{'concept': 'social science'}, 'part of', 'Memoirs of Hadrian']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:Ancient_Rome . ?k rdf:type ontology:social_science }
[]