Class: Labeling::SKOSXL::AltLabel

Inherits:
Base
  • Object
show all
Defined in:
app/models/labeling/skosxl/alt_label.rb

Instance Method Summary collapse

Instance Method Details

#build_rdf(document, subject) ⇒ Object



3
4
5
6
# File 'app/models/labeling/skosxl/alt_label.rb', line 3

def build_rdf(document, subject)
  subject.Skosxl::altLabel(IqRdf.build_uri(target.origin))
  subject.Skos.altLabel(target.to_s, :lang => target.language)
end