From e201de75046545d35c8992ce05aaa91a20576670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr>
Date: Mon, 7 Mar 2016 18:45:38 +0000
Subject: [PATCH] - fixed a bug in the BNF of EDOAL transformations

---
 html/edoal.html | 24 ++++++++++++++++++------
 html/impl.html  |  2 +-
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/html/edoal.html b/html/edoal.html
index 9997b633..294a6117 100644
--- a/html/edoal.html
+++ b/html/edoal.html
@@ -465,7 +465,7 @@ Hence, a class expression may be an identified class:
 </div></div>
 <div class="n3Div"><div class="n3">N3 Syntax</div>
 <div class="n3" id="ex4n3">
-wine:WineFlavor> a edoal:Class .
+wine:WineFlavor a edoal:Class .
 </div></div>
 a disjunction or class expressions:
 <div class="rdfxml">RDF/XML Syntax</div>
@@ -500,7 +500,7 @@ Thanks to paths and restrictions, it is possible to restrict a correspondence to
             &lt;Property>
               &lt;compose rdf:parseType="Collection">
                 &lt;Relation rdf:about="&amp;vin;hasTerroir" />
-                &lt;Property rdf:about="&amp;proton;name" />
+                &lt;Property rdf:about="&amp;proton;name" edoal:lang="fr" />
               &lt;/compose>
             &lt;/Property>
           &lt;/onAttribute>
@@ -520,7 +520,8 @@ vin:hasTerroir a edoal:Relation .
 [] a edoal:Class ;
     edoal:and ( vin:Wine> [ a edoal:AttributeValueRestriction ;
                 edoal:onAttribute [ a edoal:Property ;
-                        edoal:compose ( vin:hasTerroir wine:name ) ] ;
+                        edoal:compose ( vin:hasTerroir [ proton:name a edoal:Property;
+                                                         edoal:lang "fr" ] ) ] ;
                 edoal:comparator edoal:equals ;
                 edoal:value [ a edoal:Literal ;
                         edoal:type "http://www.w3.org/2001/XMLSchema#string" ;
@@ -591,7 +592,7 @@ a restriction. There are three classes of property restrictions:
 <!--Property values can be transformed by applying a <i>Transformation</i> function. </p-->
 
 <div class="grammar">
-<u>propexpr</u> ::= &lt;Property rdf:about=" <u>URI</u> "/> 
+<u>propexpr</u> ::= &lt;Property rdf:about=" <u>URI</u> " {edoal:lang=" <u>LANG</u> "}/> 
            | &lt;Property> <u>propconst</u>+ &lt;/Property> 
            | &lt;PropertyDomainRestriction> &lt;class> <u>classexpr</u> &lt;/class> &lt;/PropertyDomainRestriction> 
            | &lt;PropertyTypeRestriction> <u>typerest</u> &lt;/PropertyTypeRestriction> 
@@ -615,6 +616,17 @@ As previously properties can be identified by its URI:
 wine:hasVintageYear a edoal:Property .
 </div></div>
 <div class="rdfxmlDiv">
+But it may also be restricted by a language tag:
+<div class="rdfxml">RDF/XML Syntax</div>
+<div class="rdfxml">
+    &lt;Property rdf:about="&amp;proton;name" edoal:lang="fr" />
+</div></div>
+<div class="n3Div"><div class="n3">N3 Syntax</div>
+<div class="n3" id="ex4n3">
+proton:name a edoal:Property ;
+    edoal:lang "fr" .
+</div></div>
+<div class="rdfxmlDiv">
 As previously properties can be assembled by boolean connectors:
 <div class="rdfxml">RDF/XML Syntax</div>
 <div class="rdfxml">
@@ -1046,8 +1058,8 @@ on instances that should match.
 <p>
 <div class="grammar">
 <u>transformation</u> ::=  &lt;Transformation edoal:direction=" <u>STRING</u> ">
-                        &lt;entity1> <u>entity</u> &lt;/entity1> 
-                        &lt;entity2> <u>entity</u> &lt;/entity2> 
+                        &lt;entity1> <u>value</u> &lt;/entity1> 
+                        &lt;entity2> <u>value</u> &lt;/entity2> 
                     &lt;/Transformation>
 <i>with</i> <u>STRING</u> ::= 'o-' | '-o'
 </div>
diff --git a/html/impl.html b/html/impl.html
index dab8fdcc..d81eb365 100644
--- a/html/impl.html
+++ b/html/impl.html
@@ -941,7 +941,7 @@ reference alignments.
 <br /><small>
 Elena Beisswanger, Udo Hahn, <a href="http://www.jbiomedsem.com/content/3/S1/S4">Towards valid and reusable reference alignments: ten basic quality checks for ontology alignments and their
  application to three different reference data sets</a>, <i>Journal of
- Biomedical Semantics</a> 3(Suppl 1):S4, 2012
+ Biomedical Semantics</i> 3(Suppl 1):S4, 2012
 </small>
 </dd>
 <dt>[No name]</dt>
-- 
GitLab