- From: Bijan Parsia <bparsia@cs.man.ac.uk>
- Date: Mon, 23 Mar 2009 09:26:27 +0000
- To: W3C OWL Working Group <public-owl-wg@w3.org>
I propose we add CURIEesque support to OWL/XML by the following mechanism: EXAMPLE: <IriAbbreviation prefix="dc" expansion="http://purl.org/dc/elements/ 1.1/"/> I'm flexible about the name *except* it should not be "namespace" "ns" or anything that suggests namespaces. Let's make a clear and clean break. The name should be the same across FS, MS, and OWL/XML. SCHEMA MODIFICATION (writing in email, so not checked; if approved, will validate): <xsd:complexType name="Ontology"> <xsd:sequence> <xsd:element ref="owlIriAbbreviation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="owl:Import" minOccurs="0" maxOccurs="unbounded"/> <xsd:group ref="owl:ontologyAnnotations"/> <xsd:group ref="owl:Axiom" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> ... </> <xsd:complexType name="IriAbbreviation"> <xsd:complexContent> <xsd:extension base="owl:ClassExpression"> <xsd:attribute name="prefix" type="xsd:NCName" use="required"/> <xsd:attribute name="expansion" type="xsd:anyURI" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:element name="IriAbbreviation" type="owl: IriAbbreviation"/> I need to check if xsd:NCName can be the empty string (for default/ empty prefixes). If not, then prefix will become optional. PROCESSING MODEL Abbreviations are scoped to their document/enclosing ontology. Personally, I think they should be included in the structural model since serializers *really* need them. If there is more than one declaration for a prefix, then last one wins. Cheers, Bijan.
Received on Monday, 23 March 2009 09:22:44 UTC