Skip to content

Latest commit

 

History

History
82 lines (56 loc) · 3.6 KB

cellmlmetaspec-licensing.rst

File metadata and controls

82 lines (56 loc) · 3.6 KB

CellML Metadata Framework Licensing Specification 2.0

Authors: Michael T. Cooling ([email protected])
Acknowledgements:Caton Little, Catherine M. Lloyd, David P. Nickerson

Dependencies

This specification is dependent on the CellML Metadata Framework Core Specification 2.0.

Introduction

This document describes how to annotate a CellML model document with licensing information.

Realisation Strategy

Licensing information should be added using the Dublin Core (http://dublincore.org/documents/2010/10/11/dcmi-terms/) term 'license', as the RDF Predicate, with the model document's <model> tag as the RDF Subject. The Object could be a URI to the licensing information, or a literal text version of the license, or a combination of the two. If both are desired, use of the RDF container 'Alt' is recommended. See http://www.w3.org/TR/rdf-primer/#containers for more information on RDF containers.

It may be desirable to specify a multi-license for the model. If the RDF Objects are to be the alternative licenses, then RDF Container 'rdf:Alt' is not recommended because it is open - it does not specify that those are the ONLY alternatives. The RDF Collection construct may be used, however here the semantic meaning of being alternatives is lost, implying that all licenses should apply. Hence in this situation, it is recommended to define a license document that specifies the multi-license intent and links to the finite number of alternatives. It is then that document that should be specified as the RDF Object of an annotation statement. The recommended Dublin Core namespace is as follows:

Suggested prefix Namespace URI
dcterms "http://purl.org/dc/terms/"

Dublin Core terms not explicitly mentioned above are not considered part of the CellML Metadata Framework Licensing Specification.

Examples

1. A URI reference to a license

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcterms="http://purl.org/dc/terms/">

    <rdf:Description rdf:about="./model.cellml#model_example">
        <dcterms:license rdf:resource="http://exampleweb.org/licenses/2.0/" />
    </rdf:Description>

</rdf:RDF>

2. Both a license URI and a literal text of the license

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dcterms="http://purl.org/dc/terms/">

    <rdf:Description rdf:about="./model.cellml#model_example">
        <dcterms:license>
            <rdf:Alt>
                <rdf:li rdf:resource="http://exampleweb.org/licenses/2.0/" />
                <rdf:li>
                   Example License
                   THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
                   LICENSE. THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER
                   APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED
                   IS...UNAUTHORIZED.
                </rdf:li>
            </rdf:Alt>
        </dcterms:license>
    </rdf:Description>

</rdf:RDF>