W3C home > Mailing lists > Public > semantic-web@w3.org > August 2006

Domain Type Mismatch problem

From: Hans Teijgeler <hans.teijgeler@quicknet.nl>
Date: Tue, 22 Aug 2006 18:51:36 +0200
To: "SW-forum" <semantic-web@w3.org>
Cc: "Paap, Onno" <onno.paap@gmail.com>
Message-ID: <000c01c6c60b$3f1ddf20$0202a8c0@hans>
Folks,
 
I have a systematic problem with the following:
 
A typical snippet of the code involved is:
 
    <part2:ClassOfInanimatePhysicalObject  rdf:ID="InanimatePhysicalObject">
        <rdfs:subClassOf
rdf:resource="http://www.15926.org/2006/02/part2#PhysicalObject"/>
    </part2:ClassOfInanimatePhysicalObject>
 
    <part2:ClassOfInanimatePhysicalObject rdf:ID="Vessel">
        <rdfs:subClassOf rdf:resource="#InanimatePhysicalObject"/>
        <rdfs:subClassOf rdf:resource="#VesselFunction"/>
    </part2:ClassOfInanimatePhysicalObject>
 
 
Using the Vowlidator validator of SemWeb I get twice the following error
message:
 
WARNING - Domain Type Mismatch: Use of this property implies that 
subject  is of type http://www.w3.org/2000/01/rdf-schema#Class. 
(Subject is declared type
[http://www.15926.org/2006/02/part2#ClassOfInanimatePhysicalObject]) 
At [http://www.15926.org/2006/02/part4#Vessel, 
http://www.w3.org/2000/01/rdf-schema#subClassOf, 
http://www.15926.org/2006/02/part4#InanimatePhysicalObject] 
line 444
 
I will be grateful for any suggestions about what I did wrong.
 
Regards,
Hans
 
____________________
OntoConsult
Hans Teijgeler
ISO 15926 specialist
Netherlands
+31-72-509 2005
HYPERLINK "http://www.infowebml.ws/"www.InfowebML.ws 
HYPERLINK "mailto:hans.teijgeler@quicknet.nl"hans.teijgeler@quicknet.nl
 
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.0.405 / Virus Database: 268.11.4/424 - Release Date: 21-Aug-06
 
Received on Tuesday, 22 August 2006 16:52:08 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:41:00 UTC