Added: incubator/clerezza/issues/CLEREZZA-501/rdf.cris/ontologies/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-501/rdf.cris/ontologies/pom.xml?rev=1095456&view=auto
==============================================================================
--- incubator/clerezza/issues/CLEREZZA-501/rdf.cris/ontologies/pom.xml (added)
+++ incubator/clerezza/issues/CLEREZZA-501/rdf.cris/ontologies/pom.xml Wed Apr 
20 16:39:34 2011
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><project 
xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.apache.clerezza</groupId>
+               <artifactId>rdf.cris</artifactId>
+               <version>0.1-incubating-SNAPSHOT</version>
+       </parent>
+       <groupId>org.apache.clerezza</groupId>
+       <artifactId>rdf.cris.ontologies</artifactId>
+       <version>0.1-incubating-SNAPSHOT</version>
+       <packaging>bundle</packaging>
+       <name>Clerezza - RDF Composite Resource Index Service Ontologies</name>
+       <description>
+               Skeleton Ontologies
+       </description>
+       <dependencies>
+               <dependency>
+                       <groupId>org.apache.clerezza</groupId>
+                       <artifactId>rdf.core</artifactId>
+               </dependency>
+       </dependencies>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.clerezza</groupId>
+                               <artifactId>maven-ontologies-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <phase>generate-sources</phase>
+                                               <configuration>
+                                                       
<resourcePath>${basedir}/src/main/resources</resourcePath>
+                                                       <sources>
+                                                               
<source>${basedir}/target/generated-sources/main/java</source>
+                                                       </sources>
+                                               </configuration>
+                                               <goals>
+                                                       <goal>generate</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+</project>

Added: 
incubator/clerezza/issues/CLEREZZA-501/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-501/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl?rev=1095456&view=auto
==============================================================================
--- 
incubator/clerezza/issues/CLEREZZA-501/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl
 (added)
+++ 
incubator/clerezza/issues/CLEREZZA-501/rdf.cris/ontologies/src/main/resources/org/apache/clerezza/rdf/cris/ontologies/cris.ttl
 Wed Apr 20 16:39:34 2011
@@ -0,0 +1,53 @@
+@prefix : <http://clerezza.apache.org/platform/curieprefix#>.
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
+@prefix skos: <http://www.w3.org/2008/05/skos#>.
+@prefix owl: <http://www.w3.org/2002/07/owl#>.
+
+
+: a owl:Ontology.
+
+: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;
+       rdfs:Range rdfs:Class.
+
+:indexedProperty a rdf:Property;
+       skos:definition "A property to be indexed."@en;
+       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;
+#      rdfs:Range rdf:Property.
+
+:IndexDefinitionList a rdfs:Class;
+       skos:definition "A List of IndexDefinitionS"@en;
+       rdfs:subClassOf rdf:List.
\ No newline at end of file

Added: incubator/clerezza/issues/CLEREZZA-501/rdf.cris/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-501/rdf.cris/pom.xml?rev=1095456&view=auto
==============================================================================
--- incubator/clerezza/issues/CLEREZZA-501/rdf.cris/pom.xml (added)
+++ incubator/clerezza/issues/CLEREZZA-501/rdf.cris/pom.xml Wed Apr 20 16:39:34 
2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><project 
xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.apache.clerezza</groupId>
+               <artifactId>parent</artifactId>
+               <version>0.2-incubating-SNAPSHOT</version>
+       </parent>
+       <groupId>org.apache.clerezza</groupId>
+       <artifactId>rdf.cris</artifactId>
+       <packaging>pom</packaging>
+       <version>0.1-incubating-SNAPSHOT</version>
+       <name>Clerezza - RDF Composite Resource Index Service</name>
+       <description>
+               A service indexing selected properties of resources of a 
defined type.
+       </description>
+       <modules>
+               <module>ontologies</module>
+               <module>core</module>
+       </modules>
+       <dependencyManagement>
+               <dependencies>
+                       <dependency>
+                               <groupId>org.apache.clerezza</groupId>
+                               <artifactId>rdf.cris.ontologies</artifactId>
+                               <version>0.1-incubating-SNAPSHOT</version>
+                       </dependency>
+               </dependencies>
+       </dependencyManagement>
+</project>


Reply via email to