Simple Question (Direct)
Simple Question
Q3131446
P463
Q874405
USER
Which social group had Henri Le Masson as its member ?
(Q3131446,P463,c(Q874405))
action filter_type
action find
entity Q3131446
relation P463
type Q874405
['Q3131446', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q874405 . resource:Q3131446 property:P463 ?u }
Henri Le Masson
action filter_type
action find
entity Henri Le Masson
relation member of
type social group
['Henri Le Masson', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:social_group . resource:Henri_Le_Masson property:member_of ?u }
[]
social group
Q2822350
SYSTEM
Académie de Marine
Q2822350
(Q3131446,P463,c(Q874405))
action filter_type
action find
entity Q3131446
relation P463
type Q874405
[ANSWER] had Henri Le Masson as its member
['Q3131446', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q874405 . resource:Q3131446 property:P463 ?u }
Académie de Marine
Académie de Marine had Henri Le Masson as its member
Académie de Marine
action filter_type
action find
entity Henri Le Masson
relation member of
type social group
['Henri Le Masson', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:social_group . resource:Henri_Le_Masson property:member_of ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3131446
P166
Q618779
USER
What was awarded to that person ?
(Q2822350,P166,c(Q618779))
action filter_type
action find
entity Q3131446
relation P166
type Q618779
['Q2822350', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q3131446 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Henri Le Masson
action filter_type
action find
entity Henri Le Masson
relation award received
type award
['Académie de Marine', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Henri_Le_Masson property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q10855195
SYSTEM
Officer of the Legion of Honour
Q10855195
(Q2822350,P166,c(Q618779))
action filter_type
action find
entity Q3131446
relation P166
type Q618779
France [ANSWER] was awarded to that person
['Q2822350', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q3131446 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Officer of the Legion of Honour
France Officer of the Legion of Honour was awarded to that person
Officer of the Legion of Honour
action filter_type
action find
entity Henri Le Masson
relation award received
type award
['Académie de Marine', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Henri_Le_Masson property:award_received ?e . ?e rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15416 Q2342494 Q502895
USER
How many people are present in atmost 4 television programs or collectables ?
(c(Q502895),P1441,c(Q15416)|c(Q2342494))
action count
action atmost
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 4
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?m WHERE { { ?m property:P1441 ?t . ?t rdf:type ontology:Q15416 . ?m rdf:type ontology:Q502895 } UNION { ?m property:P1441 ?t . ?m rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } } GROUP BY ?m } . FILTER ( ?e <= 4 ) }
action count
action atmost
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type collectable
value 4
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?m WHERE { { ?m property:present_in_work ?t . ?t rdf:type ontology:television_program . ?m rdf:type ontology:common_name } UNION { ?m property:present_in_work ?t . ?m rdf:type ontology:common_name . ?t rdf:type ontology:collectable } } GROUP BY ?m } . FILTER ( ?e <= 4 ) }
[]
television program collectable common name
SYSTEM
290
Q41863 Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q1143157 Q4430779 Q1341397 Q249381 Q232525 Q194064 Q240258 Q24579400 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q24624067 Q4057937 Q214648 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q18699312 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q24577230 Q1938388 Q2040793 Q494455 Q673959 Q185801 Q6239779 Q125102 Q34428 Q2033697 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q311556 Q1353836 Q294192 Q19975705 Q560559 Q807236 Q25885222 Q1867479 Q134646 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q9077 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3778878 Q3774081 Q1403627 Q1133523 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q1133337 Q41370 Q200637 Q2124082 Q3259530 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q315276 Q946939 Q888890 Q3148218 Q24577318 Q515828 Q24625326 Q1771358 Q25858050 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q3745274 Q3867479 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q1093885 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q3010053 Q550255 Q889694 Q1851709 Q8027483 Q816397 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q2038223 Q1377025 Q2276030 Q264699 Q313415 Q270438 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q1341779 Q37085 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q2304442 Q8581 Q2651263 Q1542853 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q184273 Q107626 Q205365 Q32295 Q24633126 Q477527 Q1091513 Q3658171 Q2601106 Q18699310 Q62788 Q4804479 Q26721185 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q24623790 Q2296791 Q200947 Q24083251 Q262766 Q9181 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q312311 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q169329 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q302322 Q308320 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q1030008 Q26858995 Q2487300 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q15416)|c(Q2342494))
action count
action atmost
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
value 4
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?m WHERE { { ?m property:P1441 ?t . ?t rdf:type ontology:Q15416 . ?m rdf:type ontology:Q502895 } UNION { ?m property:P1441 ?t . ?m rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2342494 } } GROUP BY ?m } . FILTER ( ?e <= 4 ) }
Halga Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Jair Immanuel Michal Markandeya Theodelinda Ezekiel Olof Björnsson Jebidiah Farnsworth Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Bea Hansen Adoniram Samson Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Jacob Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Mikhail Kutuzov John Hooper Necho II Philip Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Guy of Lusignan Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain Boniface VIII Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Moses Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Guglielmo Borsiere Gracianus Municeps Hrethel Jephthah Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Loretta Jones Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Agilulf Phut Nahor Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Salomon Helen Kingsleigh Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Filippo Minutolo Musciatto Franzesi Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Salammbô Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Hathi Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel Céleste de Chateaubriand J. William Fulbright Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Amminadab Bharata Archmail Wil Wheaton Asa of Judah Charles of Valois Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Kai Lohrasp Solomon Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Buonamico Buffalmacco Jehoahaz of Judah Authari Nadabe Coel Hen Saladin Trahern Alphaeus Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Zedekiah Seth Cain Michael J. Massimino Donald Bangs Amram Son of Gorbonianus Phiona Mutesi Rukmi Matthan Jethro Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Junia Abraham Beldgabred Belshazzar Magnus Maximus Elizabeth Ham Josiah Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Conrad of Montferrat Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Calandrino Abdon Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Tamar Aloysius Kyazze Cunedda Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Ham Balaam Hope Katende Ahijah the Shilonite Marius of Britain Baruch ben Neriah John of Procida Judah Amaziah of Judah
290
action count
action atmost
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type collectable
value 4
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?m WHERE { { ?m property:present_in_work ?t . ?t rdf:type ontology:television_program . ?m rdf:type ontology:common_name } UNION { ?m property:present_in_work ?t . ?m rdf:type ontology:common_name . ?t rdf:type ontology:collectable } } GROUP BY ?m } . FILTER ( ?e <= 4 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q10855226 Q10855195
P166
Q502895
USER
Which people were honoured with Officer of the Legion of Honour and Grand Cross of the Legion of Honour ?
AND((c(Q502895),P166,Q10855195), (c(Q502895),P166,Q10855226))
action filter_type
action intersection
action find_reverse
entity Q10855195
relation P166
action find_reverse
entity Q10855226
relation P166
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q10855195'], [{'concept': 'Q502895'}, 'P166', 'Q10855226']]}
SELECT DISTINCT ?f WHERE { ?f property:P166 resource:Q10855195 . ?f property:P166 resource:Q10855226 . ?f rdf:type ontology:Q502895 }
Grand Cross of the Legion of Honour Officer of the Legion of Honour
action filter_type
action intersection
action find_reverse
entity Officer of the Legion of Honour
relation award received
action find_reverse
entity Grand Cross of the Legion of Honour
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Officer of the Legion of Honour'], [{'concept': 'common name'}, 'award received', 'Grand Cross of the Legion of Honour']]}
SELECT DISTINCT ?f WHERE { ?f property:award_received resource:Officer_of_the_Legion_of_Honour . ?f property:award_received resource:Grand_Cross_of_the_Legion_of_Honour . ?f rdf:type ontology:common_name }
[]
common name
Q250034 Q12792288 Q158838 Q150445 Q3121284 Q198644 Q5721 Q725621 Q2958627 Q2976800
SYSTEM
Some of them are Albert Cambriels, Jean Breuillac, Patrice de Mac-Mahon, Duke of Magenta, Camille Saint-Saëns, Gustave Paul Lacapelle, Paul Bourget, Philippe Pétain, Charles Lanrezac, Charles Théodore Brécard, Claude-Marius Vaïsse
Q3121284 Q2958627 Q5721 Q18168523 Q20725556 Q262812 Q2615602 Q44119 Q198644 Q2976800 Q250034 Q1471976 Q12798750 Q12792288 Q20202974 Q209181 Q158838 Q42156 Q150445 Q725621
AND((c(Q502895),P166,Q10855195), (c(Q502895),P166,Q10855226))
action filter_type
action intersection
action find_reverse
entity Q10855195
relation P166
action find_reverse
entity Q10855226
relation P166
type Q502895
[ANSWERS] were honoured with Officer of the Legion of Honour and Grand Cross of the Legion of Honour
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q10855195'], [{'concept': 'Q502895'}, 'P166', 'Q10855226']]}
SELECT DISTINCT ?f WHERE { ?f property:P166 resource:Q10855195 . ?f property:P166 resource:Q10855226 . ?f rdf:type ontology:Q502895 }
Gustave Paul Lacapelle Charles Théodore Brécard Philippe Pétain Gaud-Amable Hugon Louis-Charles-Georges-Jules Lafont Charles Oudinot Jean-Baptiste Claude Eugène Guillaume François de Chabaud-Latour Paul Bourget Claude-Marius Vaïsse Albert Cambriels Jacques Servier Philippe Touchard Jean Breuillac Philippe Maurin Paul Pau Patrice de Mac-Mahon, Duke of Magenta Henri Bergson Camille Saint-Saëns Charles Lanrezac
Albert Cambriels, Jean Breuillac, Patrice de Mac-Mahon, Duke of Magenta, Camille Saint-Saëns, Gustave Paul Lacapelle, Paul Bourget, Philippe Pétain, Charles Lanrezac, Charles Théodore Brécard and Claude-Marius Vaïsse were honoured with Officer of the Legion of Honour and Grand Cross of the Legion of Honour
Albert Cambriels Jean Breuillac Patrice de Mac-Mahon, Duke of Magenta Camille Saint-Saëns Gustave Paul Lacapelle Paul Bourget Philippe Pétain Charles Lanrezac Charles Théodore Brécard Claude-Marius Vaïsse
action filter_type
action intersection
action find_reverse
entity Officer of the Legion of Honour
relation award received
action find_reverse
entity Grand Cross of the Legion of Honour
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Officer of the Legion of Honour'], [{'concept': 'common name'}, 'award received', 'Grand Cross of the Legion of Honour']]}
SELECT DISTINCT ?f WHERE { ?f property:award_received resource:Officer_of_the_Legion_of_Honour . ?f property:award_received resource:Grand_Cross_of_the_Legion_of_Honour . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q55761 Q2958627
P166
Q618779
USER
Which awards were received by Charles Théodore Brécard or Irena Kwiatkowska ?
OR((Q2958627,P166,c(Q618779)), (Q55761,P166,c(Q618779)))
action filter_type
action union
action find
entity Q2958627
relation P166
action find
entity Q55761
relation P166
type Q618779
{'OR': [['Q2958627', 'P166', {'concept': 'Q618779'}], ['Q55761', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q2958627 property:P166 ?i } UNION { resource:Q55761 property:P166 ?i } } . ?i rdf:type ontology:Q618779 }
Irena Kwiatkowska Charles Théodore Brécard
action filter_type
action union
action find
entity Charles Théodore Brécard
relation award received
action find
entity Irena Kwiatkowska
relation award received
type award
{'OR': [['Charles Théodore Brécard', 'award received', {'concept': 'award'}], ['Irena Kwiatkowska', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Charles_Théodore_Brécard property:award_received ?i } UNION { resource:Irena_Kwiatkowska property:award_received ?i } } . ?i rdf:type ontology:award }
[]
award
Q506369 Q6805076 Q2727598 Q48915 Q1702885 Q10855195 Q26126 Q15715250 Q10855271
SYSTEM
Order of the Bath, Medal of the 10th Anniversary of People's Poland, Croix de guerre 1914–1918, Croix de guerre, Medal for Merit to Culture, Officer of the Legion of Honour, Order of Leopold, Knight of the Order of Polonia Restituta, Knight of the Legion of Honour
Q506369 Q6805076 Q2727598 Q48915 Q1702885 Q10855195 Q26126 Q15715250 Q10855271
OR((Q2958627,P166,c(Q618779)), (Q55761,P166,c(Q618779)))
action filter_type
action union
action find
entity Q2958627
relation P166
action find
entity Q55761
relation P166
type Q618779
[ANSWERS] were received by Charles Théodore Brécard or Irena Kwiatkowska
{'OR': [['Q2958627', 'P166', {'concept': 'Q618779'}], ['Q55761', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q2958627 property:P166 ?i } UNION { resource:Q55761 property:P166 ?i } } . ?i rdf:type ontology:Q618779 }
Order of the Bath Medal of the 10th Anniversary of People's Poland Croix de guerre 1914–1918 Croix de guerre Medal for Merit to Culture Officer of the Legion of Honour Order of Leopold Knight of the Order of Polonia Restituta Knight of the Legion of Honour
Order of the Bath, Medal of the 10th Anniversary of People's Poland, Croix de guerre 1914–1918, Croix de guerre, Medal for Merit to Culture, Officer of the Legion of Honour, Order of Leopold, Knight of the Order of Polonia Restituta and Knight of the Legion of Honour were received by Charles Théodore Brécard or Irena Kwiatkowska
Order of the Bath Medal of the 10th Anniversary of People's Poland Croix de guerre 1914–1918 Croix de guerre Medal for Merit to Culture Officer of the Legion of Honour Order of Leopold Knight of the Order of Polonia Restituta Knight of the Legion of Honour
action filter_type
action union
action find
entity Charles Théodore Brécard
relation award received
action find
entity Irena Kwiatkowska
relation award received
type award
{'OR': [['Charles Théodore Brécard', 'award received', {'concept': 'award'}], ['Irena Kwiatkowska', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Charles_Théodore_Brécard property:award_received ?i } UNION { resource:Irena_Kwiatkowska property:award_received ?i } } . ?i rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5208464 Q1702885
P17
Q15617994
USER
Which administrative territories are Medal for Merit to Culture or Dagara, Baleswar situated in ?
OR((Q1702885,P17,c(Q15617994)), (Q5208464,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1702885
relation P17
action find
entity Q5208464
relation P17
type Q15617994
{'OR': [['Q1702885', 'P17', {'concept': 'Q15617994'}], ['Q5208464', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { ?z property:P17 ?f . VALUES ( ?z ) { ( resource:Q1702885 ) ( resource:Q5208464 ) } } }
Dagara, Baleswar Medal for Merit to Culture
action filter_type
action union
action find
entity Medal for Merit to Culture
relation country
action find
entity Dagara, Baleswar
relation country
type designation for an administrative territorial entity
{'OR': [['Medal for Merit to Culture', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dagara, Baleswar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?z property:country ?f . VALUES ( ?z ) { ( resource:Medal_for_Merit_to_Culture ) ( resource:Dagara,_Baleswar ) } } }
[]
designation for an administrative territorial entity
Q36 Q668
SYSTEM
Poland, India
Q36 Q668
OR((Q1702885,P17,c(Q15617994)), (Q5208464,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1702885
relation P17
action find
entity Q5208464
relation P17
type Q15617994
[ANSWERS] are Medal for Merit to Culture or Dagara, Baleswar situated in
{'OR': [['Q1702885', 'P17', {'concept': 'Q15617994'}], ['Q5208464', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { ?z property:P17 ?f . VALUES ( ?z ) { ( resource:Q1702885 ) ( resource:Q5208464 ) } } }
Poland India
Poland and India are Medal for Merit to Culture or Dagara, Baleswar situated in
Poland India
action filter_type
action union
action find
entity Medal for Merit to Culture
relation country
action find
entity Dagara, Baleswar
relation country
type designation for an administrative territorial entity
{'OR': [['Medal for Merit to Culture', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dagara, Baleswar', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?z property:country ?f . VALUES ( ?z ) { ( resource:Medal_for_Merit_to_Culture ) ( resource:Dagara,_Baleswar ) } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q278312 Q10855271
P47 P17
Q15617994
USER
Which administrative territories are Knight of the Legion of Honour situated in or share the border with Vilshofen an der Donau ?
OR((Q10855271,P17,c(Q15617994)), (Q278312,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q10855271
relation P17
action find
entity Q278312
relation P47
type Q15617994
{'OR': [['Q10855271', 'P17', {'concept': 'Q15617994'}], ['Q278312', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q10855271 property:P17 ?d } UNION { resource:Q278312 property:P47 ?d } } . ?d rdf:type ontology:Q15617994 }
Vilshofen an der Donau Knight of the Legion of Honour
action filter_type
action union
action find
entity Knight of the Legion of Honour
relation country
action find
entity Vilshofen an der Donau
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Knight of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Vilshofen an der Donau', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Knight_of_the_Legion_of_Honour property:country ?d } UNION { resource:Vilshofen_an_der_Donau property:shares_border_with ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q256810 Q504443 Q266785 Q530456 Q533019 Q264999 Q279246
SYSTEM
France, Fürstenzell, Windorf, Künzing, Hofkirchen, Beutelsbach, Ortenburg, Aldersbach
Q142 Q256810 Q504443 Q266785 Q530456 Q533019 Q264999 Q279246
OR((Q10855271,P17,c(Q15617994)), (Q278312,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q10855271
relation P17
action find
entity Q278312
relation P47
type Q15617994
[ANSWERS] are Knight of the Legion of Honour situated in or share the border with Vilshofen an der Donau
{'OR': [['Q10855271', 'P17', {'concept': 'Q15617994'}], ['Q278312', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q10855271 property:P17 ?d } UNION { resource:Q278312 property:P47 ?d } } . ?d rdf:type ontology:Q15617994 }
France Fürstenzell Windorf Künzing Hofkirchen Beutelsbach Ortenburg Aldersbach
France, Fürstenzell, Windorf, Künzing, Hofkirchen, Beutelsbach, Ortenburg and Aldersbach are Knight of the Legion of Honour situated in or share the border with Vilshofen an der Donau
France Fürstenzell Windorf Künzing Hofkirchen Beutelsbach Ortenburg Aldersbach
action filter_type
action union
action find
entity Knight of the Legion of Honour
relation country
action find
entity Vilshofen an der Donau
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Knight of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Vilshofen an der Donau', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Knight_of_the_Legion_of_Honour property:country ?d } UNION { resource:Vilshofen_an_der_Donau property:shares_border_with ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q142 Q256810 Q504443 Q266785 Q530456 Q533019 Q264999 Q279246
P47
Q15617994
USER
Which administrative territories are bordered by France, Fürstenzell, Windorf, Künzing, Hofkirchen, Beutelsbach, Ortenburg and Aldersbach ?
(Q142,P47,c(Q15617994)) (Q256810,P47,c(Q15617994)) (Q504443,P47,c(Q15617994)) (Q266785,P47,c(Q15617994)) (Q530456,P47,c(Q15617994)) (Q533019,P47,c(Q15617994)) (Q264999,P47,c(Q15617994)) (Q279246,P47,c(Q15617994))
action union
action filter_type
action find
entity Q142
relation P47
type Q15617994
action filter_type
action find
entity Q256810
relation P47
type Q15617994
action filter_type
action find
entity Q504443
relation P47
type Q15617994
action filter_type
action find
entity Q266785
relation P47
type Q15617994
action filter_type
action find
entity Q530456
relation P47
type Q15617994
action filter_type
action find
entity Q533019
relation P47
type Q15617994
action filter_type
action find
entity Q264999
relation P47
type Q15617994
action filter_type
action find
entity Q279246
relation P47
type Q15617994
['Q142', 'P47', {'concept': 'Q15617994'}] ['Q256810', 'P47', {'concept': 'Q15617994'}] ['Q504443', 'P47', {'concept': 'Q15617994'}] ['Q266785', 'P47', {'concept': 'Q15617994'}] ['Q530456', 'P47', {'concept': 'Q15617994'}] ['Q533019', 'P47', {'concept': 'Q15617994'}] ['Q264999', 'P47', {'concept': 'Q15617994'}] ['Q279246', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?h ) { ( resource:Q142 ) ( resource:Q256810 ) } . ?h property:P47 ?j }
France Fürstenzell Windorf Künzing Hofkirchen Beutelsbach Ortenburg Aldersbach
action union
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Fürstenzell
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Windorf
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Künzing
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Hofkirchen
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Beutelsbach
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Ortenburg
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Aldersbach
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Fürstenzell', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Windorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Künzing', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Hofkirchen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Beutelsbach', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ortenburg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Aldersbach', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?h ) { ( resource:France ) ( resource:Fürstenzell ) } . ?h property:shares_border_with ?j }
[]
designation for an administrative territorial entity
Q38 Q155 Q145
SYSTEM
Italy, Brazil, United Kingdom
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38 Q278312 Q303923 Q264999 Q506258 Q311173 Q259111 Q517872 Q530456 Q278312 Q279246 Q278312 Q505092 Q503156 Q530456 Q504443 Q266785 Q311173 Q425952 Q278312 Q505092 Q254501 Q264999 Q278312 Q261515 Q279246 Q529310 Q256810 Q253284 Q533019 Q278312 Q303923 Q261515 Q266785 Q254501 Q503156 Q533019 Q581574 Q278312 Q553798
(Q142,P47,c(Q15617994)) (Q256810,P47,c(Q15617994)) (Q504443,P47,c(Q15617994)) (Q266785,P47,c(Q15617994)) (Q530456,P47,c(Q15617994)) (Q533019,P47,c(Q15617994)) (Q264999,P47,c(Q15617994)) (Q279246,P47,c(Q15617994))
action union
action filter_type
action find
entity Q142
relation P47
type Q15617994
action filter_type
action find
entity Q256810
relation P47
type Q15617994
action filter_type
action find
entity Q504443
relation P47
type Q15617994
action filter_type
action find
entity Q266785
relation P47
type Q15617994
action filter_type
action find
entity Q530456
relation P47
type Q15617994
action filter_type
action find
entity Q533019
relation P47
type Q15617994
action filter_type
action find
entity Q264999
relation P47
type Q15617994
action filter_type
action find
entity Q279246
relation P47
type Q15617994
[ANSWERS] are bordered by France, Fürstenzell, Windorf, Künzing, Hofkirchen, Beutelsbach, Ortenburg and Aldersbach
['Q142', 'P47', {'concept': 'Q15617994'}] ['Q256810', 'P47', {'concept': 'Q15617994'}] ['Q504443', 'P47', {'concept': 'Q15617994'}] ['Q266785', 'P47', {'concept': 'Q15617994'}] ['Q530456', 'P47', {'concept': 'Q15617994'}] ['Q533019', 'P47', {'concept': 'Q15617994'}] ['Q264999', 'P47', {'concept': 'Q15617994'}] ['Q279246', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?h ) { ( resource:Q142 ) ( resource:Q256810 ) } . ?h property:P47 ?j }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy Vilshofen an der Donau Ruhstorf an der Rott Ortenburg Neuburg am Inn Eging am See Aicha vorm Wald Tiefenbach Hofkirchen Vilshofen an der Donau Aldersbach Vilshofen an der Donau Winzer Osterhofen Hofkirchen Windorf Künzing Eging am See Iggensbach Vilshofen an der Donau Winzer Aidenbach Ortenburg Vilshofen an der Donau Haarbach Aldersbach Egglham Fürstenzell Bad Griesbach Beutelsbach Vilshofen an der Donau Ruhstorf an der Rott Haarbach Künzing Aidenbach Osterhofen Beutelsbach Roßbach Vilshofen an der Donau Johanniskirchen
Italy, Brazil and United Kingdom are bordered by France, Fürstenzell, Windorf, Künzing, Hofkirchen, Beutelsbach, Ortenburg and Aldersbach
Italy Brazil United Kingdom
action union
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Fürstenzell
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Windorf
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Künzing
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Hofkirchen
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Beutelsbach
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Ortenburg
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Aldersbach
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Fürstenzell', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Windorf', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Künzing', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Hofkirchen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Beutelsbach', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ortenburg', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Aldersbach', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?h ) { ( resource:France ) ( resource:Fürstenzell ) } . ?h property:shares_border_with ?j }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q145
P30
Q2221906
USER
Which geographic locations are Italy, Brazil and United Kingdom located in ?
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q145,P30,c(Q2221906))
action union
action filter_type
action find
entity Q38
relation P30
type Q2221906
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q145
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { { resource:Q38 property:P30 ?c . ?c rdf:type ontology:Q2221906 } UNION { ?c rdf:type ontology:Q2221906 . resource:Q155 property:P30 ?c } }
Italy Brazil United Kingdom
action union
action filter_type
action find
entity Italy
relation continent
type geographic location
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { { resource:Italy property:continent ?c . ?c rdf:type ontology:geographic_location } UNION { ?c rdf:type ontology:geographic_location . resource:Brazil property:continent ?c } }
[]
geographic location
Q46 Q18 Q46
SYSTEM
Europe for 1st, 3rd, South America for 2nd
Q46 Q18 Q46
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q145,P30,c(Q2221906))
action union
action filter_type
action find
entity Q38
relation P30
type Q2221906
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q145
relation P30
type Q2221906
[ANSWERS]
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { { resource:Q38 property:P30 ?c . ?c rdf:type ontology:Q2221906 } UNION { ?c rdf:type ontology:Q2221906 . resource:Q155 property:P30 ?c } }
Europe South America Europe
Italy , Brazil and United Kingdom are located in Europe, South America and Europe
Europe South America Europe
action union
action filter_type
action find
entity Italy
relation continent
type geographic location
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { { resource:Italy property:continent ?c . ?c rdf:type ontology:geographic_location } UNION { ?c rdf:type ontology:geographic_location . resource:Brazil property:continent ?c } }
[]