public class OWLAPIUtil extends Object
| Constructor and Description |
|---|
OWLAPIUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Set<org.semanticweb.owlapi.io.RDFTriple> |
readRDFXML(InputSource is)
Deprecated.
only TURTLE is the standard for the syntax of R2RML mappings
|
static Set<org.semanticweb.owlapi.io.RDFTriple> |
readTurtle(InputStream is)
A Turtle parser.
|
static void |
writeTurtle(OutputStream os,
Set<org.semanticweb.owlapi.io.RDFTriple> s)
A very simple RDF Turtle writer.
|
public static void writeTurtle(OutputStream os, Set<org.semanticweb.owlapi.io.RDFTriple> s) throws IOException
os - The outputstream to write to.s - The set of RDFTriples that will be written.IOExceptionpublic static Set<org.semanticweb.owlapi.io.RDFTriple> readTurtle(InputStream is) throws org.semanticweb.owlapi.model.OWLOntologyCreationException, IOException
is - The InputStream to read from.org.semanticweb.owlapi.model.OWLOntologyCreationExceptionIOException@Deprecated public static Set<org.semanticweb.owlapi.io.RDFTriple> readRDFXML(InputSource is) throws SAXException, IOException
is - The InputStream to read from.SAXExceptionIOExceptionCopyright © 2017. All rights reserved.