Skip to content

Latest commit

 

History

History
323 lines (226 loc) · 10.8 KB

rdf.md

File metadata and controls

323 lines (226 loc) · 10.8 KB

RDF/XML

(Return to primary ../README.md.)

Namespaces

ccREL Schema

schema.rdf excerpt:

<rdf:RDF
    xmlns:cc="http://creativecommons.org/ns#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
>
Prefix Name URL
cc ccREL http://creativecommons.org/ns#
owl OWL 2 http://www.w3.org/2002/07/owl#
rdf RDF XML Syntax http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs RDF Schema http://www.w3.org/2000/01/rdf-schema#

Images

images.rdf excerpt:

<rdf:RDF
    xmlns:exif="http://www.w3.org/2003/12/exif/ns#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
Prefix Name URL
exif Exif RDF Schema http://www.w3.org/2003/12/exif/ns#
rdf RDF XML Syntax http://www.w3.org/1999/02/22-rdf-syntax-ns#

Legal code

**/rdf excerpt:

<rdf:RDF
    xmlns:cc='http://creativecommons.org/ns#'
    xmlns:dcterms='http://purl.org/dc/terms/'
    xmlns:foaf='http://xmlns.com/foaf/0.1/'
    xmlns:owl='http://www.w3.org/2002/07/owl#'
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
>
Prefix Name URL
cc ccREL http://creativecommons.org/ns#
dcterms DCMI Metadata Terms http://purl.org/dc/terms/
foaf FOAF Vocabulary http://xmlns.com/foaf/0.1/
owl OWL 2 http://www.w3.org/2002/07/owl#
rdf RDF XML Syntax http://www.w3.org/1999/02/22-rdf-syntax-ns#

ccREL ( cc prefix)

DCMI Metadata Terms (dcterms prefix)

Exif RDF Schema (exif prefix)

Exif RDF Schema (retrieved 2024-07-03):

Vocabulary to describe an Exif format picture data. All Exif 2.2 tags are defined as RDF properties, as well as several terms to help this schema

FOAF Vocabulary (foaf)

FOAF - Wikipedia (retrieved 2023-07-20):

FOAF (an acronym of friend of a friend) is a machine-readable ontology describing persons, their activities and their relations to other people and objects.

OWL 2 (owl prefix)

OWL 2 Web Ontology Language Document Overview (Second Edition) (retrieved 2023-07-20):

The OWL 2 Web Ontology Language, informally OWL 2, is an ontology language for the Semantic Web with formally defined meaning. OWL 2 ontologies provide classes, properties, individuals, and data values and are stored as Semantic Web documents.

RDF XML Syntax (rdf prefix)

RDF Schema (rdfs prefix)

RDF canonical URL

Due to historical reasons, the canonical URL for the legal tools in RDF uses the HTTP (unencrypted) protocol.

Although the legal tools are not available via HTTP, the URLs still function correctly due to redirects. Additionally, the RDF now includes an owl:sameAs element with the HTTPS URL for further compatibility.

For example:

Context Protocol Canonical URL Published data example
RDF HTTP http://creativecommons.org/licenses/by/4.0/ licenses/by/4.0/rdf#L3
all other uses HTTPS https://creativecommons.org/licenses/by/4.0/ licenses/by/4.0/legalcode.en.html#L390-L397

Changes

Overview

The changes between the old legacy ccEngine RDF/XML and the new CC Legal Tools App RDF/XML aim to enhance clarity, accuracy, compatibility, and standardization of the RDF representation of Creative Commons licenses. The improvements enhance the machine-readability and semantic understanding of the licenses, enabling better integration and interpretation within digital ecosystems. A general overview of what and why changes occured:

Improved Structure and Consistency

  • What: The structure of the RDF/XML files has been improved for better clarity, consistency, and adherence to RDF standards.
  • Why: A well-defined and consistent structure makes it easier for machines to process and interpret the RDF data accurately.
  • Diff: The newer generated RDF/XML have a more organized and standardized structure compared to the older legacy RDF/XML, ensuring that elements and properties are consistently represented.

Updated License Information

  • What: License information and conditions have been updated for some of the licenses.
  • Why: Keeping license information up-to-date ensures that users and automated systems are aware of the current permissions and restrictions associated with the licenses.
  • Diff: The newer generated RDF/XML include the most recent and updated license Information.

Alignment with RDF Best Practices

  • What: Changes have been made to align the RDF/XML representation with best practices and recommendations in the RDF.
  • Why: Following best practices ensures that the RDF data is structured in a way that maximizes interoperability and compatibility with other RDF-consuming applications.
  • Diff: The newer generated RDF/XML adhere to established RDF conventions, such as using standardized namespaces, consistent naming conventions, and properly defined relationships.

2023-09-08 Added machine layer to (this) CC Legal Tools App

Fixed wrong cc:deprecatedOn on the following legal tools:

  • CC Sampling+ 1.0 BR
  • CC Sampling+ 1.0 DE
  • CC Sampling+ 1.0 TW
  • CC Sampling+ 1.0

Updated RDF namespace prefix:

  • dcterms replaced dc and dcq

Added missing license RDF/XML:

  • CC BY-NC-ND 2.1 CA
  • CC BY-NC-SA 2.1 CA
  • CC BY-NC 2.1 CA
  • CC BY-ND 2.1 CA
  • CC BY 2.1 CA
  • CC BY-NC-ND 3.0 AM
  • CC BY-NC-SA 3.0 AM
  • CC BY-NC 3.0 AM
  • CC BY-ND 3.0 AM
  • CC BY 3.0 AM
  • CC BY-NC-ND 3.0 AZ
  • CC BY-NC-SA 3.0 AZ
  • CC BY-NC 3.0 AZ
  • CC BY-ND 3.0 AZ
  • CC BY 3.0 AZ
  • CC BY-NC-ND 3.0 CA
  • CC BY-NC-SA 3.0 CA
  • CC BY-NC 3.0 CA
  • CC BY-ND 3.0 CA
  • CC BY 3.0 CA
  • CC BY-NC-ND 3.0 GE
  • CC BY-NC-SA 3.0 GE
  • CC BY-NC 3.0 GE
  • CC BY-ND 3.0 GE
  • CC BY 3.0 GE

Removed legacy ccEngine RDF/XML for nonexistent license:

  • CC BY-ND-NC 2.0 JP

Improved compatibility:

  • Added additional DCMI: DCMI Metadata Terms to RDF/XML:
    • dcterms:LicenseDocument (duplicates cc:legalcode)
    • dcterms:Jurisdiction with rdf:datatype="http://purl.org/dc/terms/ISO3166" (duplicates cc:jurisdiction except for igo which uses un and for scotland for which this element is omitted)
  • Added owl:sameAs element with HTTPS URL

Improved multilingual support:

  • Title translations now match legal code (removed title translation languages that the legal code has not yet been translated into)
  • Added xml:lang to cc:legalcode
  • Removed top level rdf:Description elements that were redundant with cc:legalcode and dcterms:LicenseDocument elements

Removed third-party license RDF/XML (the deeds and legal codes were replaced by redirects long ago):

  • /licenses/BSD/rdf
  • /licenses/GPL/2.0/rdf
  • /licenses/LGPL/2.1/rdf
  • /licenses/MIT/rdf
  • /licenses/by-nd-nc/2.0/jp/rdf

Removed unused RDF/XML files:

  • /rdf/jurisdictions.rdf
  • /rdf/selectors.rdf

More information needed

The following entries are non-exhaustive. More work is required.

2011-01-06: CC REL by Example published

2008-08-20: Received World Wide Web Consortium (W3C) team comment on ccREL

2008-07-24: cc.license component of the ccEngine entered alpha

2008-05-01: Submitted ccREL to W3C

2008-04-08: Published ccREL