java.lang.Object
org.apache.jena.riot.RDFFormat
Constants for writable formats
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RDFFormatVariantRDF/XML ABBREV variantstatic final RDFFormatVariantUse ASCII output (N-triples, N-Quads)static final RDFFormatVariantPrint in blocks, typically all triples with the same subject in an incoming triple/quad streamstatic final RDFFormatVariantPrint out one per linestatic final RDFFormatstatic final RDFFormatstatic final RDFFormatstatic final RDFFormatstatic RDFFormatJSON LD 1.1 default form - multi-line JSONstatic RDFFormatJSON LD 1.1 - single-line JSONstatic RDFFormatJSON LD 1.1 - multi-line JSONstatic RDFFormatJSON LD 1.1 - multi-line JSON - prefixes and native types.static final RDFFormatVariantPrint with fixed indentation width and linebreaks after each sequence elementstatic final RDFFormatN-Quads - RDF 1.1 form - UTF-8static final RDFFormatN-Quads - RDF 1.1 form - UTF-8static final RDFFormatN-Quads - Use ASCIIstatic final RDFFormatN-Quads in UTF-8static final RDFFormatN-Triples - RDF 1.1 form - UTF-8static final RDFFormatN-Triples - RDF 1.1 form - UTF-8static final RDFFormatN-Triples - Use ASCIIstatic final RDFFormatN-Triples in UTF-8static final RDFFormatVariantPlain printing variantstatic final RDFFormatVariantPretty printing variantstatic final RDFFormatRDF Protobuf output.static final RDFFormatA variant of an an RDFFormat that uses value encoding (e.g. integers, doubles, decimals as binary).static final RDFFormatRDF Thrift output.static final RDFFormatA variant of an an RDFFormat that uses value encoding (e.g. integers, doubles, decimals as binary).static final RDFFormatstatic final RDFFormatThe "null" output format (a sink that prints nothing, usually quite efficiently)static final RDFFormatStream-only output format for development - flushes every line.static final RDFFormatstatic final RDFFormatstatic final RDFFormatstatic final RDFFormatstatic final RDFFormatSHACL Compact Syntaxstatic final RDFFormatTriG - default formstatic final RDFFormatTriG - write in blocks of triples, with same subject, no nested object or RDF listsstatic final RDFFormatTriG - one line per triplestatic final RDFFormatTriG - with fixed indentation width and linebreaks after each sequence elementstatic final RDFFormatTriG - pretty formstatic final RDFFormatstatic final RDFFormatTurtle - short namestatic final RDFFormatTurtle - default formstatic final RDFFormatTurtle - write in blocks of triples, with same subject, no nested object or RDF listsstatic final RDFFormatTurtle - one line per triplestatic final RDFFormatTurtle - with fixed indentation width and linebreaks after each sequence elementstatic final RDFFormatTurtle - pretty formstatic final RDFFormatVariantUse UTF-8 output (N-triples, N-Quads)static final RDFFormatVariantVariant for RDF Thrift using values -
Constructor Summary
Constructors -
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