UNPKG

@zazuko/vocabularies

Version:

Access most commonly used RDF ontologies/schemas/vocabularies as datasets or n-quads

13 lines (12 loc) 479 B
import { expand as _expand } from './expand.js'; import { expandWithCheck } from './expandWithCheck.js'; export { default as prefixes } from './prefixes.js'; export { vocabularies, loadFile } from './vocabularies.js'; export { shrink } from './shrink.js'; export { expandWithCheck } from './expandWithCheck.js'; export function expand(prefixed, types = []) { if (types && types.length) { return expandWithCheck(prefixed, types); } return _expand(prefixed); }