I have a schema which is designed to permit the description of certain types of electronic devices. XML files compliant to the schema describe the interface to the device. The schema permits the way that the interface functions to be described. As part of this, data types are defined and then used. What I would like to do is to permit the author of an XML file to link the data types they define to semantics provided as a separate RDF/OWL document.
As far as I understand it, this means that a type should be related to an OWL class. The way this is done for XHTML, for example, seems to be using RDFa (the "typeof" attribute, I think?). What is most appropriate way to do this for my own schema? Should I use (a subset of RDFa)? How do I go about incorporating this into my own schema such that it validates? Am I going about this all wrong?