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

[www-rdf-interest] <none>

From: Dr. Laurence Leff <D-Leff@wiu.edu>
Date: Wed, 2 May 2001 21:42:46 -0500 (CDT)
Message-Id: <200105030242.VAA07380@uxb1.wiu.edu>
To: www-rdf-interest@w3.org
I cannot make a simple RDF object that is an instance of one of my
classes.  That is, I used the ICS-FORTH VRP validator to validate,
all my classes, properties, etc.

However, I cannot get it to check when I create an instance of one of
my classes.

<?xml version="1.0"?>
<rdf:RDF xml:lang="en"

<rdfs:Class rdf:ID="Person">
   <rdf:type resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
   <rdfs:comment>The class of people </rdfs:comment>

<rdfs:Class rdf:ID="Male">
   <rdf:type resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
   <rdfs:subClassOf rdf:resource="#Person"/>

<rdfs:Description rdf:ID="John">
   <rdf:type resource="#Male"/>


gives me errors from saying that John is an instance of my male class:

Semantic error 
	3025: The element is not declared in the RDF-Schema namespace.
	Error called by: Model.RDF_test
	at line 20(0) of input during parsing: </
Found 1 error(s) during parsing!
The file t.rdf is not a valid RDF-File.

This seems a basic task, to talk about an instance of the various
classes one might create.  How does one do it?

Dr. Laurence Leff  Western Illinois University, Macomb IL 61455 ||(309) 298-1315
Stipes 447 Assoc. Prof. of Computer Sci. 
Pagers: 309-367-0787 OR 800-512 0787 (Illinois only)OR 800 946 4646 PIN 1488110
Co-moderator alt.binaries.pictures.fine-art hierarchy || FAX: 309-298-2302 
Received on Wednesday, 2 May 2001 22:43:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:30 UTC