From e30f58639bb93bb06da790fda02041715db28597 Mon Sep 17 00:00:00 2001 From: David Maus <maus@hab.de> Date: Wed, 16 Jan 2019 12:22:50 +0100 Subject: [PATCH] Add dcterms property identifier --- public/instance/schema/shared-dc.rnc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/public/instance/schema/shared-dc.rnc b/public/instance/schema/shared-dc.rnc index 560313249..88ecda56a 100644 --- a/public/instance/schema/shared-dc.rnc +++ b/public/instance/schema/shared-dc.rnc @@ -1,7 +1,7 @@ # Wiederverwendbare Definition von Eigenschaften aus Dublin Core Qualified # # Autor: David Maus <maus@hab.de> -# Timestamp: <2019-01-16 12:17:44 maus> +# Timestamp: <2019-01-16 12:22:25 maus> # namespace dct = "http://purl.org/dc/terms/" @@ -9,6 +9,11 @@ namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" namespace owl = "http://www.w3.org/2002/07/owl#" namespace skos = "http://www.w3.org/2004/02/skos/core#" +property.identifier = + element dct:identifier { + model.rdfLiteral + } + property.license = element dct:license { element dct:LicenseDocument { @@ -50,3 +55,7 @@ model.externalEntity = attribute rdf:resource { xsd:anyURI } }* & property.label + +model.rdfLiteral = + attribute rdf:datatype { xsd:anyURI }? + & text -- GitLab