Example usage for org.apache.commons.rdf.jena JenaDataset getGraph

List of usage examples for org.apache.commons.rdf.jena JenaDataset getGraph

Introduction

In this page you can find the example usage for org.apache.commons.rdf.jena JenaDataset getGraph.

Prototype

Graph getGraph();

Source Link

Document

Get the default graph of this dataset.

Usage

From source file:org.apache.commons.rdf.integrationtests.JSONLDParsingTest.java

private void jenaParse(URL url) {
    JenaDataset dataset = new JenaRDF().createDataset();
    RDFDataMgr.read(dataset.asJenaDatasetGraph(), url.toExternalForm());
    checkGraph(dataset.getGraph());
}