skos2html 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/skos2html.rb +3 -3
- metadata +1 -1
data/lib/skos2html.rb
CHANGED
|
@@ -44,9 +44,9 @@ class Skos2Html
|
|
|
44
44
|
# Load some basic vocabularies in order to retrieve labels
|
|
45
45
|
# etc.
|
|
46
46
|
def set_up_vocabs
|
|
47
|
-
@vocabs = RDF::Graph.load("
|
|
48
|
-
@vocabs << RDF::Graph.load("
|
|
49
|
-
@vocabs << RDF::Graph.load("
|
|
47
|
+
@vocabs = RDF::Graph.load(File.expand_path("skos.rdf", File.dirname(__FILE__)))
|
|
48
|
+
@vocabs << RDF::Graph.load(File.expand_path("dcterms.rdf", File.dirname(__FILE__)))
|
|
49
|
+
@vocabs << RDF::Graph.load(File.expand_path("rdf-schema.rdf", File.dirname(__FILE__)))
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
|