Skip to content

Commit cca49c0

Browse files
committed
Sync common files.
1 parent 0ccf4b2 commit cca49c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

common/extract-examples.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
require 'yaml'
1919
require 'cgi'
2020

21+
# Define I18N vocabulary
22+
class RDF::Vocab::I18N < RDF::Vocabulary("https://www.w3.org/ns/i18n#"); end unless RDF::Vocab.const_defined?(:I18N)
23+
2124
# FIXME: This is here until the rdf:JSON is added in RDF.rb
2225
unless RDF::RDFV.properties.include?( RDF.to_uri + 'JSON')
2326
RDF::RDFV.property :JSON, label: "JSON", comment: "JSON datatype"

0 commit comments

Comments
 (0)