<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
  <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
  <!ENTITY xsd 'http://www.w3.org/2001/XMLSchema#'>
  <!ENTITY data 'http://sswapmeet.sswap.info/data/'>
  <!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
  <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>]>
<rdf:RDF
    xmlns:rdf="&rdf;"
    xmlns:owl="&owl;"
    xmlns:data="&data;"
    xmlns:xsd="&xsd;"
    xmlns:rdfs="&rdfs;">
    <owl:Ontology rdf:about="&data;owlOntology">
        <owl:imports rdf:resource="&data;owlOntology"/>
    </owl:Ontology>
    <owl:Class rdf:about="&data;DataFormat"/>
    <owl:DatatypeProperty rdf:about="&data;literalData">
        <rdf:type rdf:resource="&owl;FunctionalProperty"/>
        <rdfs:label rdf:datatype="&xsd;string">literal Data</rdfs:label>
        <rdfs:domain rdf:resource="&data;DataFormat"/>
        <rdfs:subPropertyOf>
            <owl:DatatypeProperty rdf:about="&data;datatypeProperty"/>
        </rdfs:subPropertyOf>
        <rdfs:comment rdf:datatype="&xsd;string">Super property to identify serialized data.

For example, the pseudo statements:

MyDataFormat rdfs:subClassOf data:DataFormat
mySequence rdf:subPropertyOf data:literalData
myData rdf:type MyDataFormat
myData mySequence "ACTGCAGTGGATCG"
myData data:hasParser myParser

allows programmatic association of the parser at myParser to with the serialized data (the value of mySequence) required for parsing.

Note that the property is an owl:FunctionalProperty; i.e., for any given subject with this property, it can only have one instance with a value (or all instances have a semantically equivalent datatype value).  By inference, this must also apply to all subproperties.  This property is functional in the same manner that its subject can have at most one URI (for non-literal data).  It also ensures that there is no ambiguity as to composition of literal data (in the case of multiple property values) and how helper resources (parsers, serializers, etc.) should act on multiple, un-ordered instances of literal data.</rdfs:comment>
    </owl:DatatypeProperty>
</rdf:RDF>

