[tracker/unique-nie-url: 1/4] Ontologies: Make nie:url an inverse functional property
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/unique-nie-url: 1/4] Ontologies: Make nie:url an inverse functional property
- Date: Wed, 9 Feb 2011 09:12:51 +0000 (UTC)
commit e3ca98e36a7c13390477e898d5603f1e4ccfa419
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue Feb 8 17:35:01 2011 +0100
Ontologies: Make nie:url an inverse functional property
This will avoid having two resources with same nie:url.
Fixes NB#208621
data/ontologies/30-nie.ontology | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/ontologies/30-nie.ontology b/data/ontologies/30-nie.ontology
index c4fc7ea..32e39af 100644
--- a/data/ontologies/30-nie.ontology
+++ b/data/ontologies/30-nie.ontology
@@ -10,7 +10,7 @@
nie: a tracker:Namespace, tracker:Ontology ;
tracker:prefix "nie" ;
- nao:lastModified "2011-02-03T13:00:00Z" .
+ nao:lastModified "2011-02-08T16:00:00Z" .
nie:DataObject a rdfs:Class ;
rdfs:label "Data Object" ;
@@ -40,6 +40,7 @@ nie:title a rdf:Property ;
tracker:writeback true .
nie:url a rdf:Property ;
+ a nrl:InverseFunctionalProperty ;
rdfs:label "URL" ;
rdfs:comment "URL pointing at the location of the resource. In cases where creating a simple file:// or http:// URL for a file is difficult (e.g. for files inside compressed archives) the applications are encouraged to use conventions defined by Apache Commons VFS Project at http://jakarta.apache.org/ commons/ vfs/ filesystems.html." ;
nrl:maxCardinality 1 ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]