...
Below is a sample YAML namespace configuration file, custom_namespaces.yml. Notice the "awesome" prefix definition at the bottom of the list. We will use this in the following example. NB: the custom file will override all default namespace prefixes. In other words, the custom file becomes the definitive registry. Any namespaces that are not prefixed will be returned as full URIs in the response. Notice the "awesome" prefix definition at the bottom of the list.
Code Block |
---|
premis: http://www.loc.gov/premis/rdf/v1# test: info:fedora/test/ memento: http://mementoweb.org/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# webac: http://fedora.info/definitions/v4/webac# acl: http://www.w3.org/ns/auth/acl# vcard: http://www.w3.org/2006/vcard/ns# xsi: http://www.w3.org/2001/XMLSchema-instance xmlns: http://www.w3.org/2000/xmlns/ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# fedora: http://fedora.info/definitions/v4/repository# xml: http://www.w3.org/XML/1998/namespace ebucore: http://www.ebu.ch/metadata/ontologies/ebucore/ebucore# ldp: http://www.w3.org/ns/ldp# dcterms: http://purl.org/dc/terms/ iana: http://www.iana.org/assignments/relation/ xs: http://www.w3.org/2001/XMLSchema fedoraconfig: http://fedora.info/definitions/v4/config# foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/elements/1.1/ awesome: http://example.com/awesome/ |
...