Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
presbrey committed May 29, 2014
0 parents commit 5d484c9
Show file tree
Hide file tree
Showing 15 changed files with 6,556 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# gojsonld

ported from:
https://github.com/jsonld-java/jsonld-java/tree/master/core/src/main/java/com/github/jsonldjava/core

needs much work
26 changes: 26 additions & 0 deletions consts.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package gojsonld

const (
RDF_SYNTAX_NS = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
RDF_SCHEMA_NS = "http://www.w3.org/2000/01/rdf-schema#"
XSD_NS = "http://www.w3.org/2001/XMLSchema#"

XSD_ANYTYPE = XSD_NS + "anyType"
XSD_BOOLEAN = XSD_NS + "boolean"
XSD_DOUBLE = XSD_NS + "double"
XSD_INTEGER = XSD_NS + "integer"
XSD_FLOAT = XSD_NS + "float"
XSD_DECIMAL = XSD_NS + "decimal"
XSD_ANYURI = XSD_NS + "anyURI"
XSD_STRING = XSD_NS + "string"

RDF_TYPE = RDF_SYNTAX_NS + "type"
RDF_FIRST = RDF_SYNTAX_NS + "first"
RDF_REST = RDF_SYNTAX_NS + "rest"
RDF_NIL = RDF_SYNTAX_NS + "nil"
RDF_PLAIN_LITERAL = RDF_SYNTAX_NS + "PlainLiteral"
RDF_XML_LITERAL = RDF_SYNTAX_NS + "XMLLiteral"
RDF_OBJECT = RDF_SYNTAX_NS + "object"
RDF_LANGSTRING = RDF_SYNTAX_NS + "langString"
RDF_LIST = RDF_SYNTAX_NS + "List"
)
Loading

0 comments on commit 5d484c9

Please sign in to comment.