diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2018-08-28 10:42:57 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-08-28 10:46:46 +0200 |
commit | ea4c883b321402bf3240673b397363df5f15220a (patch) | |
tree | 8600d65b16f8b9d2fc53cfe51438068629804eb8 | |
parent | e976ef3f3fad646df0f496920703f261d2efaa33 (diff) | |
download | tracker-wip/carlosg/legalese-cardinality.tar.gz |
ontologies: Drop cardinality from legalese propertieswip/carlosg/legalese-cardinality
nie:copyright and nie:license were single valued and subproperties of the
common single valued properties nie:legal and dc:rights. Drop cardinality
restrictions on all of those, so we can have multiple values for each.
This happens to be in line with the last ever version of NIE ontology.
Closes: https://gitlab.gnome.org/GNOME/tracker/issues/33
-rw-r--r-- | src/ontologies/20-dc.ontology | 3 | ||||
-rw-r--r-- | src/ontologies/nepomuk/30-nie.ontology | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/ontologies/20-dc.ontology b/src/ontologies/20-dc.ontology index c50187d91..818dab3be 100644 --- a/src/ontologies/20-dc.ontology +++ b/src/ontologies/20-dc.ontology @@ -8,7 +8,7 @@ dc: a tracker:Namespace, tracker:Ontology ; tracker:prefix "dc" ; - nao:lastModified "2010-02-16T11:00:00Z" . + nao:lastModified "2018-08-25T11:00:00Z" . dc:title a rdf:Property ; rdfs:label "Title" ; @@ -113,7 +113,6 @@ dc:coverage a rdf:Property ; dc:rights a rdf:Property ; rdfs:label "Rights" ; rdfs:comment "Information about rights held in and over the resource." ; - nrl:maxCardinality 1 ; rdfs:domain rdfs:Resource ; rdfs:range xsd:string . diff --git a/src/ontologies/nepomuk/30-nie.ontology b/src/ontologies/nepomuk/30-nie.ontology index bfc6a875d..919dfe06f 100644 --- a/src/ontologies/nepomuk/30-nie.ontology +++ b/src/ontologies/nepomuk/30-nie.ontology @@ -10,7 +10,7 @@ nie: a tracker:Namespace, tracker:Ontology ; tracker:prefix "nie" ; - nao:lastModified "2014-06-03T13:06:00Z" . + nao:lastModified "2018-08-25T11:00:00Z" . nie:DataObject a rdfs:Class ; rdfs:label "Data Object" ; @@ -103,7 +103,6 @@ nie:plainTextContent a rdf:Property ; nie:legal a rdf:Property ; rdfs:comment "A common superproperty for all properties that point at legal information about an Information Element"; rdfs:subPropertyOf dc:rights ; - nrl:maxCardinality 1 ; rdfs:domain nie:InformationElement ; rdfs:range xsd:string . @@ -156,7 +155,6 @@ nie:links a rdf:Property ; # Bug in nepomuk specification. Taking domain from superproperty nie:copyright a rdf:Property ; rdfs:subPropertyOf dc:rights , nie:legal ; - nrl:maxCardinality 1 ; rdfs:domain nie:InformationElement ; rdfs:range xsd:string ; tracker:writeback true . @@ -207,7 +205,6 @@ nie:lastRefreshed a rdf:Property ; nie:license a rdf:Property ; rdfs:comment "Terms and intellectual property rights licensing conditions."; rdfs:subPropertyOf dc:rights , nie:legal ; - nrl:maxCardinality 1 ; rdfs:domain nie:InformationElement ; rdfs:range xsd:string . |