public final class RioUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.openrdf.model.Statement |
tripleAsStatement(org.semanticweb.owlapi.io.RDFTriple triple)
Create a Statement based on the given RDFTriple, with an empty context.
|
static Collection<org.openrdf.model.Statement> |
tripleAsStatements(org.semanticweb.owlapi.io.RDFTriple triple,
org.openrdf.model.Resource... contexts)
Create a collection of Statements with the given contexts.
|
@Nullable public static org.openrdf.model.Statement tripleAsStatement(org.semanticweb.owlapi.io.RDFTriple triple)
triple - The OWLAPI RDFTriple to convert.Statement representing the given RDFTriple.public static Collection<org.openrdf.model.Statement> tripleAsStatements(org.semanticweb.owlapi.io.RDFTriple triple, org.openrdf.model.Resource... contexts)
triple - The OWLAPI RDFTriple to convert.contexts - If context is not null, it is used to create a context statementStatements representing the given
RDFTriple in each of the given contexts.Copyright © 2016 The University of Manchester. All Rights Reserved.