Giter Club home page Giter Club logo

Comments (3)

gastil avatar gastil commented on August 21, 2024

(c) A cross-reference table

DataSetID integer NOT NULL,
pub_id varchar NOT NULL,
relationship varchar NOT NULL,
notes text,
CONSTRAINT data_pub_xref_pk PRIMARY KEY ("DataSetID",pub_id,relationship)
  • I include relationship in the pk because, theoretically, a paper could appear in more than one of those elements. Not likely, and I will entertain argument to remove that from pk.
  • All three of those pk columns must be a controlled vocab. The relationships can be in a CHECK constraint for the three elements you mentioned, plus 'undefined' for wiggle room. Obviously the parent for DataSetID table DataSet. The parent for pub_id will be whatever that site uses locally. That does present an install challenge.
  • Because we want to keep our core-mb at 4th normal form.
  • Because the biblio schema already supports pub_id (although I forget the name of that column, but you get the idea.) A site may have another schema for pubs, as MCR does, but still want to use that schema together with core-mb.
  • How the citation text string or pieces are stored is outside the scope of core-mb and within scope of a biblio schema. Ideally that biblio schema is within the same database as core-mb so it is accessible to VIEWs and and FKs.

from lter-core-metabase.

gastil avatar gastil commented on August 21, 2024

Side comment: usageCitation within the EML is not how I want to manage that information. External tools allow us to add such relationships after a revision of a dataset gets its doi minted. You can see how, otherwise, one has a chicken-and-egg conundrum.

from lter-core-metabase.

twhiteaker avatar twhiteaker commented on August 21, 2024

I see your point about usageCitation.

How would you enforce (0, 1) between a dataset and a publication for referencePublication?

from lter-core-metabase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.