- From: Richard Newman <r.newman@reading.ac.uk>
- Date: Fri, 21 Apr 2006 11:26:12 -0700
- To: "Johnson, Matthew C. ((LNG-ALB))" <Matthew.C.Johnson@lexisnexis.com>
- Cc: <semantic-web@w3.org>
Matthew, I wasn't referring to Schematron, but Schemarama. Take another look: <http://isegserv.itd.rl.ac.uk/schemarama/how.html> Schemarama does validation of RDF at the abstract level, not on the XML level (which is very difficult, thanks to the enormous flexibility of RDF/XML). It serves a similar purpose to Schematron, hence the name. In a sense, this is a kind of application-level validation -- read in some data, and see if it conforms to a test case. Advice: treat RDF as a flexible data format, and fail appropriately if you can't find out what you need. Don't try to make the RDF somehow 'invalid' because a particular chunk does not contain the data you wish was there. It might arrive later, or from a difference source, or be inferred, and generally failing gently is a lot better than crashing and burning because you don't have a person's name in your store. -R On 21 Apr 2006, at 11:02 AM, Johnson, Matthew C. ((LNG-ALB)) wrote: > Thinking out loud here... > > It seems that schematron (which I do like by the way) would be only > useful in validating a RDF/XML instance after the fact (outside of the > RDF parser). It also would not be much help with non-XML RDF syntax. > > It would be nice to be able to actually validate that a class instance > according to its schema within the parser (after the model has been > built and the syntax disappears). But, from the other posts to my > question, it seems that I may not have fully considered the > ramifications of the "open world" mentality that was mentioned > earlier. > Does this mentality really mean that validation, in the sense of "a > person MUST have a name", is too restrictive and that, if > necessary, it > should be done within the application? > > By the way, thanks again for the help on my original question. > > -----Original Message----- > From: Richard Newman [mailto:r.newman@reading.ac.uk] > Sent: Friday, April 21, 2006 1:33 PM > To: Johnson, Matthew C. (LNG-ALB) > Cc: semantic-web@w3.org > Subject: Re: question on domain > > On 21 Apr 2006, at 7:35 AM, Johnson, Matthew C. ((LNG-ALB)) wrote: >> Does RDF or RDFS have a mechanism for enforcing/validating the >> properties that compose a class? This seems related to the question >> stated below. > > Try something like Schemarama. > > <http://ilrt.org/discovery/2001/02/schemarama/> > <http://www.xml.com/pub/a/2001/02/07/schemarama.html> > > -R
Received on Friday, 21 April 2006 18:26:21 UTC