Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// -*-Java-*-
// Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se>
//
// This file is part of OntologyCompiler.
Start ::= Specification;
Specification ::= XmlHeader; // RdfDeclaration;
XmlHeader ::= Attribute*;
abstract Element;
abstract ComplexElement : Element ::= Attribute* Element*;
XsAnnotation : ComplexElement;
XsDocumentation : ComplexElement;
XsInclude : ComplexElement;
XsRestriction : ComplexElement;
XsSimpleType : ComplexElement;
XsSchema : ComplexElement;
abstract SimpleElement : Element;
StringElement : SimpleElement ::= <IDENTIFIER>;
IntElement : SimpleElement ::= <INTEGER_LITERAL>;
FloatElement : SimpleElement ::= <FLOAT_LITERAL>;
abstract Attribute ::= Value;
AttributeFormDefault : Attribute;
Base : Attribute;
ElementFormDefault : Attribute;
Encoding : Attribute;
Source : Attribute;
SchemaLocation : Attribute;
Version : Attribute;
XmlnsXs : Attribute;
// RdfAbout : Attribute;
// RdfDatatype : Attribute;
// RdfId : Attribute;
// RdfParseType : Attribute;
// RdfResource : Attribute;
// XmlBase : Attribute;
// Xmlns : Attribute;
// XmlnsDaml : Attribute;
// XmlnsDc : Attribute;
// XmlnsP1 : Attribute;
// XmlnsProtege : Attribute;
// XmlnsRdf : Attribute;
// XmlnsXsd : Attribute;
// XmlnsRdfs : Attribute;
// XmlnsOwl : Attribute;
// DiscardedElement : Element ::= Identifier Attribute* Element*;
Value ::= <STRING_LITERAL>;
// Identifier ::= <IDENTIFIER>;
// // Types used by rewrite rules
// abstract OClass : ComplexElement ::= <Id:String>;
// OwlClassDecl : OClass;
// OwlClassUse : OClass;
// abstract OwlValuesFrom: ComplexElement;
// Properties ::= Property:Element*;
// Restrictions ::= OwlRestriction*;
// abstract OwlProperty : ComplexElement;