0
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
1 <p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
2 Querying an LTPDA repository is done using standard SQL statements. The repository GUI
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
3 presents the user with the possibility to graphically build SQL statements which avoids
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
4 learning SQL syntax. Currently, the SQL statements that can be built in this way are
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
5 restricted to queries on a single database table. High-level queries, searching more database tables at once, are implemented in the following panel.
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
6 </p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
7 <p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
8 The repository GUI has a query panel which looks like the figure below:
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
9 </p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
10 <br>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
11 <br>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
12 <img src="images/repo_gui_query_1.png" alt="Repo GUI Query">
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
13 <br>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
14 <br>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
15 <p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
16 In this figure, you see that the user has built a query to select all objects
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
17 submitted on the 24th February 2008. The results will contain the object id,
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
18 the submitted date, the experiment title, the experiment description, and the analysis
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
19 description. The results will be sorted in descending order of the object id.
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
20 </p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
21 <p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
22 Executing the query (click the 'Execute query' button) produces the results table
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
23 shown below.
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
24 </p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
25 <br>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
26 <br>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
27 <img src="images/repo_gui_query_2.png" alt="Repo GUI Query Results">
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
28 <br>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
29 <br>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
30 <p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
31 The query string that is actually executed is presented in the text edit
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
32 box above the 'Execute query' button. This query string can be edited to allow for finer
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
33 control over the query. This is meant for users who already have a working knowledge of MySQL
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
34 SQL syntax.
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
35 </p>
|
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
36
|