Simple Question (Direct)
Simple Question
Q6848757
P19
Q56061
USER
Which administrative territory is the birthplace of Mike Seerey ?
(Q6848757,P19,c(Q56061))
action filter_type
action find
entity Q6848757
relation P19
type Q56061
['Q6848757', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q6848757 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Mike Seerey
action filter_type
action find
entity Mike Seerey
relation place of birth
type administrative territorial entity
['Mike Seerey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Seerey property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q38022
SYSTEM
St. Louis
Q38022
(Q6848757,P19,c(Q56061))
action filter_type
action find
entity Q6848757
relation P19
type Q56061
[ANSWER] is the birthplace of Mike Seerey
['Q6848757', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q6848757 property:P19 ?l . ?l rdf:type ontology:Q56061 }
St. Louis
St. Louis is the birthplace of Mike Seerey
St. Louis
action filter_type
action find
entity Mike Seerey
relation place of birth
type administrative territorial entity
['Mike Seerey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Seerey property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6848757
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q38022,P27,c(Q15617994))
action filter_type
action find
entity Q6848757
relation P27
type Q15617994
['Q38022', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q6848757 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Mike Seerey
action filter_type
action find
entity Mike Seerey
relation country of citizenship
type designation for an administrative territorial entity
['St. Louis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Seerey property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q38022,P27,c(Q15617994))
action filter_type
action find
entity Q6848757
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q38022', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q6848757 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Mike Seerey
relation country of citizenship
type designation for an administrative territorial entity
['St. Louis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Seerey property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6848757
P69
Q163740
USER
Which nonprofit organization is that person an alumni of ?
(Q30,P69,c(Q163740))
action filter_type
action find
entity Q6848757
relation P69
type Q163740
['Q30', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q6848757 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Mike Seerey
action filter_type
action find
entity Mike Seerey
relation educated at
type nonprofit organization
['United States of America', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:Mike_Seerey property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q734774
SYSTEM
Saint Louis University
Q734774
(Q30,P69,c(Q163740))
action filter_type
action find
entity Q6848757
relation P69
type Q163740
[ANSWER] is that person an alumni of
['Q30', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q6848757 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Saint Louis University
Saint Louis University is that person an alumni of
Saint Louis University
action filter_type
action find
entity Mike Seerey
relation educated at
type nonprofit organization
['United States of America', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:Mike_Seerey property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q734774 Q7571212
P17
Q15617994
USER
Is Saint Louis University situated in Southwest Allen County Schools ?
(Q734774,P17,Q7571212)
action is_in
entity Q7571212
action find
entity Q734774
relation P17
['Q734774', 'P17', 'Q7571212']
ASK WHERE { resource:Q734774 property:P17 resource:Q7571212 }
Saint Louis University Southwest Allen County Schools
action is_in
entity Southwest Allen County Schools
action find
entity Saint Louis University
relation country
['Saint Louis University', 'country', 'Southwest Allen County Schools']
ASK WHERE { resource:Saint_Louis_University property:country resource:Southwest_Allen_County_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q734774,P17,Q7571212)
action is_in
entity Q7571212
action find
entity Q734774
relation P17
[ANSWER]
['Q734774', 'P17', 'Q7571212']
ASK WHERE { resource:Q734774 property:P17 resource:Q7571212 }
No
action is_in
entity Southwest Allen County Schools
action find
entity Saint Louis University
relation country
['Saint Louis University', 'country', 'Southwest Allen County Schools']
ASK WHERE { resource:Saint_Louis_University property:country resource:Southwest_Allen_County_Schools }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q1635320
P530
Q1048835
USER
Does Navas de Bureba have diplomatic relations with United States of America ?
(Q30,P530,Q1635320)
action is_in
entity Q1635320
action find
entity Q30
relation P530
['Q30', 'P530', 'Q1635320']
ASK WHERE { resource:Q30 property:P530 resource:Q1635320 }
United States of America Navas de Bureba
action is_in
entity Navas de Bureba
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Navas de Bureba']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Navas_de_Bureba }
[]
political territorial entity
SYSTEM
NO
(Q30,P530,Q1635320)
action is_in
entity Q1635320
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q1635320']
ASK WHERE { resource:Q30 property:P530 resource:Q1635320 }
No
action is_in
entity Navas de Bureba
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Navas de Bureba']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Navas_de_Bureba }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6848757 Q13108218
P641
Q349
USER
Was Mike Seerey a part of gymnastics ?
(Q6848757,P641,Q13108218)
action is_in
entity Q13108218
action find
entity Q6848757
relation P641
['Q6848757', 'P641', 'Q13108218']
ASK WHERE { resource:Q6848757 property:P641 resource:Q13108218 }
Mike Seerey gymnastics
action is_in
entity gymnastics
action find
entity Mike Seerey
relation sport
['Mike Seerey', 'sport', 'gymnastics']
ASK WHERE { resource:Mike_Seerey property:sport resource:gymnastics }
[]
sport
SYSTEM
NO
(Q6848757,P641,Q13108218)
action is_in
entity Q13108218
action find
entity Q6848757
relation P641
[ANSWER]
['Q6848757', 'P641', 'Q13108218']
ASK WHERE { resource:Q6848757 property:P641 resource:Q13108218 }
No
action is_in
entity gymnastics
action find
entity Mike Seerey
relation sport
['Mike Seerey', 'sport', 'gymnastics']
ASK WHERE { resource:Mike_Seerey property:sport resource:gymnastics }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q38022 Q5674917 Q638433
P17
Q15617994
USER
Is St. Louis located in Hartley Independent School District and Börm ?
(Q38022,P17,Q5674917) (Q38022,P17,Q638433)
action is_in
entity Q38022
action intersection
action find_reverse
entity Q5674917
relation P17
action find_reverse
entity Q638433
relation P17
['Q38022', 'P17', 'Q5674917'] ['Q38022', 'P17', 'Q638433']
ASK WHERE { resource:Q38022 property:P17 resource:Q638433 . resource:Q38022 property:P17 resource:Q5674917 }
St. Louis Hartley Independent School District Börm
action is_in
entity St. Louis
action intersection
action find_reverse
entity Hartley Independent School District
relation country
action find_reverse
entity Börm
relation country
['St. Louis', 'country', 'Hartley Independent School District'] ['St. Louis', 'country', 'Börm']
ASK WHERE { resource:St._Louis property:country resource:Börm . resource:St._Louis property:country resource:Hartley_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q38022,P17,Q5674917) (Q38022,P17,Q638433)
action is_in
entity Q38022
action intersection
action find_reverse
entity Q5674917
relation P17
action find_reverse
entity Q638433
relation P17
[ANSWER]
['Q38022', 'P17', 'Q5674917'] ['Q38022', 'P17', 'Q638433']
ASK WHERE { resource:Q38022 property:P17 resource:Q638433 . resource:Q38022 property:P17 resource:Q5674917 }
No
action is_in
entity St. Louis
action intersection
action find_reverse
entity Hartley Independent School District
relation country
action find_reverse
entity Börm
relation country
['St. Louis', 'country', 'Hartley Independent School District'] ['St. Louis', 'country', 'Börm']
ASK WHERE { resource:St._Louis property:country resource:Börm . resource:St._Louis property:country resource:Hartley_Independent_School_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5587948
P106
Q12737077
USER
What is the profession of Sam Browne ?
(Q5587948,P106,c(Q12737077))
action filter_type
action find
entity Q5587948
relation P106
type Q12737077
['Q5587948', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5587948 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Sam Browne
action filter_type
action find
entity Sam Browne
relation occupation
type occupation
['Sam Browne', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Sam_Browne property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q15981151
SYSTEM
jazz musician
Q15981151
(Q5587948,P106,c(Q12737077))
action filter_type
action find
entity Q5587948
relation P106
type Q12737077
The profession of Sam Browne is a [ANSWER]
['Q5587948', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5587948 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
jazz musician
The profession of Sam Browne is a jazz musician
jazz musician
action filter_type
action find
entity Sam Browne
relation occupation
type occupation
['Sam Browne', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Sam_Browne property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4696077
Q12737077
USER
And what about Ahmed al-Barak?
(Q4696077,P106,c(Q12737077))
action filter_type
action find
entity Q4696077
relation P106
type Q12737077
['Q4696077', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4696077 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Ahmed al-Barak
action filter_type
action find
entity Ahmed al-Barak
relation occupation
type occupation
['Ahmed al-Barak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Ahmed_al-Barak property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q4696077,P106,c(Q12737077))
action filter_type
action find
entity Q4696077
relation P106
type Q12737077
[ANSWER]
['Q4696077', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4696077 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Ahmed al-Barak
relation occupation
type occupation
['Ahmed al-Barak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Ahmed_al-Barak property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q280006 Q30
P161 P6
Q502895
USER
Which people are the head of government of United States of America or starred in The Grand ?
OR((Q30,P6,c(Q502895)), (Q280006,P161,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q280006
relation P161
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q280006', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q30 property:P6 ?a } UNION { resource:Q280006 property:P161 ?a } } . ?a rdf:type ontology:Q502895 }
The Grand United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity The Grand
relation cast member
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['The Grand', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { { { resource:United_States_of_America property:head_of_government ?a } UNION { resource:The_Grand property:cast_member ?a } } . ?a rdf:type ontology:common_name }
[]
common name
Q11896 Q35498 Q311754 Q34836 Q23685 Q35171 Q9916 Q35041 Q35236 Q35286
SYSTEM
Some of them are Zachary Taylor, Chester A. Arthur, Jason Alexander, Ulysses S. Grant, Jimmy Carter, Grover Cleveland, Dwight D. Eisenhower, William McKinley, Herbert Hoover, Warren G. Harding
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q607678 Q35648 Q35498 Q9582 Q11806 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q1384181 Q451934 Q22686 Q34597 Q44131 Q36023 Q11881 Q9916 Q12312 Q724348 Q202056 Q201279 Q1077635 Q272917 Q272935 Q228882 Q35286 Q449959 Q9640 Q236189 Q35686 Q11820 Q35678 Q362332 Q35041 Q311754 Q319204 Q34296 Q76 Q8612 Q34836 Q23505 Q220836 Q23 Q1124 Q352935 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q280006,P161,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q280006
relation P161
type Q502895
[ANSWERS] are the head of government of United States of America or starred in The Grand
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q280006', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q30 property:P6 ?a } UNION { resource:Q280006 property:P161 ?a } } . ?a rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt Barry Corbin William Howard Taft Chester A. Arthur Gerald Ford John Adams William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Michael McKean Andrea Savage Donald Trump James A. Garfield Werner Herzog Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce Gabe Kaplan Hank Azaria Woody Harrelson Chris Parnell Cheryl Hines Estelle Harris Shannon Elizabeth Warren G. Harding Richard Kind Lyndon B. Johnson Judy Greer Rutherford B. Hayes Martin Van Buren Benjamin Harrison David Cross William McKinley Jason Alexander Brett Ratner Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush Ray Romano George Washington Bill Clinton Dennis Farina Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
Zachary Taylor, Chester A. Arthur, Jason Alexander, Ulysses S. Grant, Jimmy Carter, Grover Cleveland, Dwight D. Eisenhower, William McKinley, Herbert Hoover and Warren G. Harding are the head of government of United States of America or starred in The Grand
Zachary Taylor Chester A. Arthur Jason Alexander Ulysses S. Grant Jimmy Carter Grover Cleveland Dwight D. Eisenhower William McKinley Herbert Hoover Warren G. Harding
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity The Grand
relation cast member
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['The Grand', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { { { resource:United_States_of_America property:head_of_government ?a } UNION { resource:The_Grand property:cast_member ?a } } . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q280006 Q55965
P162
Q838948
USER
How many works of art have been developed by The Grand or Auguste and Louis Lumière ?
(c(Q838948),P162,Q280006) (c(Q838948),P162,Q55965)
action count
action union
action filter_type
action find_reverse
entity Q280006
relation P162
type Q838948
action filter_type
action find_reverse
entity Q55965
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q280006'] [{'concept': 'Q838948'}, 'P162', 'Q55965']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P162 ?n . VALUES ( ?n ) { ( resource:Q55965 ) ( resource:Q280006 ) } }
The Grand Auguste and Louis Lumière
action count
action union
action filter_type
action find_reverse
entity The Grand
relation producer
type work of art
action filter_type
action find_reverse
entity Auguste and Louis Lumière
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'The Grand'] [{'concept': 'work of art'}, 'producer', 'Auguste and Louis Lumière']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:producer ?n . VALUES ( ?n ) { ( resource:Auguste_and_Louis_Lumière ) ( resource:The_Grand ) } }
[]
work of art
SYSTEM
2
Q2324022 Q5043229
(c(Q838948),P162,Q280006) (c(Q838948),P162,Q55965)
action count
action union
action filter_type
action find_reverse
entity Q280006
relation P162
type Q838948
action filter_type
action find_reverse
entity Q55965
relation P162
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P162', 'Q280006'] [{'concept': 'Q838948'}, 'P162', 'Q55965']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P162 ?n . VALUES ( ?n ) { ( resource:Q55965 ) ( resource:Q280006 ) } }
Bataille de boules de neige Carmaux, défournage du coke
2
action count
action union
action filter_type
action find_reverse
entity The Grand
relation producer
type work of art
action filter_type
action find_reverse
entity Auguste and Louis Lumière
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'The Grand'] [{'concept': 'work of art'}, 'producer', 'Auguste and Louis Lumière']
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:producer ?n . VALUES ( ?n ) { ( resource:Auguste_and_Louis_Lumière ) ( resource:The_Grand ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q1656682 Q2668072 Q502895
USER
Which people were displayed at approximately 5 events or collections ?
(c(Q502895),P608,c(Q1656682)|c(Q2668072))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q2668072
value 5
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?b WHERE { { ?b property:P608 ?g . ?b rdf:type ontology:Q502895 . ?g rdf:type ontology:Q1656682 } UNION { ?b property:P608 ?g . ?b rdf:type ontology:Q502895 . ?g rdf:type ontology:Q2668072 } } GROUP BY ?b } . FILTER ( ?y = 5 ) }
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type collection
value 5
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'collection'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?b WHERE { { ?b property:exhibition_history ?g . ?b rdf:type ontology:common_name . ?g rdf:type ontology:event } UNION { ?b property:exhibition_history ?g . ?b rdf:type ontology:common_name . ?g rdf:type ontology:collection } } GROUP BY ?b } . FILTER ( ?y = 5 ) }
[]
event collection common name
Q1964408 Q15527965
SYSTEM
Nan Hoover, Margaretha Roosenboom
Q1964408 Q15527965
(c(Q502895),P608,c(Q1656682)|c(Q2668072))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q2668072
value 5
[ANSWERS] were displayed at approximately 5 events or collections
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?b WHERE { { ?b property:P608 ?g . ?b rdf:type ontology:Q502895 . ?g rdf:type ontology:Q1656682 } UNION { ?b property:P608 ?g . ?b rdf:type ontology:Q502895 . ?g rdf:type ontology:Q2668072 } } GROUP BY ?b } . FILTER ( ?y = 5 ) }
Nan Hoover Margaretha Roosenboom
Nan Hoover and Margaretha Roosenboom were displayed at approximately 5 events or collections
Nan Hoover Margaretha Roosenboom
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type collection
value 5
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'collection'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?b WHERE { { ?b property:exhibition_history ?g . ?b rdf:type ontology:common_name . ?g rdf:type ontology:event } UNION { ?b property:exhibition_history ?g . ?b rdf:type ontology:common_name . ?g rdf:type ontology:collection } } GROUP BY ?b } . FILTER ( ?y = 5 ) }
[]