Class: SduSmart::Provision

Inherits:
Entity
  • Object
show all
Defined in:
lib/sdu_smart/provision.rb

Class Method Summary collapse

Class Method Details

.provision_subtype(rdf_name) ⇒ Object



55
56
57
58
59
60
61
62
63
# File 'lib/sdu_smart/provision.rb', line 55

def self.provision_subtype(rdf_name)
  rdf do
    namespace SduSmart::Rdf::Namespaces::SmartNamespace

    subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }

    type "smart:#{rdf_name}"
  end
end