Simple Question (Direct)
Simple Question
Q3380159
P27
Q15617994
USER
Which administrative territory does Philippe Lauzun belong to ?
(Q3380159,P27,c(Q15617994))
action filter_type
action find
entity Q3380159
relation P27
type Q15617994
['Q3380159', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3380159 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Philippe Lauzun
action filter_type
action find
entity Philippe Lauzun
relation country of citizenship
type designation for an administrative territorial entity
['Philippe Lauzun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Philippe_Lauzun property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3380159,P27,c(Q15617994))
action filter_type
action find
entity Q3380159
relation P27
type Q15617994
Philippe Lauzun belongs to [ANSWER]
['Q3380159', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3380159 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
France
Philippe Lauzun belongs to France
France
action filter_type
action find
entity Philippe Lauzun
relation country of citizenship
type designation for an administrative territorial entity
['Philippe Lauzun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Philippe_Lauzun property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P88
Q340169
USER
Which media was approved by that administrative territory ?
(c(Q340169),P88,Q142)
action filter_type
action find_reverse
entity Q142
relation P88
type Q340169
[{'concept': 'Q340169'}, 'P88', 'Q142']
SELECT DISTINCT ?u WHERE { ?u property:P88 resource:Q142 . ?u rdf:type ontology:Q340169 }
France
action filter_type
action find_reverse
entity France
relation commissioned by
type media
[{'concept': 'media'}, 'commissioned by', 'France']
SELECT DISTINCT ?u WHERE { ?u property:commissioned_by resource:France . ?u rdf:type ontology:media }
[]
media
Q2956370
SYSTEM
Chanteur florentin du XVe siècle
Q2956370
(c(Q340169),P88,Q142)
action filter_type
action find_reverse
entity Q142
relation P88
type Q340169
[ANSWER] was approved by that administrative territory
[{'concept': 'Q340169'}, 'P88', 'Q142']
SELECT DISTINCT ?u WHERE { ?u property:P88 resource:Q142 . ?u rdf:type ontology:Q340169 }
Chanteur florentin du XVe siècle
Chanteur florentin du XVe siècle was approved by that administrative territory
Chanteur florentin du XVe siècle
action filter_type
action find_reverse
entity France
relation commissioned by
type media
[{'concept': 'media'}, 'commissioned by', 'France']
SELECT DISTINCT ?u WHERE { ?u property:commissioned_by resource:France . ?u rdf:type ontology:media }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P608
Q464980 Q340169
USER
Which exhibitions were atmost 3 medias displayed at ?
(c(Q340169),P608,c(Q464980))
action atmost
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
value 3
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P608 ?y . ?y rdf:type ontology:Q464980 . ?a rdf:type ontology:Q340169 } GROUP BY ?y } . FILTER ( ?u <= 3 ) }
action atmost
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
value 3
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:exhibition_history ?y . ?y rdf:type ontology:exhibition . ?a rdf:type ontology:media } GROUP BY ?y } . FILTER ( ?u <= 3 ) }
[]
exhibition media
Q22666748 Q688909 Q15087813
SYSTEM
A beautiful lie - Eckersberg, Armory Show, Mona Lisa Exhibition
Q16643903 Q16977023 Q1114964 Q250578 Q16632328 Q15620849 Q24237549 Q688909 Q15298209 Q17456865 Q16736000 Q15273842 Q283454 Q753646 Q16658565 Q14619895 Q14619896 Q25175731 Q15118718 Q16659398 Q2186413 Q1345539 Q17451431 Q17374739 Q207420 Q329154 Q19057071 Q17093682 Q957317 Q15925025 Q15732002 Q19205977 Q1054110 Q15731376 Q18429168 Q25147506 Q19347412 Q18759729 Q25141765 Q18918844 Q15620425 Q17274259 Q3610454 Q16659396 Q2925732 Q5393515 Q19807149 Q20020104 Q15087813 Q871508 Q15726974 Q17101798 Q1165690 Q15274985 Q15710932 Q22666748 Q15617708 Q23699261 Q16499412 Q15311595 Q15966863 Q23113720 Q15727592 Q285406 Q18745579 Q2977833 Q15711352
(c(Q340169),P608,c(Q464980))
action atmost
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
value 3
[ANSWERS]
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P608 ?y . ?y rdf:type ontology:Q464980 . ?a rdf:type ontology:Q340169 } GROUP BY ?y } . FILTER ( ?u <= 3 ) }
1881 Paris Salon Landscape Reunited：Huang Gongwang and "Dwelling in the Fuchun Mountains＂ Exposition Universelle of 1855 Panama–Pacific International Exposition 1869 Paris Salon 1865 Paris Salon Velázquez Armory Show Salon of 1789 Salon of 1875 Salon of 1795 1808 Salon 1929 Barcelona International Exposition Exposition Universelle of 1900 1824 Paris Salon Mona Lisa by Leonardo da Vinci The Mona Lisa by Leonardo da Vinci J.C. Dahl in Denmark Salon of 1831 1843 Paris Salon Exposition universelle et internationale International Exposition 1867 Salon of 1845 Salon of 1842 1939 New York World's Fair Degenerate Art Exhibition Fantastische Welten Albrecht Altdorfer oder das Expressive in der Kunst um 1500 Salon of 1879 Exposition Universelle of 1889 Salon of 1791 Salon of 1833 1817 Salon Expo 2005 1814 Salon Modern Times: Photography in the 20th Century J.C. Dahl i Italien 1820-1821 Salon of 1891 Hundred Masterpieces in Parisian Collections 1883 Johan Christian Dahl 1788-1857. Jubilee Exhibition 1988 Renaissance Faces salon of 1861 Salon of 1890 0.10 Exhibition 1846 Paris Salon British Institution Ibero-American Exposition of 1929 Dahl and Friedrich. Romantic Landscapes Velazquez a Roma. Velazquez e Roma. Mona Lisa Exhibition Weltausstellung 1873 Wien Salon of 1785 Exposition des primitifs flamands à Bruges Exposition Universelle of 1878 Dominique-Vivant Denon: l'oeil de Napoléo 1852 Paris Salon A beautiful lie - Eckersberg 1806 Salon William Blake's 1809 exhibition 1868 Paris Salon Renoir Seurat Paintings and Drawings Made in Amsterdam - 100 years in 100 works of art Paris Salon of 1863 World's Columbian Exposition Salon de 1837 Claude Monet (1840-1926) 1848 Paris Salon
Atmost 3 medias were displayed A beautiful lie-Eckersberg, Armory Show and Mona Lisa Exhibition
A beautiful lie - Eckersberg Armory Show Mona Lisa Exhibition
action atmost
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
value 3
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:exhibition_history ?y . ?y rdf:type ontology:exhibition . ?a rdf:type ontology:media } GROUP BY ?y } . FILTER ( ?u <= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15087813
P276
Q2668072
USER
Which collection is the location of Mona Lisa Exhibition ?
(Q15087813,P276,c(Q2668072))
action filter_type
action find
entity Q15087813
relation P276
type Q2668072
['Q15087813', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?t WHERE { resource:Q15087813 property:P276 ?t . ?t rdf:type ontology:Q2668072 }
Mona Lisa Exhibition
action filter_type
action find
entity Mona Lisa Exhibition
relation location
type collection
['Mona Lisa Exhibition', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?t WHERE { resource:Mona_Lisa_Exhibition property:location ?t . ?t rdf:type ontology:collection }
[]
collection
Q653433
SYSTEM
Tokyo National Museum
Q653433
(Q15087813,P276,c(Q2668072))
action filter_type
action find
entity Q15087813
relation P276
type Q2668072
[ANSWER] is the location of Mona Lisa Exhibition
['Q15087813', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?t WHERE { resource:Q15087813 property:P276 ?t . ?t rdf:type ontology:Q2668072 }
Tokyo National Museum
Tokyo National Museum is the location of Mona Lisa Exhibition
Tokyo National Museum
action filter_type
action find
entity Mona Lisa Exhibition
relation location
type collection
['Mona Lisa Exhibition', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?t WHERE { resource:Mona_Lisa_Exhibition property:location ?t . ?t rdf:type ontology:collection }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20354527
Q2668072
USER
And how about En gammel kone?
(Q20354527,P276,c(Q2668072))
action filter_type
action find
entity Q20354527
relation P276
type Q2668072
['Q20354527', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?h WHERE { resource:Q20354527 property:P276 ?h . ?h rdf:type ontology:Q2668072 }
En gammel kone
action filter_type
action find
entity En gammel kone
relation location
type collection
['En gammel kone', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?h WHERE { resource:En_gammel_kone property:location ?h . ?h rdf:type ontology:collection }
[]
collection
Q671384
SYSTEM
Statens Museum for Kunst
Q671384
(Q20354527,P276,c(Q2668072))
action filter_type
action find
entity Q20354527
relation P276
type Q2668072
[ANSWER]
['Q20354527', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?h WHERE { resource:Q20354527 property:P276 ?h . ?h rdf:type ontology:Q2668072 }
Statens Museum for Kunst
Statens Museum for Kunst
action filter_type
action find
entity En gammel kone
relation location
type collection
['En gammel kone', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?h WHERE { resource:En_gammel_kone property:location ?h . ?h rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q671384
P195
Q838948
USER
Which works of art are preserved in that collection ?
(c(Q838948),P195,Q671384)
action filter_type
action find_reverse
entity Q671384
relation P195
type Q838948
[{'concept': 'Q838948'}, 'P195', 'Q671384']
SELECT DISTINCT ?a WHERE { ?a property:P195 resource:Q671384 . ?a rdf:type ontology:Q838948 }
Statens Museum for Kunst
action filter_type
action find_reverse
entity Statens Museum for Kunst
relation collection
type work of art
[{'concept': 'work of art'}, 'collection', 'Statens Museum for Kunst']
SELECT DISTINCT ?a WHERE { ?a property:collection resource:Statens_Museum_for_Kunst . ?a rdf:type ontology:work_of_art }
[]
work of art
Q20968213 Q5002061 Q20970386
SYSTEM
Dog at campfire, Bust of Camilla Barbadoni, Cat with Rat
Q22075451 Q20426311 Q20970386 Q22075462 Q22075463 Q20968213 Q5002061
(c(Q838948),P195,Q671384)
action filter_type
action find_reverse
entity Q671384
relation P195
type Q838948
[ANSWERS] are preserved in that collection
[{'concept': 'Q838948'}, 'P195', 'Q671384']
SELECT DISTINCT ?a WHERE { ?a property:P195 resource:Q671384 . ?a rdf:type ontology:Q838948 }
Mermaid Årets tider. Symboliseret ved fire menneskefigurer Cat with Rat Standing Bull Goat Dog at campfire Bust of Camilla Barbadoni
Dog at campfire, Bust of Camilla Barbadoni and Cat with Rat are preserved in that collection
Dog at campfire Bust of Camilla Barbadoni Cat with Rat
action filter_type
action find_reverse
entity Statens Museum for Kunst
relation collection
type work of art
[{'concept': 'work of art'}, 'collection', 'Statens Museum for Kunst']
SELECT DISTINCT ?a WHERE { ?a property:collection resource:Statens_Museum_for_Kunst . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q688909
P135
Q2198855
USER
What cultural movements were Armory Show associated with ?
(Q688909,P135,c(Q2198855))
action filter_type
action find
entity Q688909
relation P135
type Q2198855
['Q688909', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2198855 . resource:Q688909 property:P135 ?f }
Armory Show
action filter_type
action find
entity Armory Show
relation movement
type cultural movement
['Armory Show', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:cultural_movement . resource:Armory_Show property:movement ?f }
[]
cultural movement
Q166593 Q42934
SYSTEM
fauvism, cubism
Q166593 Q42934
(Q688909,P135,c(Q2198855))
action filter_type
action find
entity Q688909
relation P135
type Q2198855
Armory Show were associated with [ANSWERS]
['Q688909', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2198855 . resource:Q688909 property:P135 ?f }
fauvism cubism
Armory Show were associated with fauvism and cubism
fauvism cubism
action filter_type
action find
entity Armory Show
relation movement
type cultural movement
['Armory Show', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:cultural_movement . resource:Armory_Show property:movement ?f }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q151885 Q14952 Q340169
USER
Which medias depict around 2 concepts and headgears ?
(c(Q340169),P180,c(Q151885)|c(Q14952))
action approx
action union
action find_tuple_counts
relation P180
type Q340169
type Q151885
action find_tuple_counts
relation P180
type Q340169
type Q14952
value 2
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q151885'}, {'concept': 'Q14952'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) ?v WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:Q151885 ) ( ontology:Q14952 ) } } GROUP BY ?v } . FILTER ( ?o = 2 ) }
action approx
action union
action find_tuple_counts
relation depicts
type media
type concept
action find_tuple_counts
relation depicts
type media
type headgear
value 2
[{'concept': 'media'}, 'depicts', [{'concept': 'concept'}, {'concept': 'headgear'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) ?v WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:concept ) ( ontology:headgear ) } } GROUP BY ?v } . FILTER ( ?o = 2 ) }
[]
concept headgear media
Q18683315 Q19862176 Q19862186
SYSTEM
Diana Bathing, Arab Standing in Prayer, Man Walking on a Road
Q19938813 Q22075309 Q19960633 Q19973476 Q19862186 Q23054928 Q18686502 Q18683315 Q7232324 Q19862176
(c(Q340169),P180,c(Q151885)|c(Q14952))
action approx
action union
action find_tuple_counts
relation P180
type Q340169
type Q151885
action find_tuple_counts
relation P180
type Q340169
type Q14952
value 2
[ANSWERS] depict around 2 concepts and headgears
[{'concept': 'Q340169'}, 'P180', [{'concept': 'Q151885'}, {'concept': 'Q14952'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) ?v WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:Q151885 ) ( ontology:Q14952 ) } } GROUP BY ?v } . FILTER ( ?o = 2 ) }
Electro Steel Smelter, Sweden Passengers in the tramway Lovers Profiting from the Drowsiness of the Grandmother by Jean-Baptiste Greuze in the Museum of Fine Arts. About 1785. Black and brown ink, gray and brown wash over graphite pencil. Four Studies of a Female Nude, an Annunciation and Two Studies of a Woman Swimming Man Walking on a Road Boat Journey A Father Curses hos Ungrateful Son Diana Bathing Portrait of a Man in a Top Hat Arab Standing in Prayer
Diana Bathing, Arab Standing in Prayer and Man Walking on a Road depict around 2 concepts and headgears
Diana Bathing Arab Standing in Prayer Man Walking on a Road
action approx
action union
action find_tuple_counts
relation depicts
type media
type concept
action find_tuple_counts
relation depicts
type media
type headgear
value 2
[{'concept': 'media'}, 'depicts', [{'concept': 'concept'}, {'concept': 'headgear'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) ?v WHERE { ?l rdf:type ?m . VALUES ( ?m ) { ( ontology:concept ) ( ontology:headgear ) } } GROUP BY ?v } . FILTER ( ?o = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P608
Q464980 Q340169
USER
How many exhibitions were approximately 1 media exhibited ?
(c(Q340169),P608,c(Q464980))
action count
action approx
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
value 1
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P608 ?x . ?x rdf:type ontology:Q464980 . ?w rdf:type ontology:Q340169 } GROUP BY ?x } . FILTER ( ?z = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
value 1
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:exhibition_history ?x . ?x rdf:type ontology:exhibition . ?w rdf:type ontology:media } GROUP BY ?x } . FILTER ( ?z = 1 ) }
[]
exhibition media
SYSTEM
6
Q1345539 Q957317 Q871508 Q17101798 Q22666748 Q15966863
(c(Q340169),P608,c(Q464980))
action count
action approx
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
value 1
[ANSWER]
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P608 ?x . ?x rdf:type ontology:Q464980 . ?w rdf:type ontology:Q340169 } GROUP BY ?x } . FILTER ( ?z = 1 ) }
International Exposition 1867 Exposition Universelle of 1889 Weltausstellung 1873 Wien Exposition des primitifs flamands à Bruges A beautiful lie - Eckersberg Seurat Paintings and Drawings
6
action count
action approx
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
value 1
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:exhibition_history ?x . ?x rdf:type ontology:exhibition . ?w rdf:type ontology:media } GROUP BY ?x } . FILTER ( ?z = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P195
Q2668072 Q15709879 Q234460
USER
Which collections have max number of artwork series and texts in it ?
(c(Q15709879)|c(Q234460),P195,c(Q2668072))
action argmax
action union
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q15709879
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q234460
[[{'concept': 'Q15709879'}, {'concept': 'Q234460'}], 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?t WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15709879 ) ( ontology:Q234460 ) } } GROUP BY ?t } } . FILTER ( ?d = ?i ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?l WHERE { { ?f property:P195 ?l . ?l rdf:type ontology:Q2668072 . ?f rdf:type ontology:Q15709879 } UNION { ?f property:P195 ?l . ?l rdf:type ontology:Q2668072 . ?f rdf:type ontology:Q234460 } } GROUP BY ?l } }
action argmax
action union
action find_reverse_tuple_counts
relation collection
type collection
type artwork series
action find_reverse_tuple_counts
relation collection
type collection
type text
[[{'concept': 'artwork series'}, {'concept': 'text'}], 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?t WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:artwork_series ) ( ontology:text ) } } GROUP BY ?t } } . FILTER ( ?d = ?i ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?l WHERE { { ?f property:collection ?l . ?l rdf:type ontology:collection . ?f rdf:type ontology:artwork_series } UNION { ?f property:collection ?l . ?l rdf:type ontology:collection . ?f rdf:type ontology:text } } GROUP BY ?l } }
[]
collection artwork series text
Q193563
SYSTEM
Bibliothèque nationale de France
Q193563
(c(Q15709879)|c(Q234460),P195,c(Q2668072))
action argmax
action union
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q15709879
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q234460
[ANSWER] have max number of artwork series and texts in it
[[{'concept': 'Q15709879'}, {'concept': 'Q234460'}], 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?t WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15709879 ) ( ontology:Q234460 ) } } GROUP BY ?t } } . FILTER ( ?d = ?i ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?l WHERE { { ?f property:P195 ?l . ?l rdf:type ontology:Q2668072 . ?f rdf:type ontology:Q15709879 } UNION { ?f property:P195 ?l . ?l rdf:type ontology:Q2668072 . ?f rdf:type ontology:Q234460 } } GROUP BY ?l } }
Bibliothèque nationale de France
Bibliothèque nationale de France have max number of artwork series and texts in it
Bibliothèque nationale de France
action argmax
action union
action find_reverse_tuple_counts
relation collection
type collection
type artwork series
action find_reverse_tuple_counts
relation collection
type collection
type text
[[{'concept': 'artwork series'}, {'concept': 'text'}], 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?t WHERE { ?y rdf:type ?q . VALUES ( ?q ) { ( ontology:artwork_series ) ( ontology:text ) } } GROUP BY ?t } } . FILTER ( ?d = ?i ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?l WHERE { { ?f property:collection ?l . ?l rdf:type ontology:collection . ?f rdf:type ontology:artwork_series } UNION { ?f property:collection ?l . ?l rdf:type ontology:collection . ?f rdf:type ontology:text } } GROUP BY ?l } }
[]