Skip to content

Basic properties of library organizations

Adrian Pohl edited this page Jul 2, 2013 · 5 revisions

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

Namespaces

@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#> .

Basic properties

ISIL

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} .

Homepage

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

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

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.

Location

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.

Opening hours

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 (?).

Description

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).