You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2012/04/09 13:53:27 UTC

svn commit: r1311205 [2/2] - in /incubator/stanbol/trunk: commons/indexedgraph/src/test/java/org/apache/stanbol/commons/indexedgraph/ commons/launchpad/src/main/java/org/apache/stanbol/launchpad/ commons/opennlp/src/license/ commons/solr/core/src/licen...

Added: incubator/stanbol/trunk/entityhub/generic/core/src/main/resources/config/schema_org_mappings.txt
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/entityhub/generic/core/src/main/resources/config/schema_org_mappings.txt?rev=1311205&view=auto
==============================================================================
--- incubator/stanbol/trunk/entityhub/generic/core/src/main/resources/config/schema_org_mappings.txt (added)
+++ incubator/stanbol/trunk/entityhub/generic/core/src/main/resources/config/schema_org_mappings.txt Mon Apr  9 11:53:24 2012
@@ -0,0 +1,117 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# ------------------------------------------------------------------------------
+# This File defines mappings for typical Ontologies to schema.org
+# ------------------------------------------------------------------------------
+# NOTE: currently it is not yet used
+#-----------------------------------
+# (1) Define the Languages to be imported (globally for all fields)
+# may be removed to import all languages
+ | @=null;en;de;fr;it 
+#  --- RDF RDFS and OWL Mappings ---
+rdfs:label
+rdfs:label > name
+rdfs:comment
+rdfs:comment > description
+# The types
+rdf:type | d=entityhub:ref
+# used by LOD to link to URIs used to identify the same Entity
+owl:sameAs | d=entityhub:ref
+
+#  --- Dublin Core ---
+# keep all DC Terms properties
+dc:* 
+dc:title > name
+dc:description > description
+# copy all DC Element values over to the DC Term equivalents 
+dc-elements:contributor > dc:contributor
+dc-elements:coverage > dc:coverage
+dc-elements:creator > dc:creator
+dc-elements:date > dc:date
+dc-elements:description > dc:description
+dc-elements:format > dc:format
+dc-elements:identifier > dc:identifier
+dc-elements:language > dc:language
+dc-elements:publisher > dc:publisher
+dc-elements:relation > dc:relation
+dc-elements:rights > dc:rights
+dc-elements:source > dc:source
+dc-elements:subject > dc:subject
+dc-elements:title > dc:title
+dc-elements:type > dc:type
+#also use ec-elements:title as label
+dc-elements:title > rdfs:label
+# also use dc elements title and descriptions for name and description
+dc-elements:title > name
+dc-elements:description > description
+
+#  --- Spatial Things ---
+# schema.org uses the GeoCoordinates type for spatial things
+geo:lat | d=xsd:double
+geo:lat | d=xsd:double > latitude
+geo:long | d=xsd:double
+geo:long | d=xsd:double > longitude
+# also allow floating point if one needs to use fractions of meters
+geo:alt | d=xsd:int;xsd:float
+geo:alt | d=xsd:int;xsd:float > elevation
+
+#  --- Thesaurus (via SKOS) ---
+# SKOS can be used to define hierarchical terminologies
+skos:*
+skos:prefLabel  > name
+skos:definition > description
+skos:note > description
+
+# no support for controlled vocabularies within schema.org
+skos:broader | d=entityhub:ref
+skos:narrower | d=entityhub:ref
+skos:related | d=entityhub:ref
+skos:member | d=entityhub:ref
+skos:subject | d=entityhub:ref
+skos:inScheme | d=entityhub:ref
+skos:hasTopConcept | d=entityhub:ref
+skos:topConceptOf | d=entityhub:ref
+
+# Some SKOS thesaurus do use "skos:transitiveBroader" and "skos:transitiveNarrower"
+# however such properties are only intended to be used by reasoners to
+# calculate transitive closures over broader/narrower hierarchies.
+# see http://www.w3.org/TR/skos-reference/#L2413 for details
+# to correct such cases we will copy transitive relations to there counterpart
+skos:narrowerTransitive > skos:narrower
+skos:broaderTransitive > skos:broader
+
+#  --- Social Networks (via foaf) ---
+# The Friend of a Friend schema often used to describe social relations between people
+foaf:* 
+foaf:name > name
+foaf:knows | d=entityhub:ref
+foaf:knows | d=entityhub:ref > knows
+foaf:made | d=entityhub:ref
+foaf:maker | d=entityhub:ref
+foaf:member | d=entityhub:ref
+foaf:member | d=entityhub:ref > memberOf
+foaf:homepage | d=xsd:anyURI
+foaf:homepage | d=xsd:anyURI > url
+foaf:depiction | d=xsd:anyURI
+foaf:depiction | d=xsd:anyURI > img
+foaf:img | d=xsd:anyURI
+foaf:img | d=xsd:anyURI > img
+foaf:logo | d=xsd:anyURI
+foaf:logo | d=xsd:anyURI > img
+# page about the entity
+foaf:page | d=xsd:anyURI
+foaf:page | d=xsd:anyURI > url
+

Propchange: incubator/stanbol/trunk/entityhub/generic/core/src/main/resources/config/schema_org_mappings.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/processor/LdpathProcessor.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/processor/LdpathProcessor.java?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/processor/LdpathProcessor.java (original)
+++ incubator/stanbol/trunk/entityhub/indexing/core/src/main/java/org/apache/stanbol/entityhub/indexing/core/processor/LdpathProcessor.java Mon Apr  9 11:53:24 2012
@@ -1,8 +1,23 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package org.apache.stanbol.entityhub.indexing.core.processor;
 
 import java.io.File;
 import java.io.FileInputStream;
-import java.io.FileReader;
 import java.io.IOException;
 import java.io.InputStreamReader;
 import java.io.Reader;

Modified: incubator/stanbol/trunk/entityhub/indexing/genericrdf/src/main/resources/indexing/config/entityTypes.properties
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/entityhub/indexing/genericrdf/src/main/resources/indexing/config/entityTypes.properties?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/entityhub/indexing/genericrdf/src/main/resources/indexing/config/entityTypes.properties (original)
+++ incubator/stanbol/trunk/entityhub/indexing/genericrdf/src/main/resources/indexing/config/entityTypes.properties Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
 #Configuration for the FieldValueFilter
 
 #This can be used to configure specific rdf:types to be indexed. Entities with

Modified: incubator/stanbol/trunk/entityhub/ldpath/src/main/java/org/apache/stanbol/entityhub/ldpath/backend/SingleRepresentationBackend.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/entityhub/ldpath/src/main/java/org/apache/stanbol/entityhub/ldpath/backend/SingleRepresentationBackend.java?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/entityhub/ldpath/src/main/java/org/apache/stanbol/entityhub/ldpath/backend/SingleRepresentationBackend.java (original)
+++ incubator/stanbol/trunk/entityhub/ldpath/src/main/java/org/apache/stanbol/entityhub/ldpath/backend/SingleRepresentationBackend.java Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package org.apache.stanbol.entityhub.ldpath.backend;
 
 import java.util.Collections;

Modified: incubator/stanbol/trunk/rules/adapters/swrl/src/main/java/org/apache/stanbol/rules/adapters/swrl/atoms/DivisionAtom.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/adapters/swrl/src/main/java/org/apache/stanbol/rules/adapters/swrl/atoms/DivisionAtom.java?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/adapters/swrl/src/main/java/org/apache/stanbol/rules/adapters/swrl/atoms/DivisionAtom.java (original)
+++ incubator/stanbol/trunk/rules/adapters/swrl/src/main/java/org/apache/stanbol/rules/adapters/swrl/atoms/DivisionAtom.java Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.stanbol.rules.adapters.swrl.atoms;
 
 import org.apache.stanbol.rules.adapters.AbstractAdaptableAtom;

Modified: incubator/stanbol/trunk/rules/adapters/swrl/src/main/java/org/apache/stanbol/rules/adapters/swrl/atoms/LessEqualThanAtom.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/adapters/swrl/src/main/java/org/apache/stanbol/rules/adapters/swrl/atoms/LessEqualThanAtom.java?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/adapters/swrl/src/main/java/org/apache/stanbol/rules/adapters/swrl/atoms/LessEqualThanAtom.java (original)
+++ incubator/stanbol/trunk/rules/adapters/swrl/src/main/java/org/apache/stanbol/rules/adapters/swrl/atoms/LessEqualThanAtom.java Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.stanbol.rules.adapters.swrl.atoms;
 
 import java.util.ArrayList;

Modified: incubator/stanbol/trunk/rules/base/src/main/java/org/apache/stanbol/rules/base/api/AlreadyExistingRecipeException.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/base/src/main/java/org/apache/stanbol/rules/base/api/AlreadyExistingRecipeException.java?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/base/src/main/java/org/apache/stanbol/rules/base/api/AlreadyExistingRecipeException.java (original)
+++ incubator/stanbol/trunk/rules/base/src/main/java/org/apache/stanbol/rules/base/api/AlreadyExistingRecipeException.java Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package org.apache.stanbol.rules.base.api;
 
 public class AlreadyExistingRecipeException extends Exception {

Modified: incubator/stanbol/trunk/rules/manager/demo/Food.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/manager/demo/Food.owl?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/manager/demo/Food.owl (original)
+++ incubator/stanbol/trunk/rules/manager/demo/Food.owl Mon Apr  9 11:53:24 2012
@@ -1,5 +1,20 @@
 <?xml version="1.0"?>
-
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 
 <!DOCTYPE rdf:RDF [
     <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
@@ -20,7 +35,6 @@
     <owl:Ontology rdf:about="http://www.semanticweb.org/Food.owl"/>
     
 
-
     <!-- 
     ///////////////////////////////////////////////////////////////////////////////////////
     //

Modified: incubator/stanbol/trunk/rules/manager/demo/Menu.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/manager/demo/Menu.owl?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/manager/demo/Menu.owl (original)
+++ incubator/stanbol/trunk/rules/manager/demo/Menu.owl Mon Apr  9 11:53:24 2012
@@ -1,5 +1,20 @@
 <?xml version="1.0"?>
-
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 
 <!DOCTYPE rdf:RDF [
     <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
@@ -22,7 +37,6 @@
     <owl:Ontology rdf:about="http://www.semanticweb.org/Menu.owl"/>
     
 
-
     <!-- 
     ///////////////////////////////////////////////////////////////////////////////////////
     //

Modified: incubator/stanbol/trunk/rules/manager/demo/classifyFood.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/manager/demo/classifyFood.owl?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/manager/demo/classifyFood.owl (original)
+++ incubator/stanbol/trunk/rules/manager/demo/classifyFood.owl Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <rdf:RDF
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:owl="http://www.w3.org/2002/07/owl#"

Modified: incubator/stanbol/trunk/rules/manager/demo/classifyFood2.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/manager/demo/classifyFood2.owl?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/manager/demo/classifyFood2.owl (original)
+++ incubator/stanbol/trunk/rules/manager/demo/classifyFood2.owl Mon Apr  9 11:53:24 2012
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <rdf:RDF xmlns="http://www.w3.org/2002/07/owl#"
      xml:base="http://www.w3.org/2002/07/owl"
      xmlns:Menu="http://www.semanticweb.org/Menu.owl#"
@@ -7,8 +23,6 @@
      xmlns:owl="http://www.w3.org/2002/07/owl#"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-    
-
 
     <!-- 
     ///////////////////////////////////////////////////////////////////////////////////////

Modified: incubator/stanbol/trunk/rules/manager/demo/enrichFood.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/manager/demo/enrichFood.owl?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/manager/demo/enrichFood.owl (original)
+++ incubator/stanbol/trunk/rules/manager/demo/enrichFood.owl Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <rdf:RDF
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:owl="http://www.w3.org/2002/07/owl#"

Modified: incubator/stanbol/trunk/rules/manager/demo/enrichFood2.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/manager/demo/enrichFood2.owl?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/manager/demo/enrichFood2.owl (original)
+++ incubator/stanbol/trunk/rules/manager/demo/enrichFood2.owl Mon Apr  9 11:53:24 2012
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <rdf:RDF xmlns="http://www.w3.org/2002/07/owl#"
      xml:base="http://www.w3.org/2002/07/owl"
      xmlns:Menu="http://www.semanticweb.org/Menu.owl#"
@@ -9,7 +25,6 @@
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
     
 
-
     <!-- 
     ///////////////////////////////////////////////////////////////////////////////////////
     //

Modified: incubator/stanbol/trunk/rules/manager/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/manager/pom.xml?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/manager/pom.xml (original)
+++ incubator/stanbol/trunk/rules/manager/pom.xml Mon Apr  9 11:53:24 2012
@@ -62,6 +62,23 @@
 				<groupId>org.apache.felix</groupId>
 				<artifactId>maven-scr-plugin</artifactId>
 			</plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <!-- NOTE: needed to add this here, because for some unknown reason
+                       the RAT tool was not able to apply the **/*.txt wildcard
+                       to the two excluded text files. Also an explicit
+                       exclude for that files in the Stanbol reactor had not 
+                       worked. (rwesten 2012-04-09) -->
+            <!-- license mentioned in the README in the same directory -->
+            <exclude>RuleConf/recipe_index.txt</exclude>
+            <exclude>demo/recipe.txt</exclude>
+            <exclude>src/license/THIRD-PARTY.properties</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
 		</plugins>
 	</build>
 

Modified: incubator/stanbol/trunk/rules/refactor/RuleConf/rmi_config.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/refactor/RuleConf/rmi_config.owl?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/refactor/RuleConf/rmi_config.owl (original)
+++ incubator/stanbol/trunk/rules/refactor/RuleConf/rmi_config.owl Mon Apr  9 11:53:24 2012
@@ -1,4 +1,20 @@
 <?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <rdf:RDF xmlns="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#"
      xml:base="http://kres.iks-project.eu/ontology/meta/rmi_config.owl"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"

Modified: incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RecipeListWriter.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RecipeListWriter.java?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RecipeListWriter.java (original)
+++ incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RecipeListWriter.java Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.stanbol.rules.web.writers;
 
 import java.io.IOException;

Modified: incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RuleListWriter.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RuleListWriter.java?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RuleListWriter.java (original)
+++ incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RuleListWriter.java Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.stanbol.rules.web.writers;
 
 import java.io.IOException;

Modified: incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RulesPrettyPrintResource.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RulesPrettyPrintResource.java?rev=1311205&r1=1311204&r2=1311205&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RulesPrettyPrintResource.java (original)
+++ incubator/stanbol/trunk/rules/web/src/main/java/org/apache/stanbol/rules/web/writers/RulesPrettyPrintResource.java Mon Apr  9 11:53:24 2012
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.stanbol.rules.web.writers;
 import javax.servlet.ServletContext;
 import javax.ws.rs.core.Context;