All Projects → dajobe → Raptor

dajobe / Raptor

Licence: other
Redland Raptor RDF syntax library

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Raptor

Rdfsharp
Lightweight and friendly .NET library for modeling Semantic Web applications
Stars: ✭ 72 (-37.93%)
Mutual labels:  rdf
Limes
Link Discovery Framework for Metric Spaces.
Stars: ✭ 94 (-18.97%)
Mutual labels:  rdf
Ontodia
Ontodia data diagraming library
Stars: ✭ 107 (-7.76%)
Mutual labels:  rdf
Virtuoso Sparql Endpoint Quickstart
creates a docker image with Virtuoso preloaded with the latest DBpedia dataset
Stars: ✭ 80 (-31.03%)
Mutual labels:  rdf
Etl
LinkedPipes ETL is an RDF based, lightweight ETL tool
Stars: ✭ 88 (-24.14%)
Mutual labels:  rdf
Owl Rl
A simple implementation of the OWL2 RL Profile on top of RDFLib: it expands the graph with all possible triples that OWL RL defines. It can be used together with RDFLib to expand an RDFLib Graph object, or as a stand alone service with its own serialization.
Stars: ✭ 95 (-18.1%)
Mutual labels:  rdf
Sparnatural
Sparnatural : javascript visual SPARQL query builder
Stars: ✭ 65 (-43.97%)
Mutual labels:  rdf
Hypergraphql
GraphQL interface for querying and serving linked data on the Web.
Stars: ✭ 112 (-3.45%)
Mutual labels:  rdf
Clojure Graph Resources
A curated list of Clojure resources for dealing with graph-like data.
Stars: ✭ 94 (-18.97%)
Mutual labels:  rdf
Rdflib
RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
Stars: ✭ 1,584 (+1265.52%)
Mutual labels:  rdf
Kgtk
Knowledge Graph Toolkit
Stars: ✭ 81 (-30.17%)
Mutual labels:  rdf
Node Rdf
ECMAScript libraries for handling RDF data (based off of the current RDF APIs and webr3's js3)
Stars: ✭ 85 (-26.72%)
Mutual labels:  rdf
Rdf Ext
RDF library for NodeJS and the Browsers
Stars: ✭ 97 (-16.38%)
Mutual labels:  rdf
Feedparser
Parse feeds in Python
Stars: ✭ 1,200 (+934.48%)
Mutual labels:  rdf
Ckanext Dcat
CKAN ♥ DCAT
Stars: ✭ 107 (-7.76%)
Mutual labels:  rdf
Awesome Glam Semweb
A curated list of various semantic web and linked data resources for heritage, humanities and art history practitioners.
Stars: ✭ 69 (-40.52%)
Mutual labels:  rdf
Client.js
[DEPRECATED] A JavaScript client for Triple Pattern Fragments interfaces.
Stars: ✭ 95 (-18.1%)
Mutual labels:  rdf
Solrdf
An RDF plugin for Solr
Stars: ✭ 113 (-2.59%)
Mutual labels:  rdf
Rdf.sh
A multi-tool shell script for doing Semantic Web jobs on the command line.
Stars: ✭ 109 (-6.03%)
Mutual labels:  rdf
Web Client
Generic Linked Data browser and UX component framework. Apache license.
Stars: ✭ 105 (-9.48%)
Mutual labels:  rdf

<title>Raptor RDF Syntax Library</title>

Raptor RDF Syntax Library

Dave Beckett

Overview

Raptor is a free software / Open Source C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serialize the triples into a syntax. The supported parsing syntaxes are RDF/XML, N-Quads, N-Triples 1.0 and 1.1, TRiG, Turtle 2008 and 2013, RDFa 1.0 and 1.1, RSS tag soup including all versions of RSS, Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and XML. The serializing syntaxes are RDF/XML (regular, abbreviated, XMP), Turtle 2013, N-Quads, N-Triples 1.1, Atom 1.0, RSS 1.0, GraphViz DOT, HTML, JSON and mKR.

Raptor was designed to work closely with the Redland RDF library (RDF Parser Toolkit for Redland) but is entirely separate. It is a portable library that works across many POSIX systems (Unix, GNU/Linux, BSDs, OSX, cygwin, win32).

A summary of the changes can be found in the NEWS file, detailed API changes in the release notes and file-by-file changes in the ChangeLog.

Details of upgrading from Raptor 1 as described in the Upgrading document.

  • Designed to integrate well with Redland
  • Parses content on the web if libcurl, libxml2 or BSD libfetch is available.
  • Supports all RDF terms including datatyped and XML literals
  • Optional features including parsers and serialisers can be selected at configure time.
  • Language bindings to Perl, PHP, Python and Ruby when used via Redland
  • No memory leaks
  • Fast
  • Standalone rapper RDF parser utility program

Known bugs and issues are recorded in the Redland issue tracker.

Parsers

RDF/XML Parser

A Parser for the standard RDF/XML syntax.

N-Quads Parser

A parser for the RDF 1.1 N-Quads - A line-based syntax for an RDF datasets, W3C Candidate Recommendation, 05 November 2013. This is an extension to N-Triples, providing an optional 4th context graph term at the end of the line when a triple is associated with a named graph.

N-Triples Parser

A parser for the RDF 1.1 N-Triples - A line-based syntax for an RDF graph, W3C Candidate Recommendation, 05 November 2013 (aka N-Triples 2013) based on the older N-Triples.

Turtle Parser

A parser for the Turtle Terse RDF Triple Language W3C Candidate Recommendation, 19 February 2013 based on earlier work Turtle Terse RDF Triple Language (2004)

TRiG Parser

A parser for the RDF 1.1 TriG RDF Dataset Language.

The parser does not support the entire 1.1 TRiG specification; the '{' ... '}' around a graph and the GRAPH keyword may not be omitted.

RSS "tag soup" parser

A parser for the multiple XML RSS formats that use the elements such as channel, item, title, description in different ways. Attempts to turn the input into RSS 1.0 RDF triples. True RSS 1.0, as a full RDF vocabulary, is best parsed by the RDF/XML parser. It also generates triples for RSS enclosures.

This parser also provides support for the Atom 1.0 syndication format defined in IETF RFC 4287

GRDDL and microformats parser

A parser/processor for Gleaning Resource Descriptions from Dialects of Languages (GRDDL) syntax, W3C Recommendation of 2007-09-11 which allows reading XHTML and XML as RDF triples by using profiles in the document that declare XSLT transforms from the XHTML or XML content into RDF/XML or other RDF syntax which can then be parsed. It uses either an XML or a lax HTML parser to allow HTML tag soup to be read.

The parser passes the all the GRDDL tests as of Raptor 1.4.16.

The parser also handles hCard and hReview using public XSL sheets.

RDFa parser

A parser for RDFa 1.0 (W3C Recommendation 14 October 2008) and RDFa 1.1 (W3C Recommendation 07 June 2012) implemented via librdfa linked inside Raptor. librdfa was, written primarily by Manu Sporny of Digital Bazaar and is licensed with the same license as Raptor.

As of Raptor 2.0.8 the RDFa parser passes all of the RDFa 1.0 test suite except for 4 tests and all of the RDFa 1.1 test suite except for 30 tests.

Serializers

RDF/XML Serializer

A serializer to the standard RDF/XML syntax as revised by the W3C RDF Core working group in 2004. This writes a plain triple-based RDF/XML serialization with no optimisation or pretty-printing.

A second serializer is provided using several of the RDF/XML abbreviations to provide a more compact readable format, at the cost of some pre-processing. This is suitable for small documents.

N-Quads Serializer

A serializer for the RDF 1.1 N-Quads -A line-based syntax for an RDF datasets, W3C Candidate Recommendation, 05 November 2013. This is an extension to N-Triples, providing an optional 4th context graph term at the end of the line when a triple is associated with a named graph.

N-Triples Serializer

A serializer for the RDF 1.1 N-Triples - A line-based syntax for an RDF graph (aka N-Triples 2013) based on the earlier N-Triples syntax as used by the W3C RDF Core working group for the RDF Test Cases.

Atom 1.0 Serializer

A serializer to the Atom 1.0 syndication format defined in IETF RFC 4287.

JSON Serializers

Two serializers for to write triples encoded in JSON:

  1. json: in a resource-centric abbreviated form like Turtle or RDF/XML-Abbreviated as defined by: RDF 1.1 JSON Alternate Serialization (RDF/JSON), W3C Working Group Note, 07 November 2013
  2. json-triples: a triple-centric format based on the SPARQL results in JSON format.

JSON-LD is not supported - too complex to implement.

GraphViz DOT Serializer

An serializer to the GraphViz DOT format which aids visualising RDF graphs.

RSS 1.0 Serializer

A serializer to the RDF Site Summary (RSS) 1.0 format.

Turtle Serializer

A serializer for the Turtle Terse RDF Triple Language W3C Candidate Recommendation, 19 February 2013

XMP Serializer

An alpha quality serializer to the Adobe XMP profile of RDF/XML suitable for embedding inside an external document.

mKR Serializer

A serializer for the mKR (my Knowledge Representation) Language

Documentation

The public API is described in the libraptor.3 UNIX manual page. It is demonstrated in the rapper utility program which shows how to call the parser and write the triples in a serialization. When Raptor is used inside Redland, the Redland documentation explains how to call the parser and contains several example programs. There are also further examples in the example directory of the distribution.

To install Raptor see the Installation document.

Sources

The packaged sources are available from http://download.librdf.org/source/ (master site) The development GIT sources can also be browsed at GitHub or checked out at git://github.com/dajobe/raptor.git

License

This library is free software / open source software released under the LGPL (GPL) or Apache 2.0 licenses. See LICENSE.html for full details.

Mailing Lists

The Redland mailing lists discusses the development and use of Raptor and Redland as well as future plans and announcement of releases.


Copyright (C) 2000-2017 Dave Beckett
Copyright (C) 2000-2005 University of Bristol

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].