Mentions légales du service

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

- small syntax twist due to Francois comments

parent 60720096
No related branches found
No related tags found
No related merge requests found
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
<edoal:Class> <edoal:Class>
<edoal:and rdf:parseType="Collection"> <edoal:and rdf:parseType="Collection">
<edoal:Class rdf:about="&vin;Vin"/> <edoal:Class rdf:about="&vin;Vin"/>
<edoal:PropertyValueRestriction> <edoal:AttributeValueRestriction>
<edoal:onProperty> <edoal:onAttribute>
<edoal:Relation> <edoal:Relation>
<edoal:compose rdf:parseType="Collection"> <edoal:compose rdf:parseType="Collection">
<edoal:Relation rdf:about="&vin;hasTerroir"/> <edoal:Relation rdf:about="&vin;hasTerroir"/>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<edoal:comparator rdf:resource="&xsd;equals"/> <edoal:comparator rdf:resource="&xsd;equals"/>
<!--edoal:value>loc:Aquitaine</edoal:value--> <!--edoal:value>loc:Aquitaine</edoal:value-->
<edoal:value><edoal:Instance rdf:about="&vin;Aquitaine"/></edoal:value> <edoal:value><edoal:Instance rdf:about="&vin;Aquitaine"/></edoal:value>
</edoal:PropertyValueRestriction> </edoal:AttributeValueRestriction>
</edoal:and> </edoal:and>
</edoal:Class> </edoal:Class>
</entity2> </entity2>
......
...@@ -83,14 +83,14 @@ public enum SyntaxElement { ...@@ -83,14 +83,14 @@ public enum SyntaxElement {
TIME( Namespace.ALIGNMENT, "time"), TIME( Namespace.ALIGNMENT, "time"),
TYPE( Namespace.ALIGNMENT, "type"), TYPE( Namespace.ALIGNMENT, "type"),
URI( Namespace.ALIGNMENT, "uri"), URI( Namespace.ALIGNMENT, "uri"),
XML( Namespace.ALIGNMENT, "xml"), XML( Namespace.ALIGNMENT, "xml"),
ONTOLOGY( Namespace.ALIGNMENT, "Ontology", true ), ONTOLOGY( Namespace.ALIGNMENT, "Ontology", true ),
LOCATION( Namespace.ALIGNMENT, "location"), LOCATION( Namespace.ALIGNMENT, "location"),
// EDOAL NAMESPACE // EDOAL NAMESPACE
AND( Namespace.EDOAL, "and", Constructor.AND), AND( Namespace.EDOAL, "and", Constructor.AND),
APPLY( Namespace.EDOAL, "Apply", true), APPLY( Namespace.EDOAL, "Apply", true),
ARGUMENTS( Namespace.EDOAL, "arguments"), //ARGUMENTS( Namespace.EDOAL, "arguments"),
ATTR_TRANSF( Namespace.EDOAL, "transf"), ATTR_TRANSF( Namespace.EDOAL, "transf"),
CLASS_EXPR( Namespace.EDOAL, "Class", true),//ALIGNMENT CLASS_EXPR( Namespace.EDOAL, "Class", true),//ALIGNMENT
CODOMAIN_RESTRICTION(Namespace.EDOAL, "CodomainRestriction", true), CODOMAIN_RESTRICTION(Namespace.EDOAL, "CodomainRestriction", true),
...@@ -98,33 +98,35 @@ public enum SyntaxElement { ...@@ -98,33 +98,35 @@ public enum SyntaxElement {
COMPOSE( Namespace.EDOAL, "compose", Constructor.COMP), COMPOSE( Namespace.EDOAL, "compose", Constructor.COMP),
DATATYPE( Namespace.EDOAL, "datatype"), DATATYPE( Namespace.EDOAL, "datatype"),
DOMAIN_RESTRICTION(Namespace.EDOAL, "DomainRestriction", true), DOMAIN_RESTRICTION(Namespace.EDOAL, "DomainRestriction", true),
FIRST( Namespace.EDOAL, "first"), //FIRST( Namespace.EDOAL, "first"),
ID( Namespace.EDOAL, "Id", true), // Useless //ID( Namespace.EDOAL, "Id", true), // Useless
INSTANCE_EXPR( Namespace.EDOAL, "Instance", true), INSTANCE_EXPR( Namespace.EDOAL, "Instance", true),
INVERSE( Namespace.EDOAL, "inverse", Constructor.INVERSE), INVERSE( Namespace.EDOAL, "inverse", Constructor.INVERSE),
NEXT( Namespace.EDOAL, "next"), //NEXT( Namespace.EDOAL, "next"),
NOT( Namespace.EDOAL, "not", Constructor.NOT), NOT( Namespace.EDOAL, "not", Constructor.NOT),
ONPROPERTY( Namespace.EDOAL, "onProperty"), ONPROPERTY( Namespace.EDOAL, "onAttribute"),
OR( Namespace.EDOAL, "or", Constructor.OR), OR( Namespace.EDOAL, "or", Constructor.OR),
PARAMETERS( Namespace.EDOAL, "parameters"), //PARAMETERS( Namespace.EDOAL, "parameters"),
PATH( Namespace.EDOAL, "Path", true), //PATH( Namespace.EDOAL, "Path", true),
PROPERTIES( Namespace.EDOAL, "properties"), //PROPERTIES( Namespace.EDOAL, "properties"),
PROPERTY( Namespace.EDOAL, "Property", true), PROPERTY( Namespace.EDOAL, "Property", true),
PROPERTY_EXPR( Namespace.EDOAL, "Property"), // ?? PROPERTY_EXPR( Namespace.EDOAL, "Property"), // ??
PROPERTY_OCCURENCE_COND(Namespace.EDOAL, "PropertyOccurenceRestriction", true), PROPERTY_OCCURENCE_COND(Namespace.EDOAL, "AttributeOccurenceRestriction", true),
PROPERTY_TYPE_COND(Namespace.EDOAL, "PropertyTypeRestriction", true), PROPERTY_TYPE_COND(Namespace.EDOAL, "PropertyTypeRestriction", true),
PROPERTY_VALUE_COND(Namespace.EDOAL, "PropertyValueRestriction", true), RELATION_DOMAIN_COND(Namespace.EDOAL, "RelationDomainRestriction", true),
PROPERTY_VALUE_COND(Namespace.EDOAL, "AttributeValueRestriction", true),
REFLEXIVE( Namespace.EDOAL, "reflexive", Constructor.REFLEXIVE), REFLEXIVE( Namespace.EDOAL, "reflexive", Constructor.REFLEXIVE),
RELATION_EXPR( Namespace.EDOAL, "Relation", true), RELATION_EXPR( Namespace.EDOAL, "Relation", true),
//RESTRICTION(Namespace.EDOAL, "Restriction"), //RESTRICTION(Namespace.EDOAL, "Restriction"),
SERVICE( Namespace.EDOAL, "service"), //SERVICE( Namespace.EDOAL, "service"),
SYMMETRIC( Namespace.EDOAL, "symmetric", Constructor.SYMMETRIC), SYMMETRIC( Namespace.EDOAL, "symmetric", Constructor.SYMMETRIC),
TOCLASS( Namespace.EDOAL, "toClass"), TOCLASS( Namespace.EDOAL, "class"),
TRANSF( Namespace.EDOAL, "transf"), TRANSF( Namespace.EDOAL, "transf"),
TRANSITIVE( Namespace.EDOAL, "transitive", Constructor.TRANSITIVE), TRANSITIVE( Namespace.EDOAL, "transitive", Constructor.TRANSITIVE),
TYPE_COND( Namespace.EDOAL, "TypeRestriction", true), TYPE_COND( Namespace.EDOAL, "TypeRestriction", true),
VALUE( Namespace.EDOAL, "value"), VALUE( Namespace.EDOAL, "value"),
VALUE_COND( Namespace.EDOAL, "ValueRestriction", true) VAR( Namespace.EDOAL, "var"),
VALUE_COND( Namespace.EDOAL, "ValueRestriction", true),
; ;
/** Operator to determine how to combine the expressions */ /** Operator to determine how to combine the expressions */
......
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