Giter Site home page Giter Site logo

uv-context's Introduction

Uduvudu Initial Context

NOTE: This repo got replaced by zazuko/rdf-vocabularies. There will be no further updates here.

This repository contains a definition of predefined RDF vocabulary prefixes used in Uduvudu and related software.

It is extending RDFa Core Initial Context which provides base prefixes.

If this is useful for you, feel free to include it into your project. There are no other dependencies unless you want to build it on your own.

Using it

We provide four static files:

  • A manually maintained Turtle file for prefixes, which are not in RDFa Core Initial Context. See rdf/uduvudu-context.ttl
  • A snapshot of the RDFa Initial Context (in Turtle)
  • A N-Tripes serialization containing prefixes and URIs (RDFa Initial Context and ours)
  • A JSON-LD context serialization containing prefixes and URIs (RDFa Initial Context and ours)

While there is more information available in the Turtle file, we serialize only rdfa:prefix and rdfa:uri into N-Triples and JSON-LD. Currently the subject URIs are blank nodes.

To use it either source the N-Triples or JSON-LD representation into your application.

Please do not make this list available on a URI outside of Github for the moment. There is a fair chance we will do this on our own at one point. If you really really need it, open an issue so we can talk about it.

Versioning scheme

Each defined prefix is a mapping to an URI. It is a simple 1:1 mapping to make sure we get unambiguous results on shrinking and resolving URIs. Once a prefix is in this repository, it cannot be altered anymore within same MAJOR release according to Semantic Versioning 2.0.0.

This makes sure that within the same MAJOR release prefixes stay the same and do not break existing code. MINOR versions will be used for newly introduced prefixes, which can be requested by opening a pull request on Github.

If you are using tools like NPM you should block the MAJOR release number to be sure your code does not break in the future. MINOR and REVISION releases can be wildcards. In case you define your own additional prefixes you might want to block MINOR too to avoid clashes.

Adding new prefixes

New prefixes can be added by opening a pull request on Github. For new requests, first check if the creator/owner of the namespace defined a prefix. If not check prefix.cc. In case prefix.cc is ambiguous a discussion should be raised before the pull-requests gets integrated. Last thing to check are the predefined namespaces in the DBpedia SPARQL endpoint or other popular RDF resources like LOV. If you find one please refer to it in the pull request.

If there are no conflicts, the RDFa Initial Context list will get updated on each release. In case of conflicts they will be resolved in the next MAJOR version where the RDFa Core Initial Context wins over Uduvudu prefixes.

The RDFa prefixes get sourced automatically; other prefixes are maintained in a Turtle file in this repository.

History

  • 0.0.1: Initial version with base prefixes
  • 0.0.3: Added tests for JSON-LD & added more prefixes

Credits

License

The MIT License (MIT)

Copyright (c) 2015-2017 netlabs.org, Zazuko GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

uv-context's People

Contributors

ktk avatar

Stargazers

Brad Jones avatar

Watchers

Andreas Kuckartz avatar  avatar James Cloos avatar

Forkers

vhf

uv-context's Issues

WGS84

That should not be geo, seems more common for GeoSPARQL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.