java.lang.Object
org.apache.jena.riot.RDFFormat
Constants for writable formats
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RDFFormatVariant
RDF/XML ABBREV variantstatic final RDFFormatVariant
Use ASCII output (N-triples, N-Quads)static final RDFFormatVariant
Print in blocks, typically all triples with the same subject in an incoming triple/quad streamstatic final RDFFormatVariant
Print out one per linestatic final RDFFormat
static final RDFFormat
static final RDFFormat
static final RDFFormat
static RDFFormat
JSON LD 1.1 default form - multi-line JSONstatic RDFFormat
JSON LD 1.1 - single-line JSONstatic RDFFormat
JSON LD 1.1 - multi-line JSONstatic RDFFormat
JSON LD 1.1 - multi-line JSON - prefixes and native types.static final RDFFormatVariant
Print with fixed indentation width and linebreaks after each sequence elementstatic final RDFFormat
N-Quads - RDF 1.1 form - UTF-8static final RDFFormat
N-Quads - RDF 1.1 form - UTF-8static final RDFFormat
N-Quads - Use ASCIIstatic final RDFFormat
N-Quads in UTF-8static final RDFFormat
N-Triples - RDF 1.1 form - UTF-8static final RDFFormat
N-Triples - RDF 1.1 form - UTF-8static final RDFFormat
N-Triples - Use ASCIIstatic final RDFFormat
N-Triples in UTF-8static final RDFFormatVariant
Plain printing variantstatic final RDFFormatVariant
Pretty printing variantstatic final RDFFormat
RDF Protobuf output.static final RDFFormat
A variant of an an RDFFormat that uses value encoding (e.g. integers, doubles, decimals as binary).static final RDFFormat
RDF Thrift output.static final RDFFormat
A variant of an an RDFFormat that uses value encoding (e.g. integers, doubles, decimals as binary).static final RDFFormat
static final RDFFormat
The "null" output format (a sink that prints nothing, usually quite efficiently)static final RDFFormat
Stream-only output format for development - flushes every line.static final RDFFormat
static final RDFFormat
static final RDFFormat
static final RDFFormat
static final RDFFormat
SHACL Compact Syntaxstatic final RDFFormat
TriG - default formstatic final RDFFormat
TriG - write in blocks of triples, with same subject, no nested object or RDF listsstatic final RDFFormat
TriG - one line per triplestatic final RDFFormat
TriG - with fixed indentation width and linebreaks after each sequence elementstatic final RDFFormat
TriG - pretty formstatic final RDFFormat
static final RDFFormat
Turtle - short namestatic final RDFFormat
Turtle - default formstatic final RDFFormat
Turtle - write in blocks of triples, with same subject, no nested object or RDF listsstatic final RDFFormat
Turtle - one line per triplestatic final RDFFormat
Turtle - with fixed indentation width and linebreaks after each sequence elementstatic final RDFFormat
Turtle - pretty formstatic final RDFFormatVariant
Use UTF-8 output (N-triples, N-Quads)static final RDFFormatVariant
Variant for RDF Thrift using values -
Constructor Summary
-
Method Summary
-
Field Details
-
PRETTY
Pretty printing variant -
PLAIN
Plain printing variant -
BLOCKS
Print in blocks, typically all triples with the same subject in an incoming triple/quad stream -
FLAT
Print out one per line -
LONG
Print with fixed indentation width and linebreaks after each sequence element -
ASCII
Use ASCII output (N-triples, N-Quads) -
UTF8
Use UTF-8 output (N-triples, N-Quads) -
ValueEncoding
Variant for RDF Thrift using values -
TURTLE_PRETTY
Turtle - pretty form -
TURTLE
Turtle - default form -
TTL
Turtle - short name -
TURTLE_BLOCKS
Turtle - write in blocks of triples, with same subject, no nested object or RDF lists -
TURTLE_FLAT
Turtle - one line per triple -
TURTLE_LONG
Turtle - with fixed indentation width and linebreaks after each sequence element -
NTRIPLES_UTF8
N-Triples in UTF-8 -
NTRIPLES
N-Triples - RDF 1.1 form - UTF-8 -
NT
N-Triples - RDF 1.1 form - UTF-8 -
NTRIPLES_ASCII
N-Triples - Use ASCII -
NQUADS_UTF8
N-Quads in UTF-8 -
NQUADS
N-Quads - RDF 1.1 form - UTF-8 -
NQ
N-Quads - RDF 1.1 form - UTF-8 -
NQUADS_ASCII
N-Quads - Use ASCII -
TRIG_PRETTY
TriG - pretty form -
TRIG
TriG - default form -
TRIG_BLOCKS
TriG - write in blocks of triples, with same subject, no nested object or RDF lists -
TRIG_FLAT
TriG - one line per triple -
TRIG_LONG
TriG - with fixed indentation width and linebreaks after each sequence element -
SHACLC
SHACL Compact Syntax -
JSONLD11_PRETTY
JSON LD 1.1 - multi-line JSON - prefixes and native types. -
JSONLD11_PLAIN
JSON LD 1.1 - multi-line JSON -
JSONLD11_FLAT
JSON LD 1.1 - single-line JSON -
JSONLD11
JSON LD 1.1 default form - multi-line JSON -
JSONLD_PRETTY
-
JSONLD_PLAIN
-
JSONLD
-
JSONLD_FLAT
-
ABBREV
RDF/XML ABBREV variant -
RDFXML_PRETTY
-
RDFXML_ABBREV
-
RDFXML
-
RDFXML_PLAIN
-
RDFJSON
-
TRIX
-
RDF_PROTO
RDF Protobuf output. This format is faithful representation of RDF written and it is suitable for database dumps. It does not encode numeric literals as values (seeRDF_PROTO_VALUES
).- See Also:
-
RDF_PROTO_VALUES
A variant of an an RDFFormat that uses value encoding (e.g. integers, doubles, decimals as binary). This does not preserve exact representation (+001 is the same value as 1, +1 and 001) which may matter for database dumps. It looses datatype for derived types (xsd:long, xsd:int, xsd:short and xsd:byte become xsd:integer). For large volumes of numeric data, it may provide a significant reduction in size in combination with using prefixes for subjects and predicates.- See Also:
-
RDF_THRIFT
RDF Thrift output. This format is faithful representation of RDF written and it is suitable for database dumps. It does not encode numeric literals as values (seeRDF_THRIFT_VALUES
).- See Also:
-
RDF_THRIFT_VALUES
A variant of an an RDFFormat that uses value encoding (e.g. integers, doubles, decimals as binary). This does not preserve exact representation (+001 is the same value as 1, +1 and 001) which may matter for database dumps. It looses datatype for derived types (xsd:long, xsd:int, xsd:short and xsd:byte become xsd:integer). For large volumes of numeric data, it may provide a significant reduction in size in combination with using prefixes for subjects and predicates.- See Also:
-
RDFNULL
The "null" output format (a sink that prints nothing, usually quite efficiently) -
RDFRAW
Stream-only output format for development - flushes every line.
-
-
Constructor Details
-
RDFFormat
-
RDFFormat
-
-
Method Details