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

Re: Generating New Knowledge by Deductive Reasoning usingSchem

  • From: rjelliffe <rjelliffe@allette.com.au>
  • To: <stephengreenubl@gmail.com>
  • Date: Mon, 22 Nov 2010 15:49:42 +1100

Re:  Generating New Knowledge by Deductive Reasoning usingSchem
 On Sun, 21 Nov 2010 16:46:22 +0000, Stephen Green 
 <stephengreenubl@gmail.com> wrote:
> Thanks Rick. Great stuff to look into. I'm especially interested in 
> how
> best to output the report such that the report can be 'queried' by 
> some
> subsequent Schematron rules.

 ISO Schematron defines an output markup language, Schematron Validation 
 Report Language presents many details.


 Now it occurs to me that there are two
> features which might need to be a lot more mature so that we can have
> a kind of logic ecosystem supporting automated deduction alongside
> statements in prose which are not necessarily for automated 
> deduction:
>
> 1. The assertions could be more general statements of 'facts' rather 
> than
> being limited to test assertions. (Can a Schematron assertion/rule 
> include a
> 'statement' of fact which is not necessarily a assertion to be 
> tested?)

 Sure.  General facts can be added as a value-of  or, in the latest 
 Schematron, directly in markup.

 <sch:let name="dogs">
   <my:dogs>
       <my:dog>Pip</my:dog>
       <my:dog>Sam</my:dog>
       <my:dog>Nipper</my:dog>
 </sch:let>

 You can have assertions that are untestable too, by the way:

  <sch:assert test="true()">The element names should be limpid and 
 efflorescent</sch:assert>


> 2. The output from both assertion-driven 'tests' and more general
> 'deductions'
> based on the more general 'statements' can be marked up in the same 
> markup
> so that they provide input for further tests and deductions

 At the moment, SVRL does not output structured values copied from the 
 input. It can transmit values in dynamic text or into a template (the 
 new <Sch:property> element).

> I worked with OASIS TAG TC on something similar, as you know, but 
> even
> here there may need to be more progress or external development such 
> that
> 'test' and 'deduction' results can share the same markup with the
> input. i.e. that
> markup may need to be generalised beyond 'assertions' to include 
> other kinds
> of statements too so that any output can be represented with the same 
> markup.

 TAG is very good for its domain.
 
> Ontology languages might need adaptation too to support their use in 
> both
> representing categories of 'contexts' and in providing input for 
> deductions
> (so that the deduction 'Fred Blogs is the robber' includes that 'Fred
> Blogs is
> a criminal', since 'robber' is a subclass or subcategory of
> 'criminal', etc). Having
> Schematron allow such 'is-a' relationships regarding its contexts or 
> allowing
> category ontologies to be written such that Schematron and other such 
> tools
> can read them might help create this ecosystem too. Or is that 
> already part
> of Schematron?

 The intent of Schematron is to stay close to the markup, and avoid 
 building meta-layers apart from phases/patterns/extensions/properties  
 directly: modesty!  (The point being that the more difficult it is to 
 represent the constraints/deductions in Schematron, the more difficult 
 it will be to code in any XML-based representation/API directly. This is 
 particularly true where there are arbitrarily long inheritance paths for 
 some document that span documents.) Schematron allows XSLT2 functions to 
 be defined, so you can always make your own identity tests if necessary.

 I guess one thing that Schematron has in this area is the abstract 
 pattern notion (which can be parameterized too.)

 <sch:pattern id="criminal"  abstract="true">
    ...
 <sch:pattern>

 <sch:pattern id="robber"  is-a="criminal" >
    ...
 </sch:pattern>

 This could be used to declare levels of metamodeling if necessary, but 
 the info is not available inside the schema XPaths nor in the SVRL at 
 the moment. So the secondary stage (that marks the SVRL) would need to  
 open up the original schema to get access to this information.

 Cheers
 Rick Jelliffe


 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.