From 2ae0280d6db217ca6c3ff30ea90f7c705ac02560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr> Date: Fri, 26 Mar 2010 13:29:09 +0000 Subject: [PATCH] - slightly improved the presentation --- html/edoal.html | 64 +++++++------------------------------------------ 1 file changed, 8 insertions(+), 56 deletions(-) diff --git a/html/edoal.html b/html/edoal.html index e6ab25fd..9cde209d 100644 --- a/html/edoal.html +++ b/html/edoal.html @@ -141,9 +141,9 @@ not</i>.<ul> A class can be defined using its URI or a restriction. Restrictions are defined by giving an <i>attribute</i> (relation or property), a <i>comparator</i> defining the relation to a <i>value</i>.</p> <div class="fragment"><pre> -<u>classexpr</u> ::= <Class rdf:about=" <u>uri</u> "/> +<u>classexpr</u> ::= <Class rdf:about=" <u>URI</u> "/> | <Class> <u>classconst</u> </Class> - | <AttributeOccurenceRestriction> <u>onatt</u> <u>comp</u> <u>int</u> </AttributeOccurenceRestriction> + | <AttributeOccurenceRestriction> <u>onatt</u> <u>comp</u> <u>INTEGER</u> </AttributeOccurenceRestriction> | <AttributeDomainConstraint> <u>onatt</u> (<u>classexpr</u>|<u>type</u>) </AttributeDomainConstraint> | <AttributeValueRestriction> <u>onatt</u> <u>comp</u> (<u>instexpr</u>|<u>val</u>) </AttributeValueRestriction> @@ -166,10 +166,10 @@ A class can be defined using its URI or a restriction. Restrictions are defined <u>datatype</u> ::= <type> <u>value</u> </type> -<u>comp</u> ::= <comparator rdf:resource=" <u>uri</u> "/> +<u>comp</u> ::= <comparator rdf:resource=" <u>URI</u> "/> -<u>value</u> ::= <Literal value=" <u>string</u> " /> | <u>instepr</u> | <u>attrexpr</u> - | <Apply operator=" <u>uri</u> "> <arguments rdf:parseType="Collection"><u>value</u>*</arguments> </Apply> +<u>value</u> ::= <Literal value=" <u>STRING</u> " /> | <u>instepr</u> | <u>attrexpr</u> + | <Apply operator=" <u>URI</u> "> <arguments rdf:parseType="Collection"><u>value</u>*</arguments> </Apply> </pre></div> @@ -203,7 +203,7 @@ not</i> and <i>compose</i>. Property values can be transformed by applying a <i>Transformation</i> function. </p> <div class="fragment"><pre> -<u>propexpr</u> ::= <Property rdf:about=" <u>uri</u> "/> +<u>propexpr</u> ::= <Property rdf:about=" <u>URI</u> "/> | <Property> <u>propconst</u>+ </Property> | <PropertyDomainRestriction> <class> <u>classexpr</u> </class> </PropertyDomainRestrict | <PropertyTypeRestriction> <u>datatype</u> </PropertyTypeRestriction> @@ -218,30 +218,6 @@ Property values can be transformed by applying a <i>Transformation</i> function. </pre></div> <!--div class="fragment"><pre> -propexpr ::= <Property {rdf:about="uri"}? > - propconst* - </Property> - | transformation - -propconst ::= <and> - propexpr - | property-restriction - </and> - <or> - propexpr - | property-restriction - </or> - <not>propexpr</not> - | <first>relexpr</first> - | <next>propexpr</next> - -property-restriction ::= <Restriction> - <comparator rdf:about={xsd-comparator} /> - <value>value</value> - </Restriction> - | <Restriction><domainRestriction>classexpr</domainRestriction></Restriction> - | <Restriction><typeRestriction>value</typeRestriction></Restriction> - transformation ::= <Transformation> xpath-transformation </Transformation> @@ -261,7 +237,7 @@ transformation ::= <Transformation> not, compose</i>, but also <i>inverse, transitive, reflexive,</i> and <i>symmetric</i>. Like properties they can also be composed in a path of relations using <i>first</i> and <i>next</i>. Relations <i>domain</i> and <i>range</i> can be restricted.</p> <div class="fragment"><pre> -<u>relexpr</u> ::= <Relation rdf:about=" <u>uri</u> "/> +<u>relexpr</u> ::= <Relation rdf:about=" <u>URI</u> "/> | <Relation> <u>relconst</u>+ </Relation> | <RelationDomainRestriction> <class> <u>classexpr</u> </class> </RelationDomainRestriction | <RelationCoDomainRestriction> <class> <u>classexpr</u> </class> </RelationCoDomainRestriction @@ -276,35 +252,11 @@ not, compose</i>, but also <i>inverse, transitive, reflexive,</i> and <i>symmetr | <reflexive> <u>relexpr</u> </reflexive> </pre></div> -<!--div class="fragment"><pre> -relexpr ::= <Relation {rdf:about="uri"}? > - relconst * - </Relation> -relconst ::= <and> - relexpr - | relation-restriction - </and> - | <or> - relexpr - | relation-restriction - </or> - | <not>relexpr</not> - | <inverse>relexpr</inverse> - | <symmetric>relexpr</symmetric> - | <transitive>relexpr</transitive> - | <reflexive>relexpr</reflexive> - | <first>relexpr</first> - | <next>relexpr</next> - -relation-restriction ::= <Restriction><domainRestriction>classexpr</domainRestriction></Restriction> - | <Restriction><rangeRestriction>classexpr</rangeRestriction></Restriction> -</pre></div--> - <h4 id="ssec:instances">Instances</h4> <p>Instances are always single entities refering to an individual through its URI.</p> <div class="fragment"><pre> -<u>instance</u> ::= <Instance rdf:about=" <u>uri</u> "/> +<u>instance</u> ::= <Instance rdf:about=" <u>URI</u> "/> </pre></div> <h2 id="sec:examples">Examples</h2> -- GitLab