- From: Dr. Laurence Leff <D-Leff@wiu.edu>
- Date: Wed, 2 May 2001 21:42:46 -0500 (CDT)
- 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" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <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> <rdfs:Class rdf:ID="Male"> <rdf:type resource="http://www.w3.org/2000/01/rdf-schema#Class"/> <rdfs:subClassOf rdf:resource="#Person"/> </rdfs:Class> <rdfs:Description rdf:ID="John"> <rdf:type resource="#Male"/> </rdfs:Description> </rdf:RDF> 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. http://www.w3.org/2000/01/rdf-schema#Description 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