lombardpress / lombardpress-schema

0 stars 2 forks source link

quote vs ref/seg@type incipit #139

Open jeffreycwitt opened 6 years ago

jeffreycwitt commented 6 years ago

In this example:

screen shot 2018-05-04 at 5 02 08 pm

I've been treating the italicized snippet from the Psalm as a quote.

<quote ana="#ps31_5">Dixi, confitebor</quote>

But is it more accurate to identify this as a reference, which according to the spec would be recorded as follows?

<ref>super illud Psalmi <seg type="incipit">Dixit confitebor</seg></ref>

Questions:

would we want this snippet of the psalm to show up in an index of quotations. If you wanted to ask for all instances of Psalm 31:5 would you want this instance to show up?

would we want this snippet NOT to show up when we did a search for all instances of Psalm 31:5. Would this be a distraction or noice in our search results.

If you wanted to do both, we could allow it to be marked as <seg type="incipit" ana="#ps31:5"> but queries become more complicated because now we have to search for both quotes and segs.

Or we could adjust the spec to allow for a quote with an @type="incipit".

In a way, aren't all "incipits" a quote of some kind?

stenskjaer commented 6 years ago

Well, as we have been discussing in the Slack on related examples: Is this also an example of a lemma? That is certainly how I would see it, as it is a pointer into the text.

Should it be included in indexing? I think so. It think it is highly relevant to include these kinds of quotes exactly for the specified reason: As they point very exactly to the text they discuss, they are very good markers for identifying text on that specific passage. That is a good use case I guess for indices, right?

If they are marked as <quote type="lemma"> you could of course include a switch in your app indicating whether you want to include lemmata in your search results.

jeffreycwitt commented 6 years ago

Given this example recommend the example below.

In short, the suggestion of <seg type="incipit"> is being replaced with <quote type="lemma"> so that it can take advantage of using the general quotation pattern, but be separated from other main quotes through the use of the type="lemma".


<p>Item, 
    <ref xml:id="refid" corresp="quoteid2">
        super illud <title>Psalmi</title>: 
       <cit>
           <quote xml:id="quoteid" type="lemma" ana="#ps15_1">Dixi, confitebor</quote> 
           <bibl>Psalm XXX</bibl>
        </cit>
        Glossa:
    </ref>
   <cit>
      <quote xml:id="quoteid2" source="http://scta.info/resource/glossa-section-id">Votum pro operatione iudicatur</quote>
      <bibl>Glossa, XXX</bibl>
   </cit>
ergo tantum valet bene velle, quantum velle et operari, 
ergo etc.
</p>