Utilities for Dublin Core Description Set Profile.
Function 1: Parse DSP to three class. DSP::DescriptionSetTemplate DSP::DescriptionTemplate DSP::StatementTemplate
gem build dsp.gemspec
gem install dsp-0.0.2.gem
require 'dsp'
dsp_uri = "http://dandelion.slis.tsukuba.ac.jp/dsp/asahi"
metabridge_base_uri = "http://www.metabridge.jp/infolib/metabridge/api/description?graph="
Spira.add_repository(:default, RDF::Repository.load(metabridge_base_uri + dsp_uri))
dst = DSP::DescriptionSetTemplate.for(RDF::URI.new(dsp_uri))
dt = dst.primary_topic
sts = dt.statement_templates
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request