1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
7 <meta http-equiv="content-type"
8 content="text/html; charset=ISO-8859-1">
10 <meta name="author" content="Ferruccio Guidi">
12 <meta name="description" content="MathQL Home Page">
16 <h1 align="center">MathQL-1</h1>
18 <h2 align="center">A query language for RDF metadata</h2>
20 <table cellpadding="10" cellspacing="2" border="0" width="95%"
24 <td valign="top" align="left">
27 <li><a href="index.html">Forward</a><br>
34 <li><a href="features.html">Features</a></li>
45 <li><a href="documentation.html">Documentation</a></li>
51 <li><a href="implementation.html">Implementation</a><br>
57 <li><a href="authors.html">The authors</a><br>
64 <li><a href="links.html">Links</a><br>
72 <div align="right"><b>What's new</b><br>
75 This page reports the newly <a href="implementation.html">implemented</a>
76 features of MathQL-1 that are not included in the ufficial <a
77 href="documentation.html">documentation</a> yet.<br>
79 Changes and additions to MathQL-1 operators:<br>
82 <li>The <b>add</b> operator now accepts a syntax extension allowing
83 to specify more than one explicit attribute group.</li>
87 <blockquote>The syntax now is:</blockquote>
89 <blockquote><query> := "add" [ "distr" ]? [ <groups> | <avar>
90 ] "in" <query><br>
91 <groups> := <group> [ ";" <group> ]*<br>
92 <group> := <attribute> [ "," <attribute> ]*<br>
93 <attribute> := <value> "as" <path><br>
96 the query <b>add "1" as "a", "2" as "b" in subj "A"</b> gives the result
97 <b>"A" attr {"a"="1"; "b"="2"}</b> while<br>
98 the query <b>add "1" as "a"; "2" as "b" in subj "A"</b> gives the result
99 <b>"A" attr {"a"="1"}, {"b"="2"}</b>.<br>
103 <li>The new <b>align</b> operator takes an integer <i>i</i> (represented
104 as a string), a multiple string value <i>v</i> and returns the same <i>v</i>
105 where each string with length <i>n < i</i> is prefixed with <i>i - n</i>
106 spaces. The syntax of the add operator is:</li>
110 <blockquote><value> := "align" <string> "in" <value><br>
112 This operators aligns strings containing numbers so that their alphabetic
113 order agrees with their numeric order.<br>
117 <li>The <b>intersect</b> operator now intersects the attribute groups
118 of the mathing subject strings set-theoretically rather than making their
119 "Cartesian product". This semantics reduces the computational costs and makes
120 intersection the dual of union.</li>
125 <li>The <b>property</b> operator now accepts more than one <b>isfalse</b>
126 clause to increase the complexity of the constraint condition used to filter
127 the raw query results. This feature is exploited in the queries produced
128 by the <a href="implementation.html">HELM query generator</a>.