[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

SPARQL to XQuery transformation

Michael Kay mike at saxonica.com
Wed Apr 29 09:28:55 PDT 2009


  SPARQL to XQuery transformation
XQuery is Turing-complete, so there shouldn't be any theoretical problems.
 
It could be that there are issues to do with data model coverage - for
example XQuery 1.0 doesn't give access to unparsed entities, and doesn't
provide any way to create namespaces whose names aren't known statically.
But I think those are unlikely to be stopper issues.
 
Michael Kay
http://www.saxonica.com/


  _____  

From: David A. Lee [mailto:http://x-query.com/mailman/listinfo/talk] 
Sent: 29 April 2009 01:33
To: Michael Kay
Cc: 'McBeath, Darin W (ELS-STL)'; http://x-query.com/mailman/listinfo/talk; 'Vyacheslav Sedov'
Subject: Re:  SPARQL to XQuery transformation


I don't believe its impossible either, but I was thinking, as a purely
functional language (if that makes a difference?)
Is there any set of computations that xquery couldn't theoretically execute,
that say a procedural language could ?


Michael Kay wrote: 

It might be *possible* to do in XQuery but its not a simple 

"translation" of one query language to another, it would take 

writing an inference engine in xquery.  quite a project.

    



If you can write an interpreter for a query language then you can write a

compiler for it. And compiling into XQuery is probably easier than compiling

into machine code. So as far as I can see, it doesn't look intrinsically

impossible at all.



Michael Kay

http://www.saxonica.com/



_______________________________________________

http://x-query.com/mailman/listinfo/talk

http://x-query.com/mailman/listinfo/talk

  


-- 

-----------------------------------------------------------

David A. Lee

http://x-query.com/mailman/listinfo/talk  

http://www.calldei.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://x-query.com/pipermail/talk/attachments/20090429/d8079846/attachment.htm


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
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-2007 All Rights Reserved.