block by saraquigley 78447483e2f937d47068e41e71e238c4

Knowledge tree DSL

Full Screen

An example of a Domain-Specific Language for the definition of small knowledge graphs, building on the tangled tree language.

Indentation is used to define a hierarchy of nodes (black) and links (red). Links can be inverted by using < or >.

Three types of links have a special meaning: isA is used to define superclass-subclass relationships, instanceOf links an instance to its class, and denotes links a linguistic term to the concept it stands for.

(Needs cleanup: part of the code for the temporal knowledge graph is still included).

forked from nitaku‘s block: Knowledge tree DSL

index.js

index.html

AppView.coffee

AppView.js

Editor.coffee

Editor.css

Editor.js

Graph.coffee

Graph.js

NodeLink.coffee

NodeLink.css

NodeLink.js

backbone.d3view.js

index.coffee

index.css

knowledge.peg.js

tsort.js