Simple Question (Direct)
Simple Question
Q1079607
P102
Q7210356
USER
Which party is Fritz Göttisheim affiliated with ?
(Q1079607,P102,c(Q7210356))
action filter_type
action find
entity Q1079607
relation P102
type Q7210356
['Q1079607', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q1079607 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Fritz Göttisheim
action filter_type
action find
entity Fritz Göttisheim
relation member of political party
type political organization
['Fritz Göttisheim', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Fritz_Göttisheim property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q13850128
SYSTEM
Free Democratic Party of Switzerland
Q13850128
(Q1079607,P102,c(Q7210356))
action filter_type
action find
entity Q1079607
relation P102
type Q7210356
Fritz Göttisheim is affiliated with [ANSWER]
['Q1079607', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q1079607 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Free Democratic Party of Switzerland
Fritz Göttisheim is affiliated with Free Democratic Party of Switzerland
Free Democratic Party of Switzerland
action filter_type
action find
entity Fritz Göttisheim
relation member of political party
type political organization
['Fritz Göttisheim', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Fritz_Göttisheim property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q15619164 Q838948
USER
Which people inspired approximately 1 abstract beings or works of art ?
(c(Q15619164)|c(Q838948),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
value 1
[[{'concept': 'Q15619164'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?g ) WHERE { { ?w property:P941 ?l . ?l rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15619164 } UNION { ?w property:P941 ?l . ?l rdf:type ontology:Q502895 . ?w rdf:type ontology:Q838948 } } GROUP BY ?l } . FILTER ( ?g = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
value 1
[[{'concept': 'abstract being'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?g ) WHERE { { ?w property:inspired_by ?l . ?l rdf:type ontology:common_name . ?w rdf:type ontology:abstract_being } UNION { ?w property:inspired_by ?l . ?l rdf:type ontology:common_name . ?w rdf:type ontology:work_of_art } } GROUP BY ?l } . FILTER ( ?g = 1 ) }
[]
common name abstract being work of art
Q483512 Q3385369 Q367447
SYSTEM
Isadora Duncan, Pierre Guillaume, Louis Prima
Q19738291 Q302650 Q531161 Q43715 Q5534471 Q947525 Q357951 Q79031 Q483512 Q229432 Q367447 Q550426 Q205365 Q192222 Q3385369
(c(Q15619164)|c(Q838948),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
value 1
[ANSWERS] inspired approximately 1 abstract beings or works of art
[[{'concept': 'Q15619164'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?g ) WHERE { { ?w property:P941 ?l . ?l rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15619164 } UNION { ?w property:P941 ?l . ?l rdf:type ontology:Q502895 . ?w rdf:type ontology:Q838948 } } GROUP BY ?l } . FILTER ( ?g = 1 ) }
Walter O'Brien Tate Donovan Elizabeth Kenny Vlad Tepes Geoffrey Bowers Robert Gant Mehran Karimi Nasseri Mike Tyson Isadora Duncan Lucretia Louis Prima Jeffrey Katzenberg Cain Lysippos Pierre Guillaume
Isadora Duncan, Pierre Guillaume and Louis Prima inspired approximately 1 abstract beings or works of art
Isadora Duncan Pierre Guillaume Louis Prima
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type abstract being
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
value 1
[[{'concept': 'abstract being'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?g ) WHERE { { ?w property:inspired_by ?l . ?l rdf:type ontology:common_name . ?w rdf:type ontology:abstract_being } UNION { ?w property:inspired_by ?l . ?l rdf:type ontology:common_name . ?w rdf:type ontology:work_of_art } } GROUP BY ?l } . FILTER ( ?g = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q494627 Q1079607
P47 P27
Q15617994
USER
Which administrative territories do Fritz Göttisheim belong to or are bordered by Ruhla ?
OR((Q1079607,P27,c(Q15617994)), (Q494627,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1079607
relation P27
action find
entity Q494627
relation P47
type Q15617994
{'OR': [['Q1079607', 'P27', {'concept': 'Q15617994'}], ['Q494627', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q1079607 property:P27 ?d } UNION { resource:Q494627 property:P47 ?d } } }
Ruhla Fritz Göttisheim
action filter_type
action union
action find
entity Fritz Göttisheim
relation country of citizenship
action find
entity Ruhla
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Fritz Göttisheim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ruhla', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Fritz_Göttisheim property:country_of_citizenship ?d } UNION { resource:Ruhla property:shares_border_with ?d } } }
[]
designation for an administrative territorial entity
Q530225 Q659146 Q634956 Q634918 Q506743 Q818894 Q39
SYSTEM
Bad Liebenstein, Wutha-Farnroda, Moorgrund, Marksuhl, Waltershausen, Seebach, Switzerland
Q530225 Q659146 Q634956 Q634918 Q506743 Q818894 Q39
OR((Q1079607,P27,c(Q15617994)), (Q494627,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1079607
relation P27
action find
entity Q494627
relation P47
type Q15617994
Fritz Göttisheim belong to the [ANSWERS]
{'OR': [['Q1079607', 'P27', {'concept': 'Q15617994'}], ['Q494627', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q1079607 property:P27 ?d } UNION { resource:Q494627 property:P47 ?d } } }
Bad Liebenstein Wutha-Farnroda Moorgrund Marksuhl Waltershausen Seebach Switzerland
Fritz Göttisheim belong to the Bad Liebenstein, Wutha-Farnroda, Moorgrund, Marksuhl, Waltershausen, Seebach and Switzerland
Bad Liebenstein Wutha-Farnroda Moorgrund Marksuhl Waltershausen Seebach Switzerland
action filter_type
action union
action find
entity Fritz Göttisheim
relation country of citizenship
action find
entity Ruhla
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Fritz Göttisheim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ruhla', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Fritz_Göttisheim property:country_of_citizenship ?d } UNION { resource:Ruhla property:shares_border_with ?d } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q117242 Q1535009
P47
Q15617994
USER
How many administrative territories are bordered by San Giovanni Incarico or Golden Horseshoe ?
(Q117242,P47,c(Q15617994)) (Q1535009,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q117242
relation P47
type Q15617994
action filter_type
action find
entity Q1535009
relation P47
type Q15617994
['Q117242', 'P47', {'concept': 'Q15617994'}] ['Q1535009', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { resource:Q117242 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { ?f rdf:type ontology:Q15617994 . resource:Q1535009 property:P47 ?f } }
San Giovanni Incarico Golden Horseshoe
action count
action union
action filter_type
action find
entity San Giovanni Incarico
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Golden Horseshoe
relation shares border with
type designation for an administrative territorial entity
['San Giovanni Incarico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Golden Horseshoe', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { resource:San_Giovanni_Incarico property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Golden_Horseshoe property:shares_border_with ?f } }
[]
designation for an administrative territorial entity
SYSTEM
7
Q116716 Q117211 Q117032 Q117186 Q116423 Q116828 Q116731
(Q117242,P47,c(Q15617994)) (Q1535009,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q117242
relation P47
type Q15617994
action filter_type
action find
entity Q1535009
relation P47
type Q15617994
[ANSWER]
['Q117242', 'P47', {'concept': 'Q15617994'}] ['Q1535009', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { resource:Q117242 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { ?f rdf:type ontology:Q15617994 . resource:Q1535009 property:P47 ?f } }
Ceprano Roccasecca Pico, Lazio Pontecorvo Arce Falvaterra Colfelice
7
action count
action union
action filter_type
action find
entity San Giovanni Incarico
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Golden Horseshoe
relation shares border with
type designation for an administrative territorial entity
['San Giovanni Incarico', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Golden Horseshoe', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { resource:San_Giovanni_Incarico property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Golden_Horseshoe property:shares_border_with ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q117242
P47
Q56061 Q15617994
USER
How many administrative territories and administrative territories are bordered by San Giovanni Incarico ?
(c(Q56061),P47,Q117242) (c(Q15617994),P47,Q117242)
action count
action union
action filter_type
action find_reverse
entity Q117242
relation P47
type Q56061
action filter_type
action find_reverse
entity Q117242
relation P47
type Q15617994
[{'concept': 'Q56061'}, 'P47', 'Q117242'] [{'concept': 'Q15617994'}, 'P47', 'Q117242']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { VALUES ( ?h ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?m rdf:type ?h }
San Giovanni Incarico
action count
action union
action filter_type
action find_reverse
entity San Giovanni Incarico
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity San Giovanni Incarico
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'San Giovanni Incarico'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Giovanni Incarico']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { VALUES ( ?h ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?h }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
8
Q116716 Q117211 Q117186 Q116423 Q116828 Q116964 Q117032 Q116731
(c(Q56061),P47,Q117242) (c(Q15617994),P47,Q117242)
action count
action union
action filter_type
action find_reverse
entity Q117242
relation P47
type Q56061
action filter_type
action find_reverse
entity Q117242
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q117242'] [{'concept': 'Q15617994'}, 'P47', 'Q117242']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { VALUES ( ?h ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } . ?m rdf:type ?h }
Ceprano Roccasecca Pontecorvo Arce Falvaterra Pastena Pico, Lazio Colfelice
8
action count
action union
action filter_type
action find_reverse
entity San Giovanni Incarico
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity San Giovanni Incarico
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'San Giovanni Incarico'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Giovanni Incarico']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { VALUES ( ?h ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } . ?m rdf:type ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2395533 Q1079607
P27
Q15617994
USER
Which administrative territories do Fritz Göttisheim or Tatiana Bilbao belong to ?
OR((Q1079607,P27,c(Q15617994)), (Q2395533,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1079607
relation P27
action find
entity Q2395533
relation P27
type Q15617994
{'OR': [['Q1079607', 'P27', {'concept': 'Q15617994'}], ['Q2395533', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?q ) { ( resource:Q1079607 ) ( resource:Q2395533 ) } . ?q property:P27 ?n } . ?n rdf:type ontology:Q15617994 }
Tatiana Bilbao Fritz Göttisheim
action filter_type
action union
action find
entity Fritz Göttisheim
relation country of citizenship
action find
entity Tatiana Bilbao
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fritz Göttisheim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tatiana Bilbao', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?q ) { ( resource:Fritz_Göttisheim ) ( resource:Tatiana_Bilbao ) } . ?q property:country_of_citizenship ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q96
SYSTEM
Switzerland, Mexico
Q39 Q96
OR((Q1079607,P27,c(Q15617994)), (Q2395533,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1079607
relation P27
action find
entity Q2395533
relation P27
type Q15617994
Fritz Göttisheim or Tatiana Bilbao belong to the [ANSWERS]
{'OR': [['Q1079607', 'P27', {'concept': 'Q15617994'}], ['Q2395533', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?q ) { ( resource:Q1079607 ) ( resource:Q2395533 ) } . ?q property:P27 ?n } . ?n rdf:type ontology:Q15617994 }
Switzerland Mexico
Fritz Göttisheim or Tatiana Bilbao belong to the Switzerland and Mexico
Switzerland Mexico
action filter_type
action union
action find
entity Fritz Göttisheim
relation country of citizenship
action find
entity Tatiana Bilbao
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fritz Göttisheim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tatiana Bilbao', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?q ) { ( resource:Fritz_Göttisheim ) ( resource:Tatiana_Bilbao ) } . ?q property:country_of_citizenship ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q39 Q96
P17
Q2668072
USER
Which collections are present in Switzerland and Mexico ?
(c(Q2668072),P17,Q39) (c(Q2668072),P17,Q96)
action union
action filter_type
action find_reverse
entity Q39
relation P17
type Q2668072
action filter_type
action find_reverse
entity Q96
relation P17
type Q2668072
[{'concept': 'Q2668072'}, 'P17', 'Q39'] [{'concept': 'Q2668072'}, 'P17', 'Q96']
SELECT DISTINCT ?j WHERE { { ?j property:P17 resource:Q96 . ?j rdf:type ontology:Q2668072 } UNION { ?j property:P17 resource:Q39 . ?j rdf:type ontology:Q2668072 } }
Switzerland Mexico
action union
action filter_type
action find_reverse
entity Switzerland
relation country
type collection
action filter_type
action find_reverse
entity Mexico
relation country
type collection
[{'concept': 'collection'}, 'country', 'Switzerland'] [{'concept': 'collection'}, 'country', 'Mexico']
SELECT DISTINCT ?j WHERE { { ?j property:country resource:Mexico . ?j rdf:type ontology:collection } UNION { ?j property:country resource:Switzerland . ?j rdf:type ontology:collection } }
[]
collection
Q689746 Q689896 Q18030640
SYSTEM
Tavel House, Abbey library of St. Gallen, Musée d’histoire urbaine et de la vie quotidienne
Q2327693 Q1997549 Q682406 Q383147 Q386286 Q19362496 Q1675727 Q598646 Q10287825 Q1005863 Q1501500 Q1725173 Q680419 Q1440938 Q671822 Q672128 Q2749161 Q190255 Q2293155 Q689896 Q27837185 Q3329547 Q27479820 Q639818 Q856547 Q1274754 Q3330589 Q3329513 Q3329516 Q19362343 Q20012710 Q3330558 Q667858 Q18030640 Q239080 Q3330578 Q18031152 Q539405 Q679689 Q2901502 Q14565345 Q676514 Q689839 Q3329091 Q3329097 Q194626 Q856466 Q670848 Q190260 Q2265861 Q675823 Q675827 Q1435684 Q1620993 Q488426 Q3152229 Q689389 Q1428489 Q2049945 Q669509 Q3329661 Q3330027 Q3456783 Q679493 Q2205249 Q2567666 Q16859293 Q1435660 Q856475 Q614652 Q1326599 Q2326916 Q1343432 Q18643284 Q644296 Q1112536 Q1713820 Q670595 Q3312149 Q3329111 Q390003 Q3330774 Q3330776 Q2179606 Q19824862 Q22984572 Q1425698 Q1664073 Q576081 Q3330736 Q689746 Q1485494 Q1792543 Q26986943 Q915353 Q683842 Q2073008 Q11068173 Q4735602 Q691966 Q1728093 Q18752218 Q683406 Q1728087 Q19362826 Q19362436 Q16303827 Q2296824 Q25162956 Q19362412 Q19362414 Q19362419 Q1955752 Q19362509 Q678331 Q260102 Q1434830 Q452375 Q19362445 Q808119 Q620999 Q2527007 Q19362457 Q6940569 Q6045328 Q9047058 Q6033509 Q9046890 Q5031539 Q2048532 Q21643462 Q6034430 Q675877 Q21620559 Q24567602 Q6888405 Q4165221 Q6033701 Q26275463 Q6940461 Q25934603 Q24561564 Q6033782 Q6033996 Q2838523 Q6294156 Q1046414 Q2097646 Q1841655 Q24529426 Q15260374 Q6940502 Q1402600 Q5061367 Q524249 Q4903485
(c(Q2668072),P17,Q39) (c(Q2668072),P17,Q96)
action union
action filter_type
action find_reverse
entity Q39
relation P17
type Q2668072
action filter_type
action find_reverse
entity Q96
relation P17
type Q2668072
[ANSWERS] are present in Switzerland and Mexico
[{'concept': 'Q2668072'}, 'P17', 'Q39'] [{'concept': 'Q2668072'}, 'P17', 'Q96']
SELECT DISTINCT ?j WHERE { { ?j property:P17 resource:Q96 . ?j rdf:type ontology:Q2668072 } UNION { ?j property:P17 resource:Q39 . ?j rdf:type ontology:Q2668072 } }
Stadtmuseum Rapperswil North America Native Museum Am Römerholz Afghanistan Museum Basel Historical Museum Historisches Archiv und Bibliothek PTT St. Gallen textile museum Olympic Museum Cabinet d'arts graphiques Museum of Federal Charters Swiss Science Center Technorama Swiss Customs Museum Ballenberg Cantonal Library Thurgau Musée Ariana Pharmazie-Historisches Museum der Universität Basel Museum of Music Zentralbibliothek Solothurn Skulpturhalle Basel Abbey library of St. Gallen Museum of Horsepower (Basel Historical Museum) Museum of Yverdon and its Region salt mine of Bex Museum of Cultures University of Zurich Law Library Glarner Landesbibliothek Lausanne Museum of History Cantonal Museum of Archeology and History Cantonal Museum of Geology Historisches Museum Aargau Weierbach House Cantonal Botanical Museum and Gardens Bodmer Foundation Musée d’histoire urbaine et de la vie quotidienne Musée d'ethnographie de Neuchâtel Musée gruérien Bibliothèque d'art et d'archéologie Cantonal Library of Appenzell Ausserrhoden Bibliothèque Publique et Universitaire Public Library of Yverdon-les-Bains Library of  the Planta foundation Caricature & Cartoon Museum Basel Polish Museum Musée Baud Bolo Museum Kunstmuseum Basel Bibliothek am Guisanplatz Centre international de recherches sur l'anarchisme Zentralbibliothek Zürich Segantini Museum Natural History Museum of Basel Dollhouse Museum Fondazione Marianne Werefkin Blumenstein Castle Anatomisches Museum Basel Institut et Musée Voltaire Henry Dunant Museum Flieger-Flab-Museum Pantheon Basel Burgerbibliothek Bern Centre International de la Mécanique d'Art Musée de la machine à écrire de Lausanne RERO Bible and Orient Museum SBS Swiss Library for the Blind, Visual Impaired and Print Disabled Wickiana Schweizerisches Militärmuseum Full Herzog Foundation Bibliothek Zug Kunsthalle Basel Elektrizitätsmuseum Schaffhausen City Library Cantonal library Schwyz Swiss Foundation of Photography Lake Geneva Museum Haus für elektronische Künste Basel Cantonal Library of Jura Swiss Transport Museum Microcosm Musée Chappuis-Fähndrich Einsteinhaus Roman Museum in Avenches Musée romain de Lausanne-Vidy Roman Museum Augusta Raurica Musée d'histoire des sciences de la Ville de Genève FIFA World Football Museum Forum of Swiss History Schwyz Cantonal Library of Appenzell Innerrhoden Antikenmuseum Basel und Sammlung Ludwig Swiss National Museum - Castle of Prangins Tavel House GGG Stadtbibliothek Basel Kunstmuseum Luzern Lugano Arte e Cultura Library of the canton of St. Gallen Basel University Library Pestalozzi-Bibliothek Zürich Museum of the Order of Malta Alpineum Gruyères Castle Cantonal library Obwalden Musée du Petit Palais International Red Cross and Red Crescent Museum Cantonal library of the Basel-Landschaft Öffentliche Bibliothek der Universität Basel, Handschriftenabteilung sowie Musikaliensammlung Historisches Museum Archizoom Centre de documentation et d'étude sur la langue internationale Stadtbibliothek Baden Museum Stadtbibliothek Zofingen Museum Appenzell Musée d'ethnographie de Genève Schweizerische Theatersammlung Cantonal Library Lugano Gottfried Keller-Stiftung Cantonal Library Nidwalden Swiss Alpine Museum Appenzeller Volkskunde-Museum Barfüsserkirche Hector Hodler Library Vindonissa-Museum Appenzeller Brauchtumsmuseum Museo Nacional del Virreinato Interactive Museum of Economics Museo de Charrería Museum Memory and Tolerance Museo Nacional de Culturas Populares Cancun Underwater Museum Paleontological Museum in Tocuila Museo Toma de Zacatecas Museo del Estanquillo Anahuacalli Museum Museo Pedro Coronel Museo de las Culturas del Norte Modelo Museum of Science and Industry Leon Trotsky Museum, Mexico City Museo Regional Michoacano Sonora Museum of Art Museo Casa Juárez Casa del Caballero Águila Guillermo Spralting Museum Museo Universitario Arte Contemporáneo Museo de El Carmen Museum of Steel José Vasconcelos Library Luis Barragán House and Studio Museo Soumaya Museo de Antropología de Xalapa Jesuit Missions of Loreto Museum Museum of Light, Mexico City Museo Nacional de Historia Museum of the City of Mexico Central Library National Museum of Anthropology Biblioteca Palafoxiana
Tavel House, Abbey library of St. Gallen and Musée d’histoire urbaine et de la vie quotidienne are present in Switzerland and Mexico
Tavel House Abbey library of St. Gallen Musée d’histoire urbaine et de la vie quotidienne
action union
action filter_type
action find_reverse
entity Switzerland
relation country
type collection
action filter_type
action find_reverse
entity Mexico
relation country
type collection
[{'concept': 'collection'}, 'country', 'Switzerland'] [{'concept': 'collection'}, 'country', 'Mexico']
SELECT DISTINCT ?j WHERE { { ?j property:country resource:Mexico . ?j rdf:type ontology:collection } UNION { ?j property:country resource:Switzerland . ?j rdf:type ontology:collection } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P37
Q34770
USER
What is the official language of Switzerland ?
(Q39,P37,c(Q34770))
action filter_type
action find
entity Q39
relation P37
type Q34770
['Q39', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q39 property:P37 ?k . ?k rdf:type ontology:Q34770 }
Switzerland
action filter_type
action find
entity Switzerland
relation official language
type language
['Switzerland', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Switzerland property:official_language ?k . ?k rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q39,P37,c(Q34770))
action filter_type
action find
entity Q39
relation P37
type Q34770
The official language of Switzerland is the [ANSWER]
['Q39', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q39 property:P37 ?k . ?k rdf:type ontology:Q34770 }
Italian
The official language of Switzerland is the Italian
Italian
action filter_type
action find
entity Switzerland
relation official language
type language
['Switzerland', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Switzerland property:official_language ?k . ?k rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4264
Q34770
USER
And how about Mercosur?
(Q4264,P37,c(Q34770))
action filter_type
action find
entity Q4264
relation P37
type Q34770
['Q4264', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q4264 property:P37 ?f . ?f rdf:type ontology:Q34770 }
Mercosur
action filter_type
action find
entity Mercosur
relation official language
type language
['Mercosur', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Mercosur property:official_language ?f . ?f rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q4264,P37,c(Q34770))
action filter_type
action find
entity Q4264
relation P37
type Q34770
[ANSWER]
['Q4264', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q4264 property:P37 ?f . ?f rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Mercosur
relation official language
type language
['Mercosur', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Mercosur property:official_language ?f . ?f rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4264
P1001
Q35749
USER
Which parliament applies to jurisdiction over that administrative territory ?
(c(Q35749),P1001,Q1321)
action filter_type
action find_reverse
entity Q4264
relation P1001
type Q35749
[{'concept': 'Q35749'}, 'P1001', 'Q1321']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q4264 . ?i rdf:type ontology:Q35749 }
Mercosur
action filter_type
action find_reverse
entity Mercosur
relation applies to jurisdiction
type parliament
[{'concept': 'parliament'}, 'applies to jurisdiction', 'Spanish']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Mercosur . ?i rdf:type ontology:parliament }
[]
parliament
Q2723083
SYSTEM
Mercosur Parliament
Q2723083
(c(Q35749),P1001,Q1321)
action filter_type
action find_reverse
entity Q4264
relation P1001
type Q35749
[ANSWER] applies to jurisdiction over that administrative territory
[{'concept': 'Q35749'}, 'P1001', 'Q1321']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q4264 . ?i rdf:type ontology:Q35749 }
Mercosur Parliament
Mercosur Parliament applies to jurisdiction over that administrative territory
Mercosur Parliament
action filter_type
action find_reverse
entity Mercosur
relation applies to jurisdiction
type parliament
[{'concept': 'parliament'}, 'applies to jurisdiction', 'Spanish']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Mercosur . ?i rdf:type ontology:parliament }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P195
Q2668072 Q11060274 Q15709879
USER
Which collections have min number of prints or artwork series in it ?
(c(Q11060274)|c(Q15709879),P195,c(Q2668072))
action argmin
action union
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q11060274
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q15709879
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?k ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } } GROUP BY ?t } } . FILTER ( ?i = ?k ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:P195 ?p . ?p rdf:type ontology:Q2668072 . ?v rdf:type ontology:Q11060274 } UNION { ?v property:P195 ?p . ?p rdf:type ontology:Q2668072 . ?v rdf:type ontology:Q15709879 } } GROUP BY ?p } }
action argmin
action union
action find_reverse_tuple_counts
relation collection
type collection
type print
action find_reverse_tuple_counts
relation collection
type collection
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?k ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:print ) ( ontology:artwork_series ) } } GROUP BY ?t } } . FILTER ( ?i = ?k ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:collection ?p . ?p rdf:type ontology:collection . ?v rdf:type ontology:print } UNION { ?v property:collection ?p . ?p rdf:type ontology:collection . ?v rdf:type ontology:artwork_series } } GROUP BY ?p } }
[]
collection print artwork series
Q256507 Q812285 Q733389
SYSTEM
Bavarian State Library, Bavarian State Painting Collections, Villa Medici
Q10601378 Q18545068 Q11938083 Q3867752 Q19750488 Q1542668 Q839047 Q3683040 Q3716330 Q6396132 Q2114028 Q1140570 Q21716824 Q653433 Q683842 Q3891121 Q3923979 Q23890843 Q3237918 Q318983 Q1871689 Q18668618 Q317950 Q3329271 Q162077 Q2021677 Q1410617 Q827564 Q16825824 Q2915627 Q842660 Q5274238 Q2046319 Q27095354 Q3329624 Q3867618 Q3330231 Q2736515 Q2886105 Q3329787 Q663820 Q4886818 Q7322280 Q10333395 Q667858 Q3356148 Q4796747 Q2153365 Q170152 Q4985660 Q820892 Q14715853 Q3329434 Q5102152 Q125634 Q3329534 Q1332706 Q421084 Q2216754 Q2273417 Q2754878 Q2574469 Q18674699 Q510144 Q2047639 Q2901387 Q670268 Q848313 Q21004295 Q1784177 Q772890 Q2342844 Q1903282 Q3867551 Q18563228 Q1954787 Q3868321 Q1011471 Q18704624 Q190260 Q27506801 Q5436049 Q4950759 Q879819 Q10855544 Q2191110 Q2191118 Q18085744 Q15818370 Q15818372 Q636928 Q18793192 Q1615331 Q315753 Q5503186 Q1060854 Q24455723 Q6695405 Q774570 Q637040 Q2803509 Q14388973 Q1419555 Q729773 Q7971387 Q21865421 Q278571 Q391823 Q2436253 Q15818196 Q2495870 Q3330370 Q10332621 Q2944202 Q2585886 Q5588677 Q6877320 Q11938061 Q3889544 Q1278762 Q954222 Q1386526 Q10939658 Q7739582 Q1738925 Q1792424 Q2386980 Q3741344 Q1499958 Q4892674 Q1378149 Q21854957 Q1819945 Q6940464 Q728116 Q3329260 Q15262554 Q3330203 Q3683064 Q10333659 Q296962 Q574961 Q1128657 Q212594 Q246821 Q2349177 Q2432540 Q1236032 Q751172 Q566661 Q1670994 Q21083428 Q256507 Q7758868 Q1563354 Q3867519 Q2854179 Q689896 Q1150616 Q3867515 Q799084 Q444339 Q2418618 Q1639759 Q21731178 Q2701512 Q2817221 Q6033464 Q947082 Q23949493 Q3557326 Q856559 Q18583545 Q18572999 Q4785417 Q1673285 Q3905099 Q1754354 Q19917407 Q700747 Q4166251 Q2139553 Q3317663 Q815611 Q3756440 Q3329310 Q167248 Q20019247 Q3614063 Q18809784 Q1459037 Q918708 Q3330472 Q10946771 Q1140507 Q10727870 Q1348579 Q18881530 Q3329915 Q3983824 Q18755349 Q290549 Q3757699 Q2612600 Q1324926 Q707981 Q826520 Q464872 Q5474645 Q338523 Q2786038 Q1478423 Q447441 Q1501219 Q386286 Q201219 Q3329681 Q1726607 Q18761074 Q1752085 Q475394 Q6436109 Q650519 Q2860519 Q3907656 Q3044767 Q1824069 Q4854158 Q3044751 Q1074318 Q1006825 Q3329702 Q3329701 Q2148186 Q1138228 Q3078776 Q5671855 Q304735 Q194626 Q2324644 Q23674560 Q18669971 Q3330662 Q18809979 Q3329157 Q3868075 Q21753940 Q3868176 Q965780 Q1616123 Q5942029 Q122945 Q3075464 Q1376 Q273593 Q561944 Q12018045 Q1236928 Q917262 Q3094628 Q896935 Q156722 Q816669 Q18698925 Q1954840 Q1992413 Q1140429 Q622974 Q2184071 Q2274725 Q3867573 Q5476145 Q874724 Q18694541 Q505873 Q1748404 Q4314838 Q570620 Q198347 Q20993832 Q653002 Q938154 Q1539517 Q3868182 Q700216 Q1940336 Q314441 Q3330592 Q260102 Q682406 Q6978296 Q287806 Q1581154 Q6974501 Q1952944 Q18588331 Q2389498 Q845468 Q2283575 Q636943 Q1325163 Q317398 Q2526644 Q254156 Q850207 Q164887 Q623017 Q25711074 Q3329076 Q1954189 Q2874177 Q3330185 Q3330189 Q2054135 Q7012302 Q477503 Q1820897 Q3330218 Q452362 Q2210813 Q856094 Q22233101 Q18753616 Q75566 Q2628596 Q1808872 Q179199 Q573672 Q7373646 Q2191491 Q1056152 Q1024829 Q7603435 Q2324596 Q4048724 Q822101 Q2538129 Q3848863 Q371803 Q12013217 Q6033913 Q1816263 Q22671042 Q1505892 Q7728872 Q3383883 Q18711314 Q26299917 Q3329305 Q3094617 Q770918 Q23772819 Q5295507 Q3329092 Q4320542 Q630461 Q2033282 Q3075420 Q260913 Q20429837 Q431431 Q2074027 Q4360916 Q2962290 Q2130225 Q473831 Q6511262 Q2843748 Q5312969 Q1075141 Q16540811 Q857276 Q1769248 Q3867811 Q2047427 Q1968108 Q782003 Q12802993 Q623662 Q2301926 Q634421 Q16972948 Q700959 Q19958388 Q304037 Q554511 Q277316 Q11694558 Q880898 Q509 Q20650603 Q219555 Q736465 Q3044749 Q3044748 Q1093925 Q1320533 Q11722011 Q461277 Q22662441 Q1248553 Q5654740 Q1135392 Q4306169 Q3678767 Q18539254 Q2711480 Q892727 Q2058611 Q2296362 Q1526140 Q24404741 Q2496353 Q23893733 Q2170763 Q2098586 Q1635704 Q10511304 Q486382 Q669509 Q636400 Q4827110 Q474563 Q3354176 Q18342605 Q15873804 Q3469929 Q1955739 Q386570 Q18608442 Q677561 Q812285 Q1435744 Q2277827 Q426339 Q17635455 Q468169 Q2599177 Q6825145 Q8352 Q1289258 Q451555 Q1216084 Q23816850 Q684846 Q2131198 Q12323135 Q2173225 Q281903 Q3868261 Q5566950 Q1450630 Q18763253 Q2284748 Q21569305 Q1568434 Q2167344 Q3757770 Q1411180 Q18812460 Q2107035 Q5244638 Q7008533 Q1007870 Q2837755 Q59435 Q702661 Q1592523 Q4146886 Q3558578 Q388376 Q3329161 Q733389 Q3330222 Q3330220 Q2163496 Q917183 Q6033943 Q21706028 Q15848825 Q20180409 Q324689 Q1465387 Q3329769 Q2475379 Q3848124 Q3757768 Q2382575 Q154414 Q478455 Q23681318 Q649250 Q383931 Q205631 Q1686386 Q18819006 Q1568821 Q686531 Q318614 Q4082744 Q913058 Q3867781 Q688704 Q19164 Q3867788 Q1954498 Q316514 Q314082 Q20155796 Q3555520 Q2533480 Q2873581 Q3044747 Q2982847 Q968055 Q4303892 Q1148462 Q10333514 Q18600731 Q148554 Q1771020 Q3953256 Q510993 Q18343189 Q829296 Q1127079 Q3330010 Q1435690 Q1506922 Q5095087 Q922143 Q1954426 Q1572452 Q3825655 Q271928 Q833759 Q19921487 Q2215920 Q1400558 Q12342237 Q549143 Q839746 Q26722246 Q3329751 Q3330260 Q2559128 Q3329758 Q1782606 Q15983747 Q3716416 Q18715647 Q2287744 Q3329184 Q414219 Q4770539 Q6034142 Q4709330 Q877714 Q18694592 Q3330786 Q3890691 Q18702715 Q894583 Q2034395 Q3821843 Q3329506 Q4315039 Q3329050 Q18752218 Q15874141 Q688335 Q3330767 Q10602801 Q1277393 Q670250 Q21402303 Q3330802 Q12799081 Q3329592 Q24384089 Q564981 Q2084947 Q7017386 Q18573032 Q1667156 Q521251 Q914141 Q28471 Q20892625 Q522604 Q12885779 Q7013890 Q775644 Q2370540 Q18702986 Q924335
(c(Q11060274)|c(Q15709879),P195,c(Q2668072))
action argmin
action union
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q11060274
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q15709879
[ANSWERS] have min number of prints or artwork series in it
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?k ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } } GROUP BY ?t } } . FILTER ( ?i = ?k ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:P195 ?p . ?p rdf:type ontology:Q2668072 . ?v rdf:type ontology:Q11060274 } UNION { ?v property:P195 ?p . ?p rdf:type ontology:Q2668072 . ?v rdf:type ontology:Q15709879 } } GROUP BY ?p } }
Nivaagaard Adornesdomein Museu de l'Empordà Museo Centrale del Risorgimento Private collection Adriaan van der Hoop Groninger Museum Derby Industrial Museum Collection Contini Bonacossi Cathedral of Asolo Belarusian Union of Artists Museum Arnhem Orleans Collection Hermitage Museum and Gardens Tokyo National Museum Basel University Library Palazzo Zevallos Stigliano Rectory of Saints Michael and Francis Biblioteca Municipal Braamcamp Freire Library Company of Philadelphia Paula Modersohn-Becker Museum Escher Museum Güstrow City Museum Württembergische Landesbibliothek musée Massey Glyptothek Hofje van Mevrouw van Aerden Louisiana Museum of Modern Art Hildesheim Cathedral Museum Castellani Art Museum National Museum of Beirut Constantin Meunier Museum Didrichsen Art Museum Amgueddfa Cymru – National Museum Wales Museum of Antiquities of the University of Heidelberg musée d'art et d'histoire de Saint-Brieuc Masaccio Museum musée des beaux-arts et d'archéologie de Châlons-en-Champagne Stedelijk Museum Zutphen Archaeological Museum of Puerto de la Cruz Museum of the History of France Herzog August Library Sabadell Art Museum Ribe Kunstmuseum Museu António Medeiros e Almeida Bodmer Foundation Museum of Cultural History Art Collection of the Pietro Manodori Foundation of the Cassa di Risparmio di Reggio Emilia Zeeuws Museum Neue Pinakothek Buffalo Bill Historical Center Petit Palais Smith College Museum of Art Archaeological Museum of Kraków Museum Dom João VI Museum Folkwang musée d'Aquitaine Landesmuseum Württemberg Acropolis Museum Museum Bredius Broel Museum Museum Meermanno Kerameikos Archaeological Museum St. Anne's Museum Quarter Sprengel Museum Palazzo dei Diamanti Bibliothèque des Arts décoratifs Musée de l'Homme Fries Museum Eijk and Rose-Marie van Otterloo Collection Coptic Museum Galleria nazionale di Parma National Archaeological Museum Martin von Wagner Museum Musei di Strada Nuova Earl of Halifax Collection Museum for Communication Diocesan Museum in Volterra Château de Dieppe Museum for Peace and Nonviolence Zentralbibliothek Zürich Slobodskoy Museum and Exhibition Center Farnsworth Art Museum Bowdoin College Museum of Art Moritzburg Galleria dell'Accademia Museum Van Loon Netherlands Photo Museum Atkinson Art Gallery and Library musée municipal de La Roche-sur-Yon musée du Vieux-Château Delphi Archaeological Museum Barbara Piasecka Johnson Collection Herzogliches Museum Lehmbruck Museum Fresno Metropolitan Museum of Art and Science Widener Library Mbantua Gallery & Cultural Museum Lublin Museum Bibliothèque Mazarine Archaeological Museum of Piraeus Stedelijk Museum Ieper Stedelijk Museum Zwolle National Gallery in Prague Palazzo Chiericati Waseda University Library Michaelis Collection Jewish Museum Frankfurt musée Rolin Tyrolean State Museum musée Baron-Martin University of Michigan Museum of Art musée du Pays châtillonnais Monastery of Jesus Cenacolo di Fuligno National Museum of History and Art Government Art Collection Oslo Museum Pau Casals Museum Apostolic Palace Zhejiang Provincial Museum musée des beaux-arts de Bordeaux Museum Pfalzgalerie Kaiserslautern Gallery of Western Bohemia The Higgins Art Gallery & Museum Kenneth Willis Clark Collection Kunsthalle Würth Musée départemental breton Mannerheim Museum Gemeentemuseum Den Haag Vinseum – Catalan Wine Cultures Museum St. Salvator's Cathedral De Collectie Almere Royal Museum Museo Civico Ala Ponzone Folger Shakespeare Library musée Magnin Northampton Museum and Art Gallery Museum of Fine Arts, Dole Art collections of Fondazione Cariplo Museu da Casa Brasileira ARoS Aarhus Kunstmuseum Frans Hals Museum Musée de la Chasse et de la Nature Würth Collection Goya Museum Stiftung Stadtmuseum Berlin Old St. John's Hospital Condé Museum Andy Warhol Museum Museum der bildenden Künste National Library of Scotland Alfred Bader Fine Arts Bavarian State Library The Quadrangle Musée Matisse Civic Museums of Padua musée Antoine-Lécuyer Abbey library of St. Gallen Frilandsmuseet Pesaro City Museums Baden State Library Felix Nussbaum Haus Casa Buonarroti Pomeranian State Museum John Ingleby Watercolours Prehistory Museum of Valencia State Portrait Collection Museo Julio Romero de Torres Museo della Scienza e della Tecnologia "Leonardo da Vinci" Biblioteca de Santa Cruz Sorø Art Museum Trinity College Library Jersey Museum and Art Gallery Drottningholm Collection Archaeological Museum of Mykonos Kulturhistorisches Museum Magdeburg Pinacoteca civica (Fermo) Richard Nixon Presidential Library and Museum musée Comtadin-Duplessis Vitra Design Museum Donetsk Regional Museum of Art Museum Kampa Mobilier national Biblioteca Ambrosiana Gabinetto dei disegni e delle stampe musée Petiet de Limoux musée Dobrée Museo Civico di Palzaao Della Penna, Perugia Bornholm Art Museum Musei Civici di Monza Royal Collection United States Capitol rotunda Museum of the Filipino People Anhui Provincial Museum Ny Carlsberg Glyptotek Östergötlands länsmuseum Moravské zemské muzeum Musei Civici di Feltre Musée de la Légion d'honneur TextileMuseum Museo Fundación Lerma Museo Nazionale di Capodimonte Galleria Spada Castle of the Counts and Dukes of Bar musée des beaux-arts et d'archéologie de Besançon Staatliche Antikensammlungen Bishop Museum Staatliche Sammlung für Ägyptische Kunst Foundling Museum Accademia di San Luca Sant'Apollonia The Morgan Library & Museum Bergpark Wilhelmshöhe Gemäldegalerie Alte Meister Basel Historical Museum Egyptian Museum Musée d'histoire naturelle - Guimet Swedish Museum of National Antiquities Musée du Verre, du Bois et du Fer Norton Simon Museum Antikensammlung Berlin Krannert Art Museum Musée Rodin Archives et Musée de la littérature Polo museale di San Francesco Department of Decorative Arts of the Louvre Liechtenstein Museum Bancroft Library Department of Near Eastern Antiquities of the Louvre National Museum of China Esztergom Metropolitan Library Musée de Cahors Henri-Martin Brittany Museum Rhode Island School of Design Museum History Museum of Armenia The Museum of National History Harry Ransom Center Pigorini National Museum of Prehistory and Ethnography Kunstmuseum Basel Staats- und Universitätsbibliothek Hamburg Rosenwald Collection Bartolomé March Foundation Saint-Germain-en-Laye Civic Museum Museo Civico Il Correggio musée Fenaille City Museum of Rimini Sammlung Schloss Rohoncz Palazzo Bellomo Museum musée Granet Nederlands Scheepvaartmuseum Hunan Provincial Museum Peabody Museum of Natural History Gala-Salvador Dalí Foundation Musée Saint-Raymond École nationale supérieure des Beaux-Arts Fabergé Museum City Gallery of Prague Dombibliothek Hildesheim Herbert Art Gallery and Museum Galleria d'Arte Moderna Roemer- und Pelizaeus-Museum Hildesheim Altes Museum Benaki Museum Gallery of Modern Art Museumslandschaft Hessen Kassel Thorvaldsen Museum State Historical Museum Hocken Library Contemporary Art Museum of Caracas Museum of Santa Cruz Museum Bardini Museu d'Art Jaume Morera Kurpfälzisches Museum Angelika Kauffmann Museum Vienna Museum Museu de Belles Arts de València Feodosia National Gallery I. K. Aivazovsky Kupferstichkabinett Historical museum HM The Queens Reference Library Staatliche Kunstsammlungen Dresden Saint Bavo Cathedral Gottfried Wilhelm Leibniz Library museo di Roma in Trastevere Berlin State Museums Mittelrhein-Museum Museum Ostwall Lund University Historical Museum Gottfried Keller-Stiftung Am Römerholz National Scouting Museum Gaasbeek Castle National Historical Museum Museum of Romanticism Museum of Grenoble Duke of Rutland collection Musée de la Révolution française de Vizille Strasbourg Museum of Modern and Contemporary Art Museo Arte Público Archäologisches Museum Hamburg Historical Museum of the Palatinate Kunstmuseum Stuttgart musée d'Art moderne et d'Art contemporain Egyptian Museum of Berlin Brukenthal National Museum Museum für Kunst und Kulturgeschichte Universalmuseum Joanneum Vršac City Museum Museum Bandini Staatliche Museen Kassel Dordrechts Museum musée des beaux-arts d'Agen Musée d'Angoulême Gallerie di Piazza Scala New Walk Museum Kunstgewerbemuseum Berlin Amsterdam Museum musée des beaux-arts Jules Chéret Hessisches Landesmuseum Darmstadt Sackler Library Bible Museum Münster Ajuda library Piacenza Civic Museum Musée des beaux-arts d'Arras Palais des Beaux-Arts de Lille Palazzo Bianco Guggenheim Museum Bilbao Märkisches Museum Royal Albert Memorial Museum Berardo Collection Museum Royal Palace of Amsterdam Buenos Aires Cabildo State Museum of Pennsylvania A. Kasteyev State Museum of Arts Sepherot Foundation National Historical Museum, Athens musée Toulouse-Lautrec Real Biblioteca de San Lorenzo de El Escorial Museu Paulista Noordbrabants Museum Lima Art Museum Trapholt Hussite Museum in Tabor Rijksmuseum Twenthe The Danish Immigrant Museum Zaans Museum Parliament Library Parliamentary Art Collection Musée Paul-Dupuy Moravian Gallery in Brno Ordrupgaard Loeb Danish Art Collection Doncaster Museum Musée Benoît-De-Puydt The V. V. Vereshchagin Mykolaiv Art Museum Bibliothèque nationale et universitaire National Museum of Slovenia Fondation Custodia Centraal Museum Village museum of Chișinău Singer Laren Samuel H. Kress Collection Museum Gouda Belfius Collection Museum Rotterdam Schloss Mosigkau Old Belarusian History Museum musée Ingres Duke of Buccleuch collection National Museum of the American Indian Collection Crozat musée d'art moderne de la Ville de Paris National Archive of Torre do Tombo Civic Museum of Castel Nuovo The Palace Museum National Art Gallery of Albania Musée archéologique Slovene ethnographic museum Museum of the Romanian Peasant Clinton Presidential Center Centre de Documentació i Museu de les Arts Escèniques Hofstra University Museum Wallraf-Richartz Museum Haus der Insel Langeoog Austrian National Library State Dining Room Rembrandt House Museum Girona Museum of Art Museum Georg Schäfer Musée gallo-romain de Fourvière Nederlands Kunstbezit (NK) New York Public Library Déri Museum Department of Egyptian Antiquities of the Louvre Department of Islamic Arts of the Louvre Slovak National Museum Old State House Haags Historisch Museum Museum Kunstpalast Muzeum Kultury Kurpiowskiej Residenzgalerie Harborough Museum National Museum of Rome Museum of Patriotic War 1812 Civic Museums and Gallery of History and Art Art museum of Constanta Musée des Augustins Bonnefanten Museum Hillwood Estate, Museum & Gardens musée Gustave-Moreau Regional museum of Messina M.A.O.C. Gravin van Bylandt Stichting Utrecht University Library Collections of the Public Social Welfare Centre Amsterdam Municipal Archives Museum De Lakenhal Ducal palace Villa Gyllenberg Castel Sant'Angelo Burgerbibliothek Bern Ashmolean Museum Autry National Center Teylers Museum Opificio delle pietre dure Samuel Dorsky Museum of Art Centre for Old Arts 't Vliegend Peert Sacre Hall musée des beaux-arts de Dijon Museum of Lázaro Galdiano House of Orange-Nassau Historic Collections Trust Hammer Museum Bavarian State Painting Collections Halle State Museum of Prehistory Shelburne Museum Royal Palace of Naples Musée Calasancio Suermondt-Ludwig-Museum Maison de Victor Hugo Metropolitan Museum of Manila Musée des Confluences Château des ducs de Bretagne Sanssouci Picture Gallery Erasmus House Museum of the church of St. Francis, Quito Château de Malmaison Slot Zuylen Brandts Collectie Vlaamse Gemeenschap Prinsenhof Museo Diocesano Glasgow University Library Czartoryski Museum chiesa di Santa Maria Assunta Jacques Goudstikker collection Bridgewater Collection Yale University Art Gallery Rosgartenmuseum Galleria nazionale di palazzo Spinola musée du Luxembourg Augsburg Municipal Art Collection Powerhouse Museum De Morgan Centre New Haven Museum and Historical Society art gallery Saragossa Museum Leopold Museum Autostadt Sorolla Museum The State Museum of the History of St. Peterburg Villa I Tatti Burke Museum of Natural History and Culture Faure Museum Villa Medici Musée des beaux-arts de Valenciennes Musée des beaux-arts de Quimper Museum of Fine Arts of Seville Church of Our Lady, Bruges Cordoba Fine Arts Museum Arts museum in Cluj-Napoca City Museum of Lindau Hampton University Museum Bamberg State Library Hunterian Museum and Art Gallery Westminster Abbey Museum Ulmer Museum El Greco Museum Galleria nazionale d'arte antica di palazzo Corsini Westfries Museum London Jewish Museum Austrian Museum of Applied Arts Art Modern Art MNAC Royal Ontario Museum Royal Library of Belgium Kroppedal Museum Van Buuren Museum of the Ancient People of Lucania Museo Nacional de Arqueología, Antropología e Historia del Perú Lentos Art Museum Rheinisches Landesmuseum Bonn Belarusian State Museum of Folk Architecture and Life Vasari Corridor Villa Colloredo Mels Museum Museum of Natural History State Art and Architectural Palace and Park Museum The Archeological Civic Museum (MCA) of Bologna Musée Nissim-de-Camondo Museum Wiesbaden Lower Saxony State Museum Museum of Congress of Iran Skagens Museum Vorarlberg museum Flehite Department of Greek, Etruscan, and Roman Antiquities of the Louvre Farnese collection Museum of the City of Brussels Ilya Glazunov Art Gallery Cyprus Museum History and Diplomatic Museum Cultural Heritage Agency of the Netherlands Art Collection National Museum of Natural History Artscape Nordland School of the Holy National Historical Museum Briscoe Western Art Museum Saarland Museum Museum Het Valkhof Ceramic Museum of Andenne Cini Foundation Gustavianum Chi Mei Museum Museum of the City of Skopje Museum Catharijneconvent musée Cognacq-Jay Museo dell'Opera del Duomo Palazzo Vecchio Brücke Museum Musée de Soissons Salzburg Museum Huntington Library Research Library in Olomouc Cabinet des Médailles Loggia dei Lanzi Gere Collection Musées de Sens Museum of French Monuments National Art Museum of Azerbaijan musée de Tessé musée national Eugène-Delacroix Civic museum of Crema Serravalle Cathedral Heinz Kisters Collection Museum Godshuis Belle musée Grobet-Labadié Academy of Fine Arts Vienna Anschutz collection Museo de Valladolid Albany Institute of History & Art Oakland Museum of California Macerata Musei Royal Museum of Modern Art Palazzo Isimbardi Stichting Historische Verzamelingen van het Huis Oranje-Nassau, Den Haag Boston Public Library Belarusian National History and Culture Museum Badalona Museum Basque Museum in Bayonne National Sports Museum musée Alphonse-Georges-Poulain Musée du Petit Palais Cuypershuis Deutsches Historisches Museum Liaoning Provincial Museum Norrköping art museum National Museum of Serbia Art Gallery of Ontario Chiba City Museum of Art Rostov Regional Fine Arts Museum Pomurje Museum Murska Sobota Contemporary Art Museum of Macedonia Stichting Verzameling Semeijns de Vries van Doesburgh Queen's House International Sculpture Collection Newcastle City Library Strömsholmssamlingen National Museum of the Philippines National Museum of Iraq Hungarian National Museum El Escorial Käthe Kollwitz Museum (Berlin) Basilica of the Holy Blood Parnassos Literary Society New York Public Library for the Performing Arts Rubenshuis Six Collection National Gallery Library Stedelijk Museum Amsterdam
Bavarian State Library, Bavarian State Painting Collections and Villa Medici have min number of prints or artwork series in it
Bavarian State Library Bavarian State Painting Collections Villa Medici
action argmin
action union
action find_reverse_tuple_counts
relation collection
type collection
type print
action find_reverse_tuple_counts
relation collection
type collection
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?k ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:print ) ( ontology:artwork_series ) } } GROUP BY ?t } } . FILTER ( ?i = ?k ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?i ) WHERE { { ?v property:collection ?p . ?p rdf:type ontology:collection . ?v rdf:type ontology:print } UNION { ?v property:collection ?p . ?p rdf:type ontology:collection . ?v rdf:type ontology:artwork_series } } GROUP BY ?p } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q812285
P361
Q2668072
USER
Which collections are a part of that one ?
(c(Q2668072),P361,Q812285)
action filter_type
action find_reverse
entity Q812285
relation P361
type Q2668072
[{'concept': 'Q2668072'}, 'P361', 'Q812285']
SELECT DISTINCT ?l WHERE { ?l property:P361 resource:Q812285 . ?l rdf:type ontology:Q2668072 }
Bavarian State Painting Collections
action filter_type
action find_reverse
entity Bavarian State Painting Collections
relation part of
type collection
[{'concept': 'collection'}, 'part of', 'Bavarian State Painting Collections']
SELECT DISTINCT ?l WHERE { ?l property:part_of resource:Bavarian_State_Painting_Collections . ?l rdf:type ontology:collection }
[]
collection
Clarification for simple ques.
Q733389
SYSTEM
Did you mean Villa Medici ?
Q256507 Q812285 Q733389
(c(Q2668072),P361,Q256507) (c(Q2668072),P361,Q812285) (c(Q2668072),P361,Q733389)
[ANSWER]
[{'concept': 'Q2668072'}, 'P361', 'Q256507'] [{'concept': 'Q2668072'}, 'P361', 'Q812285'] [{'concept': 'Q2668072'}, 'P361', 'Q733389']
SELECT DISTINCT ?l WHERE { ?l property:P361 resource:Q812285 . ?l rdf:type ontology:Q2668072 }
Bavarian State Library Bavarian State Painting Collections Villa Medici
Did you mean Villa Medici ?
Villa Medici
[{'concept': 'collection'}, 'part of', 'Bavarian State Library'] [{'concept': 'collection'}, 'part of', 'Bavarian State Painting Collections'] [{'concept': 'collection'}, 'part of', 'Villa Medici']
SELECT DISTINCT ?l WHERE { ?l property:part_of resource:Bavarian_State_Painting_Collections . ?l rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
USER
No, I meant Bavarian State Painting Collections. Could you tell me the answer for that?
(c(Q2668072),P361,Q812285)
Q812285
[{'concept': 'Q2668072'}, 'P361', 'Q812285']
[{'concept': 'collection'}, 'part of', 'Bavarian State Painting Collections']
[]
Q170152 Q2324938 Q879314
SYSTEM
Neue Pinakothek, Staatsgalerie Altdeutsche Meister, Türkentor
Q170152 Q258597 Q2324938 Q2324939 Q879314 Q892078 Q15123451 Q523652
(c(Q2668072),P361,Q812285)
action filter_type
action find_reverse
entity Q812285
relation P361
type Q2668072
[ANSWERS] are a part of that one
[{'concept': 'Q2668072'}, 'P361', 'Q812285']
SELECT DISTINCT ?l WHERE { ?l property:P361 resource:Q812285 . ?l rdf:type ontology:Q2668072 }
Neue Pinakothek Museum Brandhorst Staatsgalerie Altdeutsche Meister Staatsgalerie Aschaffenburg Türkentor Staatsgalerie Moderne Kunst Olaf-Gulbransson-Museum Tegernsee Schackgalerie
Neue Pinakothek, Staatsgalerie Altdeutsche Meister and Türkentor are a part of that one
Neue Pinakothek Staatsgalerie Altdeutsche Meister Türkentor
action filter_type
action find_reverse
entity Bavarian State Painting Collections
relation part of
type collection
[{'concept': 'collection'}, 'part of', 'Bavarian State Painting Collections']
SELECT DISTINCT ?l WHERE { ?l property:part_of resource:Bavarian_State_Painting_Collections . ?l rdf:type ontology:collection }
[]