List of usage examples for org.apache.commons.rdf.rdf4j RDF4J RDF4J
public RDF4J()
From source file:org.apache.commons.rdf.integrationtests.JSONLDParsingTest.java
private void rdf4jParse(URL url) throws IOException { Model model;// w ww . j av a 2 s .c o m try (InputStream in = url.openStream()) { model = Rio.parse(in, url.toExternalForm(), RDFFormat.JSONLD); } RDF4JGraph graph = new RDF4J().asGraph(model); checkGraph(graph); }