Simple Question (Direct)
Simple Question
Q2657916
P1344
Q15275719
USER
Which recurring event did Mike Bookie participate in ?
(Q2657916,P1344,c(Q15275719))
action filter_type
action find
entity Q2657916
relation P1344
type Q15275719
['Q2657916', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15275719 . resource:Q2657916 property:P1344 ?n }
Mike Bookie
action filter_type
action find
entity Mike Bookie
relation participant of
type recurring event
['Mike Bookie', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:recurring_event . resource:Mike_Bookie property:participant_of ?n }
[]
recurring event
Q48432
SYSTEM
1930 FIFA World Cup
Q48432
(Q2657916,P1344,c(Q15275719))
action filter_type
action find
entity Q2657916
relation P1344
type Q15275719
Mike Bookie participated in [ANSWER]
['Q2657916', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15275719 . resource:Q2657916 property:P1344 ?n }
1930 FIFA World Cup
Mike Bookie participated in 1930 FIFA World Cup
1930 FIFA World Cup
action filter_type
action find
entity Mike Bookie
relation participant of
type recurring event
['Mike Bookie', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:recurring_event . resource:Mike_Bookie property:participant_of ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q12737077 Q15617994
USER
How many people are the patron saint of approximately 3 occupations and administrative territories ?
(c(Q12737077)|c(Q15617994),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 3
[[{'concept': 'Q12737077'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?h ) WHERE { ?o rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } } GROUP BY ?l } . FILTER ( ?h = 3 ) }
action count
action approx
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 designation for an administrative territorial entity
value 3
[[{'concept': 'occupation'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?h ) WHERE { ?o rdf:type ?i . VALUES ( ?i ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?l } . FILTER ( ?h = 3 ) }
[]
common name occupation designation for an administrative territorial entity
SYSTEM
305
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q152457 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 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 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 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 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 Q221522 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q134666 Q170164 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q192816 Q58559 Q445357 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q159862 Q543320 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077)|c(Q15617994),P417,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 3
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?h ) WHERE { ?o rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } } GROUP BY ?l } . FILTER ( ?h = 3 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch 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 John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great 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 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 Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Luke the Evangelist 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 Ignatius of Loyola Stephen I Helena of Constantinople 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Saint Barbara Leo IX Henry 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 Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary 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 Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych 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 Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome Saint Ninian Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
305
action count
action approx
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 designation for an administrative territorial entity
value 3
[[{'concept': 'occupation'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?o ) AS ?h ) WHERE { ?o rdf:type ?i . VALUES ( ?i ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?l } . FILTER ( ?h = 3 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48432
P1346
Q1194951
USER
Who won that recurring event ?
action filter_type
action find
entity Q48432
relation P1346
type Q1194951
SELECT DISTINCT ?y WHERE { resource:Q48432 property:P1346 ?y . ?y rdf:type ontology:Q1194951 }
1930 FIFA World Cup
action filter_type
action find
entity 1930 FIFA World Cup
relation winner
type national sports team
SELECT DISTINCT ?y WHERE { resource:1930_FIFA_World_Cup property:winner ?y . ?y rdf:type ontology:national_sports_team }
[]
national sports team
Q134916
SYSTEM
Uruguay national football team
Q134916
action filter_type
action find
entity Q48432
relation P1346
type Q1194951
[ANSWER] won that recurring event
SELECT DISTINCT ?y WHERE { resource:Q48432 property:P1346 ?y . ?y rdf:type ontology:Q1194951 }
Uruguay national football team
Uruguay national football team won that recurring event
Uruguay national football team
action filter_type
action find
entity 1930 FIFA World Cup
relation winner
type national sports team
SELECT DISTINCT ?y WHERE { resource:1930_FIFA_World_Cup property:winner ?y . ?y rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q134916 Q47735
P1344
Q15275719
USER
Did Uruguay national football team participate in 2002 FIFA World Cup ?
(Q134916,P1344,Q47735)
action is_in
entity Q47735
action find
entity Q134916
relation P1344
['Q134916', 'P1344', 'Q47735']
ASK WHERE { resource:Q134916 property:P1344 resource:Q47735 }
Uruguay national football team 2002 FIFA World Cup
action is_in
entity 2002 FIFA World Cup
action find
entity Uruguay national football team
relation participant of
['Uruguay national football team', 'participant of', '2002 FIFA World Cup']
ASK WHERE { resource:Uruguay_national_football_team property:participant_of resource:2002_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q134916,P1344,Q47735)
action is_in
entity Q47735
action find
entity Q134916
relation P1344
[ANSWER]
['Q134916', 'P1344', 'Q47735']
ASK WHERE { resource:Q134916 property:P1344 resource:Q47735 }
Yes
action is_in
entity 2002 FIFA World Cup
action find
entity Uruguay national football team
relation participant of
['Uruguay national football team', 'participant of', '2002 FIFA World Cup']
ASK WHERE { resource:Uruguay_national_football_team property:participant_of resource:2002_FIFA_World_Cup }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q48432 Q621450
P17
Q15617994
USER
Is 1930 FIFA World Cup a part of Ottrau ?
(Q48432,P17,Q621450)
action is_in
entity Q621450
action find
entity Q48432
relation P17
['Q48432', 'P17', 'Q621450']
ASK WHERE { resource:Q48432 property:P17 resource:Q621450 }
1930 FIFA World Cup Ottrau
action is_in
entity Ottrau
action find
entity 1930 FIFA World Cup
relation country
['1930 FIFA World Cup', 'country', 'Ottrau']
ASK WHERE { resource:1930_FIFA_World_Cup property:country resource:Ottrau }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q48432,P17,Q621450)
action is_in
entity Q621450
action find
entity Q48432
relation P17
[ANSWER]
['Q48432', 'P17', 'Q621450']
ASK WHERE { resource:Q48432 property:P17 resource:Q621450 }
No
action is_in
entity Ottrau
action find
entity 1930 FIFA World Cup
relation country
['1930 FIFA World Cup', 'country', 'Ottrau']
ASK WHERE { resource:1930_FIFA_World_Cup property:country resource:Ottrau }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q134916 Q5354210
P1344
Q15275719
USER
Did Uruguay national football team participate in Eurovision Song Contest 2014 ?
(Q134916,P1344,Q5354210)
action is_in
entity Q5354210
action find
entity Q134916
relation P1344
['Q134916', 'P1344', 'Q5354210']
ASK WHERE { resource:Q134916 property:P1344 resource:Q5354210 }
Uruguay national football team Eurovision Song Contest 2014
action is_in
entity Eurovision Song Contest 2014
action find
entity Uruguay national football team
relation participant of
['Uruguay national football team', 'participant of', 'Eurovision Song Contest 2014']
ASK WHERE { resource:Uruguay_national_football_team property:participant_of resource:Eurovision_Song_Contest_2014 }
[]
recurring event
SYSTEM
NO
(Q134916,P1344,Q5354210)
action is_in
entity Q5354210
action find
entity Q134916
relation P1344
[ANSWER]
['Q134916', 'P1344', 'Q5354210']
ASK WHERE { resource:Q134916 property:P1344 resource:Q5354210 }
No
action is_in
entity Eurovision Song Contest 2014
action find
entity Uruguay national football team
relation participant of
['Uruguay national football team', 'participant of', 'Eurovision Song Contest 2014']
ASK WHERE { resource:Uruguay_national_football_team property:participant_of resource:Eurovision_Song_Contest_2014 }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2657916 Q934961 Q61065
P641
Q349
USER
Is Mike Bookie associated with playing 1989 Indianapolis 500 and water sport ?
(Q2657916,P641,Q934961) (Q2657916,P641,Q61065)
action is_in
entity Q2657916
action intersection
action find_reverse
entity Q934961
relation P641
action find_reverse
entity Q61065
relation P641
['Q2657916', 'P641', 'Q934961'] ['Q2657916', 'P641', 'Q61065']
ASK WHERE { resource:Q2657916 property:P641 resource:Q934961 . resource:Q2657916 property:P641 resource:Q61065 }
Mike Bookie 1989 Indianapolis 500 water sport
action is_in
entity Mike Bookie
action intersection
action find_reverse
entity 1989 Indianapolis 500
relation sport
action find_reverse
entity water sport
relation sport
['Mike Bookie', 'sport', '1989 Indianapolis 500'] ['Mike Bookie', 'sport', 'water sport']
ASK WHERE { resource:Mike_Bookie property:sport resource:1989_Indianapolis_500 . resource:Mike_Bookie property:sport resource:water_sport }
[]
sport
SYSTEM
NO
(Q2657916,P641,Q934961) (Q2657916,P641,Q61065)
action is_in
entity Q2657916
action intersection
action find_reverse
entity Q934961
relation P641
action find_reverse
entity Q61065
relation P641
[ANSWER]
['Q2657916', 'P641', 'Q934961'] ['Q2657916', 'P641', 'Q61065']
ASK WHERE { resource:Q2657916 property:P641 resource:Q934961 . resource:Q2657916 property:P641 resource:Q61065 }
No
action is_in
entity Mike Bookie
action intersection
action find_reverse
entity 1989 Indianapolis 500
relation sport
action find_reverse
entity water sport
relation sport
['Mike Bookie', 'sport', '1989 Indianapolis 500'] ['Mike Bookie', 'sport', 'water sport']
ASK WHERE { resource:Mike_Bookie property:sport resource:1989_Indianapolis_500 . resource:Mike_Bookie property:sport resource:water_sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5067110 Q48432
P17
Q15617994
USER
Which administrative territories do 1930 FIFA World Cup or Chah-e Kashmir belong to ?
OR((Q48432,P17,c(Q15617994)), (Q5067110,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q48432
relation P17
action find
entity Q5067110
relation P17
type Q15617994
{'OR': [['Q48432', 'P17', {'concept': 'Q15617994'}], ['Q5067110', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q5067110 property:P17 ?w } UNION { resource:Q48432 property:P17 ?w } } }
Chah-e Kashmir 1930 FIFA World Cup
action filter_type
action union
action find
entity 1930 FIFA World Cup
relation country
action find
entity Chah-e Kashmir
relation country
type designation for an administrative territorial entity
{'OR': [['1930 FIFA World Cup', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Chah-e Kashmir', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Chah-e_Kashmir property:country ?w } UNION { resource:1930_FIFA_World_Cup property:country ?w } } }
[]
designation for an administrative territorial entity
Q77 Q794
SYSTEM
Uruguay, Iran
Q77 Q794
OR((Q48432,P17,c(Q15617994)), (Q5067110,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q48432
relation P17
action find
entity Q5067110
relation P17
type Q15617994
[ANSWERS] 1930 FIFA World Cup or Chah-e Kashmir belong to
{'OR': [['Q48432', 'P17', {'concept': 'Q15617994'}], ['Q5067110', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q5067110 property:P17 ?w } UNION { resource:Q48432 property:P17 ?w } } }
Uruguay Iran
Uruguay and Iran 1930 FIFA World Cup or Chah-e Kashmir belong to
Uruguay Iran
action filter_type
action union
action find
entity 1930 FIFA World Cup
relation country
action find
entity Chah-e Kashmir
relation country
type designation for an administrative territorial entity
{'OR': [['1930 FIFA World Cup', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Chah-e Kashmir', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Chah-e_Kashmir property:country ?w } UNION { resource:1930_FIFA_World_Cup property:country ?w } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4171591 Q2657916
P27
Q15617994
USER
Which administrative territories are Mike Bookie or Vitali Dymarski a civilian of ?
OR((Q2657916,P27,c(Q15617994)), (Q4171591,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2657916
relation P27
action find
entity Q4171591
relation P27
type Q15617994
{'OR': [['Q2657916', 'P27', {'concept': 'Q15617994'}], ['Q4171591', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?w property:P27 ?j . VALUES ( ?w ) { ( resource:Q2657916 ) ( resource:Q4171591 ) } } . ?j rdf:type ontology:Q15617994 }
Vitali Dymarski Mike Bookie
action filter_type
action union
action find
entity Mike Bookie
relation country of citizenship
action find
entity Vitali Dymarski
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mike Bookie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vitali Dymarski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?w property:country_of_citizenship ?j . VALUES ( ?w ) { ( resource:Mike_Bookie ) ( resource:Vitali_Dymarski ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q159
SYSTEM
United States of America, Russia
Q30 Q159
OR((Q2657916,P27,c(Q15617994)), (Q4171591,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2657916
relation P27
action find
entity Q4171591
relation P27
type Q15617994
[ANSWERS] are Mike Bookie or Vitali Dymarski a civilian of
{'OR': [['Q2657916', 'P27', {'concept': 'Q15617994'}], ['Q4171591', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?w property:P27 ?j . VALUES ( ?w ) { ( resource:Q2657916 ) ( resource:Q4171591 ) } } . ?j rdf:type ontology:Q15617994 }
United States of America Russia
United States of America and Russia are Mike Bookie or Vitali Dymarski a civilian of
United States of America Russia
action filter_type
action union
action find
entity Mike Bookie
relation country of citizenship
action find
entity Vitali Dymarski
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mike Bookie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Vitali Dymarski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?w property:country_of_citizenship ?j . VALUES ( ?w ) { ( resource:Mike_Bookie ) ( resource:Vitali_Dymarski ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q746172
P27
Q502895
USER
Are Sasha Gradiva a citizen of those administrative territories ?
(Q746172,P27,Q30) (Q746172,P27,Q159)
action is_in
entity prev_answer
action find
entity Q746172
relation P27
['Q746172', 'P27', 'Q30'] ['Q746172', 'P27', 'Q159']
ASK WHERE { VALUES ( ?q ) { ( resource:Q30 ) ( resource:Q159 ) } . resource:Q746172 property:P27 ?q }
Sasha Gradiva
action is_in
entity prev_answer
action find
entity Sasha Gradiva
relation country of citizenship
['Sasha Gradiva', 'country of citizenship', 'United States of America'] ['Sasha Gradiva', 'country of citizenship', 'Russia']
ASK WHERE { VALUES ( ?q ) { ( resource:United_States_of_America ) ( resource:Russia ) } . resource:Sasha_Gradiva property:country_of_citizenship ?q }
[]
common name
SYSTEM
YES
(Q746172,P27,Q30) (Q746172,P27,Q159)
action is_in
entity prev_answer
action find
entity Q746172
relation P27
[ANSWER]
['Q746172', 'P27', 'Q30'] ['Q746172', 'P27', 'Q159']
ASK WHERE { VALUES ( ?q ) { ( resource:Q30 ) ( resource:Q159 ) } . resource:Q746172 property:P27 ?q }
Yes
action is_in
entity prev_answer
action find
entity Sasha Gradiva
relation country of citizenship
['Sasha Gradiva', 'country of citizenship', 'United States of America'] ['Sasha Gradiva', 'country of citizenship', 'Russia']
ASK WHERE { VALUES ( ?q ) { ( resource:United_States_of_America ) ( resource:Russia ) } . resource:Sasha_Gradiva property:country_of_citizenship ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159
P47
Q5589178 Q183366
USER
How many regimes or territories share border with Russia ?
(Q159,P47,c(Q5589178)) (Q159,P47,c(Q183366))
action count
action union
action filter_type
action find
entity Q159
relation P47
type Q5589178
action filter_type
action find
entity Q159
relation P47
type Q183366
['Q159', 'P47', {'concept': 'Q5589178'}] ['Q159', 'P47', {'concept': 'Q183366'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { VALUES ( ?t ) { ( ontology:Q183366 ) ( ontology:Q5589178 ) } . ?e rdf:type ?t }
Russia
action count
action union
action filter_type
action find
entity Russia
relation shares border with
type regime
action filter_type
action find
entity Russia
relation shares border with
type territory
['Russia', 'shares border with', {'concept': 'regime'}] ['Russia', 'shares border with', {'concept': 'territory'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { VALUES ( ?t ) { ( ontology:territory ) ( ontology:regime ) } . ?e rdf:type ?t }
[]
regime territory
SYSTEM
4
Q16150196 Q23427 Q23334 Q16746854
(Q159,P47,c(Q5589178)) (Q159,P47,c(Q183366))
action count
action union
action filter_type
action find
entity Q159
relation P47
type Q5589178
action filter_type
action find
entity Q159
relation P47
type Q183366
[ANSWER]
['Q159', 'P47', {'concept': 'Q5589178'}] ['Q159', 'P47', {'concept': 'Q183366'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { VALUES ( ?t ) { ( ontology:Q183366 ) ( ontology:Q5589178 ) } . ?e rdf:type ?t }
Donetsk People's Republic South Ossetia Abkhazia Luhansk People's Republic
4
action count
action union
action filter_type
action find
entity Russia
relation shares border with
type regime
action filter_type
action find
entity Russia
relation shares border with
type territory
['Russia', 'shares border with', {'concept': 'regime'}] ['Russia', 'shares border with', {'concept': 'territory'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { VALUES ( ?t ) { ( ontology:territory ) ( ontology:regime ) } . ?e rdf:type ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P495
Q15850590
USER
Which theatrical genres originated in that administrative territory ?
action filter_type
action find_reverse
entity Q159
relation P495
type Q15850590
SELECT DISTINCT ?x WHERE { ?x property:P495 resource:Q159 . ?x rdf:type ontology:Q15850590 }
Russia
action filter_type
action find_reverse
entity Russia
relation country of origin
type theatrical genre
SELECT DISTINCT ?x WHERE { ?x property:country_of_origin resource:Russia . ?x rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q25840430 Q20615122 Q27503008
SYSTEM
The Children of Rosenthal, Ivan Yakovlev, Kahym-Ture
Q25394796 Q25840430 Q20615122 Q27503008
action filter_type
action find_reverse
entity Q159
relation P495
type Q15850590
[ANSWERS] originated in that administrative territory
SELECT DISTINCT ?x WHERE { ?x property:P495 resource:Q159 . ?x rdf:type ontology:Q15850590 }
Anna Karenina The Children of Rosenthal Ivan Yakovlev Kahym-Ture
The Children of Rosenthal, Ivan Yakovlev and Kahym-Ture originated in that administrative territory
The Children of Rosenthal Ivan Yakovlev Kahym-Ture
action filter_type
action find_reverse
entity Russia
relation country of origin
type theatrical genre
SELECT DISTINCT ?x WHERE { ?x property:country_of_origin resource:Russia . ?x rdf:type ontology:theatrical_genre }
[]