Package | Description |
---|---|
com.github.jsonldjava.core | |
com.github.jsonldjava.impl |
Modifier and Type | Method and Description |
---|---|
RDFDataset |
RDFParser.parse(Object input)
Parse the input into the internal RDF Dataset format The format is a Map
with the following structure: { GRAPH_1: [ TRIPLE_1, TRIPLE_2, ...,
TRIPLE_N ], GRAPH_2: [ TRIPLE_1, TRIPLE_2, ..., TRIPLE_N ], ...
|
static RDFDataset |
RDFDatasetUtils.parseNQuads(String input)
Parses RDF in the form of N-Quads.
|
RDFDataset |
JsonLdApi.toRDF()
Adds RDF triples for each graph in the current node map to an RDF
dataset.
|
Modifier and Type | Method and Description |
---|---|
Object |
JsonLdTripleCallback.call(RDFDataset dataset)
Construct output based on internal RDF dataset format
|
List<Object> |
JsonLdApi.fromRDF(RDFDataset dataset)
Converts RDF statements into JSON-LD.
|
static String |
RDFDatasetUtils.toNQuads(RDFDataset dataset) |
static void |
RDFDatasetUtils.toNQuads(RDFDataset dataset,
StringBuilder output) |
Modifier and Type | Method and Description |
---|---|
RDFDataset |
NQuadRDFParser.parse(Object input) |
RDFDataset |
TurtleRDFParser.parse(Object input) |
Modifier and Type | Method and Description |
---|---|
Object |
TurtleTripleCallback.call(RDFDataset dataset) |
Object |
NQuadTripleCallback.call(RDFDataset dataset) |
Copyright © 2019. All rights reserved.