W3C home > Mailing lists > Public > public-powderwg@w3.org > November 2007

Draft of OWL schema generated from a policy (from discussions with TimBL)

From: Fabien Gandon <Fabien.Gandon@sophia.inria.fr>
Date: Thu, 08 Nov 2007 23:25:18 +0100
Message-ID: <47338CCE.40308@sophia.inria.fr>
To: public-powderwg@w3.org
Draft of OWL schema generated from a policy (from discussions with TimBL)

(not to be used as is)

<rdf:RDF

    xmlns:owl ="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:xsd ="http://www.w3.org/2001/XMLSchema#"

    xml:base  ="http://www.example.org/policy_a" >

  

 

<owl:Ontology rdf:about="">

  <foaf:maker rdf:resource="http://www.example.org/~jsmith#me"/>

  <owl:priorVersion 
rdf:resource="http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine"/>

  <rdfs:comment>The policy ontology for ...</rdfs:comment>

  <rdfs:label>Policy Ontology</rdfs:label>

</owl:Ontology>

 

<owl:Class rdf:ID="description_a">

  <rdfs:subClassOf>

    <owl:Restriction>

      <owl:onProperty 
rdf:resource="http://www.schema_ex.org/picture#color" />

      <owl:hasValue>blue</owl:hasValue>

    </owl:Restriction>

  </rdfs:subClassOf>

</owl:Class>

 

<!-- class by enumeration // or include the instances in the file -->

<owl:Class rdf:ID="SelectedPages">

  <rdfs:subClassOf rdf:resource ="http://.../powder#Resource" />

  <owl:oneOf rdf:parseType="Collection">

    <owl:Thing rdf:about="http://.../"/>

    <owl:Thing rdf:about="http://.../"/>

    <owl:Thing rdf:about="http://.../"/>

  </owl:oneOf>

</owl:Class>

 

<owl:Class rdf:ID="resource_set_a">

  <rdfs:subClassOf rdf:resource="#description_a"/>

  <rdfs:subClassOf rdf:resource="http://.../mobileok#MobileOK"/>

 

  <rdfs:subClassOf>

    <owl:Restriction>

      <owl:onProperty 
rdf:resource="http://www.w3C.org/powder#hostURIRegEx" />

      <owl:hasValue>example.org/*</owl:hasValue>

    </owl:Restriction>

  </rdfs:subClassOf>

 

  <pow:instanceURIRegex>example.org/*</pow:instanceURIRegex>

 

  <rdfs:subClassOf>

    <owl:Restriction>

      <owl:onProperty 
rdf:resource="http://www.w3C.org/powder#hostURIStartsWith" />

      <owl:hasValue>http://example.org/</owl:hasValue>

    </owl:Restriction>

  </rdfs:subClassOf>

 

  
<pow:instanceURIStartsWith>http://www.example.org/</pow:instanceURIStartsWith>

 

</owl:Class>

 

</rdf:RDF>

 

-- 
Fabien - http://ns.inria.fr/fabien.gandon/
Received on Thursday, 8 November 2007 22:25:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:42:12 GMT