Skip to content

Instantly share code, notes, and snippets.

@ochafik
Created November 19, 2024 19:36
Show Gist options
  • Select an option

  • Save ochafik/ccf2a5353993a276c6cd46db718f6a31 to your computer and use it in GitHub Desktop.

Select an option

Save ochafik/ccf2a5353993a276c6cd46db718f6a31 to your computer and use it in GitHub Desktop.
Knowledge Graph visitation as Gradient Descent!
image
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%

flowchart TD
    SPO{S P O} --> |subject| S
    SPO --> |predicate| P
    SPO --> |object| O

    SP{S P} -.-> SPO
    SP -.-> S
    SP -.-> P

    SO{S O} -.-> SPO
    SO -.-> S
    SO -.-> O

    PO{P O} -.-> SPO
    PO -.-> P
    PO -.-> O

    SPOQualVal{SPO Qual Val} --> |qualifies| SPO
    SPO -.-> SPOQualVal
    SPOQualVal --> |predicate| Qual
    Qual -.-> SPOQualVal
    SPOQualVal --> |object| Val
    Val -.-> SPOQualVal

  
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment