W3C home > Mailing lists > Public > www-rdf-interest@w3.org > May 2003

[Q] RDF and RDFS correct ? - need advice

From: <hgadm@cswebmail.com>
Date: Tue, 27 May 2003 09:57:20 -0700 (PDT)
To: www-rdf-interest@w3.org
Message-Id: <20030527095723.27044.h007.c014.wm@mail.cswebmail.com.criticalpath.net>

Dear all,

I've got quite a lot of help now from this group and
could come up with a nuch better RDF that the first
time.

<Holger />

I would appreciate some feedback on the RDF instance
file as well as on the simple RDFS that it is
referencing. 

Some questions though:

1.
I did specify at the moment only these things in RDFS
that are special, e.g. KNO-subject, KNO-issue and
KNO-relation and not the standard dc stuff

2. 
They are refering to bag-IDs in the rdf instance
document - OK ?

3.
Therefore I suspect the link to the defining resource
should be <rdfs:isDefinedBy
rdf:resource=http://expm.rd.ambl.net/kno.rdfs ... /> ??

4.
Is this a proper use of an RDFS file linked to an
instance file ?

5.
Is it OK to reference the bag ID in the RDFS ?

6.
A bag is somehow clustering things together that have
some inherent 'connection'
e.g.the co-authors of a book, whereas these subjects,
issues, relations in my example are COMPLETELY
unrelated - use of 'bags' still OK ?

7.
Would it be possible to constraint the XML by the use
of XML schema files (XSD files) or does RDF not provide
for this ?

8. Does the RDF schema make sense to you ?


The files follow:
A. RDF

<?xml version="1.0" encoding="ISO-8859-1" ?> 

- <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:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcq="http://purl.org/dc/qualifiers/1.0/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:azkno="http://expm.rd.ambl.net/kno/">
- <rdf:Description
rdf:about=http://expm.rd.ambl.net/kno/transporters01.rdf>
  <rdfs:isDefinedBy
rdf:resource=http://expm.rd.ambl.net/kno.rdfs
rdfs:comment="A KNO is a ..." /> 
  <dc:identifier>transporters01</dc:identifier> 
  <dc:title>importance of clinical interactions
involving transporters</dc:title> 
  <dc:creator>name_p</dc:creator> 
- <dc:date>
- <rdf:Description>
  <dcq:dateScheme>WTN8601</dcq:dateScheme> 
  <rdf:value>2003-05-23</rdf:value> 
  </rdf:Description>
  </dc:date>
- <dc:subject>
- <rdf:Bag rdf:ID="KNO-subject">
  <rdf:li>transporters</rdf:li> 
  <rdf:li>P-gp</rdf:li> 
  <rdf:li>drug - drug interactions</rdf:li> 
  <rdf:li>inhibition</rdf:li> 
  <rdf:li>induction</rdf:li> 
  </rdf:Bag>
  </dc:subject>
- <azkno:issue>
- <rdf:Bag rdf:ID="KNO-issue">
  <rdf:li>Useful specific probes for clinical
methodology studies</rdf:li> 
  <rdf:li>Designs for methodology studies</rdf:li> 
  </rdf:Bag>
  </azkno:issue>
- <dc:relation>
- <rdf:Bag rdf:ID="KNO-relation">
  <rdf:li
rdf:resource="\\Gbs-cw-clin\clinical\EWS\P-gp.doc" /> 
   <rdf:li
rdf:resource="\\Gbs-cw-clin\clinical\EWS\ddi.doc" /> 
    </rdf:Bag>
  </dc:relation>
- <dcterms:abstract>
- <rdf:Description
rdf:about="http://purl.org/dc/terms/abstract">
  <rdfs:subPropertyOf
rdf:resource="http://purl.org/dc/elements/1.1/description" /> 
- <rdf:value rdf:parseType="Literal">Abstract text goes
here ...</rdf:value>
  </rdf:Description>
  </dcterms:abstract>
  </rdf:Description>
- <rdf:Description rdf:about="#KNO-subject">
  <rdfs:comment>'Subject' reflects ...</rdfs:comment> 
  </rdf:Description>
- <rdf:Description rdf:about="#KNO-issue">
  <rdfs:comment>'Issue' reflects ...</rdfs:comment> 
  </rdf:Description>
- <rdf:Description rdf:about="#KNO-relation">
  <rdfs:comment>'Relation' reflects ...</rdfs:comment> 
  </rdf:Description>
  </rdf:RDF>

B. RDFS

<?xml version="1.0" encoding="ISO-8859-1" ?> 
- <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:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcq="http://purl.org/dc/qualifiers/1.0/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:azkno="http://expm.rd.ambl.net/kno/">
- <!-- simple RDF schema for KNO --> 
- <rdf:Description rdf:ID="KM">
  <rdf:type
rdf:resource="http://www.w3.org/TR/1999/PR-rdfschema-19990303#Class" /> 
  <rdfs:subClassOf
rdf:resource="http://www.w3.org/TR/1999/PR-rdfschema-19990303#rdf:resource" /> 
  </rdf:Description>
- <rdf:Description rdf:ID="KNO-property">
  <rdf:type
rdf:resource="http://www.w3.org/TR/1999/PR-rdfschema-19990303#Property" /> 
  <rdfs:subPropertyOf
rdf:resource="http://www.w3.org/TR/1999/PR-rdfschema-19990303#rdf:resource" /> 
  </rdf:Description>
- <rdf:Description rdf:ID="KNO">
  <rdf:type
rdf:resource="http://www.w3.org/TR/1999/PR-rdfschema-19990303#Class" /> 
  <rdfs:subClassOf rdf:resource="#AZ-KM" /> 
  </rdf:Description>
- <rdf:Description rdf:ID="KNO-subject">
  <rdf:type
rdf:resource="http://www.w3.org/TR/1999/PR-rdfschema-19990303#Property" /> 
  <rdfs:subPropertyOf rdf:resource="#KNO-property" /> 
  <rdfs:domain rdf:resource="#KNO" /> 
  <rdfs:comment>'Subject' reflects ... </rdfs:comment> 
  </rdf:Description>
- <rdf:Description rdf:ID="KNO-issue">
  <rdf:type
rdf:resource="http://www.w3.org/TR/1999/PR-rdfschema-19990303#Property" /> 
  <rdfs:subPropertyOf rdf:resource="#KNO-property" /> 
  <rdfs:domain rdf:resource="#KNO" /> 
  <rdfs:comment>'Issue' reflects ... </rdfs:comment> 
  </rdf:Description>
- <rdf:Description rdf:ID="KNO-relation">
  <rdf:type
rdf:resource="http://www.w3.org/TR/1999/PR-rdfschema-19990303#Property" /> 
  <rdfs:subPropertyOf rdf:resource="#KNO-property" /> 
  <rdfs:domain rdf:resource="#KNO" /> 
  <rdfs:comment>'Relation' reflects ... </rdfs:comment> 
  </rdf:Description>
  </rdf:RDF>

___________________________________________________
The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!
 http://www.compuserve.com/trycsrv/cs2000/webmail/
Received on Tuesday, 27 May 2003 12:57:35 GMT

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