Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e201de75 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- fixed a bug in the BNF of EDOAL transformations

parent f242710b
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment