org.trippi
Class RDFFormat

java.lang.Object
  extended by org.trippi.RDFFormat

public class RDFFormat
extends java.lang.Object

Data formats RDF triples/tuples.

Author:
cwilper@cs.cornell.edu

Field Summary
static RDFFormat[] ALL
           
static RDFFormat CSV
          Comma-separated values.
static RDFFormat N_TRIPLES
          An older subset of Notation 3 defined in the RDF Test Cases document.
static RDFFormat NOTATION_3
          The original RDF text format, defined by TimBL in An RDF language for the Semantic Web.
static RDFFormat RDF_XML
          The "RDF/XML" format, defined in the RDF/XML Syntax Specification
static RDFFormat SIMPLE
          A simple text format that has each name-value pair on a separate line.
static RDFFormat SPARQL
          The format devised by the RDF Data Access Working Group to return SPARQL query results.
static RDFFormat TSV
          Tab-separated values.
static RDFFormat TURTLE
          A newer subset of Notation 3, defined in Dave Beckett's Turtle - Terse RDF Triple Language.
 
Method Summary
static RDFFormat forName(java.lang.String name)
           
 java.lang.String getEncoding()
           
 java.lang.String getExtension()
           
 java.lang.String getMediaType()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

N_TRIPLES

public static final RDFFormat N_TRIPLES
An older subset of Notation 3 defined in the RDF Test Cases document.


NOTATION_3

public static final RDFFormat NOTATION_3
The original RDF text format, defined by TimBL in An RDF language for the Semantic Web.


RDF_XML

public static final RDFFormat RDF_XML
The "RDF/XML" format, defined in the RDF/XML Syntax Specification


TURTLE

public static final RDFFormat TURTLE
A newer subset of Notation 3, defined in Dave Beckett's Turtle - Terse RDF Triple Language.


CSV

public static final RDFFormat CSV
Comma-separated values.


SPARQL

public static final RDFFormat SPARQL
The format devised by the RDF Data Access Working Group to return SPARQL query results. This format is still in development.


SIMPLE

public static final RDFFormat SIMPLE
A simple text format that has each name-value pair on a separate line.


TSV

public static final RDFFormat TSV
Tab-separated values.


ALL

public static final RDFFormat[] ALL
Method Detail

getName

public java.lang.String getName()

getEncoding

public java.lang.String getEncoding()

getMediaType

public java.lang.String getMediaType()

getExtension

public java.lang.String getExtension()

forName

public static RDFFormat forName(java.lang.String name)
                         throws TrippiException
Throws:
TrippiException