YADS Model Schema - RDF/N3


This is the RDF Notation 3 schema for the YADS model.


  <?xml version="1.0" encoding="UTF-8"?>
  <!--
  
    YADS - RDF Notation 3
  
    This document describes YADS - A Description Service
    in an RDF Schema using Notation 3.
  
    ==
  
    // From RDF Schema for YADS

    Resource:     yads-schema-2007-05-17
    Comment:      RDF Schema for YADS - A Description Service
    Author:       Tony Hammond <t.hammond@nature.com>
    Revision:     May 17, 2007 - Tony Hammond
  
    == 

    @prefix  : <#> .
    @prefix s: <http://www.w3.org/2000/01/rdf-schema> .
  
    # Nest class ( :resource & :collection )
    :Nest a s:Class .
    # Item class ( :resource | :collection )
    :Item a s:Class .
    
    # Resource properties
    :collection a s:Property ;
        s:domain :Item, :Nest ; s:range s:Collection .
    :resource a s:Property ;
        s:domain :Item, :Nest ; s:range s:Resource .

    # Property properties
    :property a s:Property ;
        s:domain :Item, :Nest ; s:range :PropertyTable .
  
    # PropertyTable class
    :PropertyTable a s:Class 

  -->
  <yads/>