npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ontl

v0.2.0

Published

A collection of ontologies serialised in turtle, readable as stream.

Downloads

26

Readme

Ontologies

A collection of standard and well known ontologies serialised to Turtle.

Core W3C ontologies

RDF, RDFS, OWL & XSD constitute the reserved vocabulary of the OWL 2 Web Ontology Language. Those four ontologies are therefore the backbone of the Semantic Web.

RDF technical recommendations (25 February 2014)

RDFS technical recommendation (25 February 2014)

OWL 2 Web Ontology Language technical recommendations (11 December 2012)

XSD Datatypes

Other W3C ontologies

SHACL, SKOS, DCAT, CSVW, VCARD.

Other ontologies

Dublin Core, FOAF, Schema.

Standard prefixes

There is a list of standard prefixes in prefix.ttl for easy copy/paste.

The list is maintained in lowercase SPARQL syntax to be usable in both Turtle and SPARQL. This syntax requires an RDF 1.1 Turtle parser which can be considered as of 2020 as widely deployed. Therefore no reason to keep using the syntax including an '@' as per the Turtle Spec note on IRIs.

# Core W3C ontologies (OWL 2 reserved vocabulary)
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
# Other ontologies
prefix acl: <http://www.w3.org/ns/auth/acl#>
prefix cc: <http://creativecommons.org/ns#>
prefix cert: <http://www.w3.org/ns/auth/cert#>
prefix csvw: <http://www.w3.org/ns/csvw#>
prefix dc: <http://purl.org/dc/terms/>
prefix dcam: <http://purl.org/dc/dcam/>
prefix dcat: <http://www.w3.org/ns/dcat#>
prefix dctype: <http://purl.org/dc/dcmitype/>
prefix foaf: <http://xmlns.com/foaf/0.1/>
prefix ldp: <http://www.w3.org/ns/ldp#>
prefix posixstat: <http://www.w3.org/ns/posix/stat#>
prefix schema: <https://schema.org/>
prefix shacl: <http://www.w3.org/ns/shacl#>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix skosxl: <http://www.w3.org/2008/05/skos-xl#>
prefix solid: <http://www.w3.org/ns/solid/terms#>
prefix swapdoc: <http://www.w3.org/2000/10/swap/pim/doc#>
prefix ui: <http://www.w3.org/ns/ui#>
prefix vann: <http://purl.org/vocab/vann/>
prefix vcard: <http://www.w3.org/2006/vcard/ns#>
prefix ws: <http://www.w3.org/ns/pim/space#>

The namespace lookup tool prefix.cc can help understand current prefix usage. The Linked Open Vocabularies website can help understand vocabularies usage.

NodeJS usage

Install with npm install ontl and retrieve the ontologies as NodeJS readable streams.

import * as ontl from 'ontl';

ontl.RDF.pipe(process.stdout);