Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We can add models here :-) #4

Open
jpadfield opened this issue Apr 3, 2023 · 0 comments
Open

We can add models here :-) #4

jpadfield opened this issue Apr 3, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@jpadfield
Copy link
Collaborator

Hi just as an example the mermaid model system that I have used before and am using now for several projects can be pasted straight into issues and discussions here on GitHub:

So, just in case it is useful here is an example:

flowchart LR
classDef object stroke:#2C5D98,fill:#2C5D98,color:white,rx:5px,ry:5px;
classDef url stroke:#2C5D98,fill:white,color:#2C5D98,rx:5px,ry:5px;
classDef literal stroke:black,fill:#f0f0e0,color:black,rx:2px,ry:2px,max-width:100px;
classDef type stroke:#502604,fill:#FAB565,color:#502604,rx:20px,ry:20px;;
classDef thing stroke:#2C5D98,fill:#D0E5FF,color:#2C5D98,rx:5px,ry:5px;


O0("This Model")
class O0 object;

O1("https://linked.art/ns/v1/linked-art.json")
class O1 url;
click O1 "https://linked.art/ns/v1/linked-art.json"
O0["This Model"] -- has context -->O1["https://linked.art/ns/v1/linked-art.json"]

O2("lae:object/33")
class O2 literal;

O3("HumanMadeObject")
class O3 type;
O2["lae:object/33"] -- type -->O3["HumanMadeObject"]

O4("Example Painting")
class O4 literal;
O2["lae:object/33"] -- _label -->O4["Example Painting"]

O5("aat:300033618")
class O5 type;
click O5 "http://vocab.getty.edu/aat/300033618" "Link to: http://vocab.getty.edu ..."; 
O2["lae:object/33"] -- classified_as -->O5["aat:300033618"]

O6("Type-5")
class O6 literal;
O5["aat:300033618"] -- type -->O6["Type"]

O7("Painting")
class O7 literal;
O5["aat:300033618"] -- _label -->O7["Painting"]

O8("aat:300435443")
class O8 type;
click O8 "http://vocab.getty.edu/aat/300435443" "Link to: http://vocab.getty.edu ..."; 
O5["aat:300033618"] -- classified_as -->O8["aat:300435443"]

O9("Type-8")
class O9 literal;
O8["aat:300435443"] -- type -->O9["Type"]

O10("Type of Work")
class O10 literal;
O8["aat:300435443"] -- _label -->O10["Type of Work"]

O11("aat:300133025")
class O11 type;
click O11 "http://vocab.getty.edu/aat/300133025" "Link to: http://vocab.getty.edu ..."; 
O2["lae:object/33"] -- classified_as -->O11["aat:300133025"]

O12("Type-11")
class O12 literal;
O11["aat:300133025"] -- type -->O12["Type"]

O13("Artwork")
class O13 literal;
O11["aat:300133025"] -- _label -->O13["Artwork"]

O14("_BN1")
class O14 thing;
O2["lae:object/33"] -- referred_to_by -->O14["_BN1"]

O15("LinguisticObject")
class O15 type;
O14["_BN1"] -- type -->O15["LinguisticObject"]

O16("aat:300435416")
class O16 type;
click O16 "http://vocab.getty.edu/aat/300435416" "Link to: http://vocab.getty.edu ..."; 
O14["_BN1"] -- classified_as -->O16["aat:300435416"]

O17("Type-16")
class O17 literal;
O16["aat:300435416"] -- type -->O17["Type"]

O18("Description")
class O18 literal;
O16["aat:300435416"] -- _label -->O18["Description"]

O19("aat:300418049")
class O19 type;
click O19 "http://vocab.getty.edu/aat/300418049" "Link to: http://vocab.getty.edu ..."; 
O16["aat:300435416"] -- classified_as -->O19["aat:300418049"]

O20("Type-19")
class O20 literal;
O19["aat:300418049"] -- type -->O20["Type"]

O21("Brief Text")
class O21 literal;
O19["aat:300418049"] -- _label -->O21["Brief Text"]

O22("The Example Painting is a great example of exampleness.")
class O22 literal;
O14["_BN1"] -- content -->O22["The Example Painting is a great example of exampleness."]
;
Loading

And this only took me 5 minutes or so to create from the details on the linked.art website: https://linked.art/model/object/aboutness/

@jpadfield jpadfield added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant