Open lvergergsk opened 6 years ago
SQL file is here: dblpCreateTables-OracleDB.zip
For updated ER diagram in #6.
@kenkangxgwe Please check SQL code to make sure this is what you mean.
Where is the collect relationship table? Please see https://github.com/lvergergsk/BibGallery-FrontEnd/issues/6#issuecomment-369359451
@kenkangxgwe According to this slide, 1:m relation does not need a separate table. Each attribute on this relation is can be moved to "m" side. (This makes performance better.)
The reason why we need to separate the relationship table out from the publication
table is that not all of the publication are "Article", "Inproceedings" or "Incollection", for those tuples are not the above three types, they do not have a corresponding collected relationship. This results in the sparse of the collect
column. @lvergergsk
@kenkangxgwe Sorry, I'm not persuaded, please allow me to give mine point.
The original is like this: COLLECTION - publication_id (sparse here.) -> PUBLICATION Your proposed schema is like this: COLLECTION - collection_id -> COLLECT - publication_id (sparse here.) ->PUBLICATION They both have a sparse connection.
We don't have a collect
column, In your ER diagram, you say COLLECT table use publication_id as the primary key. So the publication_id is a foreign key and primary key of COLLECTION, this already established the relation, I don't see the point to add another table.
Here is SQL file: dblpCreateTables-OracleDB.zip
Adjusted schema. Tell me if a problem exists.
Required screenshot for deliverable 3
I have updated the schema. @lvergergsk https://github.com/lvergergsk/BibGallery-FrontEnd/issues/6#issuecomment-369359451
Screenshot request for deliverable 3.
Here is SQL file: dblpCreateTables-OracleDB.zip
A basic structure is created according to #6. schema design may need improvement due to complexity and availability of data.