[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: Michael Kay <mike@saxonica.com>
  • Date: Thu, 6 May 2010 14:36:15 +0100

Re:  'is-a' Relationships in XML?
OK. Apologies for relying on potentially ambiguous terms here.

To be more precise, I hope, I'd say there are going to be classes
and properties defined about the 'real world' things to which the
markup relates or which it represents in some way. These might
typically be defined using some specialised technology like some
of the RDF or OWL syntaxes. Then some related query language
would be used along with a reasoner (and/or inference engine
perhaps) to query this information. I've called the information
'semantic' and the query technology for it a 'semantic query'. It
could be SPARQL or the like. The first step might be to run such
queries to obtain perhaps XPaths from the stored information. A
second step might be to use these XPaths to interrogate the XML
itself. Putting the two steps together might be a function of the
query engine which might first have to be able to query say a 'triple
store' of RDF instances or the OWL equivalent (or whatever technology
is used to store information relating the markup to its subject domain).
I'd really suggest the same query engine might be extended (e.g
with Saxon...) to run the XPath against relevant markup. I don't
see how the XML would be identified but it might be held in a database
and configuration details stored in the information query engine or passed
with the query as parameters perhaps.

Best regards

Steve
---
Stephen D Green




On 6 May 2010 13:59, Michael Kay <mike@saxonica.com> wrote:
>
> I have absolutely no idea what you mean by terms such as "semantic queries"
> or "semantic query languages". I do wish we could stop using these terms.
> You put some bits in at one end and you get some different bits out at the
> other; the transformation of one set of bits to the other is purely
> mechanical, and they don't mean anything unless human beings choose to
> attach meaning to them. That's the way computers work.
>
> Regards,
>
> Michael Kay
> http://www.saxonica.com/
> http://twitter.com/michaelhkay
>
>
>
>> -----Original Message-----
>> From: Stephen Green [mailto:stephengreenubl@gmail.com]
>> Sent: 06 May 2010 13:28
>> To: xml-dev
>> Subject: Re:  'is-a' Relationships in XML?
>>
>> 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
>> >
>> >
>>
>> ______________________________________________________________
>> _________
>>
>> XML-DEV is a publicly archived, unmoderated list hosted by
>> OASIS to support XML implementation and development. To
>> minimize spam in the archives, you must subscribe before posting.
>>
>> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
>> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
>> subscribe: xml-dev-subscribe@lists.xml.org List archive:
>> http://lists.xml.org/archives/xml-dev/
>> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>>
>
>


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