From 00a1f062a9f255b188f15b1d5373b5d73901c675 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Mon, 29 Sep 2014 22:15:54 +0200 Subject: [PATCH] . --- pres-typex/01.xhtml | 240 +++++++++++++++ pres-typex/alphabet.xhtml | 58 ++++ pres-typex/ex1.html | 572 ++++++++++++++++++++++++++++++++++++ pres-typex/ex1.xhtml | 572 ++++++++++++++++++++++++++++++++++++ pres-typex/ex2.html | 593 ++++++++++++++++++++++++++++++++++++++ themes/uPsud.css | 5 + xpi/xpi_04.xhtml | 425 +++++++++++++++++++++++++++ 7 files changed, 2465 insertions(+) create mode 100644 pres-typex/01.xhtml create mode 100644 pres-typex/alphabet.xhtml create mode 100644 pres-typex/ex1.html create mode 100644 pres-typex/ex1.xhtml create mode 100644 pres-typex/ex2.html create mode 100644 xpi/xpi_04.xhtml diff --git a/pres-typex/01.xhtml b/pres-typex/01.xhtml new file mode 100644 index 0000000..2e104f0 --- /dev/null +++ b/pres-typex/01.xhtml @@ -0,0 +1,240 @@ + +∈"> + ∉"> + +] + > + + + Tatoo : the path forward + + + + + + + + + + + + + + + + + + + +
+

Tatoo : the path forward

+

TYPEX meeting, Grenoble April 14-16 2014

+ kn@lri.fr
+ http://www.lri.fr/~kn +
+ +

XPath in nutshell

+
+

XPath

+

W3C query (sub-)language. Allows one to + denote a set of nodes in a document

+ + /descendant::M/ancestor::A[ descendant::P or parent::Q ]/child::* + + + +
+
+

Filters (or predicates)

+

An arbitrary expression whose value is cast into a + Boolean (true keeps the selected node, false + discards it)

+

Example :

+ + //A[ child::B and .//* = count(/descendant::X) mod 12 ] + + +

BTW: XPath semantics + is crazy rich. In + the example we want all A nodes (ok) that have + a B child (ok) and that have a + descendant (hum… ) + for which the (string) concatenation + of its text descendants (?) is equal to the number + of X elements in the document mod 12 + (whaaat ?) +

+
+

Tatoo : what is it ? how does it work ?

+
+

SXSI

+

Succint XML Self-Index: (limited) XPath query engine developped during my + postdoc at Nicta. It uses: +

+ +

Can answer downward (no ancestor, parent, …) XPath with text + expressions of the form (f(., constant), + with f ∈ { contains, starts-with, ends-with, =, <, > , + <=, >= }). Translation from XPath to automata is + linear in size

+
+
+

Pros and cons of SXSI

+

Pros

+ +

Cons

+ + +
+
+

Tree Automata TOOlkit

+

Ré-implmentation of the automata part of SXSI

+ +
+
+

How does it work ?

+

Sample document: alphabet.xml +

+