Simple Question (Direct)
Simple Question
Q16209370
P54
Q6979593
USER
What is Lütfiye Ercimen a member of ?
(Q16209370,P54,c(Q6979593))
action filter_type
action find
entity Q16209370
relation P54
type Q6979593
['Q16209370', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q6979593 . resource:Q16209370 property:P54 ?v }
Lütfiye Ercimen
action filter_type
action find
entity Lütfiye Ercimen
relation member of sports team
type national association football team
['Lütfiye Ercimen', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:national_association_football_team . resource:Lütfiye_Ercimen property:member_of_sports_team ?v }
[]
national association football team
Q937678
SYSTEM
Turkey women's national football team
Q937678
(Q16209370,P54,c(Q6979593))
action filter_type
action find
entity Q16209370
relation P54
type Q6979593
Lütfiye Ercimen a member of is current [ANSWER]
['Q16209370', 'P54', {'concept': 'Q6979593'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q6979593 . resource:Q16209370 property:P54 ?v }
Turkey women's national football team
Lütfiye Ercimen a member of is current Turkey women's national football team
Turkey women's national football team
action filter_type
action find
entity Lütfiye Ercimen
relation member of sports team
type national association football team
['Lütfiye Ercimen', 'member of sports team', {'concept': 'national association football team'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:national_association_football_team . resource:Lütfiye_Ercimen property:member_of_sports_team ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16209370
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q937678,P27,c(Q15617994))
action filter_type
action find
entity Q16209370
relation P27
type Q15617994
['Q937678', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q16209370 property:P27 ?w }
Lütfiye Ercimen
action filter_type
action find
entity Lütfiye Ercimen
relation country of citizenship
type designation for an administrative territorial entity
["Turkey women's national football team", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lütfiye_Ercimen property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q937678,P27,c(Q15617994))
action filter_type
action find
entity Q16209370
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q937678', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q16209370 property:P27 ?w }
Turkey
Turkey is that person an inhabitant of
Turkey
action filter_type
action find
entity Lütfiye Ercimen
relation country of citizenship
type designation for an administrative territorial entity
["Turkey women's national football team", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lütfiye_Ercimen property:country_of_citizenship ?w }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5541663 Q16209370
P641
Q349
USER
Which sports were Lütfiye Ercimen and George Lennon a part of ?
AND((Q16209370,P641,c(Q349)), (Q5541663,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q16209370
relation P641
action find
entity Q5541663
relation P641
type Q349
{'AND': [['Q16209370', 'P641', {'concept': 'Q349'}], ['Q5541663', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?k WHERE { resource:Q16209370 property:P641 ?k . resource:Q5541663 property:P641 ?k . ?k rdf:type ontology:Q349 }
George Lennon Lütfiye Ercimen
action filter_type
action intersection
action find
entity Lütfiye Ercimen
relation sport
action find
entity George Lennon
relation sport
type sport
{'AND': [['Lütfiye Ercimen', 'sport', {'concept': 'sport'}], ['George Lennon', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?k WHERE { resource:Lütfiye_Ercimen property:sport ?k . resource:George_Lennon property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q16209370,P641,c(Q349)), (Q5541663,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q16209370
relation P641
action find
entity Q5541663
relation P641
type Q349
The [ANSWER] was Lütfiye Ercimen and George Lennon a part of
{'AND': [['Q16209370', 'P641', {'concept': 'Q349'}], ['Q5541663', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?k WHERE { resource:Q16209370 property:P641 ?k . resource:Q5541663 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
The association football was Lütfiye Ercimen and George Lennon a part of
association football
action filter_type
action intersection
action find
entity Lütfiye Ercimen
relation sport
action find
entity George Lennon
relation sport
type sport
{'AND': [['Lütfiye Ercimen', 'sport', {'concept': 'sport'}], ['George Lennon', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?k WHERE { resource:Lütfiye_Ercimen property:sport ?k . resource:George_Lennon property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5541663
P106
Q12737077
USER
What is the job of George Lennon ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q5541663
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5541663 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
George Lennon
action filter_type
action find
entity George Lennon
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:George_Lennon property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q5541663
relation P106
type Q12737077
The job of George Lennon is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q5541663 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
The job of George Lennon is an association football player
association football player
action filter_type
action find
entity George Lennon
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:George_Lennon property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q6150448
P106
Q502895
USER
Does Jan Šeda have that occupation as his/her means of employment ?
(Q6150448,P106,Q937857)
action is_in
entity Q6150448
action find
entity Q937857
relation P106
['Q6150448', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q6150448 }
association football player Jan Šeda
action is_in
entity Jan Šeda
action find
entity association football player
relation occupation
['Jan Šeda', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Jan_Šeda }
[]
common name
SYSTEM
NO
(Q6150448,P106,Q937857)
action is_in
entity Q6150448
action find
entity Q937857
relation P106
[ANSWER]
['Q6150448', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q6150448 }
No
action is_in
entity Jan Šeda
action find
entity association football player
relation occupation
['Jan Šeda', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Jan_Šeda }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q192236
P417
Q502895 Q12737077
USER
Which people are the patron saint of approximately the same number of occupations as Thomas Becket ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q192236
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P417 ?q . ?q rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:Q502895 . resource:Q192236 property:P417 ?i } } . FILTER ( ?f = ?x ) }
Thomas Becket
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Thomas Becket
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:patron_saint ?q . ?q rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:common_name . resource:Thomas_Becket property:patron_saint ?i } } . FILTER ( ?f = ?x ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q192236
relation P417
type Q502895
[ANSWERS] are the patron saint of approximately the same number of occupations as Thomas Becket
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P417 ?q . ?q rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:Q502895 . resource:Q192236 property:P417 ?i } } . FILTER ( ?f = ?x ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of approximately the same number of occupations as Thomas Becket
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Thomas Becket
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:patron_saint ?q . ?q rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:common_name . resource:Thomas_Becket property:patron_saint ?i } } . FILTER ( ?f = ?x ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9682 Q191479 Q346
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Elizabeth II, Tadeusz Kościuszko and Louis IX of France ?
(Q9682,P27,c(Q15617994)) (Q191479,P27,c(Q15617994)) (Q346,P27,c(Q15617994))
action union
action filter_type
action find
entity Q9682
relation P27
type Q15617994
action filter_type
action find
entity Q191479
relation P27
type Q15617994
action filter_type
action find
entity Q346
relation P27
type Q15617994
['Q9682', 'P27', {'concept': 'Q15617994'}] ['Q191479', 'P27', {'concept': 'Q15617994'}] ['Q346', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?y ) { ( resource:Q9682 ) ( resource:Q191479 ) } . ?y property:P27 ?g }
Elizabeth II Tadeusz Kościuszko Louis IX of France
action union
action filter_type
action find
entity Elizabeth II
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Tadeusz Kościuszko
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Louis IX of France
relation country of citizenship
type designation for an administrative territorial entity
['Elizabeth II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tadeusz Kościuszko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Louis IX of France', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?y ) { ( resource:Elizabeth_II ) ( resource:Tadeusz_Kościuszko ) } . ?y property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q145 Q30 Q142
SYSTEM
United Kingdom, United States of America, France
Q145 Q30 Q142
(Q9682,P27,c(Q15617994)) (Q191479,P27,c(Q15617994)) (Q346,P27,c(Q15617994))
action union
action filter_type
action find
entity Q9682
relation P27
type Q15617994
action filter_type
action find
entity Q191479
relation P27
type Q15617994
action filter_type
action find
entity Q346
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Elizabeth II, Tadeusz Kościuszko and Louis IX of France
['Q9682', 'P27', {'concept': 'Q15617994'}] ['Q191479', 'P27', {'concept': 'Q15617994'}] ['Q346', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?y ) { ( resource:Q9682 ) ( resource:Q191479 ) } . ?y property:P27 ?g }
United Kingdom United States of America France
United Kingdom, United States of America and France are the countries of citizenship of Elizabeth II, Tadeusz Kościuszko and Louis IX of France
United Kingdom United States of America France
action union
action filter_type
action find
entity Elizabeth II
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Tadeusz Kościuszko
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Louis IX of France
relation country of citizenship
type designation for an administrative territorial entity
['Elizabeth II', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Tadeusz Kościuszko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Louis IX of France', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?y ) { ( resource:Elizabeth_II ) ( resource:Tadeusz_Kościuszko ) } . ?y property:country_of_citizenship ?g }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q145 Q30 Q142
P6
Q502895
USER
What people are United Kingdom, United States of America and France the head of goverment of ?
(Q145,P6,c(Q502895)) (Q30,P6,c(Q502895)) (Q142,P6,c(Q502895))
action union
action filter_type
action find
entity Q145
relation P6
type Q502895
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q142
relation P6
type Q502895
['Q145', 'P6', {'concept': 'Q502895'}] ['Q30', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { resource:Q145 property:P6 ?w . ?w rdf:type ontology:Q502895 } UNION { resource:Q30 property:P6 ?w . ?w rdf:type ontology:Q502895 } }
United Kingdom United States of America France
action union
action filter_type
action find
entity United Kingdom
relation head of government
type common name
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity France
relation head of government
type common name
['United Kingdom', 'head of government', {'concept': 'common name'}] ['United States of America', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { resource:United_Kingdom property:head_of_government ?w . ?w rdf:type ontology:common_name } UNION { resource:United_States_of_America property:head_of_government ?w . ?w rdf:type ontology:common_name } }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q192 Q264766 Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891 Q10287 Q7711
(Q145,P6,c(Q502895)) (Q30,P6,c(Q502895)) (Q142,P6,c(Q502895))
action union
action filter_type
action find
entity Q145
relation P6
type Q502895
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q142
relation P6
type Q502895
United Kingdom , United States of America and France the head of goverment of are President [ANSWERS]
['Q145', 'P6', {'concept': 'Q502895'}] ['Q30', 'P6', {'concept': 'Q502895'}] ['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { resource:Q145 property:P6 ?w . ?w rdf:type ontology:Q502895 } UNION { resource:Q30 property:P6 ?w . ?w rdf:type ontology:Q502895 } }
David Cameron Theresa May Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk Manuel Valls Jean-Marc Ayrault
United Kingdom , United States of America and France the head of goverment of are President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action union
action filter_type
action find
entity United Kingdom
relation head of government
type common name
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity France
relation head of government
type common name
['United Kingdom', 'head of government', {'concept': 'common name'}] ['United States of America', 'head of government', {'concept': 'common name'}] ['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { resource:United_Kingdom property:head_of_government ?w . ?w rdf:type ontology:common_name } UNION { resource:United_States_of_America property:head_of_government ?w . ?w rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9916
P138
Q19832486
USER
Which locomotive class has that person as its namesake ?
(c(Q19832486),P138,Q9916)
action filter_type
action find_reverse
entity Q9916
relation P138
type Q19832486
[{'concept': 'Q19832486'}, 'P138', 'Q9916']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q9916 . ?w rdf:type ontology:Q19832486 }
Dwight D. Eisenhower
action filter_type
action find_reverse
entity Dwight D. Eisenhower
relation named after
type locomotive class
[{'concept': 'locomotive class'}, 'named after', 'Dwight D. Eisenhower']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Dwight_D._Eisenhower . ?w rdf:type ontology:locomotive_class }
[]
locomotive class
Clarification for simple ques.
Q9916
SYSTEM
Did you mean Dwight D. Eisenhower ?
Q76 Q9916 Q22686
(c(Q19832486),P138,Q76) (c(Q19832486),P138,Q9916) (c(Q19832486),P138,Q22686)
[ANSWER]
[{'concept': 'Q19832486'}, 'P138', 'Q76'] [{'concept': 'Q19832486'}, 'P138', 'Q9916'] [{'concept': 'Q19832486'}, 'P138', 'Q22686']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q9916 . ?w rdf:type ontology:Q19832486 }
Barack Obama Dwight D. Eisenhower Donald Trump
Did you mean Dwight D. Eisenhower ?
Dwight D. Eisenhower
[{'concept': 'locomotive class'}, 'named after', 'Barack Obama'] [{'concept': 'locomotive class'}, 'named after', 'Dwight D. Eisenhower'] [{'concept': 'locomotive class'}, 'named after', 'Donald Trump']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Dwight_D._Eisenhower . ?w rdf:type ontology:locomotive_class }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q19832486),P138,Q9916)
[{'concept': 'Q19832486'}, 'P138', 'Q9916']
[{'concept': 'locomotive class'}, 'named after', 'Dwight D. Eisenhower']
[]
Q6459254
SYSTEM
LNER Class A4 4496 Dwight D. Eisenhower
Q6459254
(c(Q19832486),P138,Q9916)
action filter_type
action find_reverse
entity Q9916
relation P138
type Q19832486
[ANSWER] has that person as its namesake
[{'concept': 'Q19832486'}, 'P138', 'Q9916']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q9916 . ?w rdf:type ontology:Q19832486 }
LNER Class A4 4496 Dwight D. Eisenhower
LNER Class A4 4496 Dwight D. Eisenhower has that person as its namesake
LNER Class A4 4496 Dwight D. Eisenhower
action filter_type
action find_reverse
entity Dwight D. Eisenhower
relation named after
type locomotive class
[{'concept': 'locomotive class'}, 'named after', 'Dwight D. Eisenhower']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Dwight_D._Eisenhower . ?w rdf:type ontology:locomotive_class }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6459254
P138
Q502895
USER
Which person is the etymology of that locomotive class ?
(Q6459254,P138,c(Q502895))
action filter_type
action find
entity Q6459254
relation P138
type Q502895
['Q6459254', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q6459254 property:P138 ?s }
LNER Class A4 4496 Dwight D. Eisenhower
action filter_type
action find
entity LNER Class A4 4496 Dwight D. Eisenhower
relation named after
type common name
['LNER Class A4 4496 Dwight D. Eisenhower', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:LNER_Class_A4_4496_Dwight_D._Eisenhower property:named_after ?s }
[]
common name
Q9916
SYSTEM
Dwight D. Eisenhower
Q9916
(Q6459254,P138,c(Q502895))
action filter_type
action find
entity Q6459254
relation P138
type Q502895
[ANSWER] is the etymology of that locomotive class
['Q6459254', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q6459254 property:P138 ?s }
Dwight D. Eisenhower
Dwight D. Eisenhower is the etymology of that locomotive class
Dwight D. Eisenhower
action filter_type
action find
entity LNER Class A4 4496 Dwight D. Eisenhower
relation named after
type common name
['LNER Class A4 4496 Dwight D. Eisenhower', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:LNER_Class_A4_4496_Dwight_D._Eisenhower property:named_after ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9916
P22
Q502895
USER
Which people have that one as father ?
(c(Q502895),P22,Q9916)
action filter_type
action find_reverse
entity Q9916
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q9916']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q9916 . ?n rdf:type ontology:Q502895 }
Dwight D. Eisenhower
action filter_type
action find_reverse
entity Dwight D. Eisenhower
relation father
type common name
[{'concept': 'common name'}, 'father', 'Dwight D. Eisenhower']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Dwight_D._Eisenhower . ?n rdf:type ontology:common_name }
[]
common name
Q5300213 Q538633
SYSTEM
Doud Eisenhower, John Eisenhower
Q5300213 Q538633
(c(Q502895),P22,Q9916)
action filter_type
action find_reverse
entity Q9916
relation P22
type Q502895
[ANSWERS] have that one as father
[{'concept': 'Q502895'}, 'P22', 'Q9916']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q9916 . ?n rdf:type ontology:Q502895 }
Doud Eisenhower John Eisenhower
Doud Eisenhower and John Eisenhower have that one as father
Doud Eisenhower John Eisenhower
action filter_type
action find_reverse
entity Dwight D. Eisenhower
relation father
type common name
[{'concept': 'common name'}, 'father', 'Dwight D. Eisenhower']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Dwight_D._Eisenhower . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5300213 Q538633
P40
Q502895
USER
Whose child are those ones ?
(c(Q502895),P40,Q5300213) (c(Q502895),P40,Q538633)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5300213'] [{'concept': 'Q502895'}, 'P40', 'Q538633']
SELECT DISTINCT ?u WHERE { VALUES ( ?g ) { ( resource:Q5300213 ) ( resource:Q538633 ) } . ?u property:P40 ?g . ?u rdf:type ontology:Q502895 }
Doud Eisenhower John Eisenhower
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Doud Eisenhower'] [{'concept': 'common name'}, 'child', 'John Eisenhower']
SELECT DISTINCT ?u WHERE { VALUES ( ?g ) { ( resource:Doud_Eisenhower ) ( resource:John_Eisenhower ) } . ?u property:child ?g . ?u rdf:type ontology:common_name }
[]
common name
Q9916 Q9916 Q233686
SYSTEM
Mamie Eisenhower for 3rd, Dwight D. Eisenhower for 1st, 2nd
Q9916 Q233686 Q9916 Q233686
(c(Q502895),P40,Q5300213) (c(Q502895),P40,Q538633)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q5300213'] [{'concept': 'Q502895'}, 'P40', 'Q538633']
SELECT DISTINCT ?u WHERE { VALUES ( ?g ) { ( resource:Q5300213 ) ( resource:Q538633 ) } . ?u property:P40 ?g . ?u rdf:type ontology:Q502895 }
Dwight D. Eisenhower Mamie Eisenhower Dwight D. Eisenhower Mamie Eisenhower
Eisenhower Dwight D. Eisenhower, Dwight D. Eisenhower and Mamie Eisenhower those ones are child
Dwight D. Eisenhower Dwight D. Eisenhower Mamie Eisenhower
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Doud Eisenhower'] [{'concept': 'common name'}, 'child', 'John Eisenhower']
SELECT DISTINCT ?u WHERE { VALUES ( ?g ) { ( resource:Doud_Eisenhower ) ( resource:John_Eisenhower ) } . ?u property:child ?g . ?u rdf:type ontology:common_name }
[]