Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
teaching:infoh415:tp [2014/01/19 18:07]
stefeppe [Spatial databases]
teaching:infoh415:tp [2021/09/20 12:06]
gdejaege
Line 2: Line 2:
  
 ===== Active databases ===== ===== Active databases =====
 +
 +==== Before Session 1 ====
 +If you are planning on working on your own laptop, please download and install the following before the first exercice session.
 +    * For windows:
 +      * [[https://​docs.microsoft.com/​en-us/​sql/​ssms/​download-sql-server-management-studio-ssms?​view=sql-server-2017|SQL Server Management Studio]] ​
 +      * [[https://​www.microsoft.com/​en-us/​sql-server/​sql-server-downloads|SQL Server Express]]
 +    * For mac:
 +      * [[https://​database.guide/​how-to-install-sql-server-on-a-mac/​|Follow this tutorial]]. Note that I could not verify if this tutorial works by myself.
 +    * For linux:
 +      * [[https://​docs.microsoft.com/​en-us/​sql/​linux/​sql-server-linux-overview?​view=sql-server-ver15&​viewFallbackFrom=azuresqldb-current|SQL Server]]. While choosing the "​edition",​ please select the free "​Express"​ edition.
 +      * [[https://​docs.microsoft.com/​en-us/​sql/​azure-data-studio/​download-azure-data-studio?​view=sql-server-ver15| Azure studio]]. To connect to your SQL Server express, please indicate server: "​localhost",​ login: "​SA"​ and the password selected during the installation of SQL Server.  ​
 +
  
 ==== Session 1 :  Exercises "​PhD"​ ==== ==== Session 1 :  Exercises "​PhD"​ ====
  
-  * {{:​teaching:​infoh415:​infoh415_tp01_slides.pdf|Intro + recap}} +  * {{:​teaching:​infoh415:​infoh415_tp01_slides_2020.pdf|Slides: ​Intro + recap}} 
-  * {{:​teaching:​infoh415:​infoh415_tp01_exercices.pdf|Exercises + solutions}}+  * {{:​teaching:​infoh415:​infoh415_tp01_exercices_2018.pdf|Exercises + Solutions}}
   * {{teaching:​infoh415:​sdi_actives_phd_scripts.zip|SQL Server Scripts}}   * {{teaching:​infoh415:​sdi_actives_phd_scripts.zip|SQL Server Scripts}}
 +  * The exercice sessions will normally all take place in UB4.126
  
  
 ==== Sessions 2 and 3 : Exercises "​Employees Departments Projects"​ ==== ==== Sessions 2 and 3 : Exercises "​Employees Departments Projects"​ ====
  
-  * {{:​teaching:​infoh415:​infoh415_tp02_03_slides.pdf|Recap}} +  * {{:​teaching:​infoh415:​2019_infoh415_tp02_03_slides.pdf|Recap}} 
-  * {{:​teaching:​infoh415:​infoh415_tp02_03_exercices.pdf|Exercises + Solutions ​(Updated: **all** exercises)}}+  * {{:​teaching:​infoh415:​2018_infoh415_tp02_03_exercices_updated.pdf|Exercises + Solutions}}
   * {{teaching:​infoh415:​sdi_actives_constraints_scripts.zip|SQL Server Scripts}}   * {{teaching:​infoh415:​sdi_actives_constraints_scripts.zip|SQL Server Scripts}}
 +
 +
 +
 +
 +
 +===== Graph databases =====
 +
 +==== Sessions 4, 5, 6 ====
 +
 +The commands needed to start the server are written here under. Do not forget to first select the correct databasa as written in the assignment.
 +
 +In Linux, login, then open a terminal window and type the following commands:
 +
 +$ cd /tmp
 +
 +$ tar xJf /​serveur/​neo4j.tar.xz
 +
 +$ cd neo4j
 +
 +$ ./bin/neo4j console
 +
 +
 +This will launch the server. The address where you can execute your queries should appear in the terminal.
 +
 +  * {{:​teaching:​infoh415:​assigment_graph.pdf|Exercices on Graph Databases}}
 +/*  * {{:​teaching:​infoh415:​data.zip| databases used}} ​ */
 +  * {{:​teaching:​infoh415:​graph_databases_updated.zip| databases used UPDATED}}
 +  * {{:​teaching:​infoh415:​part_3_-_neo4j-practice.pdf| introductory slides }}
 +/*  * {{:​teaching:​infoh415:​graph_db_solutions_1819.pdf|Corrections}} */
 +
  
 ===== Temporal databases ===== ===== Temporal databases =====
  
-==== Sessions ​4and ====+==== Sessions ​7and ====
  
-/​*  ​* {{teaching:​infoh415:​sdi_temporal_slides01.pdf|Recap ​1 (French version)}} */  +  ​* {{:teaching:​infoh415:​infoh415_tp04_05_06_slides1.pdf|Recap}} 
-/*  * {{:​teaching:​infoh415:​sdi_temporal_slides02.pdf|Recap 2 (French version)}} */ +  * {{:​teaching:​infoh415:​temporal_difference_explained_example.pdf| Drawing temporal difference}} 
-  * {{:​teaching:​infoh415:​infoh415_temporal_slides.pdf|Recap}} +  ​{{:​teaching:​infoh415:​temporal_join_example.pdf| Drawing temporal join}} 
-  * {{teaching:​infoh415:​sdi_temporal_exercices.pdf|Exercises and solutions}} +  * {{:​teaching:​infoh415:​traduction_ea.pdf| Traduction of EA schemas}} 
-  * {{teaching:​infoh415:​sdi_temporal_scripts.zip|SQL Server Scripts}}+  * {{:teaching:​infoh415:​infoh415_tp04_05_06_exercices.pdf|Exercises and solutions}} 
 +  * {{:teaching:​infoh415:​infoh415_1415_tp04_05_06_scripts.zip|SQL Server Scripts}} 
 +  * {{:​teaching:​infoh415:​infoh415_tp05_ex10.pdf|Explanation of 10th query exercise}} 
 +  * {{:​teaching:​infoh415:​ex10_aggregation_step_by_step.pdf|10th query step by step drawing}}
  
  
 +/*
 ===== Object databases ===== ===== Object databases =====
  
-==== Session 7: Linq(SQL) ==== +==== Session 7 : LINQ (SQL) ====
-  *{{:​teaching:​infoh415:​sdi_object_linq_sql_slides.pdf|Slides}} +
-  *{{:​teaching:​infoh415:​sdi_object_linq_sql.pdf|Exercises and solutions}} +
-  *[[http://​northwinddatabase.codeplex.com/​|Northwind schema reference]]+
  
 +  * {{:​teaching:​infoh415:​sdi_object_linq_sql_slides.pdf|Slides}}
 +  * {{:​teaching:​infoh415:​sdi_object_linq_sql.pdf|Exercises and solutions}}
  
-==== Session 8: Linq(XML) ==== +==== Session 8 : LINQ (XML) ==== 
-/+  {{:​teaching:​infoh415:​infoh415_tp08_linq-xml_slides.pdf|Slides}} 
-  *{{:​teaching:​infoh415:​sdi_object_slides_linq_xml.pdf|Slides}}+  * {{:​teaching:​infoh415:​infoh415_tp08_linq-xml_exercises.pdf|Exercises and solutions}} 
 +  * {{:​teaching:​infoh415:​dblp-100k.zip|DPLP Xml file}} 
 + 
 +==== Session 9 : Object relational databases (Oracle) ==== 
 + 
 +  * {{:​teaching:​infoh415:​sdi_object_slides_oracle.pdf|Slides}} 
 +  * {{:​teaching:​infoh415:​object-relational.pdf|Exercises and solutions}} 
 +  * [[https://​docs.oracle.com/​cd/​B28359_01/​appdev.111/​b28371/​toc.htm|On-line Oracle documentation]]
 */ */
-  *{{:​teaching:​infoh415:​sdi_object_linq_sql_se2.pdf|Exercises and Solutions}} 
-  *[[http://​msdn.microsoft.com/​en-us/​library/​bb308960.aspx|Linq-to-xml tutorial]] 
-  *[[http://​www.sergeboucher.com/​storage/​teaching/​infoh415/​dblp.xml.zip|XML dataset]] 
  
 +===== Spatial databases (PostGIS) =====
  
-==== Session ​9: Object-Relational (Oracle) ​==== +==== Session ​10 ====
-  *{{:​teaching:​infoh415:​sdi_object_slides_oracle2.pdf|Slides}} +
-  *{{:​teaching:​infoh415:​object-relational.pdf|Exercises and solutions}}+
  
 +  * {{:​teaching:​infoh415:​infoh415_tp_10_exercices_solutions_2018.pdf|Exercises}}
 +  * {{:​teaching:​infoh415:​infoh415_postgis_insertion.zip|}}
 +  * {{:​teaching:​infoh415:​shapefiles.zip}}
 +  * {{:​teaching:​infoh415:​tp_10_txt_corrections.zip|}}
 +  * {{:​teaching:​infoh415:​shapefiles.tar.gz}}
 +  * [[http://​postgis.net/​docs/​index.html|On-line PostGIS documentation]]
 +  * [[http://​postgis.net/​docs/​reference.html#​Management_Functions|On-line PostGIS documentation - Command reference]]
  
-===== Spatial databases =====+==== Session 11 ====
  
-==== Session 10: PostGIS ==== +  ​* {{:​teaching:​infoh415:​infoh415_postgis_bel_alt.zip|bel_alt.vrt}} 
-  ​* {{:​teaching:​infoh415:​infoh415_postgis_exercises.pdf|Exercises}} +  * {{:​teaching:​infoh415:​infoh415_postgis_generate.sql.zip|}} 
-  * {{:​teaching:​infoh415:​infoh415_postgis_insertion.sql.tar.gz|insertion.sql}} +  * {{:​teaching:​infoh415:​infoh415_tp11_exercices.pdf|Exercices}} 
-  * {{:​teaching:​infoh415:​infoh415_postgis_shapefiles.tar.gz|Shapefiles}} +  * {{:​teaching:​infoh415:​infoh415_tp11_slides.pdf|Slides}} 
-  * {{:​teaching:​infoh415:​belgium_data.zip|Shapefiles (zipped)}} +  * {{:​teaching:​infoh415:​infoh415_tp11_commands_and_corrections.zip|Corrections and commands}}
-  * {{:​teaching:​infoh415:​infoh415_postgis_solutions.txt.zip|Solutions}}+
  
-==== Session ​11: PostGIS Raster ​==== +==== Session ​12 ====
-  * {{:​teaching:​infoh415:​infoh415_postgis_raster.pdf|Exercises}} +
-  * {{:​teaching:​infoh415:​infoh415_postgis_generate.sql.zip|generate.sql}} +
-  * {{:​teaching:​infoh415:​infoh415_postgis_bel_alt.zip|Altitude dataset}} +
-  * {{:​teaching:​infoh415:​infoh415_postgis_raster_solutions.txt.tar.gz|Solutions}}+
  
-==== Session 12: Oracle Spatial ==== +  ​* {{:​teaching:​infoh415:​infoh415_2018_tp12_exercices.pdf|Exercices}} 
-  ​* {{:​teaching:​infoh415:​infoh415_sdi_spatial_oracle.pdf|Exercises}} +  * {{:​teaching:​infoh415:​initialisation.zip|Initialisation ​script}} 
-  * {{:​teaching:​infoh415:​infoh415_spatial_oracle_bel_data.zip|Oracle import ​script}} +  * {{:​teaching:​infoh415:​spatial_reference_guide.pdf|References}}
-  * {{:​teaching:​infoh415:​infoh415_spatial_oracle_solutions.pdf|Solutions}}+
 
teaching/infoh415/tp.txt · Last modified: 2024/02/15 11:03 by ezimanyi