Extended Activity Streams 2.0 Vocabulary
This package contains the terms from the ActivityStreams 2.0 ontology for JavaScript and TypeScript.
Namespace: https://www.w3.org/ns/activitystreams#
Normative spec: https://www.w3.org/TR/activitystreams-core/
Source: https://www.w3.org/ns/activitystreams-owl
The terms in this vocabulary are generated from their RDF representations which generally aren't the canonical definitions,
please refer to the specification for their canonical definitions.
#### Usage
With default export
``typescript
import * as as from '@ontologies/as'
console.log(as.vocTerm) // { termType: 'NamedNode', value: "https://www.w3.org/ns/activitystreams#vocTerm" }
`
With named exports
`typescript
import { vocTerm } from '@ontologies/as'
console.log(vocTerm) // { termType: 'NamedNode', value: "https://www.w3.org/ns/activitystreams#vocTerm" }
`
Use the ns function when missing a term or when using custom extensions
`typescript
import * as as from '@ontologies/as'
console.log(as.ns('myTerm')) // { termType: 'NamedNode', value: "https://www.w3.org/ns/activitystreams#myTerm" }
``
#### Statistics
Total term count: 124
Of which classes 55 (including data types)
Of which properties: 69
Other terms: 0