GeezerVison is showing github.com — GitHub - jsonld-java/jsonld-java-rdf2go: Integration of JSONLD-Java with RDF2GO
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
JSONLD-Java RDF2Go Integration module

<dependency>
<groupId>com.github.jsonld-java</groupId>
<artifactId>jsonld-java-rdf2go</artifactId>
<version>0.12.0</version>
</dependency>
Serializing RDF into JSON-LD using RDF2GoRDFParser
import com.github.jsonldjava.rdf2go.*;
ModelSet modelSet = ...; // also works with a Model
RDF2GoRDFParser parser = new RDF2GoRDFParser();
Object json = JSONLD.fromRDF(modelSet, parser);
Parsing JSON-LD, and convert it into a ModelSet
RDF2GoTripleCallback callback = new RDF2GoTripleCallback();
ModelSet model = (ModelSet) JSONLD.toRDF(input, callback);
About
Integration of JSONLD-Java with RDF2GO
Resources
Stars
6 stars
Watchers
2 watching
Forks