Capitains / website

Capitains Project webpage repo
http://capitains.org
5 stars 2 forks source link

Structured metadata #18

Closed PonteIneptique closed 7 years ago

PonteIneptique commented 7 years ago

Structured metadata can hold simple triples related to the object it describes. Namespace of <structured-metadata /> is http://purl.org/capitains/ns/1.0#

<ti:work xmlns:cpt="http://purl.org/capitains/ns/1.0#" xmlns:dc="http://purl.org/dc/elements/1.1" xmlns:dct="http://purl.org/dc/terms/" xmlns:ti="http://chs.harvard.edu/xmlns/cts" groupUrn="urn:cts:greekLit:stoa0033a" xml:lang="eng" urn="urn:cts:greekLit:stoa0033a.tlg028">
    <ti:title xml:lang="eng">De Mundo</ti:title>
    <ti:translation xml:lang="grc" urn="urn:cts:greekLit:stoa0033a.tlg028.1st1K-grc1" workUrn="urn:cts:greekLit:stoa0033a.tlg028">
        <ti:label xml:lang="eng">De Mundo</ti:label>
        <ti:description xml:lang="mul">Pseudo-Aristotle, De Mundo, Immanuel Bekker, Oxford University Press, 1837</ti:description>
        <cpt:structured-metadata>
            <dc:creator xml:lang="eng">Pseudo-Aristotle</dc:creator>
            <dc:title xml:lang="eng">De Mundo</dc:title>
            <dc:contributor xml:lang="eng">Immanuel Bekker</dc:contributor>
            <dc:publisher xml:lang="eng">Oxford University Press</dc:publisher>
            <dct:dateCopyrighted>1837</dct:dateCopyrighted>
        </cpt:structured-metadata>
    </ti:translation>
</ti:work>
PonteIneptique commented 7 years ago

Some thoughts about what can be said :

<ti:textgroup urn="urn:cts:greekLit:stoa0033a"
        xmlns:cpt="http://capitains.org/ns/1.0#"
        xmlns:saws="http://purl.org/saws/ontology#"
        xmlns:dc="http://purl.org/dc/elements/1.1/"
        xmlns:dct="http://purl.org/dc/terms/"
        xmlns:ti="http://chs.harvard.edu/xmlns/cts"
        xmlns:scm="http://schema.org/">
    <ti:groupname>Pseudo-Aristotle</ti:groupname>
    <ti:work groupUrn="urn:cts:greekLit:stoa0033a" xml:lang="eng" urn="urn:cts:greekLit:stoa0033a.tlg028">
        <ti:title xml:lang="eng">De Mundo</ti:title>
        <ti:translation xml:lang="grc" urn="urn:cts:greekLit:stoa0033a.tlg028.1st1K-grc1" workUrn="urn:cts:greekLit:stoa0033a.tlg028">
            <ti:label xml:lang="eng">De Mundo</ti:label>
            <ti:description xml:lang="mul">Pseudo-Aristotle, De Mundo, Immanuel Bekker, Oxford University Press, 1837</ti:description>
            <cpt:structured-metadata>
                <dc:creator xml:lang="eng">Pseudo-Aristotle</dc:creator>
                <dc:title xml:lang="eng">De Mundo</dc:title>
                <dc:contributor xml:lang="eng">Immanuel Bekker</dc:contributor>
                <dc:publisher xml:lang="eng">Oxford University Press</dc:publisher>
                <dct:dateCopyrighted rdf:datatype="xsd:gYear">1837</dct:dateCopyrighted>
            </cpt:structured-metadata>
        </ti:translation>
        <cpt:structured-metadata>
            <saws:isAttributedToAuthor xml:lang="eng">Aristote</saws:isAttributedToAuthor>
            <saws:cost>1.5</saws:cost>
        </cpt:structured-metadata>
    </ti:work>
    <cpt:structured-metadata>
        <scm:birthDate>-0384</scm:birthDate>
        <scm:birthDate>457BCE</scm:birthDate>
        <scm:birthPlace xml:lang="fre">Stagire</scm:birthPlace>
        <scm:birthPlace>https://pleiades.stoa.org/places/501625</scm:birthPlace>
    </cpt:structured-metadata>
</ti:textgroup>
sonofmun commented 7 years ago

Question here: shouldn't <dc:creator xml:lang="eng">Pseudo-Aristotle</dc:creator> be for the work and not for the translation or edition?

PonteIneptique commented 7 years ago

Honnestly, it's testing data, I did not see it was a translation...

PonteIneptique commented 7 years ago

But it could be repeated in both !

sonofmun commented 7 years ago

Good. I will do it that was. I will also add the <saws:isAttributedToAuthor> to the translation.

sonofmun commented 7 years ago

On second thought, I won't since the translation says that it is Pseudo-Aristotle (I assume).

PonteIneptique commented 7 years ago

Ok, now the good thing would be to do the following :

If you can take this time :)

sonofmun commented 7 years ago

What do you mean precisely by "reproduce" this page? Do you want it to look exactly like that, i.e., formatting, etc.? Or do you just want the introduction that I wrote for the guidelines and then the new structured-metadata element in a tabular form below that?

PonteIneptique commented 7 years ago

Just something like the following. You can add a really generic text saying nodes describes are parts of the capitains effort and used in the context of the capitains guidelines (and give the links :) ) dublin_core_metadata_element_set _version_1 1_-_2017-04-27_10 27 10 dublin_core_metadata_element_set _version_1 1_-_2017-04-27_10 27 24

sonofmun commented 7 years ago

Should this be in the /pages directory? Or should /ns be at the root of the repo?

PonteIneptique commented 7 years ago

/ns root of the repo :)