You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2011/02/25 14:19:02 UTC

svn commit: r1074513 - /incubator/clerezza/issues/CLEREZZA-388/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl

Author: reto
Date: Fri Feb 25 13:19:02 2011
New Revision: 1074513

URL: http://svn.apache.org/viewvc?rev=1074513&view=rev
Log:
CLEREZZA-388: added virtual properties to ontology

Modified:
    incubator/clerezza/issues/CLEREZZA-388/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl

Modified: incubator/clerezza/issues/CLEREZZA-388/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl
URL: http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-388/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl?rev=1074513&r1=1074512&r2=1074513&view=diff
==============================================================================
--- incubator/clerezza/issues/CLEREZZA-388/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl (original)
+++ incubator/clerezza/issues/CLEREZZA-388/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl Fri Feb 25 13:19:02 2011
@@ -10,6 +10,22 @@
 :IndexDefinition a rdfs:Class;
 	skos:definition "The description of an index that is to be maintained by CRIS."@en.
 
+:VirtualProperty a rdfs:Class;
+	rdfs:subClassOf rdf:Property;
+	skos:definition """A virtual property is a property whose value can be
+		computed from other properties of the resource."""@en.
+
+:JoinVirtualProperty a rdfs:Class;
+	rdfs:subClassOf rdf:Property;
+	skos:definition """A join virtual property is a property whose values are
+		the values of all paths of certain properties leading to a value."""@en.
+
+:PathVirtualProperty a rdfs:Class;
+	rdfs:subClassOf rdf:Property;
+	skos:definition """A join virtual property is a property whole value results
+	from the concatenation of the literal values of a list of properties with
+	literal values."""@en.
+
 :indexedType a rdf:Property;
 	skos:definition "The RDF type of which instances are to be indexed."@en;
 	rdfs:Domain :IndexDefinition;
@@ -20,6 +36,13 @@
 	rdfs:Domain :IndexDefinition;
 	rdfs:Range rdf:Property.
 
+:propertyList a rdf:Property;
+	skos:definition "Point to the list of properties of the subject."@en;
+	rdfs:Domain [ a owl:Class;
+        owl:unionOf (:JoinVirtualProperty :PathVirtualProperty)
+    ];
+	rdfs:Range rdf:List.
+
 #:index a rdf:Property;
 #	skos:definition "A indentifier for an (anonymous) resource."@en;
 #	rdfs:Domain rdfs:Resource;