Overview# The Cultural Japan RDF store contains information about exhibitions. You can retrieve a list using a query like the following, specifying type:展覧会 (Exhibition) for rdf:type.
P P s } R R e ? E E l s F F e I I c r X X t d f t r d : r y d i t d p f s y f e s t p s : : i e : n l < < c t a h h t y b t t p e t t e l p p : s : w 展 ? : h 覧 l e 会 a w r ; b j w e e p w l s . { e w . a 3 r . c o h r . g g 2 . 0 j 0 p 0 / / t 0 e 1 r / m r / d t f y - p s e c / h > e m a # > https://ld.cultural.jp/snorql/?query=select+distinct+*+where+{ %3Fs+rdf%3Atype+type%3A展覧会%3B +++++++rdfs%3Alabel+%3Flabel+.+ } ++
This article introduces an example of utilizing the information from these exhibitions.
List of Exhibitions# Each exhibition has values such as jps:temporal and jps:spatial. (These may have multiple values.)
https://ld.cultural.jp/data/apmoa-exhib-2021-soga
Using the following query, you can retrieve a list including exhibition metadata.
P P P P s ? ( ( ( ( ( w } g o R R R R e s G G G G C h ? r r E E E E l R R R R O e s o o o d F F F F e ? O O O O U r p p u e I I I I c l U U U U N e r o t o o o t p r X X X X t a P P P P T d p i p p p i b _ _ _ _ ( { f t o t t t o o b b t r s j d e C C C C D : r i n i i i p n y y y d c p i l O O O O I t d o a o o o t a p f h s s N N N N S y f n l n n n i l ? ? e s e : t ? C C C C T p s a a a a o s s : : m i a A A A A I e : l { l l l n { a < n c T T T T N l a ? ? < < : h c c ( ( ( ( C t a { ? { { { l s l h h t t e D D D D T y b s a t t < t s I I I I p e ? ? ? ? { s b t t h p s S S S S ? e l s s s s s c e p p t s T T T T w : c ? h l s : t : ? I I I I o 展 ? j h s j s s e : p / i N N N N r 覧 l p e c p c m ? : m C C C C k 会 a s m h s h s a s w j a T T T T F ; b : a e : e c : p j w / p g e e a : m t m h w a p w s s e ? ? ? I a l c s a e a e o t s . c e s t j F t c p : m : m r i e w h a p e p ( u . e a t p d a k a a 3 e r a m s B r s t e o e : F l r . m c t p _ O e s i m r s i e _ c o a h i o t U d I a p a c m a l h r . . a r e N ) n l l r a t a . g g l a m D f r / i g u b g r o _ l p ( A r a s p e r e 2 g . l _ o ? S / d l c t e l . 0 j a l r d s f / h i ? d j 0 p b a a e ? c s r e o i ? p 0 / e b l s c h : d m n m ? t / / t l e s c o e l f a a w e t 0 e s l ; r u m a s : ? g o m e 1 r ; s i n a b : d d e r p r / m ; s p t : e l e e k o m r / s e t O p l a s s . F r / d p e s p i f r b c c e a t f r p e a o W o ? e r r } a l y - o a p r n o v s l i i t _ p s p r a a s r i p p p u l e c e a r t ) k d a ? t t r a / h r t a o , F e t t i i e b > e t o t r e r i e o o d e m y r o = C a / a m n n l a # = r " O t r l p s } # > " = | N u d _ o ? ? > | " " C r f l r j . d " | A e s a a p e ) " T d : b l s } s ) A ( ) l e _ _ c A S s a l l t r S A t b s a e i S ? r e b m p ? j ( l . e p t s ? p ? l o i p t s d ? } s r o a e _ e a a n c m t s c . l i p e c c s ? a o m r e } j l r p i s . p _ a o p s s l l r t } _ a _ a i . t b l l o e e a ) n m l b s } p ) e ) o l , r ) a I l F ( ? l a a c n c g e ( s ? s d e ? s i c m r a i g p e t i o n s ) ! = " " , C O N C A T ( " @ " , l a n g ( ? d e s c r i p t i o n s ) ) , " " ) ) , " " ) ; s e p a r a t o r = " | " ) A S ? d e s c r i p t i o n ) https://ld.cultural.jp/snorql/?query=PREFIX+type%3A+<https%3A%2F%2Fjpsearch.go.jp%2Fterm%2Ftype%2F> PREFIX+rdfs%3A+<http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23> PREFIX+schema%3A+<http%3A%2F%2Fschema.org%2F> PREFIX+jps%3A+<https%3A%2F%2Fjpsearch.go.jp%2Fterm%2Fproperty%23> select+distinct+ %3Fs+%3Flabel+%3Faccess+%3Fimage (GROUP_CONCAT(DISTINCT+%3Fspatial_labels%3B+separator%3D"|")+AS+%3Fspacial_label) (GROUP_CONCAT(DISTINCT+%3Ftemporal_labels%3B+separator%3D"|")+AS+%3Ftemporal_label) (GROUP_CONCAT(DISTINCT+%3Fjps_temporals%3B+separator%3D"|")+AS+%3Fjps_temporal) (GROUP_CONCAT(DISTINCT+IF(BOUND(%3Fdescriptions)%2C+CONCAT(str(%3Fdescriptions)%2C+IF(lang(%3Fdescriptions)+!%3D+""%2C+CONCAT("%40"%2C+lang(%3Fdescriptions))%2C+""))%2C+"")%3B+separator%3D"|")+AS+%3Fdescription) (COUNT(DISTINCT+%3FworkFeatured)+AS+%3FcountOfWorkFeatured) where+{ %3Fs+rdf%3Atype+type%3A展覧会%3B +++++++rdfs%3Alabel+%3Flabel+.+ ++ optional+{+%3Fs+jps%3AaccessInfo%2Fschema%3Aprovider%2Frdfs%3Alabel+%3Faccess+.++} ++optional+{+%3Fs+schema%3Aspatial%2Frdfs%3Alabel+%3Fspatial_labels+.+} ++++optional+{+%3Fs+schema%3Atemporal%2Frdfs%3Alabel+%3Ftemporal_labels+.+} ++++optional+{+%3Fs+jps%3Atemporal%2Fschema%3Adescription+%3Fjps_temporals+.+} ++++optional+{+%3Fs+schema%3Adescription+%3Fdescriptions+.+} ++++++optional+{+%3Fs+schema%3Aimage+%3Fimage+.+} ++optional+{%3Fs+schema%3AworkFeatured+%3FworkFeatured+} } group+by+%3Fs+%3Flabel+%3Fspatial_label+%3Ftemporal_label+%3Fdescription+%3Fjps_temporal+%3Faccess+%3Fimage order+by+%3Fs
Processing has been added to concatenate results with | for schema:description, which can have multiple values.
Summary# In this article, I only got as far as retrieving the list of exhibitions. I plan to write about converting to IIIF collections and utilizing information from each exhibition in separate articles.
I hope this serves as a helpful reference for utilizing the Cultural Japan RDF store and for searching records that may have multiple values in the same field.