<?xml version="1.0" ?> 
<!-- 
     RDF Schema declaration for RDF Graph Modeling Language (RGML) 1.0 
     &lt;http://purl.org/puninj/2001/05/rgml-schema#&gt;
     
     John Punin (puninj@cs.rpi.edu)
     05-26-2001
-->
<rdf:RDF 
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:rgml="http://purl.org/puninj/2001/05/rgml-schema#">

<!-- Class Declarations -->

<!-- Graph Class declaration -->

  <rdfs:Class rdf:ID="Graph" 
    rdfs:label="Graph"
    rdfs:comment="A Graph Description">
    <rdfs:isDefinedBy rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#"/>
  </rdfs:Class>

<!-- Node Class declaration -->

  <rdfs:Class rdf:ID="Node" 
    rdfs:label="Node"
    rdfs:comment="A Node Description">
    <rdfs:isDefinedBy rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#"/>
  </rdfs:Class>

<!-- Edge Class declaration -->

  <rdfs:Class rdf:ID="Edge" 
    rdfs:label="Edge"
    rdfs:comment="An Edge Description">
    <rdfs:isDefinedBy rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#"/>
  </rdfs:Class>

<!-- Property declarations -->

<!-- Global Properties -->

 <rdf:Property rdf:ID="label"
    rdfs:label="label"
    rdfs:comment="Text representation of the graph elements">
   <rdfs:isDefinedBy rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#"/> 
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Graph"/>
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Node"/>
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Edge"/>
   <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
 </rdf:Property>

<!-- Graph Properties -->

 <rdf:Property rdf:ID="directed"
    rdfs:label="directed"
    rdfs:comment="Boolean value to indicate whether the Graph is directed or not">
   <rdfs:isDefinedBy rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#"/> 
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Graph"/>
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Edge"/>
   <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
 </rdf:Property>

 <rdf:Property rdf:ID="nodes"
   rdfs:label="Nodes"
   rdfs:comment="List of the nodes belong to the graph">
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Graph"/>
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Edge"/>
   <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource"/>
 </rdf:Property>

 <rdf:Property rdf:ID="edges"
   rdfs:label="Edges"
   rdfs:comment="List of the edges belong to the graph">
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Graph"/>
   <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag"/>
 </rdf:Property>

 <rdf:Property rdf:ID="graphs"
   rdfs:label="Subgraphs"
   rdfs:comment="List of subgraphs belong to the graph">
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Graph"/>
   <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag"/>
 </rdf:Property>

<!-- Node Properties -->

 <rdf:Property rdf:ID="weight"
    rdfs:label="weight"
    rdfs:comment="Value (usually numerical) to show the node or edge weight">
   <rdfs:isDefinedBy rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#"/> 
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Node"/>
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Edge"/>
   <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
 </rdf:Property>

<!-- Edge Properties -->

 <rdf:Property rdf:ID="source"
    rdfs:label="source"
    rdfs:comment="The source node of the edge">
   <rdfs:isDefinedBy rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#"/> 
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Edge"/>
   <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
 </rdf:Property>

 <rdf:Property rdf:ID="target"
    rdfs:label="target"
    rdfs:comment="The target node of the edge">
   <rdfs:isDefinedBy rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#"/> 
   <rdfs:domain rdf:resource="http://purl.org/puninj/2001/05/rgml-schema#Edge"/>
   <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
 </rdf:Property>

</rdf:RDF>







