From 48f53c6b0a2e7c26d365dd6ad3d06b993c37e165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Fri, 29 Jun 2018 14:58:18 +0200 Subject: [PATCH] [#59] Support LCGFT --- examples/lcgft-gf2011026530.ttl | 28 ++++++++++++ examples/lcgft-gf2011026530.xml | 80 +++++++++++++++++++++++++++++++++ mc2skos/vocabularies.yml | 3 ++ test/test_process_examples.py | 1 + 4 files changed, 112 insertions(+) create mode 100644 examples/lcgft-gf2011026530.ttl create mode 100644 examples/lcgft-gf2011026530.xml diff --git a/examples/lcgft-gf2011026530.ttl b/examples/lcgft-gf2011026530.ttl new file mode 100644 index 0000000..376d775 --- /dev/null +++ b/examples/lcgft-gf2011026530.ttl @@ -0,0 +1,28 @@ +@prefix dcterms: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix skos: . +@prefix xml: . +@prefix xsd: . + + a skos:Concept ; + dcterms:created "2011-05-07"^^xsd:date ; + dcterms:identifier "gf2011026530" ; + dcterms:modified "2018-02-20"^^xsd:date ; + skos:altLabel "Images, Remote-sensing"@en, + "Multispectral scanning images"@en, + "SLAR images"@en, + "Satellite images"@en, + "Side-looking airborne radar images"@en ; + skos:inScheme ; + skos:note "Images of planetary surfaces created by means of reflected or emitted electromagnetic energy."@en, + "Source: AACR2, 1988 rev.:"@en, + "Source: Cartographic materials: A Manual of interpretation for AACR2, 1982:"@en, + "Source: Conversation with M.L. Larsgaard, Map & Imagery Lab, Library, Univ. of Calif., Santa Barbara, May 20, 1994"@en, + "Source: Environmental Research Institute of Michigan. Remote sensing image of Michigan, 1985."@en, + "Source: Introduction to remote sensing, c2007:"@en, + "Source: Map Online Users Group Newsletter:"@en, + "Source: Satellite images of Australia, c1982."@en ; + skos:prefLabel "Remote-sensing images"@en . + diff --git a/examples/lcgft-gf2011026530.xml b/examples/lcgft-gf2011026530.xml new file mode 100644 index 0000000..d47cb2f --- /dev/null +++ b/examples/lcgft-gf2011026530.xml @@ -0,0 +1,80 @@ + + 01597cz a2200313n 4500 + gf2011026530 + DLC + 20180220154626.4 + 110507|| anznnbabn |a ana + + gf2011026530 + sh2009025023 + + + DLC + eng + DLC + lcgft + DLC + + + Remote-sensing images + + + Images, Remote-sensing + + + Multispectral scanning images + + + Satellite images + + + Side-looking airborne radar images + + + SLAR images + + + g + Cartographic materials + + + g + Informational works + + + g + Visual works + + + AACR2, 1988 rev.: + pp. 108-116. + + + Cartographic materials: A Manual of interpretation for AACR2, 1982: + p. 90 (aerial remote-sensing image; multispectral scanning image; Sidelooking airborne radar (SLAR)) + + + Conversation with M.L. Larsgaard, Map & Imagery Lab, Library, Univ. of Calif., Santa Barbara, May 20, 1994 + (Remote-sensing images) + + + Satellite images of Australia, c1982. + + + Map Online Users Group Newsletter: + no. 17, p. 6 (type of material subdivision ... Remote-sensing imagery) + + + Environmental Research Institute of Michigan. Remote sensing image of Michigan, 1985. + + + Introduction to remote sensing, c2007: + introd. (remote sensing: observation of the Earth's land and water surfaces by means of reflected or emitted electromagnetic energy) + + + Glossary of the mapping sciences, 1994 + + + Images of planetary surfaces created by means of reflected or emitted electromagnetic energy. + + diff --git a/mc2skos/vocabularies.yml b/mc2skos/vocabularies.yml index 76d393b..a09c90e 100644 --- a/mc2skos/vocabularies.yml +++ b/mc2skos/vocabularies.yml @@ -36,6 +36,9 @@ subject_schemes: lccn: concept: http://id.loc.gov/authorities/names/{control_number} scheme: http://id.loc.gov/authorities/names/ + lcgft: + concept: http://id.loc.gov/authorities/genreForms/{control_number} + scheme: http://id.loc.gov/authorities/genreForms ddcri: scheme: http://id.loc.gov/vocabulary/subjectSchemes/ddcri TESA: diff --git a/test/test_process_examples.py b/test/test_process_examples.py index 33ca213..9734229 100644 --- a/test/test_process_examples.py +++ b/test/test_process_examples.py @@ -87,6 +87,7 @@ def test_rvk_example(marc, match): check_processing(marc, Graph(), **options) authority_vocabularies = { + 'lcgft': 'http://id.loc.gov/authorities/genreForms/', 'lcsh': 'http://id.loc.gov/authorities/subjects/', 'noubomn': 'http://data.ub.uio.no/realfagstermer/', 'noubojur': 'http://data.ub.uio.no/lskjema/',