Simple Question (Direct)
Simple Question
Q163549
P136
Q1792379
USER
What can be considered as category for Black Book ?
(Q163549,P136,c(Q1792379))
action filter_type
action find
entity Q163549
relation P136
type Q1792379
['Q163549', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?z WHERE { resource:Q163549 property:P136 ?z . ?z rdf:type ontology:Q1792379 }
Black Book
action filter_type
action find
entity Black Book
relation genre
type art genre
['Black Book', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?z WHERE { resource:Black_Book property:genre ?z . ?z rdf:type ontology:art_genre }
[]
art genre
Q369747 Q2484376 Q130232
SYSTEM
war film, thriller film, drama film
Q369747 Q2484376 Q130232
(Q163549,P136,c(Q1792379))
action filter_type
action find
entity Q163549
relation P136
type Q1792379
The [ANSWERS] can be considered as category for Black Book
['Q163549', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?z WHERE { resource:Q163549 property:P136 ?z . ?z rdf:type ontology:Q1792379 }
war film thriller film drama film
The war film, thriller film and drama film can be considered as category for Black Book
war film thriller film drama film
action filter_type
action find
entity Black Book
relation genre
type art genre
['Black Book', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?z WHERE { resource:Black_Book property:genre ?z . ?z rdf:type ontology:art_genre }
[]
Clarification
Simple Question|Single Entity|Indirect
Q369747
P921
Q831663
USER
What was that art genre mainly about ?
(Q369747,P921,c(Q831663))
action filter_type
action find
entity Q369747
relation P921
type Q831663
['Q369747', 'P921', {'concept': 'Q831663'}]
SELECT DISTINCT ?u WHERE { resource:Q369747 property:P921 ?u . ?u rdf:type ontology:Q831663 }
war film
action filter_type
action find
entity war film
relation main subject
type military campaign
['war film', 'main subject', {'concept': 'military campaign'}]
SELECT DISTINCT ?u WHERE { resource:war_film property:main_subject ?u . ?u rdf:type ontology:military_campaign }
[]
military campaign
Clarification for simple ques.
Q2484376
SYSTEM
Did you mean thriller film ?
Q369747 Q2484376 Q130232
(Q369747,P921,c(Q831663)) (Q2484376,P921,c(Q831663)) (Q130232,P921,c(Q831663))
[ANSWER]
['Q369747', 'P921', {'concept': 'Q831663'}] ['Q2484376', 'P921', {'concept': 'Q831663'}] ['Q130232', 'P921', {'concept': 'Q831663'}]
SELECT DISTINCT ?u WHERE { resource:Q369747 property:P921 ?u . ?u rdf:type ontology:Q831663 }
war film thriller film drama film
Did you mean thriller film ?
thriller film
['war film', 'main subject', {'concept': 'military campaign'}] ['thriller film', 'main subject', {'concept': 'military campaign'}] ['drama film', 'main subject', {'concept': 'military campaign'}]
SELECT DISTINCT ?u WHERE { resource:war_film property:main_subject ?u . ?u rdf:type ontology:military_campaign }
[]
Simple Question (Coreferenced)
USER
No, I meant war film. Could you tell me the answer for that?
(Q369747,P921,c(Q831663))
Q369747
['Q369747', 'P921', {'concept': 'Q831663'}]
['war film', 'main subject', {'concept': 'military campaign'}]
[]
Q198
SYSTEM
war
Q198
(Q369747,P921,c(Q831663))
action filter_type
action find
entity Q369747
relation P921
type Q831663
Mainly that art genre was about the [ANSWER]
['Q369747', 'P921', {'concept': 'Q831663'}]
SELECT DISTINCT ?u WHERE { resource:Q369747 property:P921 ?u . ?u rdf:type ontology:Q831663 }
war
Mainly that art genre was about the war
war
action filter_type
action find
entity war film
relation main subject
type military campaign
['war film', 'main subject', {'concept': 'military campaign'}]
SELECT DISTINCT ?u WHERE { resource:war_film property:main_subject ?u . ?u rdf:type ontology:military_campaign }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1028
Q502895 Q1792379
USER
Which people gives atmost 1 art genre in charity ?
(c(Q1792379),P1028,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
value 1
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P1028 ?c . ?c rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1792379 } GROUP BY ?c } . FILTER ( ?n <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
value 1
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:donated_by ?c . ?c rdf:type ontology:common_name . ?y rdf:type ontology:art_genre } GROUP BY ?c } . FILTER ( ?n <= 1 ) }
[]
common name art genre
Q22686 Q134817 Q2677
SYSTEM
Donald Trump, Abdul Hamid II, Wilhelm II
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q4770723 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
value 1
[ANSWERS] give atmost 1 art genre in charity
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P1028 ?c . ?c rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1792379 } GROUP BY ?c } . FILTER ( ?n <= 1 ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis A. Conger Goodyear Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
Donald Trump, Abdul Hamid II and Wilhelm II give atmost 1 art genre in charity
Donald Trump Abdul Hamid II Wilhelm II
action atmost
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
value 1
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:donated_by ?c . ?c rdf:type ontology:common_name . ?y rdf:type ontology:art_genre } GROUP BY ?c } . FILTER ( ?n <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q22575803
P180
Q31629 Q874405 Q1792379
USER
Which art genres express less number of types of sport or social groups than Going swimming, from the theme mother and child ?
(c(Q1792379),P180,c(Q31629)|c(Q874405))
action less
action union
action find_tuple_counts
relation P180
type Q1792379
type Q31629
action find_tuple_counts
relation P180
type Q1792379
type Q874405
action count
action filter_multi_types
action find
entity Q22575803
relation P180
type Q31629
type Q874405
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q31629'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q22575803 property:P180 ?s . { { ?s rdf:type ontology:Q31629 } UNION { ?s rdf:type ontology:Q874405 } } } } . FILTER ( ?i < ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?t WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q31629 ) ( ontology:Q874405 ) } } GROUP BY ?t } }
Going swimming, from the theme mother and child
action less
action union
action find_tuple_counts
relation depicts
type art genre
type type of sport
action find_tuple_counts
relation depicts
type art genre
type social group
action count
action filter_multi_types
action find
entity Going swimming, from the theme mother and child
relation depicts
type type of sport
type social group
[{'concept': 'art genre'}, 'depicts', [{'concept': 'type of sport'}, {'concept': 'social group'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Going_swimming,_from_the_theme_mother_and_child property:depicts ?s . { { ?s rdf:type ontology:type_of_sport } UNION { ?s rdf:type ontology:social_group } } } } . FILTER ( ?i < ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?t WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:type_of_sport ) ( ontology:social_group ) } } GROUP BY ?t } }
[]
type of sport social group art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q18661427 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q31629)|c(Q874405))
action less
action union
action find_tuple_counts
relation P180
type Q1792379
type Q31629
action find_tuple_counts
relation P180
type Q1792379
type Q874405
action count
action filter_multi_types
action find
entity Q22575803
relation P180
type Q31629
type Q874405
[ANSWERS] express less number of types of sport or social groups than Going swimming, from the theme mother and child
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q31629'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q22575803 property:P180 ?s . { { ?s rdf:type ontology:Q31629 } UNION { ?s rdf:type ontology:Q874405 } } } } . FILTER ( ?i < ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?t WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q31629 ) ( ontology:Q874405 ) } } GROUP BY ?t } }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Memorial of the people of Pori Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Above and Below and The Ring of Fire express less number of types of sport or social groups than Going swimming, from the theme mother and child
Self-Portrait with Monkey Above and Below The Ring of Fire
action less
action union
action find_tuple_counts
relation depicts
type art genre
type type of sport
action find_tuple_counts
relation depicts
type art genre
type social group
action count
action filter_multi_types
action find
entity Going swimming, from the theme mother and child
relation depicts
type type of sport
type social group
[{'concept': 'art genre'}, 'depicts', [{'concept': 'type of sport'}, {'concept': 'social group'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Going_swimming,_from_the_theme_mother_and_child property:depicts ?s . { { ?s rdf:type ontology:type_of_sport } UNION { ?s rdf:type ontology:social_group } } } } . FILTER ( ?i < ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) ?t WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:type_of_sport ) ( ontology:social_group ) } } GROUP BY ?t } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q22686 Q1144606
P410
Q4189293
USER
How many titles were the military ranks conferred upon Donald Trump or Nils Olav ?
(Q22686,P410,c(Q4189293)) (Q1144606,P410,c(Q4189293))
action count
action union
action filter_type
action find
entity Q22686
relation P410
type Q4189293
action filter_type
action find
entity Q1144606
relation P410
type Q4189293
['Q22686', 'P410', {'concept': 'Q4189293'}] ['Q1144606', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { VALUES ( ?p ) { ( resource:Q22686 ) ( resource:Q1144606 ) } . ?p property:P410 ?j }
Donald Trump Nils Olav
action count
action union
action filter_type
action find
entity Donald Trump
relation military rank
type title
action filter_type
action find
entity Nils Olav
relation military rank
type title
['Donald Trump', 'military rank', {'concept': 'title'}] ['Nils Olav', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { VALUES ( ?p ) { ( resource:Donald_Trump ) ( resource:Nils_Olav ) } . ?p property:military_rank ?j }
[]
title
SYSTEM
3
Q41685 Q1463070 Q17378201
(Q22686,P410,c(Q4189293)) (Q1144606,P410,c(Q4189293))
action count
action union
action filter_type
action find
entity Q22686
relation P410
type Q4189293
action filter_type
action find
entity Q1144606
relation P410
type Q4189293
[ANSWER]
['Q22686', 'P410', {'concept': 'Q4189293'}] ['Q1144606', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { VALUES ( ?p ) { ( resource:Q22686 ) ( resource:Q1144606 ) } . ?p property:P410 ?j }
brigadier lance corporal corporal
3
action count
action union
action filter_type
action find
entity Donald Trump
relation military rank
type title
action filter_type
action find
entity Nils Olav
relation military rank
type title
['Donald Trump', 'military rank', {'concept': 'title'}] ['Nils Olav', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { VALUES ( ?p ) { ( resource:Donald_Trump ) ( resource:Nils_Olav ) } . ?p property:military_rank ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q1792379 Q2031291 Q502895
USER
How many art genres are the genre for exactly 10 releases or people ?
(c(Q2031291)|c(Q502895),P136,c(Q1792379))
action count
action equal
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q502895
value 10
[[{'concept': 'Q2031291'}, {'concept': 'Q502895'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { FILTER ( ?h = 10 ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?h ) WHERE { { ?r property:P136 ?y . ?y rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q2031291 } UNION { ?r property:P136 ?y . ?y rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q502895 } } GROUP BY ?y } }
action count
action equal
action union
action find_reverse_tuple_counts
relation genre
type art genre
type release
action find_reverse_tuple_counts
relation genre
type art genre
type common name
value 10
[[{'concept': 'release'}, {'concept': 'common name'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { FILTER ( ?h = 10 ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?h ) WHERE { { ?r property:genre ?y . ?y rdf:type ontology:art_genre . ?r rdf:type ontology:release } UNION { ?r property:genre ?y . ?y rdf:type ontology:art_genre . ?r rdf:type ontology:common_name } } GROUP BY ?y } }
[]
art genre release common name
SYSTEM
2
Q93196 Q1054574
(c(Q2031291)|c(Q502895),P136,c(Q1792379))
action count
action equal
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q502895
value 10
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q502895'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { FILTER ( ?h = 10 ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?h ) WHERE { { ?r property:P136 ?y . ?y rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q2031291 } UNION { ?r property:P136 ?y . ?y rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q502895 } } GROUP BY ?y } }
Bollywood romance film
2
action count
action equal
action union
action find_reverse_tuple_counts
relation genre
type art genre
type release
action find_reverse_tuple_counts
relation genre
type art genre
type common name
value 10
[[{'concept': 'release'}, {'concept': 'common name'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { FILTER ( ?h = 10 ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?h ) WHERE { { ?r property:genre ?y . ?y rdf:type ontology:art_genre . ?r rdf:type ontology:release } UNION { ?r property:genre ?y . ?y rdf:type ontology:art_genre . ?r rdf:type ontology:common_name } } GROUP BY ?y } }
[]