Simple Question (Direct)
Simple Question
Q4058121
P27
Q15617994
USER
Which administrative territory is Ilya Azar a civilian of ?
(Q4058121,P27,c(Q15617994))
action filter_type
action find
entity Q4058121
relation P27
type Q15617994
['Q4058121', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4058121 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Ilya Azar
action filter_type
action find
entity Ilya Azar
relation country of citizenship
type designation for an administrative territorial entity
['Ilya Azar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ilya_Azar property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q4058121,P27,c(Q15617994))
action filter_type
action find
entity Q4058121
relation P27
type Q15617994
[ANSWER] is Ilya Azar a civilian of
['Q4058121', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4058121 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Russia
Russia is Ilya Azar a civilian of
Russia
action filter_type
action find
entity Ilya Azar
relation country of citizenship
type designation for an administrative territorial entity
['Ilya Azar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ilya_Azar property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4058121
P21
Q290
USER
What is the sex of that person ?
(Q159,P21,c(Q290))
action filter_type
action find
entity Q4058121
relation P21
type Q290
['Q159', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q4058121 property:P21 ?x . ?x rdf:type ontology:Q290 }
Ilya Azar
action filter_type
action find
entity Ilya Azar
relation gender
type sex
['Russia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Ilya_Azar property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q159,P21,c(Q290))
action filter_type
action find
entity Q4058121
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q159', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q4058121 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Ilya Azar
relation gender
type sex
['Russia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Ilya_Azar property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4820217
P106
Q12737077
USER
Which occupation is the profession of Eero Akaan-Penttilä ?
(Q4820217,P106,c(Q12737077))
action filter_type
action find
entity Q4820217
relation P106
type Q12737077
['Q4820217', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4820217 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Eero Akaan-Penttilä
action filter_type
action find
entity Eero Akaan-Penttilä
relation occupation
type occupation
['Eero Akaan-Penttilä', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Eero_Akaan-Penttilä property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q4820217,P106,c(Q12737077))
action filter_type
action find
entity Q4820217
relation P106
type Q12737077
As [ANSWER] is the profession of Eero Akaan-Penttilä
['Q4820217', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4820217 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
politician
As politician is the profession of Eero Akaan-Penttilä
politician
action filter_type
action find
entity Eero Akaan-Penttilä
relation occupation
type occupation
['Eero Akaan-Penttilä', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Eero_Akaan-Penttilä property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5700231
Q12737077
USER
And how about Heinrich Lhotzky?
(Q5700231,P106,c(Q12737077))
action filter_type
action find
entity Q5700231
relation P106
type Q12737077
['Q5700231', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5700231 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Heinrich Lhotzky
action filter_type
action find
entity Heinrich Lhotzky
relation occupation
type occupation
['Heinrich Lhotzky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Heinrich_Lhotzky property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q1234713 Q36180
SYSTEM
theologian, writer
Q1234713 Q36180
(Q5700231,P106,c(Q12737077))
action filter_type
action find
entity Q5700231
relation P106
type Q12737077
[ANSWERS]
['Q5700231', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5700231 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
theologian writer
theologian writer
action filter_type
action find
entity Heinrich Lhotzky
relation occupation
type occupation
['Heinrich Lhotzky', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Heinrich_Lhotzky property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6757719
P106
Q502895
USER
Do Marco Sportiello have the profession as those occupations ?
(Q6757719,P106,Q1234713) (Q6757719,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q6757719
relation P106
['Q6757719', 'P106', 'Q1234713'] ['Q6757719', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1234713 ) ( resource:Q36180 ) } . resource:Q6757719 property:P106 ?k }
Marco Sportiello
action is_in
entity prev_answer
action find
entity Marco Sportiello
relation occupation
['Marco Sportiello', 'occupation', 'theologian'] ['Marco Sportiello', 'occupation', 'writer']
ASK WHERE { VALUES ( ?k ) { ( resource:theologian ) ( resource:writer ) } . resource:Marco_Sportiello property:occupation ?k }
[]
common name
SYSTEM
NO
(Q6757719,P106,Q1234713) (Q6757719,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q6757719
relation P106
[ANSWER]
['Q6757719', 'P106', 'Q1234713'] ['Q6757719', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1234713 ) ( resource:Q36180 ) } . resource:Q6757719 property:P106 ?k }
No
action is_in
entity prev_answer
action find
entity Marco Sportiello
relation occupation
['Marco Sportiello', 'occupation', 'theologian'] ['Marco Sportiello', 'occupation', 'writer']
ASK WHERE { VALUES ( ?k ) { ( resource:theologian ) ( resource:writer ) } . resource:Marco_Sportiello property:occupation ?k }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3747052
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of around the same number of occupations as Saint Fulk ?
(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 Q3747052
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:P417 ?v . ?s rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?y = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q3747052 property:P417 ?h . ?h rdf:type ontology:Q502895 } } }
Saint Fulk
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Fulk
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:patron_saint ?v . ?s rdf:type ontology:occupation . ?v rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?y = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Saint_Fulk property:patron_saint ?h . ?h rdf:type ontology:common_name } } }
[]
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 Q3747052
relation P417
type Q502895
[ANSWERS] are the names of person who are the patron saints of around the same number of occupations as Saint Fulk
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:P417 ?v . ?s rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?y = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q3747052 property:P417 ?h . ?h 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
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the names of person who are the patron saints of around the same number of occupations as Saint Fulk
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 Saint Fulk
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?y ) WHERE { ?s property:patron_saint ?v . ?s rdf:type ontology:occupation . ?v rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?y = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Saint_Fulk property:patron_saint ?h . ?h rdf:type ontology:common_name } } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q159 Q520988 Q408
P530
Q1048835
USER
Does Russia have tactful political relations with Orusco de Tajuña and Australia ?
(Q159,P530,Q520988) (Q159,P530,Q408)
action is_in
entity Q159
action intersection
action find_reverse
entity Q520988
relation P530
action find_reverse
entity Q408
relation P530
['Q159', 'P530', 'Q520988'] ['Q159', 'P530', 'Q408']
ASK WHERE { resource:Q159 property:P530 resource:Q520988 . resource:Q159 property:P530 resource:Q408 }
Russia Orusco de Tajuña Australia
action is_in
entity Russia
action intersection
action find_reverse
entity Orusco de Tajuña
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Russia', 'diplomatic relation', 'Orusco de Tajuña'] ['Russia', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Russia property:diplomatic_relation resource:Orusco_de_Tajuña . resource:Russia property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q159,P530,Q520988) (Q159,P530,Q408)
action is_in
entity Q159
action intersection
action find_reverse
entity Q520988
relation P530
action find_reverse
entity Q408
relation P530
[ANSWER]
['Q159', 'P530', 'Q520988'] ['Q159', 'P530', 'Q408']
ASK WHERE { resource:Q159 property:P530 resource:Q520988 . resource:Q159 property:P530 resource:Q408 }
NO and YES respectively
action is_in
entity Russia
action intersection
action find_reverse
entity Orusco de Tajuña
relation diplomatic relation
action find_reverse
entity Australia
relation diplomatic relation
['Russia', 'diplomatic relation', 'Orusco de Tajuña'] ['Russia', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Russia property:diplomatic_relation resource:Orusco_de_Tajuña . resource:Russia property:diplomatic_relation resource:Australia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q683580
P69
Q502895
USER
Who were a student at Nanjing University ?
(c(Q502895),P69,Q683580)
action filter_type
action find_reverse
entity Q683580
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q683580']
SELECT DISTINCT ?p WHERE { ?p property:P69 resource:Q683580 . ?p rdf:type ontology:Q502895 }
Nanjing University
action filter_type
action find_reverse
entity Nanjing University
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Nanjing University']
SELECT DISTINCT ?p WHERE { ?p property:educated_at resource:Nanjing_University . ?p rdf:type ontology:common_name }
[]
common name
Q707343 Q19801173 Q58211
SYSTEM
Li Lu, Tsien Tsuen-hsuin, Yang Jiechi
Q19801173 Q630111 Q58211 Q3503748 Q7820945 Q12269960 Q4913770 Q9025098 Q8293836 Q716641 Q707343 Q5071594 Q3267036 Q19839311
(c(Q502895),P69,Q683580)
action filter_type
action find_reverse
entity Q683580
relation P69
type Q502895
[ANSWERS] were a student at Nanjing University
[{'concept': 'Q502895'}, 'P69', 'Q683580']
SELECT DISTINCT ?p WHERE { ?p property:P69 resource:Q683580 . ?p rdf:type ontology:Q502895 }
Tsien Tsuen-hsuin Hua Chunying Yang Jiechi Sun Jiazheng Tong Tekong Hua Gao Bin Chen Qu Qinyue Huang Shuxian Chen Deming Li Lu Chang Chi-yun Lu Dingyi Sun Duoci
Li Lu, Tsien Tsuen-hsuin and Yang Jiechi were a student at Nanjing University
Li Lu Tsien Tsuen-hsuin Yang Jiechi
action filter_type
action find_reverse
entity Nanjing University
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Nanjing University']
SELECT DISTINCT ?p WHERE { ?p property:educated_at resource:Nanjing_University . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q707343 Q19801173 Q58211
P69
Q3918
USER
Where were Li Lu, Tsien Tsuen-hsuin and Yang Jiechi educated ?
(Q707343,P69,c(Q3918)) (Q19801173,P69,c(Q3918)) (Q58211,P69,c(Q3918))
action union
action filter_type
action find
entity Q707343
relation P69
type Q3918
action filter_type
action find
entity Q19801173
relation P69
type Q3918
action filter_type
action find
entity Q58211
relation P69
type Q3918
['Q707343', 'P69', {'concept': 'Q3918'}] ['Q19801173', 'P69', {'concept': 'Q3918'}] ['Q58211', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { { resource:Q707343 property:P69 ?c . ?c rdf:type ontology:Q3918 } UNION { resource:Q19801173 property:P69 ?c . ?c rdf:type ontology:Q3918 } }
Li Lu Tsien Tsuen-hsuin Yang Jiechi
action union
action filter_type
action find
entity Li Lu
relation educated at
type university
action filter_type
action find
entity Tsien Tsuen-hsuin
relation educated at
type university
action filter_type
action find
entity Yang Jiechi
relation educated at
type university
['Li Lu', 'educated at', {'concept': 'university'}] ['Tsien Tsuen-hsuin', 'educated at', {'concept': 'university'}] ['Yang Jiechi', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { { resource:Li_Lu property:educated_at ?c . ?c rdf:type ontology:university } UNION { resource:Tsien_Tsuen-hsuin property:educated_at ?c . ?c rdf:type ontology:university } }
[]
university
Q174570 Q683580 Q683580
SYSTEM
Nanjing University for 2nd, 3rd, London School of Economics for 1st
Q683580 Q1149089 Q683580 Q683580 Q174570
(Q707343,P69,c(Q3918)) (Q19801173,P69,c(Q3918)) (Q58211,P69,c(Q3918))
action union
action filter_type
action find
entity Q707343
relation P69
type Q3918
action filter_type
action find
entity Q19801173
relation P69
type Q3918
action filter_type
action find
entity Q58211
relation P69
type Q3918
[ANSWERS]
['Q707343', 'P69', {'concept': 'Q3918'}] ['Q19801173', 'P69', {'concept': 'Q3918'}] ['Q58211', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { { resource:Q707343 property:P69 ?c . ?c rdf:type ontology:Q3918 } UNION { resource:Q19801173 property:P69 ?c . ?c rdf:type ontology:Q3918 } }
Nanjing University Columbia Law School Nanjing University Nanjing University London School of Economics
Li Lu , Tsien Tsuen-hsuin and Yang Jiechi were educated at London School of Economics, Nanjing University and Nanjing University
London School of Economics Nanjing University Nanjing University
action union
action filter_type
action find
entity Li Lu
relation educated at
type university
action filter_type
action find
entity Tsien Tsuen-hsuin
relation educated at
type university
action filter_type
action find
entity Yang Jiechi
relation educated at
type university
['Li Lu', 'educated at', {'concept': 'university'}] ['Tsien Tsuen-hsuin', 'educated at', {'concept': 'university'}] ['Yang Jiechi', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { { resource:Li_Lu property:educated_at ?c . ?c rdf:type ontology:university } UNION { resource:Tsien_Tsuen-hsuin property:educated_at ?c . ?c rdf:type ontology:university } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q683580
P159
Q515
USER
Which city is the HQ of that university ?
(Q683580,P159,c(Q515))
action filter_type
action find
entity Q683580
relation P159
type Q515
['Q683580', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q683580 property:P159 ?a . ?a rdf:type ontology:Q515 }
Nanjing University
action filter_type
action find
entity Nanjing University
relation headquarters location
type city
['Nanjing University', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Nanjing_University property:headquarters_location ?a . ?a rdf:type ontology:city }
[]
city
Clarification for simple ques.
Q683580
SYSTEM
Did you mean Nanjing University ?
Q174570 Q683580 Q683580
(Q174570,P159,c(Q515)) (Q683580,P159,c(Q515)) (Q683580,P159,c(Q515))
[ANSWER]
['Q174570', 'P159', {'concept': 'Q515'}] ['Q683580', 'P159', {'concept': 'Q515'}] ['Q683580', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q683580 property:P159 ?a . ?a rdf:type ontology:Q515 }
London School of Economics Nanjing University Nanjing University
Did you mean Nanjing University ?
Nanjing University
['London School of Economics', 'headquarters location', {'concept': 'city'}] ['Nanjing University', 'headquarters location', {'concept': 'city'}] ['Nanjing University', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Nanjing_University property:headquarters_location ?a . ?a rdf:type ontology:city }
[]
Simple Question (Coreferenced)
USER
Yes
(Q683580,P159,c(Q515))
['Q683580', 'P159', {'concept': 'Q515'}]
['Nanjing University', 'headquarters location', {'concept': 'city'}]
[]
Q16666
SYSTEM
Nanjing
Q16666
(Q683580,P159,c(Q515))
action filter_type
action find
entity Q683580
relation P159
type Q515
[ANSWER] is the HQ of that university
['Q683580', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { resource:Q683580 property:P159 ?a . ?a rdf:type ontology:Q515 }
Nanjing
Nanjing is the HQ of that university
Nanjing
action filter_type
action find
entity Nanjing University
relation headquarters location
type city
['Nanjing University', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { resource:Nanjing_University property:headquarters_location ?a . ?a rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q13220204 Q515
USER
How many cities are center of administration for exactly 3 administrative territories or administrative country subdivisions ?
(c(Q515),P1376,c(Q15617994)|c(Q13220204))
action count
action equal
action union
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action find_tuple_counts
relation P1376
type Q515
type Q13220204
value 3
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { FILTER ( ?f = 3 ) . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } } GROUP BY ?o } }
action count
action equal
action union
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
value 3
[{'concept': 'city'}, 'capital of', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { FILTER ( ?f = 3 ) . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?o } }
[]
designation for an administrative territorial entity second-level administrative country subdivision city
SYSTEM
1
Q7003
(c(Q515),P1376,c(Q15617994)|c(Q13220204))
action count
action equal
action union
action find_tuple_counts
relation P1376
type Q515
type Q15617994
action find_tuple_counts
relation P1376
type Q515
type Q13220204
value 3
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q15617994'}, {'concept': 'Q13220204'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { FILTER ( ?f = 3 ) . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } } GROUP BY ?o } }
Dijon
1
action count
action equal
action union
action find_tuple_counts
relation capital of
type city
type designation for an administrative territorial entity
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
value 3
[{'concept': 'city'}, 'capital of', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { FILTER ( ?f = 3 ) . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?r . VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?o } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16666 Q31071
P47
Q20667921
USER
How many french administrative divisions are next to the border of Nanjing or Athies ?
(c(Q20667921),P47,Q16666) (c(Q20667921),P47,Q31071)
action count
action union
action filter_type
action find_reverse
entity Q16666
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q31071
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q16666'] [{'concept': 'Q20667921'}, 'P47', 'Q31071']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?u ) { ( resource:Q16666 ) ( resource:Q31071 ) } . ?i property:P47 ?u }
Nanjing Athies
action count
action union
action filter_type
action find_reverse
entity Nanjing
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Athies
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Nanjing'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Athies']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?u ) { ( resource:Nanjing ) ( resource:Athies ) } . ?i property:shares_border_with ?u }
[]
type of french administrative division
SYSTEM
7
Q629166 Q61760 Q1218032 Q82389 Q82023 Q643926 Q69068
(c(Q20667921),P47,Q16666) (c(Q20667921),P47,Q31071)
action count
action union
action filter_type
action find_reverse
entity Q16666
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q31071
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q16666'] [{'concept': 'Q20667921'}, 'P47', 'Q31071']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?u ) { ( resource:Q16666 ) ( resource:Q31071 ) } . ?i property:P47 ?u }
Quivières Croix-Moligneaux Saint-Christ-Briost Estrées-Mons Ennemain Brie Devise
7
action count
action union
action filter_type
action find_reverse
entity Nanjing
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Athies
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Nanjing'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Athies']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { VALUES ( ?u ) { ( resource:Nanjing ) ( resource:Athies ) } . ?i property:shares_border_with ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16666
P190
Q56061
USER
Which administrative territories are sister towns of that city ?
action filter_type
action find
entity Q16666
relation P190
type Q56061
SELECT DISTINCT ?m WHERE { resource:Q16666 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Nanjing
action filter_type
action find
entity Nanjing
relation sister city
type administrative territorial entity
SELECT DISTINCT ?m WHERE { resource:Nanjing property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044 Q38022 Q16557
SYSTEM
Florence, St. Louis, Dallas
Q38022 Q185632 Q61089 Q2044 Q16557
action filter_type
action find
entity Q16666
relation P190
type Q56061
[ANSWERS] are sister towns of that city
SELECT DISTINCT ?m WHERE { resource:Q16666 property:P190 ?m . ?m rdf:type ontology:Q56061 }
St. Louis Limassol Malacca City Florence Dallas
Florence, St. Louis and Dallas are sister towns of that city
Florence St. Louis Dallas
action filter_type
action find
entity Nanjing
relation sister city
type administrative territorial entity
SELECT DISTINCT ?m WHERE { resource:Nanjing property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]