<slideshow style="bitplan" headingmark="⌘⌘" incmark="…" scaled="true" font="Comic Sans MS, Calibri, cursive" >
</slideshow>
| |
Peugeot Ion |
Giant Explore |
| |
Peugeot Ion |
Giant Explore |
If the world is represented as a Graph it would be nice to have a Simple Graph Navigation Language
The file "mwstore://local-backend/local-public/diagrams/archive/20241121163056!Diagrams_bc452c46ed3a2bc487aef5a8e277ff12.png" already exists.
see SMWCon Fall 2018
see also PreHistory (clickable)
The file "mwstore://local-backend/local-public/diagrams/archive/20241121163056!Diagrams_8b983f2c304b62ae30ef611e67d0d61a.png" already exists.
5 Steps
Each SimpleGraph Module transforms data from some API to a Graph representation. The transformation is usually as "straight-forward" or "natural" as possible.
Each SimpleGraph Module uses the following steps to translate from an API to the graph
SimpleGraph is based on Apache Gremlin/Tinkerpop so all the algorithm and libraries around this graph environment are directly available. If a different graph kernel and or algorithm is needed than the graph can be translated / imported via standard graph import/export formats and or import/export adapters and utilities.
BITPlan e.g. often uses Semantic MediaWiki as a suitable environment.
There are two modes for exploiting the information:
Simplegraph allows to work with "graphized" information source from a combination of APIs that are made available as modules.
Module | System wrapped | API exposed | Description |
---|---|---|---|
FileSystem | FileSystem | java.io.File | makes your FileSystem accessible via the Java FileSystem API |
GitHub | GitHub | GitHub GraphQL Api v4 | makes GitHub content accessible to Graph processing. |
Java | Java | javaparser | makes Java code parse results accessible to Graph processing. |
E-Mail access for rfc822 and MIME formatted Mailbox files (e.g. Thunderbird) | makes Mail data available via Apache Mime4J | ||
SMW | SMW | SemanticMedia Wiki API | makes Semantic MediaWiki accessible via the SMW API |
XML | XML | org.w3c.dom | makes XML dom parse results accessible to Graph processing. |
Apache Tinkerpop is an Open Source project. Gremlin is the GraphTraversal Language for it.
The Dragtop Open Source Software makes the SimpleGraph modules available for direct access from your Desktop. By simple drag and drop of the input onto the dragtop and then dropping a "tool" onto the dragtop you can combine the module functionality as you see fit.
FileSystem fs=new FileSystem();
FileNode start = (FileNode) fs.connect("").moveTo(aroot.getPath());
start.recursiveOut("files",Integer.MAX_VALUE);
List<Vertex> javaFileNodes=start.g().V().has("ext", "java").toList();
List<Vertex> classFileNodes=start.g().V().has("ext", "class").toList()