Simple Question (Direct)
Simple Question
Q2003723
P27
Q15617994
USER
Which administrative territory does Yiannis Moralis belong to ?
(Q2003723,P27,c(Q15617994))
action filter_type
action find
entity Q2003723
relation P27
type Q15617994
['Q2003723', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2003723 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Yiannis Moralis
action filter_type
action find
entity Yiannis Moralis
relation country of citizenship
type designation for an administrative territorial entity
['Yiannis Moralis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Yiannis_Moralis property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q2003723,P27,c(Q15617994))
action filter_type
action find
entity Q2003723
relation P27
type Q15617994
Yiannis Moralis belongs to [ANSWER]
['Q2003723', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2003723 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Greece
Yiannis Moralis belongs to Greece
Greece
action filter_type
action find
entity Yiannis Moralis
relation country of citizenship
type designation for an administrative territorial entity
['Yiannis Moralis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Yiannis_Moralis property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2003723
P20
Q56061
USER
Where did the demise of Yiannis Moralis occur ?
(Q2003723,P20,c(Q56061))
action filter_type
action find
entity Q2003723
relation P20
type Q56061
['Q2003723', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q2003723 property:P20 ?i }
Yiannis Moralis
action filter_type
action find
entity Yiannis Moralis
relation place of death
type administrative territorial entity
['Yiannis Moralis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Yiannis_Moralis property:place_of_death ?i }
[]
administrative territorial entity
Q1524
SYSTEM
Athens
Q1524
(Q2003723,P20,c(Q56061))
action filter_type
action find
entity Q2003723
relation P20
type Q56061
The demise of Yiannis Moralis occurred in [ANSWER]
['Q2003723', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q2003723 property:P20 ?i }
Athens
The demise of Yiannis Moralis occurred in Athens
Athens
action filter_type
action find
entity Yiannis Moralis
relation place of death
type administrative territorial entity
['Yiannis Moralis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Yiannis_Moralis property:place_of_death ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2003723
P19
Q15617994
USER
Where was Yiannis Moralis born ?
(Q2003723,P19,c(Q15617994))
action filter_type
action find
entity Q2003723
relation P19
type Q15617994
['Q2003723', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2003723 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Yiannis Moralis
action filter_type
action find
entity Yiannis Moralis
relation place of birth
type designation for an administrative territorial entity
['Yiannis Moralis', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Yiannis_Moralis property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q208573
SYSTEM
Arta
Q208573
(Q2003723,P19,c(Q15617994))
action filter_type
action find
entity Q2003723
relation P19
type Q15617994
Yiannis Moralis was born in [ANSWER]
['Q2003723', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2003723 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Arta
Yiannis Moralis was born in Arta
Arta
action filter_type
action find
entity Yiannis Moralis
relation place of birth
type designation for an administrative territorial entity
['Yiannis Moralis', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Yiannis_Moralis property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524
P190
Q56061
USER
Which administrative territories are twin towns of Athens ?
(Q1524,P190,c(Q56061))
action filter_type
action find
entity Q1524
relation P190
type Q56061
['Q1524', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1524 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Athens
action filter_type
action find
entity Athens
relation sister city
type administrative territorial entity
['Athens', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Athens property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q437 Q994 Q727 Q3766 Q649 Q193190 Q472 Q100 Q1297 Q3856 Q340 Q8471 Q406 Q2634 Q1489 Q1563 Q3551 Q23556 Q203263 Q3711 Q5582862 Q1449 Q51103 Q5776 Q270 Q135410 Q8678 Q2807 Q597 Q956 Q2044 Q65 Q1492 Q3820 Q61 Q1085
(Q1524,P190,c(Q56061))
action filter_type
action find
entity Q1524
relation P190
type Q56061
[ANSWERS] are twin towns of Athens
['Q1524', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1524 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Ljubljana Tbilisi Amsterdam Damascus Moscow Famagusta Sofia Boston Chicago Nicosia Montreal Reggio Calabria Istanbul Naples Mexico City Havana Rabat Atlanta Athens Belgrade Cusco Genoa Cali Bethlehem Warsaw Domodedovo Rio de Janeiro Madrid Lisbon Beijing Florence Los Angeles Barcelona Beirut Washington, D.C. Prague
Prague, Moscow and Madrid are twin towns of Athens
Prague Moscow Madrid
action filter_type
action find
entity Athens
relation sister city
type administrative territorial entity
['Athens', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Athens property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q515706
Q56061
USER
And how about Svedala Municipality?
(Q515706,P190,c(Q56061))
action filter_type
action find
entity Q515706
relation P190
type Q56061
['Q515706', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q515706 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Svedala Municipality
action filter_type
action find
entity Svedala Municipality
relation sister city
type administrative territorial entity
['Svedala Municipality', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Svedala_Municipality property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q492538
SYSTEM
Bergen auf Rügen
Q492538
(Q515706,P190,c(Q56061))
action filter_type
action find
entity Q515706
relation P190
type Q56061
[ANSWER]
['Q515706', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q515706 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Bergen auf Rügen
Bergen auf Rügen
action filter_type
action find
entity Svedala Municipality
relation sister city
type administrative territorial entity
['Svedala Municipality', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Svedala_Municipality property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P206
Q355304
USER
Which watercourse is located next to Madrid ?
(Q2807,P206,c(Q355304))
action filter_type
action find
entity Q2807
relation P206
type Q355304
['Q2807', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { resource:Q2807 property:P206 ?n . ?n rdf:type ontology:Q355304 }
Madrid
action filter_type
action find
entity Madrid
relation located next to body of water
type watercourse
['Madrid', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { resource:Madrid property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse }
[]
watercourse
Q16512
SYSTEM
Manzanares
Q16512
(Q2807,P206,c(Q355304))
action filter_type
action find
entity Q2807
relation P206
type Q355304
[ANSWER] is located next to Madrid
['Q2807', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { resource:Q2807 property:P206 ?n . ?n rdf:type ontology:Q355304 }
Manzanares
Manzanares is located next to Madrid
Manzanares
action filter_type
action find
entity Madrid
relation located next to body of water
type watercourse
['Madrid', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { resource:Madrid property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q16512,P1313,c(Q12737077))
action filter_type
action find
entity Q2807
relation P1313
type Q12737077
['Q16512', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q2807 property:P1313 ?i . ?i rdf:type ontology:Q12737077 }
Madrid
action filter_type
action find
entity Madrid
relation office held by head of government
type occupation
['Manzanares', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Madrid property:office_held_by_head_of_government ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q17078548
SYSTEM
Mayor of Madrid
Q17078548
(Q16512,P1313,c(Q12737077))
action filter_type
action find
entity Q2807
relation P1313
type Q12737077
[ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q16512', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q2807 property:P1313 ?i . ?i rdf:type ontology:Q12737077 }
Mayor of Madrid
Mayor of Madrid serves as the political office that is fulfilled by the head of the government of that administrative territory
Mayor of Madrid
action filter_type
action find
entity Madrid
relation office held by head of government
type occupation
['Manzanares', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Madrid property:office_held_by_head_of_government ?i . ?i rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q235857
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of around the same number of occupations as Elizabeth of Aragon ?
(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 Q235857
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P417 ?t . ?i rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?s = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q235857 property:P417 ?f . ?f rdf:type ontology:Q502895 } } }
Elizabeth of Aragon
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 Elizabeth of Aragon
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:patron_saint ?t . ?i rdf:type ontology:occupation . ?t rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?s = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Elizabeth_of_Aragon property:patron_saint ?f . ?f rdf:type ontology:common_name } } }
[]
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 Q235857
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P417 ?t . ?i rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?s = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q235857 property:P417 ?f . ?f rdf:type ontology:Q502895 } } }
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 Elizabeth of Aragon
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:patron_saint ?t . ?i rdf:type ontology:occupation . ?t rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?s = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Elizabeth_of_Aragon property:patron_saint ?f . ?f rdf:type ontology:common_name } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P355
Q43229
USER
Which organization contains Moscow as its subordinate ?
(c(Q43229),P355,Q649)
action filter_type
action find_reverse
entity Q649
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q649']
SELECT DISTINCT ?j WHERE { ?j property:P355 resource:Q649 . ?j rdf:type ontology:Q43229 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Moscow']
SELECT DISTINCT ?j WHERE { ?j property:subsidiary resource:Moscow . ?j rdf:type ontology:organization }
[]
organization
Q17142365
SYSTEM
Infobip
Q17142365
(c(Q43229),P355,Q649)
action filter_type
action find_reverse
entity Q649
relation P355
type Q43229
[ANSWER] contains Moscow as its subordinate
[{'concept': 'Q43229'}, 'P355', 'Q649']
SELECT DISTINCT ?j WHERE { ?j property:P355 resource:Q649 . ?j rdf:type ontology:Q43229 }
Infobip
Infobip contains Moscow as its subordinate
Infobip
action filter_type
action find_reverse
entity Moscow
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Moscow']
SELECT DISTINCT ?j WHERE { ?j property:subsidiary resource:Moscow . ?j rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P237
Q17335294
USER
Which coat of arms serves as the heraldic design for that administrative territory ?
(Q17142365,P237,c(Q17335294))
action filter_type
action find
entity Q649
relation P237
type Q17335294
['Q17142365', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?p WHERE { resource:Q649 property:P237 ?p . ?p rdf:type ontology:Q17335294 }
Moscow
action filter_type
action find
entity Moscow
relation coat of arms
type flag or coat of arms
['Infobip', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?p WHERE { resource:Moscow property:coat_of_arms ?p . ?p rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2079384
SYSTEM
Coat of arms of Moscow
Q2079384
(Q17142365,P237,c(Q17335294))
action filter_type
action find
entity Q649
relation P237
type Q17335294
[ANSWER] serves as the heraldic design for that administrative territory
['Q17142365', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?p WHERE { resource:Q649 property:P237 ?p . ?p rdf:type ontology:Q17335294 }
Coat of arms of Moscow
Coat of arms of Moscow serves as the heraldic design for that administrative territory
Coat of arms of Moscow
action filter_type
action find
entity Moscow
relation coat of arms
type flag or coat of arms
['Infobip', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?p WHERE { resource:Moscow property:coat_of_arms ?p . ?p rdf:type ontology:flag_or_coat_of_arms }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2079384 Q562613 Q4848612
P17
Q15617994
USER
Is Coat of arms of Moscow located in Rinzenberg and Baird Independent School District ?
(Q2079384,P17,Q562613) (Q2079384,P17,Q4848612)
action is_in
entity Q2079384
action intersection
action find_reverse
entity Q562613
relation P17
action find_reverse
entity Q4848612
relation P17
['Q2079384', 'P17', 'Q562613'] ['Q2079384', 'P17', 'Q4848612']
ASK WHERE { resource:Q2079384 property:P17 resource:Q562613 . resource:Q2079384 property:P17 resource:Q4848612 }
Coat of arms of Moscow Rinzenberg Baird Independent School District
action is_in
entity Coat of arms of Moscow
action intersection
action find_reverse
entity Rinzenberg
relation country
action find_reverse
entity Baird Independent School District
relation country
['Coat of arms of Moscow', 'country', 'Rinzenberg'] ['Coat of arms of Moscow', 'country', 'Baird Independent School District']
ASK WHERE { resource:Coat_of_arms_of_Moscow property:country resource:Rinzenberg . resource:Coat_of_arms_of_Moscow property:country resource:Baird_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2079384,P17,Q562613) (Q2079384,P17,Q4848612)
action is_in
entity Q2079384
action intersection
action find_reverse
entity Q562613
relation P17
action find_reverse
entity Q4848612
relation P17
[ANSWER]
['Q2079384', 'P17', 'Q562613'] ['Q2079384', 'P17', 'Q4848612']
ASK WHERE { resource:Q2079384 property:P17 resource:Q562613 . resource:Q2079384 property:P17 resource:Q4848612 }
No
action is_in
entity Coat of arms of Moscow
action intersection
action find_reverse
entity Rinzenberg
relation country
action find_reverse
entity Baird Independent School District
relation country
['Coat of arms of Moscow', 'country', 'Rinzenberg'] ['Coat of arms of Moscow', 'country', 'Baird Independent School District']
ASK WHERE { resource:Coat_of_arms_of_Moscow property:country resource:Rinzenberg . resource:Coat_of_arms_of_Moscow property:country resource:Baird_Independent_School_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17142365
P159
Q56061
USER
Which administrative territories are the headquarter locations of Infobip ?
(Q17142365,P159,c(Q56061))
action filter_type
action find
entity Q17142365
relation P159
type Q56061
['Q17142365', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q17142365 property:P159 ?n . ?n rdf:type ontology:Q56061 }
Infobip
action filter_type
action find
entity Infobip
relation headquarters location
type administrative territorial entity
['Infobip', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Infobip property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84 Q4656
SYSTEM
London, Pula
Q84 Q4656
(Q17142365,P159,c(Q56061))
action filter_type
action find
entity Q17142365
relation P159
type Q56061
[ANSWERS] are the headquarter locations of Infobip
['Q17142365', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q17142365 property:P159 ?n . ?n rdf:type ontology:Q56061 }
London Pula
London and Pula are the headquarter locations of Infobip
London Pula
action filter_type
action find
entity Infobip
relation headquarters location
type administrative territorial entity
['Infobip', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Infobip property:headquarters_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q84 Q4656
P190
Q515
USER
Which cities are twin cities of those administrative territories ?
(Q84,P190,c(Q515)) (Q4656,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
['Q84', 'P190', {'concept': 'Q515'}] ['Q4656', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . VALUES ( ?l ) { ( resource:Q84 ) ( resource:Q4656 ) } . ?l property:P190 ?a }
London Pula
action filter_type
action find
entity prev_answer
relation sister city
type city
['London', 'sister city', {'concept': 'city'}] ['Pula', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . VALUES ( ?l ) { ( resource:London ) ( resource:Pula ) } . ?l property:sister_city ?a }
[]
city
Q1486 Q14960 Q11194
SYSTEM
Buenos Aires, Brno, Sarajevo
Q1865 Q19660 Q1486 Q3616 Q495802 Q14960 Q11194
(Q84,P190,c(Q515)) (Q4656,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
[ANSWERS] are twin cities of those administrative territories
['Q84', 'P190', {'concept': 'Q515'}] ['Q4656', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . VALUES ( ?l ) { ( resource:Q84 ) ( resource:Q4656 ) } . ?l property:P190 ?a }
Kuala Lumpur Bucharest Buenos Aires Tehran Hekinan Brno Sarajevo
Buenos Aires, Brno and Sarajevo are twin cities of those administrative territories
Buenos Aires Brno Sarajevo
action filter_type
action find
entity prev_answer
relation sister city
type city
['London', 'sister city', {'concept': 'city'}] ['Pula', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . VALUES ( ?l ) { ( resource:London ) ( resource:Pula ) } . ?l property:sister_city ?a }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11194
P276
Q13403102
USER
What are situated at that city ?
(c(Q13403102),P276,Q11194)
action filter_type
action find_reverse
entity Q11194
relation P276
type Q13403102
[{'concept': 'Q13403102'}, 'P276', 'Q11194']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q11194 . ?b rdf:type ontology:Q13403102 }
Sarajevo
action filter_type
action find_reverse
entity Sarajevo
relation location
type Esperanto congress
[{'concept': 'Esperanto congress'}, 'location', 'Sarajevo']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Sarajevo . ?b rdf:type ontology:Esperanto_congress }
[]
Esperanto congress
Clarification for simple ques.
Q11194
SYSTEM
Did you mean Sarajevo ?
Q1486 Q14960 Q11194
(c(Q13403102),P276,Q1486) (c(Q13403102),P276,Q14960) (c(Q13403102),P276,Q11194)
[ANSWER]
[{'concept': 'Q13403102'}, 'P276', 'Q1486'] [{'concept': 'Q13403102'}, 'P276', 'Q14960'] [{'concept': 'Q13403102'}, 'P276', 'Q11194']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q11194 . ?b rdf:type ontology:Q13403102 }
Buenos Aires Brno Sarajevo
Did you mean Sarajevo ?
Sarajevo
[{'concept': 'Esperanto congress'}, 'location', 'Buenos Aires'] [{'concept': 'Esperanto congress'}, 'location', 'Brno'] [{'concept': 'Esperanto congress'}, 'location', 'Sarajevo']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Sarajevo . ?b rdf:type ontology:Esperanto_congress }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q13403102),P276,Q11194)
[{'concept': 'Q13403102'}, 'P276', 'Q11194']
[{'concept': 'Esperanto congress'}, 'location', 'Sarajevo']
[]
Q12349058 Q15973057
SYSTEM
29th International Youth Congress of Esperanto, 62nd International Youth Congress of Esperanto
Q12349058 Q15973057
(c(Q13403102),P276,Q11194)
action filter_type
action find_reverse
entity Q11194
relation P276
type Q13403102
[ANSWERS] are situated at that city
[{'concept': 'Q13403102'}, 'P276', 'Q11194']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q11194 . ?b rdf:type ontology:Q13403102 }
29th International Youth Congress of Esperanto 62nd International Youth Congress of Esperanto
29th International Youth Congress of Esperanto and 62nd International Youth Congress of Esperanto are situated at that city
29th International Youth Congress of Esperanto 62nd International Youth Congress of Esperanto
action filter_type
action find_reverse
entity Sarajevo
relation location
type Esperanto congress
[{'concept': 'Esperanto congress'}, 'location', 'Sarajevo']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Sarajevo . ?b rdf:type ontology:Esperanto_congress }
[]