UserPreferences

RdfOwlVocabulary


Jump to:

  1. Discussion
  2. See also

To create an RDF/OWL vocabulary of the Echo Project's data model, for interoperability with other efforts.

I'm not much of an OWL hooter - and my RDF skills are right down there with creating QuickThread ThreadsML wish lists - but I'd love to meet yah when you get here to SF. [MarcCanter]


<rdf:RDF 
  xmlns     = "http://www.w3.org/2002/07/owl#"  
  xmlns:owl = "http://www.w3.org/2002/07/owl#"  
  xml:base  = "http://www.w3.org/2002/07/owl#"
  xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"  
  xmlns:rdfs= "http://www.w3.org/2000/01/rdf-schema#"  
  xmlns:dc  = "http://purl.org/dc/elements/1.1/">

  <owl:Ontology rdf:about="">
    <owl:versionInfo>v 0.4 2003-07-09</owl:versionInfo> 
    <dc:title>A Weblog Ontology, codename Echo</dc:title> 
    <dc:identifier>http://www.intertwingly.net/wiki/pie/RdfOwlVocabulary </dc:identifier> 
  </owl:Ontology> 

  <!-- entry class -->
  <owl:Class rdf:ID= "entry" >
    <rdfs:label xml:lang="en">log entry</rdfs:label> 
    
    <rdfs:subClassOf>    
      <owl:Restriction> 
      <owl:onProperty rdf:resource="#author"/> 
      <owl:cardinality>1</owl:cardinality> <!--see NumberOfAuthorsDiscussion-->
      </owl:Restriction> 
    </rdfs:subClassOf> 

    <rdfs:subClassOf> 
      <owl:Restriction> 
      <owl:onProperty rdf:resource="#permanent-link"/>  
      <owl:cardinality>1</owl:cardinality> 
      <owl:Restriction> 
    </rdfs:subClassOf> 

    <rdfs:subClassOf> 
      <owl:Restriction>
        <owl:onProperty rdf:resource="#publication-date"/>  
        <owl:cardinality>1</owl:cardinality> 
      </owl:Restriction>
    </rdfs:subClassOf> 

    <rdfs:subClassOf> 
      <owl:Restriction>
        <owl:onProperty rdf:resource="#hasContent"/>  
        <owl:minCardinality>1</owl:minCardinality> 
      </owl:Restriction> 
    </rdfs:subClassOf> 
  </owl:Class> 

  <!-- entry properties --> 
  <owl:ObjectProperty rdf:ID="author">  
    <rdfs:domain rdf:resource="#entry"/> 
  </owl:ObjectProperty>

  <owl:DatatypeProperty rdf:ID="permanent-link">  
    <rdfs:domain rdf:resource="#entry"/> 
    <rdfs:range rdf:resource="http://www.w3.org/TR/xmlschema-2/#anyURI" /> 
  </owl:DatatypeProperty>

  <owl:DatatypeProperty rdf:ID="publication-date">  
    <rdfs:domain rdf:resource="#entry"/> 
  </owl:DatatypeProperty> 

  <owl:ObjectProperty rdf:ID="hasContent"> 
    <rdfs:label xml:lang="en">content</rdfs:label> 
    <rdfs:domain rdf:resource="#entry"/> 
    <rdfs:range rdf:resource="#content"/> 
  </owl:ObjectProperty>

    <!-- content class --> 
  <owl:Class rdf:ID="content"> 
    <rdfs:label xml:lang="en">content item</rdfs:label>
  </owl:Class>
</rdf:RDF>

(Started by [MarkCidade]) [RefactorOk]

Discussion

Misc questions/responses - refactor ok.

See also

It might be useful to incorporate vocab status tracking, see :

[WWW]Status Ontology [WWW]other refs.


CategoryModel, CategoryInterop