Sha256: 1b4c5232a5aac40a79d6e29c3640fa7f66d10de9d6251a649b66f003ef6086fd

Contents?: true

Size: 298 Bytes

Versions: 8

Compression:

Stored size: 298 Bytes

Contents

module PublishMyData
  class Concept
    include Tripod::Resource
    include BasicFeatures
    
    field :in_scheme, RDF::SKOS.inScheme, :is_uri => true

    rdf_type RDF::SKOS.Concept

    def concept_scheme
      ConceptScheme.find(self.in_scheme) rescue nil if self.in_scheme
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
publish_my_data-1.0.4 app/models/publish_my_data/concept.rb
publish_my_data-1.0.3 app/models/publish_my_data/concept.rb
publish_my_data-1.0.2 app/models/publish_my_data/concept.rb
publish_my_data-1.0.1 app/models/publish_my_data/concept.rb
publish_my_data-1.0.0 app/models/publish_my_data/concept.rb
publish_my_data-0.0.32 app/models/publish_my_data/concept.rb
publish_my_data-0.0.31 app/models/publish_my_data/concept.rb
publish_my_data-0.0.30 app/models/publish_my_data/concept.rb