You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/05/26 23:10:20 UTC
[2/2] jena git commit: Add JSON-LD
Add JSON-LD
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/413316e1
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/413316e1
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/413316e1
Branch: refs/heads/master
Commit: 413316e162eb9e9dc0a1fa072697259c0f22ba82
Parents: 31a1d86
Author: Andy Seaborne <an...@apache.org>
Authored: Tue May 26 22:10:12 2015 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue May 26 22:10:12 2015 +0100
----------------------------------------------------------------------
jena-fuseki2/apache-jena-fuseki/bin/s-delete | 4 +++-
jena-fuseki2/apache-jena-fuseki/bin/s-get | 4 +++-
jena-fuseki2/apache-jena-fuseki/bin/s-head | 4 +++-
jena-fuseki2/apache-jena-fuseki/bin/s-post | 4 +++-
jena-fuseki2/apache-jena-fuseki/bin/s-put | 4 +++-
jena-fuseki2/apache-jena-fuseki/bin/s-query | 4 +++-
jena-fuseki2/apache-jena-fuseki/bin/s-update | 4 +++-
jena-fuseki2/apache-jena-fuseki/bin/s-update-form | 4 +++-
jena-fuseki2/apache-jena-fuseki/bin/soh | 4 +++-
9 files changed, 27 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/s-delete
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/s-delete b/jena-fuseki2/apache-jena-fuseki/bin/s-delete
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/s-delete
+++ b/jena-fuseki2/apache-jena-fuseki/bin/s-delete
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/s-get
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/s-get b/jena-fuseki2/apache-jena-fuseki/bin/s-get
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/s-get
+++ b/jena-fuseki2/apache-jena-fuseki/bin/s-get
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/s-head
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/s-head b/jena-fuseki2/apache-jena-fuseki/bin/s-head
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/s-head
+++ b/jena-fuseki2/apache-jena-fuseki/bin/s-head
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/s-post
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/s-post b/jena-fuseki2/apache-jena-fuseki/bin/s-post
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/s-post
+++ b/jena-fuseki2/apache-jena-fuseki/bin/s-post
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/s-put
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/s-put b/jena-fuseki2/apache-jena-fuseki/bin/s-put
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/s-put
+++ b/jena-fuseki2/apache-jena-fuseki/bin/s-put
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/s-query
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/s-query b/jena-fuseki2/apache-jena-fuseki/bin/s-query
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/s-query
+++ b/jena-fuseki2/apache-jena-fuseki/bin/s-query
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/s-update
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/s-update b/jena-fuseki2/apache-jena-fuseki/bin/s-update
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/s-update
+++ b/jena-fuseki2/apache-jena-fuseki/bin/s-update
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/s-update-form
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/s-update-form b/jena-fuseki2/apache-jena-fuseki/bin/s-update-form
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/s-update-form
+++ b/jena-fuseki2/apache-jena-fuseki/bin/s-update-form
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF
http://git-wip-us.apache.org/repos/asf/jena/blob/413316e1/jena-fuseki2/apache-jena-fuseki/bin/soh
----------------------------------------------------------------------
diff --git a/jena-fuseki2/apache-jena-fuseki/bin/soh b/jena-fuseki2/apache-jena-fuseki/bin/soh
index 0e3a807..dcf7f6e 100755
--- a/jena-fuseki2/apache-jena-fuseki/bin/soh
+++ b/jena-fuseki2/apache-jena-fuseki/bin/soh
@@ -35,7 +35,7 @@ require 'ostruct'
# Follow redirects => 301: puts response["location"] # All headers are lowercase?
SOH_NAME="SOH"
-SOH_VERSION="0.0.0"
+SOH_VERSION="0.0.1"
$proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
@@ -43,6 +43,7 @@ $proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
# Names
$mtTurtle = 'text/turtle;charset=utf-8'
+$mtJsonLD = 'application/ld+json'
$mtRDF = 'application/rdf+xml'
$mtText = 'text/plain'
$mtNQuads = 'text/n-quads'
@@ -60,6 +61,7 @@ $mtSparqlQuery = "application/sparql-query" ;
# Global media type table.
$fileMediaTypes = {}
$fileMediaTypes['ttl'] = $mtTurtle
+$fileMediaTypes['jsonld'] = $mtJsonLD
$fileMediaTypes['n3'] = 'text/n3; charset=utf-8'
$fileMediaTypes['nt'] = $mtText
$fileMediaTypes['rdf'] = $mtRDF