[osis-core] Questions about osisRefs

Todd Tillinghast osis-core@bibletechnologieswg.org
Thu, 22 Aug 2002 10:34:36 -0600


Harry,

> Let me see if I have osisRefs straight, through some more use cases.
> Basically, I'm trying to figure out whether an osisRef refers to
> a particular reference system, or a particular work, or what.
> 
> 1.  I want to refer to Psalm 20 (KJV reference system) in any version.
> 
> 	<reference osisRef="Bible.KJV:Psalm.20">
> 
>   Do I need to add a <work> element "declaring" Bible.KJV? e.g.
> 
>     <works>
>       <work osisWork="Bible.KJV">
> 	  <title>Holy Bible -- King James Version</title>
> 	</work>
>     </works>

Actually you would say:
<reference osisRef="Bible.KJV:Psalm.20">
You need to add a <refSystem> element "declaring" Bible.KJV? e.g.

<refSystems>
     <refSystem name="Bible.KJV">
	  <title>Holy Bible -- King James Version</title>
	</refSystem>
</refSystems>
> 
> 2.  I want to refer to Psalm.20 of the LXX in an English translation
> 
> 	<works>
> 	  <work osisWork="lxx_en">
> 	    <title>Septuagint</title>
> 	    <language>en</language>
> 	  </work>
> 	</works>
> 
> 	[...]
> 
> 	<reference osisRef="lxx_en:Psalm.20">
> 


You would have to add a reference system for the English translation and
use one of the two forms (issue not yet resolved)
<reference osisRef="Bible.KJV(lxx_en):Ps.20"/> OR
<reference work="lxx_en" osisRef="Bible.KJV:Ps.20"/>
assuming you defined "Bible.KJV" as you reference system in the header.


> 3.  I want to refer to Psalm.20 (KJV reference system) of the English
>     LXX.
> 
>     [same <work> entry as above]
> 
>     <reference osisRef="lxx_en(Bible.KJV):Psalm.20">

<works>
  <work osisWork="lxx_en">
    <title>Septuagint</title>
    <language>en</language>
  </work>
</works>
<refSystems>
     <refSystem name="Bible.KJV">
	  <title>Holy Bible -- King James Version</title>
	</refSystem>
</refSystems>
<reference osisRef="Bible.KJV(lxx_en):Ps.20"/> OR
<reference work="lxx_en" osisRef="Bible.KJV:Ps.20"/> (issue not resolved
regarding where to specify "work" in a reference.)

Case 2 and case 3 turn out to be the same because you can't create a
reference without a reference system.

> 
> Is this right?
> DO I also need to declare Bible.KJV in case 3?
> If we aren't always "declaring" ref system, how do we tell
> a ref system name from a work identifier?
> 
> -Harry
> 


Todd