semantic-kraus / lk-data

Legal-Kraus XML/TEI data to RDF
https://semantic-kraus.github.io/lk-data/
MIT License
0 stars 0 forks source link

legal files - create rest of the text passages #75

Closed BOberreither closed 1 year ago

BOberreither commented 1 year ago

Missing text passages

Currently, all text passages are created like this:

<https://sk.acdh.oeaw.ac.at/[file-ID]/passage/[n]> a ns1:INT1_TextPassage ;
        rdfs:label "Text passage from: [file title]"@en ;
        ns1:R44_has_wording "[text()]"@und .

with a URI ending with a [n] resulting from a count of all text passages (from all relevant elements) in the respective document.

At the same time, segments are created for each text passage:

<https://sk.acdh.oeaw.ac.at/[file-ID]/segment/[n]> a ns1:INT16_Segment ;
        rdfs:label "Text segment from: [file title]"@en ;
        schema:pagination "[page]" ;
        ns1:R16_incorporates <https://sk.acdh.oeaw.ac.at/[file-ID]/passage/[n]> ;
        ns1:R41_has_location "[page]",
            "https://id.acdh.oeaw.ac.at/legalkraus/[file-ID].xml" ;
        ns1:R44_has_wording "[text()]"@und .

Please make sure, the following elements are included in this count and text passages and segments are created from them. My guess is that only the first one on the list is included so far. Add the text passages and segments for the elements not included yet, following the schemes above.