Exteca Ontology Language (EOL) Specification (available in pdf format) provides the full XML-based formalism for constructing and defining an ontology.
Exteca Rule Logic (EOL) Specification (available in pdf format) provides the full XML-based formalism for constructing ontology rules.