digraph D { Publication [shape="box",label=<

:Publication
id: int
year: int
title: string
:Article
references: string
metadataVersion: string
pagesInJournal: "[int]-[int]"
volume: string
:Book
isbn: string
metadataVersion: string
pages: "[int]-[int]"
:MastersThesis
metadataVersion: string
references: string
:MastersThesis
metadataVersion: string
references: string
pagesInJournal: "[int]-[int]"
volume: string
:WWW
references: string
metadataVersion: string
pagesInJournal: "[int]-[int]"
url: string
>] Author [shape="box", label=<
:Author
id: int
name: string
>] Editor [shape="box", label=<
:Editor
id: int
name: string
>] Publisher [shape="box", label=<
:Publsher
id: int
name: string
>] Journal [shape="box", label=<
:Journal
id: int
name: string
>] School [shape="box", label=<
:School
id: int
name: string
>] Publication -> Author [label=" :AUTHORED_BY\n(1 or many)"] Publication -> Editor [label=" :EDITED_BY\n(0 or 1)"] Publication -> Publisher [label=" :PUBLISHED_BY\n(0 or 1)"] Publication -> Journal [label=" :PUBLISHED_IN\n(0 or 1)"] Publication -> School [label=" :SUBMITTED_AT\n(0 or many)"] }