-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.tex
executable file
·303 lines (237 loc) · 9.38 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
\documentclass[12pt,reqno,oneside]{pucthesis}
%\draft
\usepackage[left=4cm, top=3cm, bottom=4cm, right=2.5cm]{geometry}
\usepackage[english]{babel}
\usepackage{subfig}
\usepackage{fancybox}
\usepackage{float}
\usepackage[T1]{fontenc}
\usepackage{numprint}
\npthousandsep{,}
% Uncomment the following to use Times fonts, as required by the OGRS
%\usepackage{mathptmx}
\usepackage[usenames]{color}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage[utf8]{inputenc}
\usepackage{pdfpages}
% \usepackage{hyperref}
% \usepackage{apacite}
%
\hypersetup{
colorlinks=true,
linkcolor=black,
citecolor=black,
filecolor=black,
urlcolor=black
}
\usepackage{booktabs}
\usepackage{times}
\usepackage{graphicx}
\usepackage{epic}
\usepackage{eepic}
\usepackage{url}
\usepackage{algorithm2e}
\usepackage{rotfloat}
\usepackage{xspace}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{stmaryrd}
\usepackage{cases}
\usepackage{tikz}
\usetikzlibrary{trees}
\usetikzlibrary{shapes}
\usetikzlibrary{shapes.geometric,shapes}
\usetikzlibrary{positioning}
\usetikzlibrary{calc}
\usetikzlibrary{arrows}
\usetikzlibrary{shadows}
\usepackage{tikz-qtree,tikz-qtree-compat}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Preamble %
%------------------------------------------------- %
% \newcommand\...{...} %
% \newtheorem{}{}[] %
% \numberwithin{}{} %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%--------- NEW ENVIRONMENTS ---------
\newtheorem{definition}{\bf Definition}[chapter]
\newtheorem{property}{Property}[chapter]
\newtheorem{claim}{Claim}[chapter]
\newtheorem{lemma}{\bf Lemma}[chapter]
\newtheorem{proposition}{Proposition}[chapter]
\newtheorem{theorem}{\noindent \bf Theorem}[chapter]
\newtheorem{corollary}{\bf Corollary}[chapter]
\newtheorem{pf}{Proof}[chapter]
\newtheorem{example}{\bf Example}[chapter]
\newtheorem{remark}{Remark}[chapter]
%--------- PLACE ADDITIONAL ENVIRONMENTS/DEFINITIONS HERE ---------
%----------------------------------------------------------------------%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% INITIALISATIONS : Top Matter %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[Optimization of semantic web queries]{Optimization of semantic
web queries using SPARQL pattern trees}
\author{Andr\'es Ignacio Letelier Nagel}
%
\address{Escuela de Ingenier\'ia\\
Pontificia Universidad Cat\'olica de Chile\\
Vicu\~na Mackenna 4860\\
Santiago, Chile\\
{\it Tel.\/} : 56 (2) 354-2000}
\email{[email protected]}
%
\facultyto {the School of Engineering}
\department {}
\faculty {Faculty of Engineering}
\degree {Master of Science in Engineering}
% or {Doctor in Engineering Sciences}
\advisor {Marcelo Arenas S.}
\committeememberA {Juan L. Reutter D.}
%\committeememberB {Committee Member B (Optional)}
\guestmemberA {Jorge P\'erez R.}
%\guestmemberB {Guest Committee Member B (Optional)}
\ogrsmember {Andrés Guesalaga M.}
\subject {Engineering}
\date {September 2013}
\copyrightname{Andr\'es Letelier Nagel}
\copyrightyear{MMXIII}
\dedication {
To Andrés Letelier, for putting this template on github
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PRELIMINARIES %
%--------------------------------------------------%
% page i & ii: cover page %
% page iii: dedication %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NoChapterPageNumber % no header - footer on first page of chapter
\pagenumbering{roman}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% EXTRA PAGES %
%--------------------------------------------------%
% page --: not used %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\newpage
%\thispagestyle{empty}
%----------------------------------------------------------------------%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% page iv: ACKNOWLEDGEMENTS %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter*{Acknowledgements}
\input{contents/acknowledgements}
\cleardoublepage % In double-sided printing style makes the next page
% a right-hand page, (i.e. a truly odd-numbered page
% with respect to absolut counting), producing a blank
% page if necessary. Added by MTT 20.AUG.2002
%----------------------------------------------------------------------%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% page v & up --- %
% Table of Contents %
% List of Figures %
% List of Tables %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
\listoftables
\listoffigures
\cleardoublepage % In double-sided printing style makes the next page
% a right-hand page, (i.e. a truly odd-numbered page
% with respect to absolut counting), producing a blank
% page if necessary. Added by MTT 20.AUG.2002
%----------------------------------------------------------------------%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% page x & xi: ABSTRACT - RESUMEN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter*{Abstract}
\label{ch:abstract}
\input{contents/abstract}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% KEYWORDS %
%--------------------------------------------------%
% at the end of the abstract page %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
~\vfill
{\bf Keywords:} \parbox[t]{.75\textwidth}{
SPARQL, RDF, Semantic Web, optimization, rewriting, database models
}
\chapter*{Resumen}
\label{ch:resumen}
\input{contents/resumen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PALABRAS CLAVES %
%--------------------------------------------------%
% al final de la pagina de resumen %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
~\vfill
{\bf Palabras Claves:} \parbox[t]{.75\textwidth}{
SPARQL, RDF, Web sem\'antica, optimizaci\'on, reescritura, modelos de bases de datos
}
\cleardoublepage % In double-sided printing style makes the next page
% a right-hand page, (i.e. a truly odd-numbered page
% with respect to absolut counting), producing a blank
% page if necessary. Added by MTT 20.AUG.2002
%======================================================================%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TEXT OF THESIS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagenumbering{arabic}
\chapter{Introduction}
\label{chapter:introduction}
\input{contents/introduction}
\chapter{Preliminaries}
\label{chapter:preliminaries}
\input{contents/preliminaries}
\chapter{Blabla}
\label{chapter:blabla}
\input{contents/chapter}
\chapter{Conclusions and future research}
\label{chapter:conclusions}
\input{contents/conclusions}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% REFERENCES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\nocite{*} % To make all the uncited references to appear in the bibliography.
\bibliographystyle{apacite}
{\setlength{\baselineskip}{0.8\baselineskip}
\bibliography{biblio}
\par}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% APPENDICES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifappendix
\appendixtrue
\ifappendix
\appendix
\clearpage
\begingroup%
\makeatletter%
\let\clearpage\relax% Stop LaTeX from going to a new page; and
\vspace*{\fill}%
\vspace*{\dimexpr-50\p@-\baselineskip}% Remove the initial (default) 50pt gap (plus 1 line)
\chapter*{APPENDIX}
\vspace*{\fill}%
\endgroup
\chapter{ADDITIONAL PROOFS}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% INDEX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Uncomment the following lines to include an index.
%% INSERT INDEX PAGE # IN TOC
%%%\addtocounter{chapter}{1}
%%%\addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}{Index}}
%%\addcontentsline{toc}{chapter}{\protect\numberline{}{Index}}
%% NOTE: Insert "\label{IDX}" in '.ind' file after compiling the index
%% with makeindex.
%%\index{ @\label{IDX}}
%% The above NOTE is not really needed as can be achieved by
%% the trick below.
%\addtocounter{page}{1}
%\label{IDX}
%\addtocounter{page}{-1}
%\printindex
%----------------------------------------------------------------------%
\end{document}