Skip to content

Instantly share code, notes, and snippets.

@krux02
Created February 22, 2018 13:32
Show Gist options
  • Save krux02/bcebfc3e9443b485e9d24f4f61668416 to your computer and use it in GitHub Desktop.
Save krux02/bcebfc3e9443b485e9d24f4f61668416 to your computer and use it in GitHub Desktop.
type
PublicationData = object
title*: string
date*: string
uri*: option[string]
recordId*: int
Publisher = string
Keyword = string
graphDsl(PublicationGraph):
debug
nodeTypes:
Publication = PublicationData
Project
Outlet
Author
Keyword
Publisher
Institute
connectivity:
Publication * .. 1 Publisher
Publication * .. * Project
Publication * .. 1 Outlet
Publication * .. * Author
Publication * .. 1 Institute
Publication * .. * Keyword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment