Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: ontoware/uol/extracted
Source used for this grammar: Hugo Brunelière, UnifiedOntologyLanguage.ecore
, 2005/08/10
Integer
, String
, Boolean
, Node
, Resource
, Literal
, Fact
, Package
, Ontology
), 0 root (—), 4 top (Integer
, String
, Boolean
, Fact
), 0 bottom (—).[context]
2, [object]
, [subject]
, [predicate]
, [imports]
.Integer ::= integer
String ::= string
Boolean ::= "true" "false"
Node ::= Resource
Node ::= Literal
Node ::= Resource Literal
Resource ::= Package
Resource ::= [context]::Package
Literal ::= ε
Fact ::= [object]::Node [subject]::Resource [predicate]::Resource [context]::Package
Package ::= Ontology
Ontology ::=
[imports]::Package