Skip to content

Instantly share code, notes, and snippets.

@dwinston
Last active February 6, 2023 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwinston/0cb77de52d6797a962f8195213f6ecf4 to your computer and use it in GitHub Desktop.
Save dwinston/0cb77de52d6797a962f8195213f6ecf4 to your computer and use it in GitHub Desktop.
IBIS Lite + PM
%%{ init: { 'flowchart': { 'curve': 'monotoneX' } } }%%
flowchart LR 
    Concept["skos:Concept"]
    Issue["ibis:Issue"]
    Agent["prov:Agent"]
    Position["ibis:Position"]

    %% <ibis>

    ConceptScheme["skos:ConceptScheme"]
    Argument["ibis:Argument"]    
    Network["ibis:Network"]
    Invariant["ibis:Invariant"]

    Issue-.->|specializes|Concept
    Position-.->|specializes|Concept
    Argument-.->|specializes|Issue

    Position-->|responds to|Issue
    Argument-->|supports|Position
    Argument-->|opposes|Position
    Concept-->|replaces|Concept
    %%Agent-->|endorses|Concept
    Concept-->|endorsed by|Agent
    %%Concept-.->|generalizes|Invariant
    Invariant-.->|specializes|Concept
    %%ConceptScheme-.->|generalizes|Network
    Network-.->|specializes|ConceptScheme
    Concept-->|in scheme|ConceptScheme
    Issue-->|concerns|Concept
    

    %%Issue-->|questions|Concept
    %%questions subPropertyOf concerns
    %%Issue-->|suggested by|Concept
    %%suggestedBy subPropertyOf concerns

    %% </ibis>

    State["pm:State"]
    Goal["pm:Goal"]
    Target["pm:Target"]
    Task["pm:Task"]
    Event["ev:Event"]
    Action["pm:Action"]
    Method["pm:Method"]
    Person["prov:Person"]
    DueDate["Due Date"]

    %%Concept-.->|generalizes|State
    %%State-.->|generalizes|Goal
    %%Goal-.->|generalizes|Target
    %%Issue-.->|generalizes|Goal
    State-.->|specializes|Concept
    Target-.->|specializes|Goal
    Goal-.->|specializes|Issue  
    Goal-.->|specializes|State 
    
    %%Position-.->|generalizes|Task
    Task-.->|specializes|Position
    Action-.->|specializes|Event 
    Task-.->|specializes|Action
    Method-.->|specializes|Action

    Task-->|achieves|Goal
    Task-->|status|State
    Task-->|method|Method
    Task-->|recipient|Person
    Task-->|responsible|Person
    Task-->|subtask|Task
    Target-->|initiates|Task
    Target-->|anchors|Goal
    Target-->|due|DueDate
    Target-->|budget|Budget
    Agent-->|desires|Goal
    Person-->|specializes|Agent
    Action-->|dependency|State 
    Action-->|outcome|State 
    Action-->|context|State 
    Action-->|variant|Action 
    Action-->|performer|Person 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment