[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Logic in SIX

  • From: Peter Jones <peterj@w...>
  • To: "'xml-dev@l...'" <xml-dev@l...>
  • Date: Thu, 15 Feb 2001 18:34:13 +0000

logic c
Just in case folks didn't pick it up the patterns the first time around:

SIX
http://www.inpreparation.com/six
It is a lightweight general graph serialization syntax.

It is important to note that different types of SIX document interchange are
specified in the type attribute, and that these types would be created by
agreement between interchange parties (communities).
So if my type was "CLIPS-assertion-set", that would be reflected in the
document content, or if it was "RDF-2.0" that would be too. Because of that
I haven't specified processing models and I haven't restricted the
possibility of document content reinterpretation.

The use of templating instead of separate schemas allows for a more flexible
approach to comparison. Whether a document is a template or an instance is
just a matter of which side of the comparison you place it.

If you are interested in the logic side:
Any portion of a graph can be considered to be the RHS of a Horn clause.
A <= B && C && D
So AND is covered.
I can cover the difference between necessary and sufficient conditions using
the wildcard <wcvar> element in my templates. (Might need processing
directive to be agreed though.) This also creates OR.
Template: B && Wildcard(C) && Wildcard(D)
will be happy if 
Instance: B && C, or B && D, or B && C && D.
But if my template was just 
Template: B
Then Instance: B && C is acceptable, but the processor won't care because
it's already got B.
Negation is just absence in a template.

Any feedback of any form whatsoever welcome.

cheers,
Peter

Peter Jones
mailto:peterj@w...





PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.