[tracker/wip/carlosg/ontology-minor-updates: 3/9] ontologies: Make nie:isStoredAs/isInterpretedAs multivalued



commit 9273e4c4c95a4766016ad705d16eae622151bee8
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Apr 13 21:10:53 2020 +0200

    ontologies: Make nie:isStoredAs/isInterpretedAs multivalued
    
    This is necessary for a full decoupling of InformationElement and
    DataSource (i.e. allowing 1:N, M:1, or M:N relationships). In order
    to compensate for these properties being multivalued, add indexes
    for both, these are pretty central properties.
    
    Also, undeprecate nie:isStoredAs, I don't know why was this added,
    but it's delusional it ever was.

 src/ontologies/nepomuk/30-nie.ontology | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/ontologies/nepomuk/30-nie.ontology b/src/ontologies/nepomuk/30-nie.ontology
index 78041e7b7..d769b26ed 100644
--- a/src/ontologies/nepomuk/30-nie.ontology
+++ b/src/ontologies/nepomuk/30-nie.ontology
@@ -174,16 +174,15 @@ nie:comment a rdf:Property ;
 
 nie:interpretedAs a rdf:Property ;
        rdfs:comment "Links the DataObject with the InformationElement it is interpreted as" ;
-       nrl:maxCardinality 1 ;
        rdfs:domain nie:DataObject ;
-       rdfs:range nie:InformationElement .
+       rdfs:range nie:InformationElement ;
+       tracker:indexed true .
 
 nie:isStoredAs a rdf:Property ;
        rdfs:comment "Links the information element with the DataObject it is stored in" ;
-       tracker:deprecated true ;
-       nrl:maxCardinality 1 ;
        rdfs:domain nie:InformationElement ;
-       rdfs:range nie:DataObject .
+       rdfs:range nie:DataObject ;
+       tracker:indexed true .
 
 nie:version a rdf:Property ;
        rdfs:comment "The current version of the given data object. Exact semantics is unspecified at this 
level. Use more specific subproperties if needed" ;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]