Overview# I had the opportunity to learn how to use DTS (Distributed Text Services), and this is a memo of that experience.
API Used# We will use Alpheios , which is introduced at the following page.
https://github.com/distributed-text-services/specifications/?tab=readme-ov-file#known-corpora-accessible-via-the-dts-api
Top# https://texts.alpheios.net/api/dts
We can see that collections, documents, and navigation are available.
{ } " " " " " " n @ @ c @ d a i t o c o v d y l o c i " p l n u g : e e t m a " c e e t " : t x n i i t t a " o " s n p E n : " " i n s : : / t " " d r : d " " t y t / / s P " s a a " o / / p p , i a E i i n p n / / t i t d d " / r t t , d y s s t P / s d n i o a c n c v o t u i l . m g l j e a e s n t c o t i t n " o i l n o d " n " , s , " , Collection Endpoint# collections# https://texts.alpheios.net/api/dts/collections
We can see that it contains 2 sub-collections.
{ } " " ] " " " " } t m { } { } , t @ @ @ " " o e " " " " , " " " " i i t c d @ t m @ @ t t @ @ t t t d y o t v a b i t o i i t o i l " p n s o l e d y t t d y t t e : e t " c I r " p a l " p a l " " e : a t " : e l e : e l e : " : x b e : " I " " I " d t " " m " : t : " : t : " e " " h : s [ u e u e N f C : t " r " m " r " m " o a o t " : n C s C n C s A n u l { p h : o " l : o " n e l l s t 2 a l : a a l : c " t e : t , l l s l l i , " c / p p e 3 s p e 4 e , t / s h c , i h c , n i w : e t c e t t o 3 / i i a i i n i / o o l o o G " d w s n s n r , . w : " L : " e o w l , a g , e r . a t r k g w t i e " / 3 i n e d . n " k t o L L s r i i / g t t a / " " p n , , i s # / " h , y d r a / c o r e # "
Classical Latin# Specifying the id urn:alpheios:latinLit to narrow the collection to Classical Latin.
https://texts.alpheios.net/api/dts/collections?id=urn:alpheios:latinLit
We can see that it contains 3 sub-collections.
{ } " " ] " " " " } " } t m { } { } { } , t @ @ @ " " " , d " ] o e " " " " , " " " " , " " " " i i t c d @ n t n { } t m @ @ t t @ @ t t @ @ t t t d y o t v s s s " " a b i t o i i t o i i t o i l " p n s o 1 : 1 @ @ l e d y t t d y t t d y t t e : e t " c " e : v l I r " p a l " p a l " p a l " " e : a : x p a a t " : e l e : e l e : e l e : " : x b t r l n e : " I " " I " " I " u t " " " e e u g m " : t : " : t : " : t : " r " " h : h n f e u s [ u e u e u e C n C : t t s L " a " r " m " r " m " r " m " l : o t " t i a : g : n C s C n C s P n C s O a a l { p h p o b e : o " a : o " r : o " v s l l s t : n e " " 3 c l : t c l : o c l : i s p e : t / s l C : , t l u t l p t l d i h c / p / " " l s e 1 l s e 1 e s e 1 " c e t / s w : : a " : c , l : c , r : c , a i i w : w s e l t u l t t l t l o o 3 / w { [ s n a i s a i i a i s n i / . i g t o " t o u t o L : " d w w c " i n i n s i n a l , . w 3 a n " n " , n " t a o w . l L , L , L , i t r . o i i S i n i g w r L t t e t " n / 3 g a : : x : , L d . t p p t p i t 2 i h h u h t s r 0 n i i s i " / g 0 " 0 0 " 0 , a / 4 , 4 6 9 p n / 7 2 5 i s 0 2 0 9 # / 2 " " " " h / , , , , y s d k r o a s / / c c o o r r e e # # " " , Catullus# Specifying the id urn:cts:latinLit:phi0472 to narrow the collection to Catullus.
https://texts.alpheios.net/api/dts/collections?id=urn:cts:latinLit:phi0472
We can see that it contains 1 sub-collection.
{ } " " ] " " " " } " } t m { } , t @ @ @ " " " " , d " ] " ] o e " " " " i i t c d c n @ t c { } , n { } t m @ @ t t t d y o t t s v s t " " s " " a b i t o i l " p n s s 1 o : s @ @ 1 @ @ l e d y t t e : e t " " " c e : v l : v l I r " p a l " " e : : : a x g a a p a a t " : e l e : " : x b t r l n r l n e : " I " u t " " " " e o u g e u g m " : t : " r " " h h h : n u e u f e u s [ u e C n C : t t t s p " a L " a " r " m " a : o t t t " i n : g a : g : n C s C t c l { p p p h o a e b e : o " a u t l s : : t n m " " e " " 1 c l : r l s e : t s e C : l C : , t l m l : c / p " " a " a s e 1 i u l t c w s : : t " : t " : c , n s a i w h w : u e u e l t a " t o 3 s w { [ l n [ l n a i " , i n i . . / l g l g t o n " d h w w u " u " i n L , . a 3 w s s n " i o r . w " " L , t r v o . , , i : g a r w t p / r g 3 : h d d . p i t . 2 o h 0 s e 0 r i 4 / d 0 g 0 7 a u 4 4 2 p / n 7 " i x 0 s 2 , # m 2 . " l h p , n s y h s k d i / o r 0 c s a 0 t / / 1 s c c " / o o , " r r , e e # # " " , Carmina# Specifying the id urn:cts:latinLit:phi0472.phi001 to narrow the collection to Carmina.
https://texts.alpheios.net/api/dts/collections?id=urn:cts:latinLit:phi0472.phi001
Unlike previous results, we can see that member contains data of Resource type.
{ } " " ] " " " " } " } t m { } , t @ @ @ " " " " " , d " ] " " ] o e " " } " } " " " " " " i i t c d c n @ n t c { } , n n { } t m t d " " ] , d " ] " " ] " ] , d t @ @ d d t d y o t t s v s s t " " s s " " a b o t d d { } t c { } , n n { } , c { } t i i t t t l " p n s s 1 o 2 : s @ @ 2 1 @ @ l e t s t t " s t " " s s " " t " " s t d y s s e : e t " " " c " e : v l : : v l I r a : s s d : s @ @ 2 1 @ @ s @ @ : l " p : : " " e : : : a : x t a a l p a a t " l c : : t e : v l : : v l : v l p e : e r c : " : x b t i l n a r l n e : I i c c s x l a a l p a a d a a a " " e i u t " " " " " e t u g n e u g m t t i i : t a l n a r l n e l n s : " : f t " r " " h h h : h n l e u g f e u s [ e e t t c e b u g n e u g s u g s u e e C n C : t t t t s e " a u L " a " m S e e i n e e u g f e u c e u a " r " r D a : o t t t " t i " : g a a : g : s t T S t s l " a u L " a r " a g C n R e e r c l { p p p h p o : e g b e " r y t e i " : g a a : g i : g e a : e n p m t l s : : t : n " " e e " " 1 : u p r T o : e g b e p e " r c s c t i s e : t / s [ C : " l C : , c e u y n " " e e " " t " " : m t o e h n : c / p / " a : " a 0 t " c p s [ C : " l C : i C : i s u s " a l t c w s p : r " : r " , u : t e " a : " a o a " n : r " : " a i w h w : u m l " m l r u " : r " : r " n t " / a l c : , t o 3 s w r { i a l [ i a e " r : m l " m l " u e a " a e 2 i n i . . / l n t a n t " p e { i a l [ i a : l n p , t " " n " d h w w . a " t a " : o " " n t a n t l g i i , / L , . a 3 w o " " " e : l a " t a " [ u " / n a i o r . w r , , , { m i " " " s d L p t r v o . g " [ n , , , , t i i : g a r w / , e s t / p / r g 3 d " G / : d h d d . c a d p t i t . 2 o / i o h s 0 s e 0 r e u c i / 4 / d 0 g l s u 0 n 7 a u 4 e m 4 a 2 p / n m V e 7 v . i x 0 s e a n 2 i p # m 2 n l t . g h " l h t e ? p a i , n s y s r i h t 0 s k d / i d i i 0 / o r 1 u = 0 o 1 c s a . s u 0 n " t / 1 , r 1 ? , s c c n . i / o " c % a d " r r r 3 l = , e e e A p u # # a c h r " " t t e n , , o s i % r % o 3 ; 3 s A A - c M l t t e a e s r t x % r i t 3 i n - A l L l l l i a a , t t t % 1 i E 3 " n l A , L m p i e h t r i % 0 3 T 4 A r 7 p u 2 h e . i s p 0 d h 4 e i 7 l 0 2 l 0 . , 1 p . h 1 a i 8 l 0 6 p 0 0 h 1 - e . 1 i a 9 o l 3 s p 6 - h , t e e i e x o d t s i - - t l t o a e r t x " 1 t , " - , l a t 1 " , Also, the URL to the Document Endpoint can be found in dts:passage, and the URL to the Navigation Endpoint can be found in dts:references.
Navigation Endpoint# Top# Access the Navigation Endpoint URL obtained earlier.
https://texts.alpheios.net/api/dts/navigation?id=urn%3Acts%3AlatinLit%3Aphi0472.phi001.alpheios-text-lat1
{ } " " " " " " } " ] p l c @ c @ " " , h { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } a e i i i c h @ y " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " , " s v t d t o y v d r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r s e e " e n d o r e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e a l T : D t r c a f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f g " y e e a a : " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " e : p " p x " b m : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : " e / t t : " e : 1 " a h " : m " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " , : p " : " b 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5 5 5 6 6 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 " i : h " e " " " " " " " " " 0 1 2 3 4 4 5 6 7 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 8 9 0 1 2 3 4 5 6 7 8 8 9 0 1 2 3 4 5 6 7 8 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 / " / { t h r " " " " " b " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " b " " " " " " " " " a b " " " " " " " " " " b " " " " " " " " " " " " " " " " " " " " " 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 a p d 2 t t " " " " " " " " " " " " " " " " " " " " " " " p o t , p t : i e s s p / m / : s [ d " n / : t , a / / s v w / / i w w d g w 3 o a . i c t w d u i 3 . m o . o e n o r n ? r g t l g ? e d i v n t d e s s = l / / u = h a r 1 y p n & d i % i r # 3 d a " A = / c u c t r o s n r % % e 3 3 # A A " l c , a t t s i % n 3 L A i l t a % t 3 i A n p L h i i t 0 % 4 3 7 A 2 p . h p i h 0 i 4 0 7 0 2 1 . . p a h l i p 0 h 0 e 1 i . o a s l - p t h e e x i t o - s l - a t t e 1 x { t & - r l e a f t } 1 { & & g s r t o a u r p t B } y { = & 1 e " n , d } " , Specifying the ref Parameter# Based on the results obtained, let’s try adding &ref=1 as follows.
https://texts.alpheios.net/api/dts/navigation?id=urn%3Acts%3AlatinLit%3Aphi0472.phi001.alpheios-text-lat1&ref=1
The following result was obtained.
{ } " " " " " " } " ] p l c @ c @ " " , h { } { } { } { } { } { } { } { } { } { } a e i i i c h @ y " , " , " , " , " , " , " , " , " , " s v t d t o y v d r r r r r r r r r r s e e " e n d o r e e e e e e e e e e a l T : D t r c a f f f f f f f f f f g " y e e a a : " " " " " " " " " " e : p " p x " b m : : : : : : : : : : " e / t t : " e : 2 " a h " : m " " " " " " " " " " , : p " : " b 1 1 1 1 1 1 1 1 1 1 " i : h " e . . . . . . . . . . / " / { t h r 1 2 3 4 5 6 7 8 9 1 a l d 2 t t " " " " " " " " " " 0 p i t , p t : " i n s s p / e / : s [ d " n / : t , a / / s v w / / i w w d g w 3 o a . i c t w d u i 3 . m o . o e n o r n ? r g t r g ? e d i f n t d = s s = 1 / / u & h a r l y p n e d i % v r # 3 e a " A l / c = c t 1 o s & r % i e 3 d # A = " l u , a r t n i % n 3 L A i c t t % s 3 % A 3 p A h l i a 0 t 4 i 7 n 2 L . i p t h % i 3 0 A 0 p 1 h . i a 0 l 4 p 7 h 2 e . i p o h s i - 0 t 0 e 1 x . t a - l l p a h t e 1 i { o & s r - e t f e } x { t & - s l t a a t r 1 t & } g { r & o e u n p d B } y " = , 1 " , InvalidLevel# Since citeDepth is 2, it should not be possible to navigate further down the hierarchy.
To confirm, let’s access the following.
https://texts.alpheios.net/api/dts/navigation?id=urn%3Acts%3AlatinLit%3Aphi0472.phi001.alpheios-text-lat1&ref=1.1
As a result, the following error was returned.
{ } " " " " " s @ @ d t t t c e i a y o s t t p n c l u e t r e s " e i " C : x p : o t t d " " i " e S : o I " t n n : a " " v t h : a 4 u t l 0 s t " i 4 " p d , , : I L / n e / v v w a e w l l w i " . d w 3 v . a o l r u g e / n f s r h y l d e r v a e / l c o p n a t r e a x m t e . t j e s r o n i l n d " N , a v i g a t i o n E n d p o i n t r e q u e s t " , Document Endpoint# Top# Let’s access the following URL obtained from the Collection Endpoint.
https://texts.alpheios.net/api/dts/document?id=urn%3Acts%3AlatinLit%3Aphi0472.phi001.alpheios-text-lat1
As a result, the entire TEI/XML was retrieved.
< T / E < < < T I s t / t / E c e < < < < t e < t I x r i f / e / p / r / e x b / e > m i H i < < < < f n < < e r < p e < < < r i t o < b x l p e l t / e p / s / i c r / r / n o l / r v c c c e H > d d / o t n t a e i < < < < < < < < t x u < < < < p o < s l o e < < r e < < r c f a < < l o i h h h v e y i < d d > s d D t t t a e s p r / f i t b p p a d u u b / o e d f r r e f c / c / e o i n l l a f s a a a i a > v d / i y = e e l i i u d p r e < < < < < r u t e l u u u a b r i < b u D i s e e f s R < c R < c f d l g a a n i i n n n s d i < < d v > " r s e t t t i o i s r n n n n e n l n i b b t t l c b m / i r e n D f f s D e p R e p R s i e U n n g l o g g g i e t v d / d i > h > c S l l h t n n p e a a a a s d e t c l P h e i e l o < < < < m b c s g e S S D e f > e f > e D n D s g g U e n e e e o r y i < < < < < < < < < < < < d i < < < < < < d v t > t e e o o s c S s m m m m p e S > a i l o c D S n a t e i / o l e c D c t t e c P T f P T f e g e a u u s D D n > p t v m h l l l l l l l l l l i v m h l l l l i > t m > r r o i t p e e e e S r t a t s a r t a e t o u i d m < < < i n S D > e l a a c l a h P a h P c D s g a a a e e w w w D e y i e v i e v p t C t > r p m > > > > > t m b i h c i y t s r g t t i p p p d m o t e s t t l t i a t i a l e c e g g g s s h h h e = p t l a n n n n n n n n n n > t l a n n n n > : > a y C r > a t P B L W D m n t o o e e t p i c u r h l t r u u a p g r s c n e e > n t s t t s t > s > > e e e c c e e e s " e y e d = = = = = = = = = = y e d = = = = / r p . o P l > r r i i a t = > u n r > y e o > c > o e o i b b t r r u c > = = e t e t c > > > n n n c e = p s " " " " " " " " " " p s " " " " / m e l e > e i s l v > " t S > M > = n t r > r n P l e i > c > " u u " r p e r p e > i i = = = > d " e t x 1 2 3 4 5 6 7 8 9 1 e t x 1 2 3 4 w i = V e r G p d a l i o t T e P " S > > C t l i > n t T n n C n o r n o r d d " " " i t = o m " " " " " " " " " 0 = o m " " " " w n " a = s r a g i d r 1 m r d e r t C a r > a s 1 t > E i i T i n i n e e 2 2 2 t e " n l > > > > > > > > > " " n l > > > > w a s l " e e r e C a g 1 t u f r e m a t o c h 8 > I t t S n n > n n > n n 0 0 0 i x t e : C a C m i o d q q > t e : P q c e . < u e e u g e t e m S : 2 > s o s l t t u l e e 9 . = = " = t = t t t 1 1 1 o t e l u r o e a m o u u p e l a u u t t / b r d s o d r m N K t r e e > u l e > r 3 2 " " > " e " e = = 8 4 3 n p x u a i i r a m n c a a l x u a s i i e t " i i r A r M i E b e d u a l l = B > < " p l l r p r " " - - - " a t n n d n s e t r l u t n n s c a i i > u t P y u l a e t H < e , s s l u " o G / > o i i o l e 0 1 0 r p i g d o e t i e e s p i g e u p c - t M s o r n m t r h " / s e u s e s i d e n n p e p a n 4 1 9 x t a t = o l e u a s c a t = r m r r c l a r o C d a o r < > e M P " s < d t n a m e e a m a t g - - - m " r = " n m i s m e , h u u r = " , i i . e c C " j r e s < i / T x o A r > < i o n t " " " t " t " " 0 0 1 l t " e o o , s v a m n t " e l m s o > h a > e a r < l n h t f < 1 t t n e t t > > 4 6 3 : s " m n d e c u I b q o " m n d u u r i t E c n n l a e e j 9 a i o < a > m e m e L E " " " l u e g l o t u m u e u e g e d m s g n u . t e t n a < m n T p e 9 u t r / n a r a r a n a b s t " e i a m p e m s t " l e o / e l , < h a m / e N t u u c 7 t l " p d t n t n t g w w w n t u e p p b l t p t , a u e i r d l n l T / e m e n > a > f b t - h e > u c c i l h h h g y b r r i u i i a r i i n b r r c e i e s r u . T p e > a t t P < 1 o > E b C h e h e n i o o o = p t " e d m ; q u i t b q e t " e i , g t / e s u r s > m i s l / 0 r l P o P x P x s = = = " e y n u i u s b e i u a y n a i 1 a < M f i u e o a a - > m l m a t a t h " " " l = p n d m c n i u u r o t p n d e q t i . d / e t n p > n U c u 2 e a p t r t r / T T b a " e = = e a d s s , q d e = = u u n 0 a a r s c e a n e t 8 r c a t a t a l h h a t L = " " n m u , p = " " m e m c " b u r i r l i > h < e n e c e c a / i i l " y " P n o e q p e e e i e " P n e m i > l t i U p v v o / T > y r t r t n l b b m r p h e v x u u s x t d r p h e a d t e h l n a i E e r d r < n s n s g a a a a n i o a w u p e t p q e o a w e i a a o l i l s n r i a u / = = u n u u s = c e l l m o a u l l u p n e l l n r r t r < > i d s t t e p " p " p a g l l 0 " s m a e l t r n i a i a n m a e p e e e > / e o o i y e s u ( o ( o g u t t 1 u " " e v l i u e u c b d t e " e v u s x e r n w t > > d b \ e \ e e a " r > c e i t s a o r c e e i a m t d s m y e l w m w m > g C C > n n e l b u s n r r h o s n e l l n d o < i i o e < l i + + < e l l m : = a " e m o u I e i o n a = a " l u p r / t t f n / l s ) a ) / > e e o c " n > l ? l g t o c a e " n > a e s t o y < t p h . n " p r r v t 1 " 1 l < e a a c s c 2 " 2 e t t u i r < / u M e ( d > i i i s " < u / b s l h i l v l " < , e e s t > / r f b e r \ r c c n : > / m l a , o a s i i o > / < n n , l s e o l r > w l e e e g l h < > s < r r ! b r . h / e t < e p s r i r + i p " " a e / < u t < e g < e l r i / > o p s i ) n l > > G t a l l m i / l o / a > e < l n > t h l " e a R M r i d > l > < s l l , l d , / > s h e l < c e o e n > > / , > i < > > < l o e r < r / e m v g L l < < / > r > / e p m o i ' i > / l l > H e p > e v n s t l l > > u d l n i g : > > m i a t n w p a t c P g t o h n o e a o r i i r m t d k 0 t > e t u E - 4 i n e p p i 7 e t r l i n 2 s P n i d - . < a = c o p p / t " a c r h f t # t o i u e x e w g 0 n r p s i r 0 d n a < t e 1 e = t / h s . r " h c s p > # ( h n e x / a e o r p t n w n s a e g e t i e U C u h : > R T s ( T N S - / E < - l t I / i a e / c z t i t h i 2 : e a n " T i n g > E : g I t e g / e > r t x e e t c i / o : t - t e r e i o x : m t b a / o n t d e y c i / o : t l b e l o i e d : c y d t / i i t v o e / n i t : e t d i e i : x v d t / i s t v e / t i t o : e d i a i : v d W / i o t v r e [ k i @ : n d d = i i ' r v $ e [ 1 c @ ' t n ] o = ) r ' " y $ > < 1 / ' c ] h / a / n t g e e i > : l [ @ n = ' $ 2 ' ] ) " > Specifying the ref Parameter# Using the ref 1 obtained from the Navigation Endpoint, let’s access the following.
https://texts.alpheios.net/api/dts/document?id=urn%3Acts%3AlatinLit%3Aphi0472.phi001.alpheios-text-lat1&ref=1
As a result, the following was obtained. A partial text with subtype poem and n 1 was retrieved. For partial texts, it appears that <dts:fragment xmlns:dts="https://w3id.org/dts/api#"> is used.
< T / E < T I d / E t < d I x s t / t > m : e < t s l f x b / e : n r t o < b x f s a > d d / o t r = g y i < d d > a " m > v d / i y g h e i < d v > m t n t v d / i > e t t y i < < < < < < < < < < < < d v n p p t v m h l l l l l l l l l l i > t : x e y i e v > / m = p t l a n n n n n n n n n n > / l " e y e d = = = = = = = = = = w n e = p s " " " " " " " " " " w s d " e t x 1 2 3 4 5 6 7 8 9 1 w : i t = o m " " " " " " " " " 0 . d t e " n l > > > > > > > > > " t t i x t e : C a C m i o d q q > e s o t e l u r o e a m o u u p i = n p x u a i i r a m n c a a l - " " a t n n d n s e t r l u c h r p i g d o e t i e e s . t x t a t = o l e u a s c o t m " r = " n m i s m e , h u u r p l t " e o o , s v a m n g s : s " m n d e c u I b q o / : l u e g l o t u m u e u n / a b s t " e i a m p e m s n t u e p p b l t p t , a w g y b r r i u i i a r i i n 1 3 = p t " e d m ; q u i t b q e . i " e y n u i u s b e i u a 0 d l = p n d m c n i u u r o t " . a " e = = e a d s s , q d o t L = " " n m u , p x r " y " P n o e q p e e e i e m g r p h e v x u u s x t d r l / n i o a w u p e t p q e n d = c e l l m o a u l l u p n s t " s m a e l t r n i a i a n : s u " " e v l i u e u c b d t e p / r > c e i t s a o r y a n n e l b u s n r r h o s = p : = a " e m o u I e i o n a " i c " n > l ? l g t o c a e h # t 1 " 1 l < e a a c s c t " s " < u / b s l h i l v l t > : > / m l a , o a s i i o p l h < > s < r r ! b r . : a e / < u t < e g < / t a l l m i / l o / / i d > l > < s l l , l c n > > / , > i < > o L l < < d i > / l e t l l > s : > > p p e h a i k 0 . 4 n 7 e 2 t . / p l h x i m 0 l 0 / 1 o . b p j e e r c s t e i u f s y - / l p a y t t 2 y " p > e " p y : p y t y p e = " T R E E " > Summary# I confirmed an example of how to use the various DTS endpoints. I hope this serves as a helpful reference for understanding DTS.