From 81988c3b9affff1b3b5d582bf0d067d573dae93b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr>
Date: Fri, 5 Dec 2014 11:26:35 +0000
Subject: [PATCH] - reviesed tutorial4 ontologies

---
 html/tutorial/tutorial4/ontology1.owl | 100 +++++++++++++-------------
 html/tutorial/tutorial4/ontology2.owl |  89 +++++++++++------------
 2 files changed, 95 insertions(+), 94 deletions(-)

diff --git a/html/tutorial/tutorial4/ontology1.owl b/html/tutorial/tutorial4/ontology1.owl
index c17f6b66..d2ff1297 100644
--- a/html/tutorial/tutorial4/ontology1.owl
+++ b/html/tutorial/tutorial4/ontology1.owl
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="utf-8"?>
-
 <!DOCTYPE rdf:RDF [
           <!ENTITY xsd		"http://www.w3.org/2001/XMLSchema#" >
 	  <!ENTITY rdf		"http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
@@ -20,6 +19,7 @@
     <dc:creator>Jérôme Euzenat</dc:creator>
     <dc:description>Example for Alignment API advanced turorial</dc:description>
     <dc:date>2009-07-06</dc:date>
+    <dc:date>2009-07-06</dc:date>
     <rdfs:label>First ontology</rdfs:label>
     <dc:title>ontology1.owl: a fake list of students</dc:title>
     <dc:identifier rdf:datatype="&xsd;anyURI">http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl</dc:identifier>
@@ -39,57 +39,57 @@
     <rdfs:label xml:lang="es">Professor</rdfs:label>
   </owl:Class>
 
-  <owl:DataProperty rdf:about="#lastname">
-    <rdf:domain rdf:resource="#Participante" />
-    <rdf:range rdf:resource="&xsd;string" />
+  <owl:DatatypeProperty rdf:ID="lastname">
+    <rdfs:domain rdf:resource="#Participante" />
+    <rdfs:range rdf:resource="&xsd;string" />
     <rdfs:label xml:lang="es">appelido</rdfs:label>
-  </owl:DataProperty>
+  </owl:DatatypeProperty>
 
-  <owl:DataProperty rdf:about="#firstname">
-    <rdf:domain rdf:resource="#Participante" />
-    <rdf:range rdf:resource="&xsd;string" />
+  <owl:DatatypeProperty rdf:ID="firstname">
+    <rdfs:domain rdf:resource="#Participante" />
+    <rdfs:range rdf:resource="&xsd;string" />
     <rdfs:label xml:lang="es">nombre</rdfs:label>
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#gender">
-    <rdf:domain rdf:resource="#Participante" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#affiliation">
-    <rdf:domain rdf:resource="#Participante" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#city">
-    <rdf:domain rdf:resource="#Participante" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#country">
-    <rdf:domain rdf:resource="#Participante" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#">
-    <rdf:domain rdf:resource="#Participante" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#year">
-    <rdf:domain rdf:resource="#Estudiante" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#topic">
-    <rdf:domain rdf:resource="#Participante" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#supervisor">
-    <rdf:domain rdf:resource="#Estudiante" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="gender">
+    <rdfs:domain rdf:resource="#Participante" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="affiliation">
+    <rdfs:domain rdf:resource="#Participante" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="city">
+    <rdfs:domain rdf:resource="#Participante" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="country">
+    <rdfs:domain rdf:resource="#Participante" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="">
+    <rdfs:domain rdf:resource="#Participante" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="year">
+    <rdfs:domain rdf:resource="#Estudiante" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="topic">
+    <rdfs:domain rdf:resource="#Participante" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="supervisor">
+    <rdfs:domain rdf:resource="#Estudiante" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
 
 <Estudiante rdf:about="#Fitzgerald">
   <lastname>Fitzgerald</lastname>
@@ -305,7 +305,7 @@
 </Estudiante>
 
 <Estudiante rdf:about="#Zorn">
-  <rdf:type resource="#Tutor" />
+  <rdf:type rdf:resource="#Tutor" />
   <lastname>Zorn</lastname>
   <firstname>John</firstname>
   <gender>Male</gender>
diff --git a/html/tutorial/tutorial4/ontology2.owl b/html/tutorial/tutorial4/ontology2.owl
index f987400f..6893435a 100644
--- a/html/tutorial/tutorial4/ontology2.owl
+++ b/html/tutorial/tutorial4/ontology2.owl
@@ -20,6 +20,7 @@
     <dc:creator>Jérôme Euzenat</dc:creator>
     <dc:description>Example for Alignment API advanced turorial</dc:description>
     <dc:date>2009-07-06</dc:date>
+    <dc:date>2014-12-05</dc:date>
     <rdfs:label>Second ontology</rdfs:label>
     <dc:title>ontology2.owl: another fake list of students</dc:title>
     <dc:identifier rdf:datatype="&xsd;anyURI">http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl</dc:identifier>
@@ -36,50 +37,50 @@
     <rdfs:label xml:lang="en">Staff</rdfs:label>
   </owl:Class>
 
-  <owl:DataProperty rdf:about="#name">
-    <rdf:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#first-name">
-    <rdf:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#gender">
-    <rdf:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#institution">
-    <rdf:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#city-of-study">
-    <rdf:domain rdf:resource="#Student" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#country-of-study">
-    <rdf:domain rdf:resource="#Student" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#year-in-phd">
-    <rdf:domain rdf:resource="#Student" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#topic-of-interest">
-    <rdf:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
-
-  <owl:DataProperty rdf:about="#phd-advisor">
-    <rdf:domain rdf:resource="#Student" />
-    <rdf:range rdf:resource="&xsd;string" />
-  </owl:DataProperty>
+  <owl:DatatypeProperty rdf:ID="name">
+    <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="first-name">
+    <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="gender">
+    <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="institution">
+    <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="city-of-study">
+    <rdfs:domain rdf:resource="#Student" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="country-of-study">
+    <rdfs:domain rdf:resource="#Student" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="year-in-phd">
+    <rdfs:domain rdf:resource="#Student" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="topic-of-interest">
+    <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Person" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
+
+  <owl:DatatypeProperty rdf:ID="phd-advisor">
+    <rdfs:domain rdf:resource="#Student" />
+    <rdfs:range rdf:resource="&xsd;string" />
+  </owl:DatatypeProperty>
 
 <Student rdf:about="#dkral">
   <name>Krall</name>
-- 
GitLab