Sha256: f76f42e29c28eeb4b22bd3a5eae0cbf9d93001a2769f8715214ee81edda07581
Contents?: true
Size: 577 Bytes
Versions: 1
Compression:
Stored size: 577 Bytes
Contents
module DPLA::MAP class Place < ActiveTriples::Resource configure :type => RDF::EDM.Place validates_presence_of :name # validates_cardinality_of ... :count => 1? property :name, :predicate => RDF::SKOS.prefLabel property :latitude, :predicate => RDF::GEO.lat property :longitude, :predicate => RDF::GEO.long property :altitude, :predicate => RDF::GEO.alt property :parentFeature, :predicate => RDF::GN.parentFeature property :parentCountry, :predicate => RDF::GN.countryCode property :sameAs, :predicate => RDF::OWL.sameAs end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dpla-map-4.0.0.0.pre.1 | lib/dpla/map/place.rb |