0.2.0 • Published 3 years ago

ontl v0.2.0

Weekly downloads
13
License
MIT
Repository
github
Last release
3 years ago

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);
0.2.0

3 years ago

0.1.13

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago