diff --git a/Gemfile.lock b/Gemfile.lock index 60f5bfa3..b09bbfd1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/ruby-rdf/json-ld.git - revision: c1e72171960b31bf417c7af9ecea6ebf75fd0316 + revision: b1a47abbdd6db71d2b9ccb42811445fee1626d60 branch: develop specs: json-ld (3.0.2) @@ -74,7 +74,7 @@ GEM sparql (~> 3.0) sparql-client (~> 3.0) mini_portile2 (2.4.0) - multi_json (1.13.1) + multi_json (1.14.0) net-http-persistent (3.1.0) connection_pool (~> 2.2) nokogiri (1.10.4) diff --git a/common/extract-examples.rb b/common/extract-examples.rb index 23e1f841..d38156ac 100755 --- a/common/extract-examples.rb +++ b/common/extract-examples.rb @@ -18,6 +18,9 @@ require 'yaml' require 'cgi' +# Define I18N vocabulary +class RDF::Vocab::I18N < RDF::Vocabulary("https://www.w3.org/ns/i18n#"); end unless RDF::Vocab.const_defined?(:I18N) + # FIXME: This is here until the rdf:JSON is added in RDF.rb unless RDF::RDFV.properties.include?( RDF.to_uri + 'JSON') RDF::RDFV.property :JSON, label: "JSON", comment: "JSON datatype" diff --git a/common/terms.html b/common/terms.html index 1a122622..ff660e0e 100644 --- a/common/terms.html +++ b/common/terms.html @@ -113,8 +113,9 @@ consists of a string and a non-empty language tag as defined by [[BCP47]]. The language tag MUST be well-formed - according to section 2.2.9 Classes of Conformance of [[BCP47]], - and is normalized to lowercase. + according to section 2.2.9 Classes of Conformance of [[BCP47]]. + Processors MAY normalize language tags to lowercase. +
Subject | Property | Value | Language | Direction |
---|---|---|---|---|
_:b0 | http://example.org/title | HTML و CSS: تصميم و إنشاء مواقع الويب | ar-eg | rtl |
_:b0 | http://example.org/publisher | مكتبة | ar-eg | rtl |
_:b0 | http://example.org/title | HTML و CSS: تصميم و إنشاء مواقع الويب | ar-EG | rtl |
_:b0 | http://example.org/publisher | مكتبة | ar-EG | rtl |
Using the Document Base for the Default Vocabulary # Note that this version drops the base direction. [ - ex:title ****"HTML و CSS: تصميم و إنشاء مواقع الويب"****@ar-eg; - ex:publisher ****"مكتبة"****@ar-eg + ex:title ****"HTML و CSS: تصميم و إنشاء مواقع الويب"****@ar-EG; + ex:publisher ****"مكتبة"****@ar-EG ] . -->@@ -5246,8 +5245,8 @@
rtl
rtl
ltr