Simple Question (Direct)
Simple Question
Q16223725
P641
Q349
USER
What was the sport that Matej Kováč was a part of ?
(Q16223725,P641,c(Q349))
action filter_type
action find
entity Q16223725
relation P641
type Q349
['Q16223725', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q16223725 property:P641 ?q . ?q rdf:type ontology:Q349 }
Matej Kováč
action filter_type
action find
entity Matej Kováč
relation sport
type sport
['Matej Kováč', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Matej_Kováč property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16223725,P641,c(Q349))
action filter_type
action find
entity Q16223725
relation P641
type Q349
The sport that Matej Kováč was a part of was the [ANSWER]
['Q16223725', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q16223725 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The sport that Matej Kováč was a part of was the association football
association football
action filter_type
action find
entity Matej Kováč
relation sport
type sport
['Matej Kováč', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Matej_Kováč property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16223725
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16223725
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q16223725 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Matej Kováč
action filter_type
action find
entity Matej Kováč
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Matej_Kováč property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16223725
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q16223725 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 Matej Kováč
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Matej_Kováč property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1337324 Q16223725
P106
Q12737077
USER
Or Philipp Schwarzenberg?
OR((Q16223725,P106,c(Q12737077)), (Q1337324,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16223725
relation P106
action find
entity Q1337324
relation P106
type Q12737077
{'OR': [['Q16223725', 'P106', {'concept': 'Q12737077'}], ['Q1337324', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . { { resource:Q1337324 property:P106 ?q } UNION { resource:Q16223725 property:P106 ?q } } }
Philipp Schwarzenberg Matej Kováč
action filter_type
action union
action find
entity Matej Kováč
relation occupation
action find
entity Philipp Schwarzenberg
relation occupation
type occupation
{'OR': [['Matej Kováč', 'occupation', {'concept': 'occupation'}], ['Philipp Schwarzenberg', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . { { resource:Philipp_Schwarzenberg property:occupation ?q } UNION { resource:Matej_Kováč property:occupation ?q } } }
[]
occupation
Q937857 Q82955 Q593644
SYSTEM
association football player, politician, chemist
Q937857 Q82955 Q593644
OR((Q16223725,P106,c(Q12737077)), (Q1337324,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16223725
relation P106
action find
entity Q1337324
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q16223725', 'P106', {'concept': 'Q12737077'}], ['Q1337324', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . { { resource:Q1337324 property:P106 ?q } UNION { resource:Q16223725 property:P106 ?q } } }
association football player politician chemist
association football player politician chemist
action filter_type
action union
action find
entity Matej Kováč
relation occupation
action find
entity Philipp Schwarzenberg
relation occupation
type occupation
{'OR': [['Matej Kováč', 'occupation', {'concept': 'occupation'}], ['Philipp Schwarzenberg', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . { { resource:Philipp_Schwarzenberg property:occupation ?q } UNION { resource:Matej_Kováč property:occupation ?q } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q17590
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of lesser number of occupations than Lawrence of Rome ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q17590
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:Q12737077 . ?x property:P417 resource:Q17590 } } . FILTER ( ?i < ?w ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P417 ?y . ?y rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?y } }
Lawrence of Rome
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Lawrence of Rome
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:occupation . ?x property:patron_saint resource:Lawrence_of_Rome } } . FILTER ( ?i < ?w ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:patron_saint ?y . ?y rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?y } }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q17590
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:Q12737077 . ?x property:P417 resource:Q17590 } } . FILTER ( ?i < ?w ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P417 ?y . ?y rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?y } }
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 less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Lawrence of Rome
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:occupation . ?x property:patron_saint resource:Lawrence_of_Rome } } . FILTER ( ?i < ?w ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:patron_saint ?y . ?y rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q212850
P417
Q502895 Q12737077
USER
And also tell me about Vitus?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q212850
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P417 resource:Q212850 . ?o rdf:type ontology:Q12737077 } } . FILTER ( ?e < ?l ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P417 ?r . ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?r } }
Vitus
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Vitus
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:patron_saint resource:Vitus . ?o rdf:type ontology:occupation } } . FILTER ( ?e < ?l ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:patron_saint ?r . ?r rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?r } }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q212850
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P417 resource:Q212850 . ?o rdf:type ontology:Q12737077 } } . FILTER ( ?e < ?l ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P417 ?r . ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?r } }
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 less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Vitus
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:patron_saint resource:Vitus . ?o rdf:type ontology:occupation } } . FILTER ( ?e < ?l ) . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:patron_saint ?r . ?r rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16223725
P21
Q290
USER
Which sex does Matej Kováč belong to ?
(Q16223725,P21,c(Q290))
action filter_type
action find
entity Q16223725
relation P21
type Q290
['Q16223725', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q16223725 property:P21 ?w . ?w rdf:type ontology:Q290 }
Matej Kováč
action filter_type
action find
entity Matej Kováč
relation gender
type sex
['Matej Kováč', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Matej_Kováč property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16223725,P21,c(Q290))
action filter_type
action find
entity Q16223725
relation P21
type Q290
Matej Kováč belongs to [ANSWER]
['Q16223725', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q16223725 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Matej Kováč belongs to male
male
action filter_type
action find
entity Matej Kováč
relation gender
type sex
['Matej Kováč', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Matej_Kováč property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13056853
Q290
USER
And how about Amalendu Das Gupta?
(Q13056853,P21,c(Q290))
action filter_type
action find
entity Q13056853
relation P21
type Q290
['Q13056853', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q13056853 property:P21 ?c . ?c rdf:type ontology:Q290 }
Amalendu Das Gupta
action filter_type
action find
entity Amalendu Das Gupta
relation gender
type sex
['Amalendu Das Gupta', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Amalendu_Das_Gupta property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q13056853,P21,c(Q290))
action filter_type
action find
entity Q13056853
relation P21
type Q290
[ANSWER]
['Q13056853', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q13056853 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Amalendu Das Gupta
relation gender
type sex
['Amalendu Das Gupta', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Amalendu_Das_Gupta property:gender ?c . ?c rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q866680
P748
Q1307214 Q11204 Q12737077
USER
Which occupations were appointed by lesser number of forms of government or legislatures than President of Vietnam ?
(c(Q12737077),P748,c(Q1307214)|c(Q11204))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q866680
relation P748
type Q1307214
type Q11204
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?p WHERE { FILTER ( ?z < ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q866680 property:P748 ?s . { { ?s rdf:type ontology:Q11204 } UNION { ?s rdf:type ontology:Q1307214 } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?p WHERE { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:Q11204 ) ( ontology:Q1307214 ) } } GROUP BY ?p } }
President of Vietnam
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity President of Vietnam
relation appointed by
type form of government
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?p WHERE { FILTER ( ?z < ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:President_of_Vietnam property:appointed_by ?s . { { ?s rdf:type ontology:legislature } UNION { ?s rdf:type ontology:form_of_government } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?p WHERE { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:legislature ) ( ontology:form_of_government ) } } GROUP BY ?p } }
[]
form of government legislature occupation
Q687075 Q1749063 Q22955080
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, president of FIFA
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q21371106 Q2631987 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q21384866 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1307214)|c(Q11204))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q866680
relation P748
type Q1307214
type Q11204
[ANSWERS] were appointed by lesser number of forms of government or legislatures than President of Vietnam
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?p WHERE { FILTER ( ?z < ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q866680 property:P748 ?s . { { ?s rdf:type ontology:Q11204 } UNION { ?s rdf:type ontology:Q1307214 } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?p WHERE { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:Q11204 ) ( ontology:Q1307214 ) } } GROUP BY ?p } }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach United States Secretary of Agriculture European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam Secretary of State for Dominion Affairs Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Chief of Naval Operations Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and president of FIFA were appointed by lesser number of forms of government or legislatures than President of Vietnam
Prime Minister of Sweden Minister for Foreign Affairs of Sweden president of FIFA
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity President of Vietnam
relation appointed by
type form of government
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?p WHERE { FILTER ( ?z < ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:President_of_Vietnam property:appointed_by ?s . { { ?s rdf:type ontology:legislature } UNION { ?s rdf:type ontology:form_of_government } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?p WHERE { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:legislature ) ( ontology:form_of_government ) } } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q687075 Q1749063 Q22955080
P39
Q502895
USER
Which people held the position of Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and president of FIFA ?
(c(Q502895),P39,Q687075) (c(Q502895),P39,Q1749063) (c(Q502895),P39,Q22955080)
action union
action filter_type
action find_reverse
entity Q687075
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1749063
relation P39
type Q502895
action filter_type
action find_reverse
entity Q22955080
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q687075'] [{'concept': 'Q502895'}, 'P39', 'Q1749063'] [{'concept': 'Q502895'}, 'P39', 'Q22955080']
SELECT DISTINCT ?m WHERE { { ?m property:P39 resource:Q1749063 . ?m rdf:type ontology:Q502895 } UNION { ?m rdf:type ontology:Q502895 . ?m property:P39 resource:Q687075 } }
Prime Minister of Sweden Minister for Foreign Affairs of Sweden president of FIFA
action union
action filter_type
action find_reverse
entity Prime Minister of Sweden
relation position held
type common name
action filter_type
action find_reverse
entity Minister for Foreign Affairs of Sweden
relation position held
type common name
action filter_type
action find_reverse
entity president of FIFA
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden'] [{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden'] [{'concept': 'common name'}, 'position held', 'president of FIFA']
SELECT DISTINCT ?m WHERE { { ?m property:position_held resource:Minister_for_Foreign_Affairs_of_Sweden . ?m rdf:type ontology:common_name } UNION { ?m rdf:type ontology:common_name . ?m property:position_held resource:Prime_Minister_of_Sweden } }
[]
common name
Q53713 Q53713 Q179493
SYSTEM
Bertil Ohlin for 3rd, Olof Palme for 1st, 2nd
Q53292 Q53292 Q53294 Q53294 Q53642 Q53642 Q53286 Q2740012 Q52920 Q52922 Q52972 Q52960 Q52964 Q52969 Q52968 Q52968 Q52958 Q52956 Q52950 Q53747 Q53740 Q53740 Q53305 Q53300 Q53701 Q53707 Q53713 Q53713 Q53721 Q53721 Q53733 Q53660 Q53660 Q53650 Q53633 Q53637 Q53620 Q53620 Q53620 Q53626 Q53628 Q53310 Q291648 Q179493 Q208591 Q52922 Q298317 Q298317 Q237522 Q2938797 Q549955 Q53733 Q297275 Q116277 Q124138 Q312664 Q207358 Q311250 Q218270 Q199642 Q312662 Q483437
(c(Q502895),P39,Q687075) (c(Q502895),P39,Q1749063) (c(Q502895),P39,Q22955080)
action union
action filter_type
action find_reverse
entity Q687075
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1749063
relation P39
type Q502895
action filter_type
action find_reverse
entity Q22955080
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q687075'] [{'concept': 'Q502895'}, 'P39', 'Q1749063'] [{'concept': 'Q502895'}, 'P39', 'Q22955080']
SELECT DISTINCT ?m WHERE { { ?m property:P39 resource:Q1749063 . ?m rdf:type ontology:Q502895 } UNION { ?m rdf:type ontology:Q502895 . ?m property:P39 resource:Q687075 } }
Karl Staaff Karl Staaff Arvid Lindman Arvid Lindman Carl Gustaf Ekman Carl Gustaf Ekman Christian Lundeberg Stefan Löfven Fredrik Reinfeldt Carl Bildt Johan Ramstedt Gillis Bildt Gustaf Åkerhielm Fredrik von Otter Erik Gustaf Boström Erik Gustaf Boström Robert Themptander Carl Johan Thyselius Louis Gerhard De Geer Göran Persson Ingvar Carlsson Ingvar Carlsson Carl Swartz Hjalmar Hammarskjöld Axel Pehrsson-Bramstorp Tage Erlander Olof Palme Olof Palme Thorbjörn Fälldin Thorbjörn Fälldin Ola Ullsten Per Albin Hansson Per Albin Hansson Felix Hamrin Ernst Trygger Rickard Sandler Hjalmar Branting Hjalmar Branting Hjalmar Branting Gerhard Louis De Geer Oscar von Sydow Nils Edén Laila Freivalds Bertil Ohlin Anna Lindh Carl Bildt Östen Undén Östen Undén Margot Wallström Carin Jämtin Jan Eliasson Ola Ullsten Hans Blix Robert Guérin Gianni Infantino Arthur Drewry João Havelange Daniel Burley Woolfall Stanley Rous Jules Rimet Rodolphe Seeldrayers Sepp Blatter
Olof Palme, Olof Palme and Bertil Ohlin held the position of Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and president of FIFA
Olof Palme Olof Palme Bertil Ohlin
action union
action filter_type
action find_reverse
entity Prime Minister of Sweden
relation position held
type common name
action filter_type
action find_reverse
entity Minister for Foreign Affairs of Sweden
relation position held
type common name
action filter_type
action find_reverse
entity president of FIFA
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden'] [{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden'] [{'concept': 'common name'}, 'position held', 'president of FIFA']
SELECT DISTINCT ?m WHERE { { ?m property:position_held resource:Minister_for_Foreign_Affairs_of_Sweden . ?m rdf:type ontology:common_name } UNION { ?m rdf:type ontology:common_name . ?m property:position_held resource:Prime_Minister_of_Sweden } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q53713
P40
Q502895
USER
Who are the children of that one ?
(Q53713,P40,c(Q502895))
action filter_type
action find
entity Q53713
relation P40
type Q502895
['Q53713', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q53713 property:P40 ?s }
Olof Palme
action filter_type
action find
entity Olof Palme
relation child
type common name
['Olof Palme', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Olof_Palme property:child ?s }
[]
common name
Clarification for simple ques.
Q179493
SYSTEM
Did you mean Bertil Ohlin ?
Q53713 Q53713 Q179493
(Q53713,P40,c(Q502895)) (Q53713,P40,c(Q502895)) (Q179493,P40,c(Q502895))
[ANSWER]
['Q53713', 'P40', {'concept': 'Q502895'}] ['Q53713', 'P40', {'concept': 'Q502895'}] ['Q179493', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q53713 property:P40 ?s }
Olof Palme Olof Palme Bertil Ohlin
Did you mean Bertil Ohlin ?
Bertil Ohlin
['Olof Palme', 'child', {'concept': 'common name'}] ['Olof Palme', 'child', {'concept': 'common name'}] ['Bertil Ohlin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Olof_Palme property:child ?s }
[]
Simple Question (Coreferenced)
USER
No, I meant Olof Palme. Could you tell me the answer for that?
(Q53713,P40,c(Q502895))
Q53713
['Q53713', 'P40', {'concept': 'Q502895'}]
['Olof Palme', 'child', {'concept': 'common name'}]
[]
Q4356053 Q4570670
SYSTEM
Joakim Palme, Mårten Palme
Q4356053 Q4570670
(Q53713,P40,c(Q502895))
action filter_type
action find
entity Q53713
relation P40
type Q502895
The children of that one are Prince [ANSWERS]
['Q53713', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q53713 property:P40 ?s }
Joakim Palme Mårten Palme
The children of that one are Prince Joakim Palme and Mårten Palme
Joakim Palme Mårten Palme
action filter_type
action find
entity Olof Palme
relation child
type common name
['Olof Palme', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Olof_Palme property:child ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
How many television programs did around 17 people dub for ?
(c(Q15416),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 17
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?b ) WHERE { ?d property:P725 ?c . ?d rdf:type ontology:Q15416 . ?c rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?b = 17 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 17
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?b ) WHERE { ?d property:voice_actor ?c . ?d rdf:type ontology:television_program . ?c rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?b = 17 ) }
[]
common name television program
SYSTEM
2
Q18571935 Q18553975
(c(Q15416),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 17
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?b ) WHERE { ?d property:P725 ?c . ?d rdf:type ontology:Q15416 . ?c rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?b = 17 ) }
The Big O Soul Eater
2
action count
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 17
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?b ) WHERE { ?d property:voice_actor ?c . ?d rdf:type ontology:television_program . ?c rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?b = 17 ) }
[]