When XQuery and SparQL Collide
Kurt Cagle · Balisage series on markup technologies · 2011
Far from being competing technologies, XQuery and SparQL are potential collaborators in data extraction and manipulation. Since an XML database can also function as a triple store, it’s possible to combine the languages so that each executes what it’s optimized for while avoiding process boundary serialization problems and also generate output like XHTML from queries across a variety of document types.