dcatap

package
v0.0.0-...-4109721 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package dcatap provides DCAT-AP support.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCatalogRecord

func NewCatalogRecord(identifier string) ([]byte, error)

NewCatalogRecord create a catalog record with a furnished dct identifier.

Types

type CatalogRecord

type CatalogRecord struct {
	XMLName    xml.Name `xml:"dcat:CatalogRecord"`
	Identifier string   `xml:"dct:identifier"`
}

CatalogRecord describes the metadata of a dataset.

type RDF

type RDF struct {
	XMLName       xml.Name      `xml:"rdf:RDF"`
	EDPNs         string        `xml:"xmlns:edp,attr"`
	DCTNs         string        `xml:"xmlns:dct,attr"`
	SPDXNs        string        `xml:"xmlns:spdx,attr"`
	RDFNs         string        `xml:"xmlns:rdf,attr"`
	J0Ns          string        `xml:"xmlns:j.0,attr"`
	ADMSNs        string        `xml:"xmlns:adms,attr"`
	DQVNs         string        `xml:"xmlns:dqv,attr"`
	VCARDNs       string        `xml:"xmlns:vcard,attr"`
	SKOSNs        string        `xml:"xmlns:skos,attr"`
	SCHEMANs      string        `xml:"xmlns:schema,attr"`
	DCATNs        string        `xml:"xmlns:dcat,attr"`
	FOAFNs        string        `xml:"xmlns:foaf,attr"`
	CatalogRecord CatalogRecord `xml:"dcat:CatalogRecord"`
}

An RDF represents a DCAT-AP in rdf file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL