Manta Developers
GitHub
Menu

@manta-eu/rdf-lib/namespaces

Reference for @manta-eu/rdf-lib/namespaces as it is on main.

Type Aliases

CURIE

CURIE = `${string}:${string}`


EntityParts

EntityParts = object

Properties

name

name: string

prefix

prefix: string


IRI

IRI = string


LabeledNamespacePrefix

LabeledNamespacePrefix = keyof typeof labeledNamespaces


NamespaceMeta

NamespaceMeta = object

Properties

iri

iri: string

label

label: string

Variables

attio

const attio: NamespaceInterface<{ iri: string; prefix: "attio:"; terms: readonly []; }>


baseIri

const baseIri: string


cs

const cs: NamespaceInterface


ga4

const ga4: NamespaceInterface<{ iri: string; prefix: "ga4:"; terms: readonly []; }>


ghc

const ghc: NamespaceInterface<{ iri: string; prefix: "ghc:"; terms: readonly []; }>


gmc

const gmc: NamespaceInterface<{ iri: string; prefix: "gmc:"; terms: readonly []; }>


google

const google: NamespaceInterface<{ iri: string; prefix: "google:"; terms: readonly []; }>


igraphNodeIri

const igraphNodeIri: "http://rdf.naturallexicon.org/ont-app/igraph/ont#node" = "http://rdf.naturallexicon.org/ont-app/igraph/ont#node"


infrastructureNamespaces

const infrastructureNamespaces: Set<string>


klaviyo

const klaviyo: NamespaceInterface<{ iri: string; prefix: "klaviyo:"; terms: readonly []; }>


labeledNamespaces

const labeledNamespaces: object

Type Declaration

attio

readonly attio: object

attio.iri

readonly iri: string = namespaces.attio

attio.label

readonly label: "Attio" = "Attio"

brand

readonly brand: object

brand.iri

readonly iri: string = namespaces.brand

brand.label

readonly label: "Brand" = "Brand"

coresignal

readonly coresignal: object

coresignal.iri

readonly iri: string = namespaces.coresignal

coresignal.label

readonly label: "Coresignal" = "Coresignal"

figma

readonly figma: object

figma.iri

readonly iri: string = namespaces.figma

figma.label

readonly label: "Figma" = "Figma"

ga4

readonly ga4: object

ga4.iri

readonly iri: string = namespaces.ga4

ga4.label

readonly label: "Google Analytics" = "Google Analytics"

ghc

readonly ghc: object

ghc.iri

readonly iri: string = namespaces.ghc

ghc.label

readonly label: "Google Hotel Center" = "Google Hotel Center"

google

readonly google: object

google.iri

readonly iri: string = namespaces.google

google.label

readonly label: "Google" = "Google"

klaviyo

readonly klaviyo: object

klaviyo.iri

readonly iri: string = namespaces.klaviyo

klaviyo.label

readonly label: "Klaviyo" = "Klaviyo"

m

readonly m: object

m.iri

readonly iri: string

m.label

readonly label: string

mcontent

readonly mcontent: object

mcontent.iri

readonly iri: `${string}shapes/content-service#`

mcontent.label

readonly label: "Mcontent" = "Mcontent"

meta

readonly meta: object

meta.iri

readonly iri: string = namespaces.meta

meta.label

readonly label: "Meta" = "Meta"

schema

readonly schema: object

schema.iri

readonly iri: string = namespaces.schema

schema.label

readonly label: "Schema.org" = "Schema.org"

shopify

readonly shopify: object

shopify.iri

readonly iri: string = namespaces.shopify

shopify.label

readonly label: "Shopify" = "Shopify"

snap

readonly snap: object

snap.iri

readonly iri: string = namespaces.snap

snap.label

readonly label: "Snap" = "Snap"


linkedin

const linkedin: NamespaceInterface<{ iri: string; prefix: "linkedin:"; terms: readonly []; }>


m

const m: NamespaceInterface<{ iri: string; prefix: ":"; terms: readonly ["BlendedPerformanceDaily", "CampaignChannelBenchmark", "CampaignPerformanceSummary", "ConversationStarter", "KPISnapshot", "ManualAction", "MetaAd", "MetaAdSet", "MetaCampaign", "Product", "ProductProfitability", "ProductSalesRanking", "ProductVariant", "assignee", "budgetIncreaseFactor", "changeSet", "currentRoas", "dailyBudget", "defaultResolution", "description", "integration", "pauseReason", "previousDailyBudget", "priority", "retryable", "scaleReason", "status", "wastedSpend"]; }>


meta

const meta: NamespaceInterface<{ iri: string; prefix: "meta:"; terms: readonly ["Campaign", "CampaignDailyCumulativeInsights"]; }>


msads

const msads: NamespaceInterface<{ iri: string; prefix: "msads:"; terms: readonly []; }>


namespaces

const namespaces: object

Type Declaration

****: string

attio

attio: string

brand

brand: string

canva

canva: string

coresignal

coresignal: string

dash

dash: string

dcterms

dcterms: string

dpv

dpv: string

figma

figma: string

ga4

ga4: string

ghc

ghc: string

gmc

gmc: string

google

google: string

infisical

infisical: string

klaviyo

klaviyo: string

linkedin

linkedin: string

meta

meta: string

msads

msads: string

nco

nco: string

nfo

nfo: string

nmo

nmo: string

owl

owl: string

pd

pd: string

prov

prov: string

rdf

rdf: string

rdfs

rdfs: string

relay

relay: string

schema

schema: string

sh

sh: string

shopify

shopify: string

slack

slack: string

snap

snap: string

stripe

stripe: string

time

time: string

woo

woo: string

xsd

xsd: string


nfo

const nfo: NamespaceInterface


owlNothingIri

const owlNothingIri: "http://www.w3.org/2002/07/owl#Nothing" = "http://www.w3.org/2002/07/owl#Nothing"


prov

const prov: NamespaceInterface<{ iri: string; prefix: "prov:"; terms: readonly ["Person", "SoftwareAgent"]; }>


rdf

const rdf: NamespaceInterface<{ iri: string; prefix: "rdf:"; terms: readonly ["object", "predicate", "subject", "type"]; }>


rdfs

const rdfs: NamespaceInterface<{ iri: string; prefix: "rdfs:"; terms: readonly []; }>


schema

const schema: NamespaceInterface<{ iri: string; prefix: "schema:"; terms: readonly []; }>


sh

const sh: NamespaceInterface


shaclGraph

const shaclGraph: "shacl" = "shacl"


shopify

const shopify: NamespaceInterface<{ iri: string; prefix: "shopify:"; terms: readonly []; }>


slack

const slack: NamespaceInterface<{ iri: string; prefix: "slack:"; terms: readonly []; }>


snap

const snap: NamespaceInterface<{ iri: string; prefix: "snap:"; terms: readonly []; }>


stripe

const stripe: NamespaceInterface<{ iri: string; prefix: "stripe:"; terms: readonly []; }>


time

const time: NamespaceInterface<{ iri: string; prefix: "time:"; terms: readonly []; }>


wellKnownPredicates

const wellKnownPredicates: object

Type Declaration

actionShape

readonly actionShape: `${string}actionShape`

autoPilotEnabled

readonly autoPilotEnabled: `${string}autoPilotEnabled`

label

readonly label: `${string}label`

name

readonly name: `${string}name`

type

readonly type: `${string}type`


woo

const woo: NamespaceInterface<{ iri: string; prefix: "woo:"; terms: readonly []; }>


xsd

const xsd: NamespaceInterface<{ iri: string; prefix: "xsd:"; terms: readonly []; }>

Functions

activeRealm()

activeRealm(): string

Returns

string


compactUri()

compactUri(uri): string

Parameters

uri

string

Returns

string


decodeIriLocalName()

decodeIriLocalName(value): string

Parameters

value

string

Returns

string


encodeIriLocalName()

encodeIriLocalName(value): string

Parameters

value

string

Returns

string


encodeIriUnsafeChars()

encodeIriUnsafeChars(value): string

Parameters

value

string

Returns

string


expandPrefix()

expandPrefix(prefixed): string

Parameters

prefixed

string

Returns

string


formatEntityName()

formatEntityName(entityUri): string

Parameters

entityUri

string

Returns

string


formatIriForSparql()

formatIriForSparql(iri): string

Parameters

iri

string

Returns

string


getNamespaceValues()

getNamespaceValues(): string[]

Returns

string[]


iriLocalName()

iriLocalName(iri): string

Parameters

iri

string

Returns

string


iriNamespace()

iriNamespace(iri): string

Parameters

iri

string

Returns

string


isActionPlanGraphIri()

isActionPlanGraphIri(value): boolean

Parameters

value

string

Returns

boolean


isFullIri()

isFullIri(value): boolean

Parameters

value

string

Returns

boolean


isIri()

isIri(value): boolean

Parameters

value

string

Returns

boolean


isIsoDatetime()

isIsoDatetime(value): boolean

Parameters

value

string

Returns

boolean


isOwlNothing()

isOwlNothing(value): boolean

Parameters

value

string

Returns

boolean


isPrefixedIri()

isPrefixedIri(value): boolean

Parameters

value

string

Returns

boolean


isValidFullIri()

isValidFullIri(iri): boolean

Parameters

iri

string

Returns

boolean


namespacesForRealm()

namespacesForRealm(realm?): object

Parameters

realm?

string

Returns

object

****: string

attio

attio: string

brand

brand: string

canva

canva: string

coresignal

coresignal: string

dash

dash: string

dcterms

dcterms: string

dpv

dpv: string

figma

figma: string

ga4

ga4: string

ghc

ghc: string

gmc

gmc: string

google

google: string

infisical

infisical: string

klaviyo

klaviyo: string

linkedin

linkedin: string

meta

meta: string

msads

msads: string

nco

nco: string

nfo

nfo: string

nmo

nmo: string

owl

owl: string

pd

pd: string

prov

prov: string

rdf

rdf: string

rdfs

rdfs: string

relay

relay: string

schema

schema: string

sh

sh: string

shopify

shopify: string

slack

slack: string

snap

snap: string

stripe

stripe: string

time

time: string

woo

woo: string

xsd

xsd: string


namespacesForRoot()

namespacesForRoot(root): object

Parameters

root

string

Returns

object

****: string

attio

attio: string

brand

brand: string

canva

canva: string

coresignal

coresignal: string

dash

dash: string

dcterms

dcterms: string

dpv

dpv: string

figma

figma: string

ga4

ga4: string

ghc

ghc: string

gmc

gmc: string

google

google: string

infisical

infisical: string

klaviyo

klaviyo: string

linkedin

linkedin: string

meta

meta: string

msads

msads: string

nco

nco: string

nfo

nfo: string

nmo

nmo: string

owl

owl: string

pd

pd: string

prov

prov: string

rdf

rdf: string

rdfs

rdfs: string

relay

relay: string

schema

schema: string

sh

sh: string

shopify

shopify: string

slack

slack: string

snap

snap: string

stripe

stripe: string

time

time: string

woo

woo: string

xsd

xsd: string


parseEntityUri()

parseEntityUri(entityUri): EntityParts

Parameters

entityUri

string

Returns

EntityParts


prependMissingSparqlPrefixes()

prependMissingSparqlPrefixes(query, extraNamespaces?): string

Parameters

query

string

extraNamespaces?

Record<string, string> = {}

Returns

string


realmVocabBase()

realmVocabBase(realm?): string

Parameters

realm?

string

Returns

string


realmVocabLabel()

realmVocabLabel(realm?): string

Parameters

realm?

string

Returns

string


toTurtlePrefixes()

toTurtlePrefixes(extraNamespaces?): string

Parameters

extraNamespaces?

Record<string, string> = {}

Returns

string


validateFullIri()

validateFullIri(iri): void

Parameters

iri

string

Returns

void