| Definitions | XRef | Notes | Questions |
|---|
BNF definition for Standard OIL
Frank van Harmelen
Ian Horrocks
Michel KleinVersion history
$Id: Standard-OIL.bnf,v 1.6 2000/11/28 15:47:18 michel Exp $
- OIL 1.0: defined in http://www.cs.vu.nl/~dieter/oil/Tr/oil.pdf dated 12 August 2000 (also known as Preliminary OIL)
- Standard OIL: defined at Aachen meeting 20 August 2000 Extension of Core OIL, by way of the following:
- begin/end markers for ontologies
- names for top and bottom
- sets
- instances as fillers
- concrete types (currently strings and integers)
- roles with restricted ranges
- axioms specifying coverings, disjointness, equivalence
- Instance OIL: defined at Aachen meeting 20 August 2000 Extension of Standard OIL by allowing instances of classes and roles
Notes
- terminal symbols are written in bold (ie appearing as part of the OIL language)
- brackets are employed as part of the BNF formalism. Only brackets marked as terminal symbols are part of the OIL syntax
- OIL is case-sensitive (because RDF is case-sensitive). All terminal symbols are therefore also case-sensitive
- We assume that identifiers (for classes, roles, etc) do not coincide with terminal symbols of the language (such as slot-constraint, or, etc).
|
|
Notes on the container syntx:
- it overspecifies the order of the elements in a signature, but never mind..
- see ISO8601 for format of dates
- MIME/types are suggested to use for format
- relations can also be qualified: relation.requires, relation.isRequiredBy, etc.
|
|
|
|
|
|
|
|
|
filler-exp is syntactic sugar for "has-value (one-of ind-name) +" or "has-value concrete-type +"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NOTE - it is good practice to restrict the range to a concrete type when a slot is to be used in that context, e.g., "slot-def age range integer"
|
|
|
NOTE - transitive and functional are disjoint
|
|
|
|
symbols are a sequence of letters, digits and hyphens, starting with a letter
|
|
|
<symbol> ::= [A-Za-z][-A-Za-z0-9]*
raw approximations of types
| Definitions | XRef | Notes | Questions |
|---|
| Definitions | XRef | Notes | Questions |
|---|
| Definitions | XRef | Notes | Questions |
|---|