Does anyone implemented a transformation between AQL and XML?

2014-12-16 Thread Bert Verhees
sorry, I misunderstood.

I cannot help you any further

Bert



Op dinsdag 16 december 2014 heeft pablo pazos  het
volgende geschreven:

> Hi Bert,
>
> I don't have any XML :D My question is about ADL, not it's
> interpretation/execution, that is already handled by the current querying
> component of the EHRServer.
>
> What I'm curious about is if someone has a transformation between AQL
> syntax and XML, in other words, a XML expression of an AQL query.
>
> An AQL query can be instantiated and executed over any database, while
> XQuery is already an instance of a query (because it uses XPaths not ADL
> paths) and can be executed only in XML databases (and relational that
> support XML columns). The EHRServer database is relational, without any XML
> columns.
>
> Also, what I need is a bidirectional transformation AQL <-> XML. I guess
> it would be difficult to generate AQL from an XQuery expression.
>
> --
> Kind regards,
> Eng. Pablo Pazos Guti?rrez
> http://cabolabs.com <http://cabolabs.com/es/home>
> <http://twitter.com/ppazos>
>
> --
> Date: Tue, 16 Dec 2014 07:34:13 +0100
> Subject: Re: Does anyone implemented a transformation between AQL and XML?
> From: bert.verhees at rosa.nl
> 
> To: openehr-technical at lists.openehr.org
> 
>
> Depending on how your XML is constructed, it is very easy to convert AQL
> to XQuery, or ADL-path to XPath.
>
> Bert
>
> Op dinsdag 16 december 2014 heeft pablo pazos  > het volgende
> geschreven:
>
> Just curious :)
>
> I'm adding version control features to EHRServer (
> https://github.com/ppazos/cabolabs-ehrserver) and I want to add some kind
> of AQL support in the future. Right now we have an internal querying model
> that abstracts from the physical database and allows the creation of
> queries for openEHR data from a UI.
> My idea is to have some kind of transformation between the EHRServer query
> model and AQL, and instead of struggle with AQL parsers I would like to do
> some XML transformations to import and export AQL (I do not need to
> actually execute AQL, the execution of the internal query model is working
> ok).
>
> Comments and ideas are very welcome!
>
> --
> Kind regards,
> Eng. Pablo Pazos Guti?rrez
> http://cabolabs.com <http://cabolabs.com/es/home>
> <http://twitter.com/ppazos>
>
>
>
> --
>
> *This e-mail message is intended exclusively for the addressee(s). Please
> inform us immediately if you are not the addressee.*
>
>
> ___ openEHR-technical mailing
> list openEHR-technical at lists.openehr.org
> 
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>


-- 

*This e-mail message is intended exclusively for the addressee(s). Please
inform us immediately if you are not the addressee.*
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/3300a9f8/attachment-0001.html>


Does anyone implemented a transformation between AQL and XML?

2014-12-16 Thread Seref Arikan
Hi Pablo,
I'm a bit confused. What are you asking for? AQL does not have an object
model that has been published, it has a grammar, so an XML representation
of AQL would at best be AQL in XML syntax. If that is what you're after, I
can't see how that could help? The point of AQL is sending the same query
to multiple implementations, so its use means that you'd have to deal with
an AQL parser.

If you want to develop an XML syntax for AQL, you'd still have to use an
AQL parser to import AQL as you've described in your OP. It sounds like
you're trying to develop a mapping from AQL to your internal query
execution, which is fine, but the XML syntax for AQL sounds redundant in
that scenario.

Care to explain a bit more?

Regards
Seref


On Tue, Dec 16, 2014 at 5:34 PM, pablo pazos  wrote:
>
> Hi Bert,
>
> I don't have any XML :D My question is about ADL, not it's
> interpretation/execution, that is already handled by the current querying
> component of the EHRServer.
>
> What I'm curious about is if someone has a transformation between AQL
> syntax and XML, in other words, a XML expression of an AQL query.
>
> An AQL query can be instantiated and executed over any database, while
> XQuery is already an instance of a query (because it uses XPaths not ADL
> paths) and can be executed only in XML databases (and relational that
> support XML columns). The EHRServer database is relational, without any XML
> columns.
>
> Also, what I need is a bidirectional transformation AQL <-> XML. I guess
> it would be difficult to generate AQL from an XQuery expression.
>
> --
> Kind regards,
> Eng. Pablo Pazos Guti?rrez
> http://cabolabs.com <http://cabolabs.com/es/home>
> <http://twitter.com/ppazos>
>
> --
> Date: Tue, 16 Dec 2014 07:34:13 +0100
> Subject: Re: Does anyone implemented a transformation between AQL and XML?
> From: bert.verhees at rosa.nl
> To: openehr-technical at lists.openehr.org
>
>
> Depending on how your XML is constructed, it is very easy to convert AQL
> to XQuery, or ADL-path to XPath.
>
> Bert
>
> Op dinsdag 16 december 2014 heeft pablo pazos 
> het volgende geschreven:
>
> Just curious :)
>
> I'm adding version control features to EHRServer (
> https://github.com/ppazos/cabolabs-ehrserver) and I want to add some kind
> of AQL support in the future. Right now we have an internal querying model
> that abstracts from the physical database and allows the creation of
> queries for openEHR data from a UI.
> My idea is to have some kind of transformation between the EHRServer query
> model and AQL, and instead of struggle with AQL parsers I would like to do
> some XML transformations to import and export AQL (I do not need to
> actually execute AQL, the execution of the internal query model is working
> ok).
>
> Comments and ideas are very welcome!
>
> --
> Kind regards,
> Eng. Pablo Pazos Guti?rrez
> http://cabolabs.com <http://cabolabs.com/es/home>
> <http://twitter.com/ppazos>
>
>
>
> --
>
> *This e-mail message is intended exclusively for the addressee(s). Please
> inform us immediately if you are not the addressee.*
>
>
> ___ openEHR-technical mailing
> list openEHR-technical at lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
> ___
> openEHR-technical mailing list
> openEHR-technical at lists.openehr.org
>
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
>
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/3c62e0a8/attachment.html>


Faster ADL Workbench available

2014-12-16 Thread Thomas Beale

For those of you feeling the need for speed, there is a new build 
available on this page 
<http://www.openehr.org/downloads/ADLworkbench/home> that greatly speeds 
it up. This version reduces the error output a fair bit, and you are 
recommended to go to Tools > Options > Compiler  Settings and set them 
as follows.



You will notice very little output, except for the new progress counter:



- thomas

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/26e974d8/attachment-0001.html>
-- next part --
A non-text attachment was scrubbed...
Name: cbjggfdi.png
Type: image/png
Size: 5262 bytes
Desc: not available
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/26e974d8/attachment-0002.png>
-- next part --
A non-text attachment was scrubbed...
Name: fgdaggbg.png
Type: image/png
Size: 16822 bytes
Desc: not available
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/26e974d8/attachment-0003.png>


Does anyone implemented a transformation between AQL and XML?

2014-12-16 Thread pablo pazos
Hi Bert,
I don't have any XML :D My question is about ADL, not it's 
interpretation/execution, that is already handled by the current querying 
component of the EHRServer.
What I'm curious about is if someone has a transformation between AQL syntax 
and XML, in other words, a XML expression of an AQL query.
An AQL query can be instantiated and executed over any database, while XQuery 
is already an instance of a query (because it uses XPaths not ADL paths) and 
can be executed only in XML databases (and relational that support XML 
columns). The EHRServer database is relational, without any XML columns.
Also, what I need is a bidirectional transformation AQL <-> XML. I guess it 
would be difficult to generate AQL from an XQuery expression.

-- 
Kind regards,
Eng. Pablo Pazos Guti?rrez
http://cabolabs.com

Date: Tue, 16 Dec 2014 07:34:13 +0100
Subject: Re: Does anyone implemented a transformation between AQL and XML?
From: bert.verh...@rosa.nl
To: openehr-technical at lists.openehr.org

Depending on how your XML is constructed, it is very easy to convert AQL to 
XQuery, or ADL-path to XPath.
Bert

Op dinsdag 16 december 2014 heeft pablo pazos  het 
volgende geschreven:



Just curious :)
I'm adding version control features to EHRServer 
(https://github.com/ppazos/cabolabs-ehrserver) and I want to add some kind of 
AQL support in the future. Right now we have an internal querying model that 
abstracts from the physical database and allows the creation of queries for 
openEHR data from a UI.My idea is to have some kind of transformation between 
the EHRServer query model and AQL, and instead of struggle with AQL parsers I 
would like to do some XML transformations to import and export AQL (I do not 
need to actually execute AQL, the execution of the internal query model is 
working ok).
Comments and ideas are very welcome!
-- 
Kind regards,
Eng. Pablo Pazos Guti?rrez
http://cabolabs.com   


-- 
This e-mail message is intended exclusively for the addressee(s). 
Please inform us immediately if you are not the addressee.


___
openEHR-technical mailing list
openEHR-technical at lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org   
  
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/9e174c47/attachment.html>


Does anyone implemented a transformation between AQL and XML?

2014-12-16 Thread Bert Verhees
Depending on how your XML is constructed, it is very easy to convert AQL to
XQuery, or ADL-path to XPath.

Bert

Op dinsdag 16 december 2014 heeft pablo pazos  het
volgende geschreven:

> Just curious :)
>
> I'm adding version control features to EHRServer (
> https://github.com/ppazos/cabolabs-ehrserver) and I want to add some kind
> of AQL support in the future. Right now we have an internal querying model
> that abstracts from the physical database and allows the creation of
> queries for openEHR data from a UI.
> My idea is to have some kind of transformation between the EHRServer query
> model and AQL, and instead of struggle with AQL parsers I would like to do
> some XML transformations to import and export AQL (I do not need to
> actually execute AQL, the execution of the internal query model is working
> ok).
>
> Comments and ideas are very welcome!
>
> --
> Kind regards,
> Eng. Pablo Pazos Guti?rrez
> http://cabolabs.com <http://cabolabs.com/es/home>
> <http://twitter.com/ppazos>
>


-- 

*This e-mail message is intended exclusively for the addressee(s). Please
inform us immediately if you are not the addressee.*
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/3b516583/attachment.html>


Does anyone implemented a transformation between AQL and XML?

2014-12-16 Thread pablo pazos
Just curious :)
I'm adding version control features to EHRServer 
(https://github.com/ppazos/cabolabs-ehrserver) and I want to add some kind of 
AQL support in the future. Right now we have an internal querying model that 
abstracts from the physical database and allows the creation of queries for 
openEHR data from a UI.My idea is to have some kind of transformation between 
the EHRServer query model and AQL, and instead of struggle with AQL parsers I 
would like to do some XML transformations to import and export AQL (I do not 
need to actually execute AQL, the execution of the internal query model is 
working ok).
Comments and ideas are very welcome!
-- 
Kind regards,
Eng. Pablo Pazos Guti?rrez
http://cabolabs.com   
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20141216/3e01d2b7/attachment.html>