OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] '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

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: [xml-dev] '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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS