JSPM

@ontologies/foaf

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q37343F
  • License GPL-3.0-or-later

The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.

Package Exports

  • @ontologies/foaf

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ontologies/foaf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Friend of a Friend (FOAF) vocabulary ontology

This package contains the terms from the Friend of a Friend (FOAF) vocabulary ontology for JavaScript and TypeScript.

Namespace: http://xmlns.com/foaf/0.1/

Normative spec: http://xmlns.com/foaf/spec/

Source: http://xmlns.com/foaf/spec/index.rdf

About

This readme was automatically generated, for more information see the main ontologies repository.

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

import * as foaf from '@ontologies/foaf'

console.log(foaf.vocTerm) // { termType: 'NamedNode', value: "http://xmlns.com/foaf/0.1/vocTerm" }

With named exports

import { vocTerm } from '@ontologies/foaf'

console.log(vocTerm) // { termType: 'NamedNode', value: "http://xmlns.com/foaf/0.1/vocTerm" }

Use the ns function when missing a term or when using custom extensions

import * as foaf from '@ontologies/foaf'

console.log(foaf.ns('myTerm')) // { termType: 'NamedNode', value: "http://xmlns.com/foaf/0.1/myTerm" }

Statistics

Total term count: 75

Of which classes 13 (including data types)

Of which properties: 62

Other terms: 0