Are the queries and data from the paper available as files? Is there a sample java program that can run the examples?
I've tried to make a java program to run them, but I get errors when compiling some of the queries.
from your mail I could figure out that are looking for the FORSEQ examples - there are now some other papers that also use MXQuery.
First, let me point out that the window functionality has been incorporated into XQuery 1.1, albeit with some syntax changes and minor changes in semantics (window order). The relevant information can be found in the working draft (http://www.w3.org/TR/xquery-11/#id-windows) and the use cases (http://www.w3.org/TR/xquery-11-use-cases/#windowing).
MXQuery supports both variants (FORSEQ and for tumbling|sliding window), other implementations (e.g. Zorba) only support the XQuery 1.1 version. Since it is a XQuery 1.1 functionality, you need to enable the XQuery 1.1 mode, either on the command line (-11m) or in the CompilerOptions that you pass on. Using the command line client or SimpleExample should give you some guidance how to do this
We have a set of unit tests for the window features which currently live in our own repository. The goal is to make them public at some point, but I have not found the time to do so. If you wish, I can send them to you. Otherwise, can you let me know which queries are causing problems?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.