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

Re: 'is-a' Relationships in XML?

  • From: Stephen Green <stephengreenubl@gmail.com>
  • To: xml-dev <xml-dev@lists.xml.org>
  • Date: Thu, 6 May 2010 13:53:41 +0100

Re:  'is-a' Relationships in XML?
I forgot to add:

Maybe, to enable this, there is a way to write the XPaths into the ontology
such that the semantic query resolves to an XPath (or XQuery?) and when
this XPath in turn is evaulated it returns the answer to the semantic query.

Also assertions can be written too using semantic query expressions which
evaluate initially to an XPath (or XQuery or in-memory equivalent maybe for
improved performance) and the XPath then evaluates to true or false.

Nice thought? Seems to me to be where it leads if we do better than prose
specifications of the semantics of the markup to give us machine executability.

Stephen D Green

On 6 May 2010 13:28, Stephen Green <stephengreenubl@gmail.com> wrote:
> I'd propose some best practice principles then
>
> 1. semantic queries regarding XML should ideally be written in a semantic
> query language
>
> 2. semantic queries using XPath should be considered second best
>
> 3. semantic conformance rules / criteria should be tested using
> semantic assertions
> (just as we can test structural criteria using XPath assertions such
> as Schematron,
> XSD 1.1, test assertion markup with XPathsm and other associations between rules
> and XPaths, etc)
>
> 4. semantics can be defined for a markup using semantic / ontology languages
>
> 5. semantic expressions can be evaluated over the markup using semantic queries
> but for this, maybe further work is needed to establish how to
> associate XPaths with
> the semantic definitions
>
> Best regards
>
> Stephen D Green
>
>
>> Apologies for harping back on the
>>  former thread.
>>
>> Given then that I need to define the
>> semantics of a markup outside of that
>> markup and outside of a schema,
>> perhaps using RDF or the like, I'd probably
>> want to associate many classes and properties
>> or expressions with XPaths in my markup.
>> If I used RDF, it seems to like URIs or URLs
>> or the like (there seem to be many such
>> identifier standards of late). Would there
>> be a standard way to add something like
>> an XPath to perhaps the end of such a URL,
>> so I can point a semantic expression like
>> class or property to a node in the markup?
>> XQuery? It would be nice to have a semantic
>> query like SPARQL be able to resolve
>>  it.
>>
>> Thanks
>>
>> Stephen D Green
>>
>>
>


[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.