opengeospatial / NamingAuthority

Primary repo for the OGC Naming Authority
6 stars 12 forks source link

Provide an IRI for OGC's license #86

Closed nicholascar closed 1 year ago

nicholascar commented 3 years ago

OGC uses a custom license (for an example, see the GeoSPARQL repository's LICENSE) and we would like to indicate that license from within RDF content. For this we need an IRI, e.g., for the GeoSPARQL ontology:

<http://www.opengis.net/ont/geosparql>
    a owl:Ontology ;
    dcterms:title "GeoSPARQL Ontology" ;
    ...
    dcterms:license <http://www.opengis.net/def/ogc-license> ;
    ...

Can the NA please provide an IRI for the OGC license?

The NA might consider registering the license with RDF license datasets too, such as http://rdflicense.appspot.com/ too.

nicholascar commented 3 years ago

(I am happy to model the OGC license in ODRL, as per other licenses at http://rdflicense.appspot.com/)

ghobona commented 3 years ago

Related to https://github.com/opengeospatial/NamingAuthority/issues/37

ghobona commented 3 years ago

The OGC software license is at https://www.ogc.org/ogc/software/1.0 and is registered on the SPDX register (https://spdx.dev). It's different from the document license.

How about using these for links to RDF-encoded licenses?

The register would be at http://www.opengis.net/def/license

nicholascar commented 3 years ago

The register would be at http://www.opengis.net/def/license

I agree, this would be the natural place to put the register.

The issue is really: can the register return RDF so we can use it in Linked Data?

I suggest that we create the register and populate it with simple information - SKOS - and then allow and expect that it could be extended into more license-specific stuff - ODRL2 (the rights modelling language).

Here is a basic SKOS version of of a 2-part license register. Note that the formatting of the deed, currently in the skos:definiton field, would be displayed fine by OGC' Defs Server.

@prefix : <http://www.opengis.net/def/license/> .
@prefix cs: <http://www.opengis.net/def/license> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

cs: 
    a skos:ConceptScheme ;
    dcterms:creator "GGIC Petroleum Data Working Group" ;
    dcterms:created "2021-05-24"^^xsd:date ;
    dcterms:modified "2021-05-24"^^xsd:date ;
    dcterms:provenance "This vocabulary is expressed for the first time here" ;
    skos:definition "A vocabulary of licenses define dby the Open Geospatial Consortium for a number of information products"@en ;
    skos:hasTopConcept 
        :ogc-document ,
        :ogc-software ;
    skos:prefLabel "OGC Licenses"@en ;
.

:ogc-document
    a skos:Concept ;
    dcterms:provenance "This Concept is expressed for the first time here" ;
    rdfs:isDefinedBy cs: ;
    skos:broader :access ;
    skos:definition """This will be the deed/description text of the OGC Document license"""@en ;
    skos:inScheme cs: ;
    skos:prefLabel "OGC Document License, Version 1.0"@en ;
.

:ogc-software
    a skos:Concept ;
    dcterms:source <https://www.ogc.org/ogc/software/1.0> ;
    rdfs:isDefinedBy cs: ;
    skos:broader :assessment ;
    skos:definition """This OGC work (including software, documents, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions:

Permission to use, copy, and modify this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make:

1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright © [$date-of-document] Open Geospatial Consortium, Inc. All Rights Reserved. http://www.ogc.org/ogc/legal (Hypertext is preferred, but a textual representation is permitted.)
3. Notice of any changes or modifications to the OGC files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)

THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.

COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.

The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders."""@en ;
    skos:inScheme cs: ;
    skos:prefLabel "OGC Software License, Version 1.0"@en ;
.
ghobona commented 2 years ago

Waiting for @nicholascar to create a draft of the license, as per https://github.com/opengeospatial/ogc-geosparql/issues/60#issuecomment-960246455