diff --git a/html/tutorial/tutorial4/alignment.rdf b/html/tutorial/tutorial4/alignment.rdf
new file mode 100644
index 0000000000000000000000000000000000000000..137fb3a30e573ee86197912f974d62fbfed2cde8
--- /dev/null
+++ b/html/tutorial/tutorial4/alignment.rdf
@@ -0,0 +1,118 @@
+<?xml version='1.0' encoding='utf-8' standalone='no'?>
+<rdf:RDF xmlns='http://knowledgeweb.semanticweb.org/heterogeneity/alignment#'
+         xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
+         xmlns:xsd='http://www.w3.org/2001/XMLSchema#'
+         xmlns:alext='http://exmo.inrialpes.fr/align/ext/1.0/'
+         xmlns:align='http://knowledgeweb.semanticweb.org/heterogeneity/alignment#'>
+<Alignment>
+  <xml>yes</xml>
+  <level>0</level>
+  <type>11</type>
+  <alext:method>Manually made alignment</alext:method>
+  <alext:time>53</alext:time>
+  <onto1>
+    <Ontology rdf:about="http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl">
+      <location>http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl</location>
+      <formalism>
+        <Formalism align:name="OWL2.0" align:uri="http://www.w3.org/2002/07/owl#"/>
+      </formalism>
+    </Ontology>
+  </onto1>
+  <onto2>
+    <Ontology rdf:about="http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl">
+      <location>http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl</location>
+      <formalism>
+        <Formalism align:name="OWL2.0" align:uri="http://www.w3.org/2002/07/owl#"/>
+      </formalism>
+    </Ontology>
+  </onto2>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#Estudiante'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#Student'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#Tutor'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#Professor'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#lastname'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#name'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#firstname'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#first-name'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#gender'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#gender'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#affiliation'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#institution'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#city'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#city-of-study'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#country'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#country-of-study'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#year'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#year-in-phd'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#topic'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#topics-of-interest'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+  <map>
+    <Cell>
+      <entity1 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#supervisor'/>
+      <entity2 rdf:resource='http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#phd-advisor'/>
+      <relation>=</relation>
+      <measure rdf:datatype='http://www.w3.org/2001/XMLSchema#float'>1.0</measure>
+    </Cell>
+  </map>
+</Alignment>
+</rdf:RDF>
diff --git a/html/tutorial/tutorial4/ontology1.owl b/html/tutorial/tutorial4/ontology1.owl
index 0510b9ac2af11d7c4f87fc849ac0b685f4e233c9..c17f6b66e877bc3e91a34a2feabe153025cc66f2 100644
--- a/html/tutorial/tutorial4/ontology1.owl
+++ b/html/tutorial/tutorial4/ontology1.owl
@@ -5,40 +5,92 @@
 	  <!ENTITY rdf		"http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
 	  <!ENTITY rdfs		"http://www.w3.org/2000/01/rdf-schema#" >
 	  <!ENTITY dc		"http://purl.org/dc/elements/1.1/" > 
-	  <!ENTITY owl		"http://www.w3.org/2002/07/owl#" >
-	  <!ENTITY units	"http://visus.mit.edu/fontomri/0.01/units.owl#" >
-	  <!ENTITY bibtex	"http://purl.org/net/nknouf/ns/bibtex#">
-	  <!ENTITY dcterms 	"http://purl.org/dc/terms/">
-	  <!ENTITY dctype 	"http://purl.org/dc/dcmitype/"> ]>
+	  <!ENTITY owl		"http://www.w3.org/2002/07/owl#" > ]>
 
 <rdf:RDF
  xmlns="http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#"
  xml:base="http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#"
- xmlns:units	="&units;"
- xmlns:foaf	="http://xmlns.com/foaf/0.1/"
  xmlns:rdf	="&rdf;"
  xmlns:xsd	="&xsd;"
  xmlns:rdfs	="&rdfs;"
- xmlns:owl	="http://www.w3.org/2002/07/owl#"
- xmlns:wot	="http://xmlns.com/wot/0.1/"
- xmlns:dc	="&dc;"
- xmlns:dcterms	="&dcterms;"
- xmlns:dctype	="&dctype;"
- xmlns:bibtex	="&bibtex;">
+ xmlns:owl	="&owl;"
+ xmlns:dc	="&dc;">
   
   <owl:Ontology rdf:about="http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl">
     <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>
     <rdfs:label>First ontology</rdfs:label>
-    <dc:title>ontology1.owl: an fake list of students</dc:title>
+    <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>
   </owl:Ontology>
 
+  <owl:Class rdf:ID="Participante">
+    <rdfs:label xml:lang="es">Participante</rdfs:label>
+  </owl:Class>
+
   <owl:Class rdf:ID="Estudiante">
-    <rdfs:label xml:lang="en">Estudiante</rdfs:label>
+    <rdfs:subClassOf rdf:resource="#Participante" />
+    <rdfs:label xml:lang="es">Estudiante</rdfs:label>
+  </owl:Class>
+
+  <owl:Class rdf:ID="Tutor">
+    <rdfs:subClassOf rdf:resource="#Participante" />
+    <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" />
+    <rdfs:label xml:lang="es">appelido</rdfs:label>
+  </owl:DataProperty>
+
+  <owl:DataProperty rdf:about="#firstname">
+    <rdf:domain rdf:resource="#Participante" />
+    <rdf: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>
+
 <Estudiante rdf:about="#Fitzgerald">
   <lastname>Fitzgerald</lastname>
   <firstname>Ella</firstname>
@@ -253,6 +305,7 @@
 </Estudiante>
 
 <Estudiante rdf:about="#Zorn">
+  <rdf:type 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 55d4f4cc491d5ee6c038795b54cd48887ce630ff..f987400f08910a7e38d2834c84fe5b60866e2d7e 100644
--- a/html/tutorial/tutorial4/ontology2.owl
+++ b/html/tutorial/tutorial4/ontology2.owl
@@ -5,30 +5,16 @@
 	  <!ENTITY rdf		"http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
 	  <!ENTITY rdfs		"http://www.w3.org/2000/01/rdf-schema#" >
 	  <!ENTITY dc		"http://purl.org/dc/elements/1.1/" > 
-	  <!ENTITY owl		"http://www.w3.org/2002/07/owl#" >
-	  <!ENTITY units	"http://visus.mit.edu/fontomri/0.01/units.owl#" >
-	  <!ENTITY bibtex	"http://purl.org/net/nknouf/ns/bibtex#">
-	  <!ENTITY dcterms 	"http://purl.org/dc/terms/">
-	  <!ENTITY dctype 	"http://purl.org/dc/dcmitype/"> ]>
-
-<!--
-   xmlns="http://xmlns.com/foaf/0.1/#"
-   xml:base="http://xmlns.com/foaf/0.1/#"
--->
+	  <!ENTITY owl		"http://www.w3.org/2002/07/owl#" > ]>
+
 <rdf:RDF
  xmlns="http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#"
  xml:base="http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl#"
- xmlns:units	="&units;"
- xmlns:foaf	="http://xmlns.com/foaf/0.1/"
  xmlns:rdf	="&rdf;"
  xmlns:xsd	="&xsd;"
  xmlns:rdfs	="&rdfs;"
- xmlns:owl	="http://www.w3.org/2002/07/owl#"
- xmlns:wot	="http://xmlns.com/wot/0.1/"
- xmlns:dc	="&dc;"
- xmlns:dcterms	="&dcterms;"
- xmlns:dctype	="&dctype;"
- xmlns:bibtex	="&bibtex;">
+ xmlns:owl	="&owl;"
+ xmlns:dc	="&dc;">
   
   <owl:Ontology rdf:about="http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology2.owl">
     <dc:creator>Jérôme Euzenat</dc:creator>
@@ -40,9 +26,61 @@
   </owl:Ontology>
 
   <owl:Class rdf:ID="Student">
+    <rdfs:subClassOf rdf:resource="http://xmlns.com/foaf/0.1/Person" />
     <rdfs:label xml:lang="en">Student</rdfs:label>
   </owl:Class>
 
+  <owl:Class rdf:ID="Professor">
+    <rdfs:subClassOf rdf:resource="http://xmlns.com/foaf/0.1/Person" />
+    <owl:disjointFrom rdf:resource="#Student" />
+    <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>
+
 <Student rdf:about="#dkral">
   <name>Krall</name>
   <first-name>Diana</first-name>
diff --git a/html/tutorial/tutorial4/query.sparql b/html/tutorial/tutorial4/query.sparql
new file mode 100644
index 0000000000000000000000000000000000000000..73da94b077ea4c6b8d44acd581b2b65583f4dd02
--- /dev/null
+++ b/html/tutorial/tutorial4/query.sparql
@@ -0,0 +1,12 @@
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+PREFIX aa: <http://alignapi.gforge.inria.fr/tutorial/tutorial4/ontology1.owl#>
+
+SELECT ?fn ?ln ?t ?s
+WHERE {
+      ?student rdf:type aa:Estudiante .
+      ?student aa:firstname  ?fn.
+      ?student aa:lastname  ?ln.
+OPTIONAL   {   ?student aa:affiliation ?t . }
+OPTIONAL   {   ?student aa:supervisor ?s . }
+}