- From: Johnson, Matthew C. \(LNG-ALB\) <Matthew.C.Johnson@lexisnexis.com>
- Date: Fri, 21 Apr 2006 14:44:44 -0400
- To: "Richard Newman" <r.newman@reading.ac.uk>
- Cc: <semantic-web@w3.org>
Ahh, that makes more sense...one of the sites you sent before had dead links so I did not traverse to that page. I had made the jump from schemarama -> schematron too early after reading the following phrase in the xml.com article. "The converse, plugging in different kinds of constraint mechanisms within a Schematron schema, is also possible and under consideration for future versions of Schematron. Dan Brickley has nicknamed this 'Schemarama'" This has been a very useful thread (to me at least). Thanks. Matt -----Original Message----- From: Richard Newman [mailto:r.newman@reading.ac.uk] Sent: Friday, April 21, 2006 2:26 PM To: Johnson, Matthew C. (LNG-ALB) Cc: semantic-web@w3.org Subject: Re: question on domain 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:46:15 UTC