-
Notifications
You must be signed in to change notification settings - Fork 9
Basic properties of library organizations
Basic properties of libraries and related organizations in lobid are described by vCard ontology and by FOAF ontology, among others. This page summarizes some of these basic properties with usage guidelines:
This is a draft that only covers properties which need further discussion
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix lv: <http://purl.org/lobid/lv#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
The ISIL SHOULD (MUST?) be specified as a literal with lv:isil. The literal should conform to this regular expression: [A-Z]{1,4}-[0-9a-zA-Z:-/]{1,11} .
A homepage URL can be specified as HTTP-resource with foaf:homepage
and vcard:url
(both SHOULD be used). The property is repeatable for multiple homepages, but it SHOULD only be used once.
Mail addresses can be specified as resources from the mailto-URI scheme with vcard:email
and foaf:mbox
(both SHOULD be used). The type of mail address can further be specified by types, such as vcard:Pref
. The property is repeatable for multiple mail addresses.
Phone and fax numbers can be specified as resources from the tel-URI scheme (RFC 3966) with vcard:tel
and foaf:phone
. The URI MUST be normalized to the form tel:\d+-\d+-\d+
. A readable form SHOULD be connected to the tel-resource with rdf:value
. The type of number can further be specified by types, such as vcard:Pref
, vcard:Fax
, vcard:Voice
. The property is repeatable for multiple numbers.
The geographic location is specified with geo:location
as resource. The resource MUST have two literal value properties (geo:long
and geo:lat
). The resource SHOULD be a URI from the Geo URI scheme but it can also be a blank node. The resource MUST be of type
geo:SpatialThing
. The property is repeatable for multiple locations, but it SHOULD only be used once.
to be discussed
Opening hours can be specified with gr:hasOpeningHoursSpecification
as resource (and with gbv:openinghours
as non-repeatable literal??). The resource can be a blank node (?). A literal representation MUST be added with dct:description
, but it must be unique per language tag (?). The property is repeatable for multiple opening hours (?).
A short description can be added as literal value with dc:description
. The property is repeatable but is SHOULD be unique per language tag (such as skos:prefLabel
in SKOS).