SPARQL to XQuery transformationDavid A. Lee dlee at calldei.com
Tue Apr 28 19:03:21 PDT 2009
The issue, IMHO, is that SPARQL is a lot more then an XML document query language. Its an inference query language.. thats a lot more then XQuery can do. 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. McBeath, Darin W (ELS-STL) wrote: > True, but the serialized RDF (which SPARQL can query) could be stored as XML. > > > -----Original Message----- > From: Vyacheslav Sedov [mailto:http://x-query.com/mailman/listinfo/talk] > Sent: Tue 4/28/2009 3:34 PM > To: McBeath, Darin W (ELS-STL) > Cc: http://x-query.com/mailman/listinfo/talk > Subject: Re: SPARQL to XQuery transformation > > SPARQL is not XML - i can bet that no one people did this convertor > > to my opinion the best way is to declare some XML schema that contain > ("query logic") and transform from this XML to SPARQL and/or XQuery > (maybe even MySQL, Google bigtable and so on) > > with best wishes, > Slav > > On Tue, Apr 28, 2009 at 9:34 PM, McBeath, Darin W (ELS-STL) > <http://x-query.com/mailman/listinfo/talk> wrote: > >> I'm curious if anyone has investigated or developed a transformation which >> takes a query expressed in SPARQL syntax to one roughly expressed in an >> equivalent XQuery syntax. I realize that there will likely not always be a >> direct 1 to 1 mapping, will be dependencies on the underlying XML document >> structure, and that some of the queries could become quite complex. >> >> >> >> Thanks. >> >> >> >> Darin. >> >> _______________________________________________ >> http://x-query.com/mailman/listinfo/talk >> http://x-query.com/mailman/listinfo/talk >> >> > > > _______________________________________________ > 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format