Changeset 3816 for CMDI-Interoperability


Ignore:
Timestamp:
10/20/13 07:10:00 (11 years ago)
Author:
mwindhouwer
Message:

M docs/papers/2014-LREC/CMD2RDF.tex

  • some fixes
  • maybe skip Attributes for the abstract
  • reply to IRI question

M xsl/Component2RDF.xsl

  • added dcterms:identifier
Location:
CMDI-Interoperability/CMD2RDF/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMDI-Interoperability/CMD2RDF/trunk/docs/papers/2014-LREC/CMD2RDF.tex

    r3814 r3816  
    150150@prefix cmdm: \textless http://www.clarin.eu/cmd/general.rdf\#\textgreater . \\
    151151\\
     152\multicolumn{3}{l}{\# basic building blocks of CMD Model}  \\
    152153cmdm:Component & a & rdfs:Class . \\
    153154cmdm:Profile & rdfs:subClassOf & cmdm:Component . \\
    154155cmdm:Element & a & rdfs:Class . \\
    155 cmdm:Attribute & a & rdfs:Class .  \\
     156%cmdm:Attribute & a & rdfs:Class .  \\
    156157\\
     158\multicolumn{3}{l}{\# basic CMD nexting}  \\
    157159cmdm:contains & a & rdf:Property ; \\
    158160        & rdfs:domain & cmdm:Component ; \\
     
    163165%          & rdfs:range & :Attribute.
    164166
     167\multicolumn{3}{l}{\# values}  \\
     168
    165169cmdm:Value & a & rdfs:Literal .  \\
    166 cmdm:Entity & a & rdfs:Class .  \\
    167170\\
    168171cmdm:hasElementValue & a & rdf:Property ;  \\
     
    170173              & rdfs:range & cmdm:Value .  \\
    171174 \\
    172 \multicolumn{3}{l}{\# add a parallel separate property for the resolved entities}  \\
     175\multicolumn{3}{l}{\# add a parallel separate class/property for the resolved entities}  \\
     176cmdm:Entity & a & rdfs:Class .  \\
     177\\
    173178cmdm:hasElementEntity & a & rdf:Property ;  \\
    174179              & rdfs:domain & :Element ;  \\
    175180              & rdfs:range & :Entity .   \\
    176181 \\
    177 cmdm:hasAttributeValue & a & rdf:Property ;  \\
    178               & rdfs:domain & cmdm:Attribute ;  \\
    179               & rdfs:range & rdfs:Literal .  \\
    180 
    181 cmdm:hasAttributeEntity & a & rdf:Property ;  \\
    182               & rdfs:domain & :Attribute ;  \\
    183               & rdfs:range & :Entity .  \\
     182%cmdm:hasAttributeValue & a & rdf:Property ;  \\
     183%              & rdfs:domain & cmdm:Attribute ;  \\
     184 %             & rdfs:range & rdfs:Literal .  \\
     185
     186%cmdm:hasAttributeEntity & a & rdf:Property ;  \\
     187%              & rdfs:domain & :Attribute ;  \\
     188%              & rdfs:range & :Entity .  \\
    184189\end{example3}
    185190
    186191\noindent
    187192This entities are used for modelling the actual profiles, components and elements as they are defined in the Component Registry.
    188 For stand-alone/top components, the IDs as issued by Component Registry can be used as entity IRIs. For ``inner'' components (that are defined as part of another component) and elements the identifier is a concatenation of the parent top component and dot-path to given component/element (Actor: \code{cr:clarin.eu:cr1:c\_1271859438197\#Actor\_Languages.Actor\_Language}).
     193For stand-alone/top components, the IDs as issued by Component Registry can be used as entity IRIs. For ``inner'' components (that are defined as part of another component) and elements the identifier is a concatenation of the parent top component and dot-path to given component/element (Actor: \code{cr:clarin.eu:cr1:c\_1271859438197/rdf\#Actor\_Languages.Actor\_Language}).
    189194
    190195\commentx{Matej: shouldn't we add the name of the component in the IRI for human-readability?
    191196similar to how it is generated in profile XSDs: \textless xs:simpleType name="simpletype-MimeType-clarin.eu.cr1.c\_1290431694511"\textgreater }
    192197
     198\commentx{Menzo: the IRI is the exact path into the CR to get the RDF representation for the profile/component. I think it should stay like that because you need to be able to fetch it to get, for example, the dcr:datcat mappings. Actually the profile/component name is there as its (in general) the first component name after the '\#'.}
    193199
    194200\label{table:rdf-cmd}
    195201\begin{example3}
    196 cmd:collection & a & cmds:Profile; \\
     202cmd:collection & a & cmdm:Profile; \\
    197203 & rdfs:label & "collection"; \\
    198204 & dcterms:identifier & cr:clarin.eu:cr1:p\_1345561703620. \\
     
    365371\begin{example3}
    366372cmd:Person & a & cmdm:Component . \\
    367 cmd:Organisation & a &  cmdm:Element . \\
     373cmd:Person.Organisation & a &  cmdm:Element . \\
    368374cmd:hasOrganisationElementValue  \\
    369375& rdfs:subProperyOf & cmdm:hasElementValue ; \\
     
    373379        & rdfs:subProperyOf & cmdm:hasElementEntity ; \\
    374380        & rdfs:domain & cmd:Organisation ; \\
    375         & rdfs:range & cmd:OrganisationElementEnity .\\
     381        & rdfs:range & cmd:OrganisationElementEntity .\\
    376382\\
    377383\multicolumn{3}{l}{\# person (mentioned in a MD record) has an affiliation (cmd:Person/cmd:Organisation) } \\
    378384\_:pers  & a & cmd:Person ; \\
    379385        & cmdm:contains & \_:org . \\
    380 \_:org & a & cmd:Organisation ; \\
     386\_:org & a & cmd:Person.Organisation ; \\
    381387        & \multicolumn{2}{l}{cmd:hasOrganisationElementValue \quad 'MPI'\^{}\^{}xs:string ;} \\
    382388        & \multicolumn{2}{l}{ cmd:hasOrganisationElementEntity  \quad <http://mpi.nl> . }\\
     
    437443
    438444\begin{example3}
    439 \_:1 & a  & cmd:OrganisationElementEnity . \\
     445\_:1 & a  & cmd:OrganisationElementEntity . \\
    440446   & skos:altLabel & "MPI";
    441447\end{example3}
  • CMDI-Interoperability/CMD2RDF/trunk/xsl/Component2RDF.xsl

    r3806 r3816  
    1313    xmlns:cmd="http://www.clarin.eu/cmd/"
    1414    xmlns:cmdm="http://www.clarin.eu/cmd/general.rdf"
     15    xmlns:dcterms="http://purl.org/dc/terms/"
    1516>
    1617   
     
    6869                </xsl:otherwise>
    6970            </xsl:choose>
     71            <xsl:if test="exists(preceding-sibling::Header/ID)">
     72                <dcterms:identifier>
     73                    <xsl:value-of select="preceding-sibling::Header/ID"/>
     74                </dcterms:identifier>
     75            </xsl:if>
    7076            <xsl:call-template name="generic"/>
    7177        </rdfs:Class>
Note: See TracChangeset for help on using the changeset viewer.