module JSON::LD
**‘JSON::LD`** is a JSON-LD extension for RDF.rb.
@example Requiring the ‘JSON::LD` module
require 'json/ld'
@example Parsing RDF
statements from a JSON-LD file
JSON::LD::Reader.open("etc/foaf.jld") do |reader| reader.each_statement do |statement| puts statement.inspect end end
@see rubygems.org/gems/rdf @see www.w3.org/TR/REC-rdf-syntax/
@author [Gregg Kellogg](greggkellogg.net/)
Constants
- DEFAULT_CONTEXT
Default context when compacting without one being specified
- JSON_LD_NS
JSON-LD profiles
- JSON_STATE
- KEYWORDS
- MAX_CONTEXTS_LOADED
- MUTLI_JSON_ADAPTERS
Acceptable MultiJson adapters
- NATIVE_DATATYPES
Datatypes that are expressed in a native form and don’t expand or compact
- NC_REGEXP
Regexp matching an NCName.
- PROFILES
- RDF_DIRECTION
- RDF_JSON
URI Constants
- RDF_LANGUAGE