About

This is a web service for converting semantic web data from one format to another.

RDF/XML, Turtle and RDF/JSON can all be converted into one another, converted to TriX, Exhibit/JSON, or RSS 1.0, or rendered as HTML.

SPARQL Results XML, and Facets XML, can be rendered as HTML, or converted to JSON.

All JSON is also available as JSONP - the name of the callback function can be set using the callback parameter; the same structure as the JSON can also be output as a serialised PHP associated array, which can be useful for pasting sample data into unit tests, for example.

Supported Formats

RDF/XML

The canonical serialisation of RDF.

Turtle

An easy to scribble plain text format, derived from N3

RDF/JSON

A resource oriented data structure for RDF, designed for ease of programming with, serialised as JSON.

HTML

HTML can have semantics embedded in it with RDFa, eRDF, or microformats.

RSS 1.0

An RDF based syndication format, used in the Talis Platform for delivering Search Results.

Trix

A consistent serialisation of RDF in XML, with support for named graphs.

Exhibit JSON

The JSON format used by Simile's Exhibit javascript framework

Facet XML and JSON

The format served by the facet service of Talis Platform stores.

SPARQL XML and JSON

The results format of SELECT and ASK SPARQL queries.

Code Project

All the code behind Morph is available as an open source project called metamorph. Feature requests and bugs can be filed at the metamorph issues page.

Morph uses the ARC RDF library for PHP.