-
Notifications
You must be signed in to change notification settings - Fork 17
xdi2 core
Markus Sabadello edited this page Feb 6, 2017
·
42 revisions
Implementation of the XDI graph model and several higher-level features [.jar]
- Introduction to the XDI graph model
- How to (de-)serialize XDI graphs
- Available graph stores
- How to work with dictionaries
- How to work with literal data types
- How to work with link contracts and policies
<dependency>
<groupId>xdi2</groupId>
<artifactId>xdi2-core</artifactId>
<version>${xdi2-version}</version>
<scope>compile</scope>
</dependency>
Graph graph = MemoryGraphFactory.getInstance().openGraph();
graph.setStatement(XDIStatement.create("=markus<#email>/&/\"markus@danubetech.com\""));
graph.setStatement(XDIStatement.create("=markus/#friend/=animesh"));
System.out.println(graph.toString("JXD", null));
For examples, see the following Github repository:
This work is licensed under a Creative Commons Attribution 4.0 International License.