Simple Question (Direct)
Simple Question
Q589497
P69
Q3918
USER
Which university is the alma mater of Dave Eggers ?
(Q589497,P69,c(Q3918))
action filter_type
action find
entity Q589497
relation P69
type Q3918
['Q589497', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q589497 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Dave Eggers
action filter_type
action find
entity Dave Eggers
relation educated at
type university
['Dave Eggers', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Dave_Eggers property:educated_at ?x . ?x rdf:type ontology:university }
[]
university
Q457281
SYSTEM
University of Illinois at Urbana–Champaign
Q457281
(Q589497,P69,c(Q3918))
action filter_type
action find
entity Q589497
relation P69
type Q3918
[ANSWER] is the alma mater of Dave Eggers
['Q589497', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q589497 property:P69 ?x . ?x rdf:type ontology:Q3918 }
University of Illinois at Urbana–Champaign
University of Illinois at Urbana–Champaign is the alma mater of Dave Eggers
University of Illinois at Urbana–Champaign
action filter_type
action find
entity Dave Eggers
relation educated at
type university
['Dave Eggers', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Dave_Eggers property:educated_at ?x . ?x rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q589497
P19
Q56061
USER
Where was Dave Eggers born ?
(Q589497,P19,c(Q56061))
action filter_type
action find
entity Q589497
relation P19
type Q56061
['Q589497', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q589497 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Dave Eggers
action filter_type
action find
entity Dave Eggers
relation place of birth
type administrative territorial entity
['Dave Eggers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Dave_Eggers property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q589497,P19,c(Q56061))
action filter_type
action find
entity Q589497
relation P19
type Q56061
Dave Eggers was born in [ANSWER]
['Q589497', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q589497 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Boston
Dave Eggers was born in Boston
Boston
action filter_type
action find
entity Dave Eggers
relation place of birth
type administrative territorial entity
['Dave Eggers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Dave_Eggers property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q100 Q6019752
P190
Q56061
USER
Is Indian, Ontario twin town of that one ?
(Q100,P190,Q6019752)
action is_in
entity Q6019752
action find
entity Q100
relation P190
['Q100', 'P190', 'Q6019752']
ASK WHERE { resource:Q100 property:P190 resource:Q6019752 }
Boston Indian, Ontario
action is_in
entity Indian, Ontario
action find
entity Boston
relation sister city
['Boston', 'sister city', 'Indian, Ontario']
ASK WHERE { resource:Boston property:sister_city resource:Indian,_Ontario }
[]
administrative territorial entity
SYSTEM
NO
(Q100,P190,Q6019752)
action is_in
entity Q6019752
action find
entity Q100
relation P190
[ANSWER]
['Q100', 'P190', 'Q6019752']
ASK WHERE { resource:Q100 property:P190 resource:Q6019752 }
No
action is_in
entity Indian, Ontario
action find
entity Boston
relation sister city
['Boston', 'sister city', 'Indian, Ontario']
ASK WHERE { resource:Boston property:sister_city resource:Indian,_Ontario }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q56061 Q12737077
USER
How many people are the names of the patron saint of atmost 2 administrative territories and occupations ?
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } . ?t rdf:type ?k } GROUP BY ?x } . FILTER ( ?p <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } . ?t rdf:type ?k } GROUP BY ?x } . FILTER ( ?p <= 2 ) }
[]
common name administrative territorial entity occupation
SYSTEM
305
Q2366998 Q453698 Q561838 Q380092 Q129674 Q229190 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q196653 Q560531 Q4161703 Q508214 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q44265 Q232453 Q58559 Q445357 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q56061)|c(Q12737077),P417,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } . ?t rdf:type ?k } GROUP BY ?x } . FILTER ( ?p <= 2 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Catherine of Siena Jude the Apostle Prisco di Nocera Saint Roch 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 Ambrose Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Fidelis of Como 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew 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 Saint Veronica Suitbert of Kaiserswerdt Dimitry Prilutsky Cyriacus Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla 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 Thomas the Apostle Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Benedict of Nursia Martha Leo IX Henry Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea 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 Jerome Saint Ninian Anthony of Apamea Elizabeth Ann Seton Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
305
action count
action atmost
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[[{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } . ?t rdf:type ?k } GROUP BY ?x } . FILTER ( ?p <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q100
P163
Q17335294
USER
Which coat of arms is associated with Boston ?
(Q100,P163,c(Q17335294))
action filter_type
action find
entity Q100
relation P163
type Q17335294
['Q100', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?j WHERE { resource:Q100 property:P163 ?j . ?j rdf:type ontology:Q17335294 }
Boston
action filter_type
action find
entity Boston
relation flag
type flag or coat of arms
['Boston', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?j WHERE { resource:Boston property:flag ?j . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q5456707
SYSTEM
flag of Boston
Q5456707
(Q100,P163,c(Q17335294))
action filter_type
action find
entity Q100
relation P163
type Q17335294
The [ANSWER] is associated with Boston
['Q100', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?j WHERE { resource:Q100 property:P163 ?j . ?j rdf:type ontology:Q17335294 }
flag of Boston
The flag of Boston is associated with Boston
flag of Boston
action filter_type
action find
entity Boston
relation flag
type flag or coat of arms
['Boston', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?j WHERE { resource:Boston property:flag ?j . ?j rdf:type ontology:flag_or_coat_of_arms }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P793
Q1190554 Q17335294
USER
Which events are atmost 61 coats of arms associated with ?
(c(Q17335294),P793,c(Q1190554))
action atmost
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q17335294
value 61
[{'concept': 'Q17335294'}, 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P793 ?m . ?m rdf:type ontology:Q1190554 . ?r rdf:type ontology:Q17335294 } GROUP BY ?m } . FILTER ( ?h <= 61 ) }
action atmost
action find_reverse_tuple_counts
relation significant event
type event
type flag or coat of arms
value 61
[{'concept': 'flag or coat of arms'}, 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:significant_event ?m . ?m rdf:type ontology:event . ?r rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?m } . FILTER ( ?h <= 61 ) }
[]
event flag or coat of arms
Q218678 Q254106 Q1638488
SYSTEM
North African Campaign, Crimean War, Battle of Monmouth
Q131297 Q14903979 Q201692 Q7114127 Q15829638 Q718605 Q635882 Q17986818 Q234132 Q188925 Q19866992 Q24478688 Q564388 Q15980725 Q180182 Q760089 Q2424544 Q1268733 Q365640 Q166495 Q1154390 Q1294303 Q1669285 Q1363768 Q2334719 Q2237633 Q6208645 Q384091 Q1267513 Q3289878 Q200056 Q1138460 Q18175787 Q1408770 Q186284 Q173077 Q2889160 Q1121532 Q5916 Q1274566 Q280868 Q385378 Q463206 Q1886703 Q1497011 Q850529 Q18603729 Q25517452 Q649727 Q5051574 Q600016 Q2026625 Q2238935 Q7642201 Q851504 Q179057 Q2890798 Q4602925 Q19841649 Q170400 Q168983 Q4872357 Q1840806 Q254106 Q258873 Q1150070 Q8016240 Q1362364 Q2343619 Q201676 Q700569 Q533034 Q327035 Q114953 Q4159143 Q1650581 Q849653 Q688308 Q15056768 Q205512 Q28545 Q20668205 Q2918584 Q21953089 Q4872697 Q1370468 Q1818072 Q204854 Q1157021 Q218678 Q126306 Q112016 Q683635 Q15921519 Q2890900 Q906018 Q555463 Q1313538 Q35140 Q21980597 Q617922 Q473853 Q1972070 Q610000 Q171558 Q2305019 Q27550425 Q18119757 Q15089703 Q1644792 Q5678097 Q19868482 Q16686346 Q1975665 Q6200334 Q2511359 Q16717192 Q22075993 Q744913 Q851304 Q2144402 Q476300 Q490812 Q223604 Q131386 Q7884274 Q376154 Q1055755 Q635028 Q324916 Q604897 Q1260622 Q4606339 Q2440191 Q4870505 Q4870504 Q4366849 Q1628304 Q946054 Q464980 Q2783811 Q18511800 Q93190 Q115105 Q4870896 Q15089689 Q16328520 Q19880899 Q2505574 Q1638488 Q647827 Q339052 Q702460 Q841440 Q663405
(c(Q17335294),P793,c(Q1190554))
action atmost
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q17335294
value 61
Atmost 61 coats of arms are associated with [ANSWERS]
[{'concept': 'Q17335294'}, 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P793 ?m . ?m rdf:type ontology:Q1190554 . ?r rdf:type ontology:Q17335294 } GROUP BY ?m } . FILTER ( ?h <= 61 ) }
Rwandan Genocide change of ownership Battle of Poitiers Battle of Kuuterselkä first run Martial law in Poland Battle of Black Jack imprisonment at Auschwitz concentration camp Hillsborough disaster Battles of Khalkhin Gol Obergefell v. Hodges Seznec Affair Defense of the Polish Post Office in Danzig Skirmish of Todos Santos Battle of Iwo Jima commission levee breach Battle of the Sabis Battle of Beaver Dams Catalonia Offensive academic tenure Edwards v Canada (Attorney General) Sack of Amorium fusion legal case Battle of Musgrove Mill Joe Biden presidential campaign, 1988 Battle of Mukden Battle of Vosges Battle of Curuzú Battle of Zama Battle of Annual Idi Amin Dada regime destitution hard disk drive failure Polish–Soviet War Battle of Tours Battle of Loon Lake Battle of Alcácer Quibir spaceflight Battle of the Arar Battle of Gergovia construction 2001 failed shoe bomb attempt Battle of Sulci communal reorganisation Betty and Barney Hill abduction dissolution of an administrative territorial entity battle of the Tollense River Sledgehammer catastrophic failure Battle of Jargeau Battle of Chains Slighting Super Bowl XLVI halftime show Battle of Vouillé explosion Battle of the Windmill 2004 Iranian seizure of Royal Navy personnel extension Battle of Kunersdorf conflagration Battle of Setauket delivery Crimean War Waco siege change trial maiden flight name change funeral Sinking of Prince of Wales and Repulse Battle of Westerplatte Battle of Gazala poisoning Battle of Someri building implosion Battle of Thapsus Swedish War of Liberation Major League Baseball debut Gaza flotilla raid teaching Battle of Brouwershaven (1490) relocation militia occupation of the Malheur National Wildlife Refuge Battle of Vrbanja bridge reconstruction MV Maersk Alabama première Battle of Białołęka North African Campaign Decembrist revolt Battle of the Persian Gate Wendish Crusade Trans-Atlantic flight of America Battle of the Faubourg St Antoine Battle of Great Bridge Battle at the Harzhorn Operation Maslenica performance Causeway Bay Books disappearances Battle of Wytyczno school shooting Battle of Lutetia Battle of the Grebbeberg accident Battle of Curupaity academic suspension invention Major League Baseball final game Battle of Lake Regillus United States v. Hasan K. Akbar destruction date of listing Ennoblement Siege of Pelium Assault on Nijmegen date of unveiling debut as an actor aviation accidents and incidents Looted art renovation competition coming into force Greco-Italian War Battle of Alesia unexplained disappearance Battle of Copenhagen Battle of Ilipa Battle of Bibracte Battle of Solferino Battle of Dien Bien Phu Battle of the Axona 2006 Hamas cross-border raid Battle of Liaoyang Battle of Bloody Creek Battle of Bloody Creek Battle of the Border Magetobria Burr–Hamilton duel exhibition Tarnak Farm incident split divorce Battle of Wogastisburg Battle of Dong Khe Major League Baseball initial signing trial of Oscar Pistorius Isabella Stewart Gardner Museum theft Ambiorix's revolt Battle of Monmouth Battle of Dennewitz Battle of Großbeeren Ministries Trial naturalization Battle of Zorndorf
Atmost 61 coats of arms are associated with North African Campaign, Crimean War and Battle of Monmouth
North African Campaign Crimean War Battle of Monmouth
action atmost
action find_reverse_tuple_counts
relation significant event
type event
type flag or coat of arms
value 61
[{'concept': 'flag or coat of arms'}, 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:significant_event ?m . ?m rdf:type ontology:event . ?r rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?m } . FILTER ( ?h <= 61 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q589497
P21
Q290
USER
Which sex does Dave Eggers belong to ?
(Q589497,P21,c(Q290))
action filter_type
action find
entity Q589497
relation P21
type Q290
['Q589497', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q589497 property:P21 ?h }
Dave Eggers
action filter_type
action find
entity Dave Eggers
relation gender
type sex
['Dave Eggers', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Dave_Eggers property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q589497,P21,c(Q290))
action filter_type
action find
entity Q589497
relation P21
type Q290
Dave Eggers belongs to [ANSWER]
['Q589497', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q589497 property:P21 ?h }
male
Dave Eggers belongs to male
male
action filter_type
action find
entity Dave Eggers
relation gender
type sex
['Dave Eggers', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Dave_Eggers property:gender ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21281244
Q290
USER
And what about Belemir?
(Q21281244,P21,c(Q290))
action filter_type
action find
entity Q21281244
relation P21
type Q290
['Q21281244', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q21281244 property:P21 ?m . ?m rdf:type ontology:Q290 }
Belemir
action filter_type
action find
entity Belemir
relation gender
type sex
['Belemir', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Belemir property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21281244,P21,c(Q290))
action filter_type
action find
entity Q21281244
relation P21
type Q290
[ANSWER]
['Q21281244', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q21281244 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Belemir
relation gender
type sex
['Belemir', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Belemir property:gender ?m . ?m rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7304839 Q100
P190 P159
Q515
USER
Which cities are partner towns of Boston or are the head office for Red River College located ?
OR((Q100,P190,c(Q515)), (Q7304839,P159,c(Q515)))
action filter_type
action union
action find
entity Q100
relation P190
action find
entity Q7304839
relation P159
type Q515
{'OR': [['Q100', 'P190', {'concept': 'Q515'}], ['Q7304839', 'P159', {'concept': 'Q515'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q100 property:P190 ?o } UNION { resource:Q7304839 property:P159 ?o } } . ?o rdf:type ontology:Q515 }
Red River College Boston
action filter_type
action union
action find
entity Boston
relation sister city
action find
entity Red River College
relation headquarters location
type city
{'OR': [['Boston', 'sister city', {'concept': 'city'}], ['Red River College', 'headquarters location', {'concept': 'city'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Boston property:sister_city ?o } UNION { resource:Red_River_College property:headquarters_location ?o } } . ?o rdf:type ontology:city }
[]
city
Q243293 Q6602 Q2135
SYSTEM
Sekondi-Takoradi, Strasbourg, Winnipeg
Q243293 Q6602 Q2135
OR((Q100,P190,c(Q515)), (Q7304839,P159,c(Q515)))
action filter_type
action union
action find
entity Q100
relation P190
action find
entity Q7304839
relation P159
type Q515
[ANSWERS] are partner towns of Boston or are the head office for Red River College located
{'OR': [['Q100', 'P190', {'concept': 'Q515'}], ['Q7304839', 'P159', {'concept': 'Q515'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q100 property:P190 ?o } UNION { resource:Q7304839 property:P159 ?o } } . ?o rdf:type ontology:Q515 }
Sekondi-Takoradi Strasbourg Winnipeg
Sekondi-Takoradi, Strasbourg and Winnipeg are partner towns of Boston or are the head office for Red River College located
Sekondi-Takoradi Strasbourg Winnipeg
action filter_type
action union
action find
entity Boston
relation sister city
action find
entity Red River College
relation headquarters location
type city
{'OR': [['Boston', 'sister city', {'concept': 'city'}], ['Red River College', 'headquarters location', {'concept': 'city'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Boston property:sister_city ?o } UNION { resource:Red_River_College property:headquarters_location ?o } } . ?o rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q243293 Q6602 Q2135
P190
Q515
USER
Which cities are sister towns of those ones ?
(Q243293,P190,c(Q515)) (Q6602,P190,c(Q515)) (Q2135,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
['Q243293', 'P190', {'concept': 'Q515'}] ['Q6602', 'P190', {'concept': 'Q515'}] ['Q2135', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { ?u property:P190 ?h . ?h rdf:type ontology:Q515 . VALUES ( ?u ) { ( resource:Q243293 ) ( resource:Q6602 ) ( resource:Q2135 ) } }
Sekondi-Takoradi Strasbourg Winnipeg
action filter_type
action find
entity prev_answer
relation sister city
type city
['Sekondi-Takoradi', 'sister city', {'concept': 'city'}] ['Strasbourg', 'sister city', {'concept': 'city'}] ['Winnipeg', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { ?u property:sister_city ?h . ?h rdf:type ontology:city . VALUES ( ?u ) { ( resource:Sekondi-Takoradi ) ( resource:Strasbourg ) ( resource:Winnipeg ) } }
[]
city
Q17042 Q1731 Q1461
SYSTEM
Oakland, Dresden, Manila
Q17042 Q1731 Q1461
(Q243293,P190,c(Q515)) (Q6602,P190,c(Q515)) (Q2135,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
[ANSWERS] are sister towns of those ones
['Q243293', 'P190', {'concept': 'Q515'}] ['Q6602', 'P190', {'concept': 'Q515'}] ['Q2135', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { ?u property:P190 ?h . ?h rdf:type ontology:Q515 . VALUES ( ?u ) { ( resource:Q243293 ) ( resource:Q6602 ) ( resource:Q2135 ) } }
Oakland Dresden Manila
Oakland, Dresden and Manila are sister towns of those ones
Oakland Dresden Manila
action filter_type
action find
entity prev_answer
relation sister city
type city
['Sekondi-Takoradi', 'sister city', {'concept': 'city'}] ['Strasbourg', 'sister city', {'concept': 'city'}] ['Winnipeg', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { ?u property:sister_city ?h . ?h rdf:type ontology:city . VALUES ( ?u ) { ( resource:Sekondi-Takoradi ) ( resource:Strasbourg ) ( resource:Winnipeg ) } }
[]