Simple Question (Direct)
Simple Question
Q5818971
P21
Q290
USER
Which sex does Eduardo Anzarda have ?
(Q5818971,P21,c(Q290))
action filter_type
action find
entity Q5818971
relation P21
type Q290
['Q5818971', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q5818971 property:P21 ?e . ?e rdf:type ontology:Q290 }
Eduardo Anzarda
action filter_type
action find
entity Eduardo Anzarda
relation gender
type sex
['Eduardo Anzarda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Eduardo_Anzarda property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5818971,P21,c(Q290))
action filter_type
action find
entity Q5818971
relation P21
type Q290
Eduardo Anzarda has a [ANSWER]
['Q5818971', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q5818971 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Eduardo Anzarda has a male
male
action filter_type
action find
entity Eduardo Anzarda
relation gender
type sex
['Eduardo Anzarda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Eduardo_Anzarda property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5818971
P54
Q847017
USER
Which sports club is that person a member of ?
(Q6581097,P54,c(Q847017))
action filter_type
action find
entity Q5818971
relation P54
type Q847017
['Q6581097', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?v WHERE { resource:Q5818971 property:P54 ?v . ?v rdf:type ontology:Q847017 }
Eduardo Anzarda
action filter_type
action find
entity Eduardo Anzarda
relation member of sports team
type sports club
['male', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?v WHERE { resource:Eduardo_Anzarda property:member_of_sports_team ?v . ?v rdf:type ontology:sports_club }
[]
sports club
Q15799
SYSTEM
Club Atlético River Plate
Q15799
(Q6581097,P54,c(Q847017))
action filter_type
action find
entity Q5818971
relation P54
type Q847017
[ANSWER] is that person a member of
['Q6581097', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?v WHERE { resource:Q5818971 property:P54 ?v . ?v rdf:type ontology:Q847017 }
Club Atlético River Plate
Club Atlético River Plate is that person a member of
Club Atlético River Plate
action filter_type
action find
entity Eduardo Anzarda
relation member of sports team
type sports club
['male', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?v WHERE { resource:Eduardo_Anzarda property:member_of_sports_team ?v . ?v rdf:type ontology:sports_club }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5818971
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q15799,P106,c(Q12737077))
action filter_type
action find
entity Q5818971
relation P106
type Q12737077
['Q15799', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q5818971 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Eduardo Anzarda
action filter_type
action find
entity Eduardo Anzarda
relation occupation
type occupation
['Club Atlético River Plate', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Eduardo_Anzarda property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15799,P106,c(Q12737077))
action filter_type
action find
entity Q5818971
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q15799', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q5818971 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Eduardo Anzarda
relation occupation
type occupation
['Club Atlético River Plate', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Eduardo_Anzarda property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q676555
P417
Q502895 Q12737077
USER
How many people are the patron saint of approximately the same number of occupations as Francis of Assisi ?
(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 Q676555
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P417 ?c . ?c rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?c } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q676555 property:P417 ?d . ?d rdf:type ontology:Q502895 } } }
Francis of Assisi
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 Francis of Assisi
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:patron_saint ?c . ?c rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?c } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Francis_of_Assisi property:patron_saint ?d . ?d 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 Q676555
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P417 ?c . ?c rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?c } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q676555 property:P417 ?d . ?d 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 Francis of Assisi
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:patron_saint ?c . ?c rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?c } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Francis_of_Assisi property:patron_saint ?d . ?d rdf:type ontology:common_name } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q928586
P1344
Q15900616
USER
Which event sequence did Denis Grebeshkov compete in ?
(Q928586,P1344,c(Q15900616))
action filter_type
action find
entity Q928586
relation P1344
type Q15900616
['Q928586', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?j WHERE { resource:Q928586 property:P1344 ?j . ?j rdf:type ontology:Q15900616 }
Denis Grebeshkov
action filter_type
action find
entity Denis Grebeshkov
relation participant of
type event sequence
['Denis Grebeshkov', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?j WHERE { resource:Denis_Grebeshkov property:participant_of ?j . ?j rdf:type ontology:event_sequence }
[]
event sequence
Q9674
SYSTEM
2010 Winter Olympics
Q9674
(Q928586,P1344,c(Q15900616))
action filter_type
action find
entity Q928586
relation P1344
type Q15900616
Denis Grebeshkov competed in [ANSWER]
['Q928586', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?j WHERE { resource:Q928586 property:P1344 ?j . ?j rdf:type ontology:Q15900616 }
2010 Winter Olympics
Denis Grebeshkov competed in 2010 Winter Olympics
2010 Winter Olympics
action filter_type
action find
entity Denis Grebeshkov
relation participant of
type event sequence
['Denis Grebeshkov', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?j WHERE { resource:Denis_Grebeshkov property:participant_of ?j . ?j rdf:type ontology:event_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2549748
Q15900616
USER
And also tell me about Warren Maxwell?
(Q2549748,P1344,c(Q15900616))
action filter_type
action find
entity Q2549748
relation P1344
type Q15900616
['Q2549748', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?k WHERE { resource:Q2549748 property:P1344 ?k . ?k rdf:type ontology:Q15900616 }
Warren Maxwell
action filter_type
action find
entity Warren Maxwell
relation participant of
type event sequence
['Warren Maxwell', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?k WHERE { resource:Warren_Maxwell property:participant_of ?k . ?k rdf:type ontology:event_sequence }
[]
event sequence
Q9651
SYSTEM
1976 Winter Olympics
Q9651
(Q2549748,P1344,c(Q15900616))
action filter_type
action find
entity Q2549748
relation P1344
type Q15900616
[ANSWER]
['Q2549748', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?k WHERE { resource:Q2549748 property:P1344 ?k . ?k rdf:type ontology:Q15900616 }
1976 Winter Olympics
1976 Winter Olympics
action filter_type
action find
entity Warren Maxwell
relation participant of
type event sequence
['Warren Maxwell', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?k WHERE { resource:Warren_Maxwell property:participant_of ?k . ?k rdf:type ontology:event_sequence }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12763009 Q5818971
P19
Q515
USER
Which cities are the birthplace of Eduardo Anzarda or Bedrich Formánek ?
OR((Q5818971,P19,c(Q515)), (Q12763009,P19,c(Q515)))
action filter_type
action union
action find
entity Q5818971
relation P19
action find
entity Q12763009
relation P19
type Q515
{'OR': [['Q5818971', 'P19', {'concept': 'Q515'}], ['Q12763009', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q5818971 property:P19 ?y } UNION { resource:Q12763009 property:P19 ?y } } . ?y rdf:type ontology:Q515 }
Bedrich Formánek Eduardo Anzarda
action filter_type
action union
action find
entity Eduardo Anzarda
relation place of birth
action find
entity Bedrich Formánek
relation place of birth
type city
{'OR': [['Eduardo Anzarda', 'place of birth', {'concept': 'city'}], ['Bedrich Formánek', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Eduardo_Anzarda property:place_of_birth ?y } UNION { resource:Bedrich_Formánek property:place_of_birth ?y } } . ?y rdf:type ontology:city }
[]
city
Q1486 Q193721
SYSTEM
Buenos Aires, Tábor
Q1486 Q193721
OR((Q5818971,P19,c(Q515)), (Q12763009,P19,c(Q515)))
action filter_type
action union
action find
entity Q5818971
relation P19
action find
entity Q12763009
relation P19
type Q515
[ANSWERS] are the birthplace of Eduardo Anzarda or Bedrich Formánek
{'OR': [['Q5818971', 'P19', {'concept': 'Q515'}], ['Q12763009', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q5818971 property:P19 ?y } UNION { resource:Q12763009 property:P19 ?y } } . ?y rdf:type ontology:Q515 }
Buenos Aires Tábor
Buenos Aires and Tábor are the birthplace of Eduardo Anzarda or Bedrich Formánek
Buenos Aires Tábor
action filter_type
action union
action find
entity Eduardo Anzarda
relation place of birth
action find
entity Bedrich Formánek
relation place of birth
type city
{'OR': [['Eduardo Anzarda', 'place of birth', {'concept': 'city'}], ['Bedrich Formánek', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Eduardo_Anzarda property:place_of_birth ?y } UNION { resource:Bedrich_Formánek property:place_of_birth ?y } } . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1486 Q193721
P6
Q502895
USER
Which people are the head of government of those cities ?
(Q1486,P6,c(Q502895)) (Q193721,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q1486', 'P6', {'concept': 'Q502895'}] ['Q193721', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q1486 ) ( resource:Q193721 ) } . ?z property:P6 ?j }
Buenos Aires Tábor
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Buenos Aires', 'head of government', {'concept': 'common name'}] ['Tábor', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:Buenos_Aires ) ( resource:Tábor ) } . ?z property:head_of_government ?j }
[]
common name
Q2843714 Q11985855
SYSTEM
Horacio Rodríguez Larreta, Václav Soumar
Q2843714 Q11985855
(Q1486,P6,c(Q502895)) (Q193721,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
[ANSWERS] are the head of government of those cities
['Q1486', 'P6', {'concept': 'Q502895'}] ['Q193721', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . VALUES ( ?z ) { ( resource:Q1486 ) ( resource:Q193721 ) } . ?z property:P6 ?j }
Horacio Rodríguez Larreta Václav Soumar
Horacio Rodríguez Larreta and Václav Soumar are the head of government of those cities
Horacio Rodríguez Larreta Václav Soumar
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Buenos Aires', 'head of government', {'concept': 'common name'}] ['Tábor', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . VALUES ( ?z ) { ( resource:Buenos_Aires ) ( resource:Tábor ) } . ?z property:head_of_government ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11985855
P20
Q515
USER
Where did that person expire ?
(Q11985855,P20,c(Q515))
action filter_type
action find
entity Q11985855
relation P20
type Q515
['Q11985855', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q11985855 property:P20 ?q . ?q rdf:type ontology:Q515 }
Václav Soumar
action filter_type
action find
entity Václav Soumar
relation place of death
type city
['Václav Soumar', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Václav_Soumar property:place_of_death ?q . ?q rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q11985855
SYSTEM
Did you mean Václav Soumar ?
Q2843714 Q11985855
(Q2843714,P20,c(Q515)) (Q11985855,P20,c(Q515))
[ANSWER]
['Q2843714', 'P20', {'concept': 'Q515'}] ['Q11985855', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q11985855 property:P20 ?q . ?q rdf:type ontology:Q515 }
Horacio Rodríguez Larreta Václav Soumar
Did you mean Václav Soumar ?
Václav Soumar
['Horacio Rodríguez Larreta', 'place of death', {'concept': 'city'}] ['Václav Soumar', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Václav_Soumar property:place_of_death ?q . ?q rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(Q11985855,P20,c(Q515))
['Q11985855', 'P20', {'concept': 'Q515'}]
['Václav Soumar', 'place of death', {'concept': 'city'}]
[]
Q193721
SYSTEM
Tábor
Q193721
(Q11985855,P20,c(Q515))
action filter_type
action find
entity Q11985855
relation P20
type Q515
That person expired in [ANSWER]
['Q11985855', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q11985855 property:P20 ?q . ?q rdf:type ontology:Q515 }
Tábor
That person expired in Tábor
Tábor
action filter_type
action find
entity Václav Soumar
relation place of death
type city
['Václav Soumar', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Václav_Soumar property:place_of_death ?q . ?q rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193721
P20
Q502895
USER
Which people expired at that city ?
(c(Q502895),P20,Q193721)
action filter_type
action find_reverse
entity Q193721
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q193721']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P20 resource:Q193721 }
Tábor
action filter_type
action find_reverse
entity Tábor
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Tábor']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:place_of_death resource:Tábor }
[]
common name
Q1584728 Q86695 Q15586212
SYSTEM
Harald Schreiber, Philip VII, Count of Waldeck, Alois Kotrbelec
Q12023818 Q12055925 Q12021455 Q12017245 Q1584728 Q12049383 Q20985890 Q11985855 Q12028157 Q12028577 Q15074112 Q12037659 Q1285482 Q11926131 Q15586212 Q10853881 Q537733 Q27663844 Q12026911 Q19609044 Q12017571 Q12022725 Q12026051 Q86695 Q24003254 Q6215303 Q4720053 Q12035753 Q12026895 Q3564876 Q4360267 Q11878454 Q4242682
(c(Q502895),P20,Q193721)
action filter_type
action find_reverse
entity Q193721
relation P20
type Q502895
[ANSWERS] expired at that city
[{'concept': 'Q502895'}, 'P20', 'Q193721']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P20 resource:Q193721 }
Jaroslav Hurt Stanislav Hlinovský Ignác Šechtl František Kutiš Harald Schreiber Richard Lauda Vladimír Večtomov Václav Soumar Karel Chochola Karel Valter Hynek Lang Milán Václavík Josef Vlastimil Kamarýt Vojtěch Kuchynka Alois Kotrbelec Antonín Hnízdo Karel Černý Antonín Stočes Josefina Napravilová František Hájek František Veselý Jan Krumlovský Josef Havel Philip VII, Count of Waldeck Leopold Ferber Johan Peter Wotapek von Ritterwald Alexander Seik Martin Kolář Josef Šáda Josef Jindřich Šechtl Heinrich Petersen Emanuel Maršík Václav Křížek
Harald Schreiber, Philip VII, Count of Waldeck and Alois Kotrbelec expired at that city
Harald Schreiber Philip VII, Count of Waldeck Alois Kotrbelec
action filter_type
action find_reverse
entity Tábor
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Tábor']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:place_of_death resource:Tábor }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q193721
P190
Q56061
USER
How many administrative territories are twin cities of Tábor ?
(Q193721,P190,c(Q56061))
action count
action filter_type
action find
entity Q193721
relation P190
type Q56061
['Q193721', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q193721 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Tábor
action count
action filter_type
action find
entity Tábor
relation sister city
type administrative territorial entity
['Tábor', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Tábor property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
4
Q3834 Q15922 Q206464 Q13127
(Q193721,P190,c(Q56061))
action count
action filter_type
action find
entity Q193721
relation P190
type Q56061
[ANSWER]
['Q193721', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Q193721 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Konstanz Škofja Loka Orinda Sint-Niklaas
4
action count
action filter_type
action find
entity Tábor
relation sister city
type administrative territorial entity
['Tábor', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { resource:Tábor property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193721
P190
Q56061
USER
Which administrative territories are a sister city of that one ?
action filter_type
action find
entity Q193721
relation P190
type Q56061
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q193721 property:P190 ?j }
Tábor
action filter_type
action find
entity Tábor
relation sister city
type administrative territorial entity
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Tábor property:sister_city ?j }
[]
administrative territorial entity
Q15922 Q13127 Q3834
SYSTEM
Škofja Loka, Sint-Niklaas, Konstanz
Q3834 Q13127 Q15922 Q206464
action filter_type
action find
entity Q193721
relation P190
type Q56061
[ANSWERS] are a sister city of that one
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q193721 property:P190 ?j }
Konstanz Sint-Niklaas Škofja Loka Orinda
Škofja Loka, Sint-Niklaas and Konstanz are a sister city of that one
Škofja Loka Sint-Niklaas Konstanz
action filter_type
action find
entity Tábor
relation sister city
type administrative territorial entity
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Tábor property:sister_city ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193721
P47
Q515
USER
Which cities are adjacent to that one ?
(Q15922,P47,c(Q515)) (Q13127,P47,c(Q515)) (Q3834,P47,c(Q515))
action filter_type
action find
entity Q193721
relation P47
type Q515
['Q15922', 'P47', {'concept': 'Q515'}] ['Q13127', 'P47', {'concept': 'Q515'}] ['Q3834', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q193721 property:P47 ?p . ?p rdf:type ontology:Q515 }
Tábor
action filter_type
action find
entity Tábor
relation shares border with
type city
['Škofja Loka', 'shares border with', {'concept': 'city'}] ['Sint-Niklaas', 'shares border with', {'concept': 'city'}] ['Konstanz', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Tábor property:shares_border_with ?p . ?p rdf:type ontology:city }
[]
city
Q985047 Q590362 Q1018863
SYSTEM
Nasavrky, Planá nad Lužnicí, Chýnov
Q985047 Q590362 Q1018863 Q958157
(Q15922,P47,c(Q515)) (Q13127,P47,c(Q515)) (Q3834,P47,c(Q515))
action filter_type
action find
entity Q193721
relation P47
type Q515
[ANSWERS] are adjacent to that one
['Q15922', 'P47', {'concept': 'Q515'}] ['Q13127', 'P47', {'concept': 'Q515'}] ['Q3834', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q193721 property:P47 ?p . ?p rdf:type ontology:Q515 }
Nasavrky Planá nad Lužnicí Chýnov Sezimovo Ústí
Nasavrky, Planá nad Lužnicí and Chýnov are adjacent to that one
Nasavrky Planá nad Lužnicí Chýnov
action filter_type
action find
entity Tábor
relation shares border with
type city
['Škofja Loka', 'shares border with', {'concept': 'city'}] ['Sint-Niklaas', 'shares border with', {'concept': 'city'}] ['Konstanz', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Tábor property:shares_border_with ?p . ?p rdf:type ontology:city }
[]