From d193403feb3df490f60175d387603f4daf89cf1f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 28 Jan 2003 22:34:17 +0000 Subject: [PATCH] CQL to RPN example --- doc/tools.xml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/doc/tools.xml b/doc/tools.xml index bb7d90c..51de233 100644 --- a/doc/tools.xml +++ b/doc/tools.xml @@ -1,4 +1,4 @@ - + Supporting Tools @@ -923,6 +923,37 @@ int cql_transform_FILE(cql_transform_t ct, structure.* = 4=1 + + With the mappings above, the CQL query + + computer + + is converted to the PQF: + + @attr 1=1016 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 "computer" + + by rules qualifier.srw.serverChoice, + relation.scr, structure.*, + position.any. + + + CQL query + + computer^ + + is rejected, since position.right is + undefined. + + + CQL query + + >my = "http://www.loc.gov/zing/cql/dc-indexes/v1.0/" my.title = x + + is converted to + + @attr 1=4 @attr 2=3 @attr 4=1 @attr 3=3 @attr 6=1 "x" + + CQL to XCQL conversion -- 1.7.10.4