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

Re: Converting a variety of data formats, containingvarious ki

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: "Costello, Roger L." <costello@mitre.org>
  • Date: Wed, 5 Oct 2016 10:44:38 +1100

Re:  Converting a variety of data formats

Trying to think of some context that might make the statement less bogus... lets be charitable and assume the best!

I guess what they are saying is we always have to write the n converters, but with RDF you dont need to then write the loader to the data store from that format (or the database schema). (And perhaps that converting to rdf is relatively easy??)  By the time you make a highly generic universal schema that works by annotation rather than named structures, and you allow all sorts of ordering and set etc possibilities, you probably end up with something like RDF anyway, so why bother?

So why would it be less computationally expensive/hard/intractable? 

I am tempted to guess that a contrast is being drawn between between supporting large kitchen sink schemas (often favoured by markup people) and supporting generic schemas (often favoured by ETL people.)  That is definitely a real issue, one that impacts me every day at my current (soon to be former) employer.

Mainstream XML technology definitely disfavours generic approaches: to move to generic approaches where the specific semantics is in attributes *and* retaining validation requires moving to RELAX NG or Schematron in which attributes are first-class citizens (rather than dtds or xsd where all patterns/types are keyed by element context only.) 

Even Xpath's syntax disfavours generic approaches (by providing no support), no crIticism implied. I have been working with generic schemas for much of the last decade, and I really think XSL T Xpath would be enhanced by providing some simple macro system to uncomplicate paths: for example  so that instead of writing

    event[property[@name="kind"][@value="birthday"]]

i could declare a virtual child named birthday-event with that xpath, and then use a virtual axis:

  vchild::birthday-event

(And yes I know i can use functions. If you really think functions are equivalent syntactical sugar, consider why xpath syntax does not just use function syntax for axes in the first place...)

So those kind of reasons (easy loading of rdf, clumsy support for highly generic schemas in xsd/xpath/xquery) may indeed make RDF attractive for some important classes of n:1 projects. It is not unthinkable.

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.