lib/rdf/vocab/jsonld.rb in rdf-vocab-2.2.9 vs lib/rdf/vocab/jsonld.rb in rdf-vocab-3.0.0
- old
+ new
@@ -8,41 +8,41 @@
# class JSONLD < RDF::StrictVocabulary
# end
class JSONLD < RDF::StrictVocabulary("http://www.w3.org/ns/json-ld#")
# Ontology definition
- ontology :"http://www.w3.org/ns/json-ld",
+ ontology :"http://www.w3.org/ns/json-ld#",
comment: %(This is a vocabulary document and is used to achieve certain features of the JSON-LD language.).freeze,
label: "The JSON-LD Vocabulary".freeze,
type: "owl:Ontology".freeze
# Property definitions
property :context,
comment: %(This link relation is used to reference a JSON-LD context from a JSON document so that it can be interpreted as JSON-LD.).freeze,
+ isDefinedBy: "http://www.w3.org/ns/json-ld".freeze,
label: "JSON-LD context".freeze,
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/json-ld).freeze,
- :"rdfs:seeAlso" => %(http://www.w3.org/TR/json-ld-syntax/#referencing-contexts-from-json-documents).freeze,
+ "rdfs:seeAlso": "http://www.w3.org/TR/json-ld-syntax/#referencing-contexts-from-json-documents".freeze,
type: "rdf:Property".freeze
# Extra definitions
term :compacted,
comment: %(This profile IRI is used to request or specify compacted JSON-LD document form.).freeze,
+ isDefinedBy: "http://www.w3.org/ns/json-ld".freeze,
label: "Compacted JSON-LD document form".freeze,
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/json-ld).freeze,
- :"rdfs:seeAlso" => %(http://www.w3.org/TR/json-ld-syntax/#iana-considerations).freeze
+ "rdfs:seeAlso": "http://www.w3.org/TR/json-ld-syntax/#iana-considerations".freeze
term :"compacted-flattened",
comment: %(This profile IRI is used to request or specify compacted, flattened JSON-LD document form.).freeze,
+ isDefinedBy: "http://www.w3.org/ns/json-ld".freeze,
label: "Compacted, flattened JSON-LD document form".freeze,
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/json-ld).freeze,
- :"rdfs:seeAlso" => %(http://www.w3.org/TR/json-ld-syntax/#iana-considerations).freeze
+ "rdfs:seeAlso": "http://www.w3.org/TR/json-ld-syntax/#iana-considerations".freeze
term :expanded,
comment: %(This profile IRI is used to request or specify expanded JSON-LD document form.).freeze,
+ isDefinedBy: "http://www.w3.org/ns/json-ld".freeze,
label: "Expanded JSON-LD document form".freeze,
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/json-ld).freeze,
- :"rdfs:seeAlso" => %(http://www.w3.org/TR/json-ld-syntax/#iana-considerations).freeze
+ "rdfs:seeAlso": "http://www.w3.org/TR/json-ld-syntax/#iana-considerations".freeze
term :"expanded-flattened",
comment: %(This profile IRI is used to request or specify expanded, flattened JSON-LD document form.).freeze,
+ isDefinedBy: "http://www.w3.org/ns/json-ld".freeze,
label: "Expanded, flattened JSON-LD document form".freeze,
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/json-ld).freeze,
- :"rdfs:seeAlso" => %(http://www.w3.org/TR/json-ld-syntax/#iana-considerations).freeze
+ "rdfs:seeAlso": "http://www.w3.org/TR/json-ld-syntax/#iana-considerations".freeze
end
end