All Projects → easyrdf → Easyrdf

easyrdf / Easyrdf

Licence: other
EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

Labels

Projects that are alternatives of or similar to Easyrdf

CSV2RDF
Streaming, transforming, SPARQL-based CSV to RDF converter. Apache license.
Stars: ✭ 48 (-91.21%)
Mutual labels:  sparql, rdf
Sparqlwrapper
A wrapper for a remote SPARQL endpoint
Stars: ✭ 365 (-33.15%)
Mutual labels:  rdf, sparql
sparql-micro-service
SPARQL micro-services: A lightweight approach to query Web APIs with SPARQL
Stars: ✭ 22 (-95.97%)
Mutual labels:  sparql, rdf
Sparql.js
A parser for the SPARQL query language in JavaScript
Stars: ✭ 271 (-50.37%)
Mutual labels:  rdf, sparql
IGUANA
IGUANA is a benchmark execution framework for querying HTTP endpoints and CLI Applications such as Triple Stores. Contact: [email protected]
Stars: ✭ 22 (-95.97%)
Mutual labels:  sparql, rdf
SEPA
Get notifications about changes in your SPARQL endpoint.
Stars: ✭ 21 (-96.15%)
Mutual labels:  sparql, rdf
AskNowNQS
A question answering system for RDF knowledge graphs.
Stars: ✭ 32 (-94.14%)
Mutual labels:  sparql, rdf
semagrow
A SPARQL query federator of heterogeneous data sources
Stars: ✭ 27 (-95.05%)
Mutual labels:  sparql, rdf
Semanticmediawiki
🔗 Semantic MediaWiki turns MediaWiki into a knowledge management platform with query and export capabilities
Stars: ✭ 359 (-34.25%)
Mutual labels:  rdf, sparql
LinkedDataHub
The Knowledge Graph notebook. Apache license.
Stars: ✭ 150 (-72.53%)
Mutual labels:  sparql, rdf
rdf2x
RDF2X converts big RDF datasets to the relational database model, CSV, JSON and ElasticSearch.
Stars: ✭ 43 (-92.12%)
Mutual labels:  sparql, rdf
Web Karma
Information Integration Tool
Stars: ✭ 489 (-10.44%)
Mutual labels:  rdf, sparql
ont-api
ONT-API (OWL-API over Apache Jena)
Stars: ✭ 20 (-96.34%)
Mutual labels:  sparql, rdf
stardog-language-servers
Language Servers for Stardog Languages
Stars: ✭ 19 (-96.52%)
Mutual labels:  sparql, rdf
rdflib-hdt
A Store back-end for rdflib to allow for reading and querying HDT documents
Stars: ✭ 18 (-96.7%)
Mutual labels:  sparql, rdf
Sessel
Document RDFizer for CouchDB
Stars: ✭ 22 (-95.97%)
Mutual labels:  sparql, rdf
cognipy
In-memory Graph Database and Knowledge Graph with Natural Language Interface, compatible with Pandas
Stars: ✭ 31 (-94.32%)
Mutual labels:  sparql, rdf
graph-explorer
Graph Explorer can be used to explore RDF graphs in SPARQL endpoints or on the web.
Stars: ✭ 30 (-94.51%)
Mutual labels:  sparql, rdf
LSQ
Linked SPARQL Queries (LSQ): Framework for RDFizing triple store (web) logs and performing SPARQL query extraction, analysis and benchmarking in order to produce datasets of Linked SPARQL Queries
Stars: ✭ 23 (-95.79%)
Mutual labels:  sparql, rdf
jarql
SPARQL for JSON: Turn JSON into RDF using SPARQL syntax
Stars: ✭ 19 (-96.52%)
Mutual labels:  sparql, rdf

EasyRdf

Build Status

EasyRdf is a PHP library designed to make it easy to consume and produce RDF. It was designed for use in mixed teams of experienced and inexperienced RDF developers. It is written in Object Oriented PHP and has been tested extensively using PHPUnit.

After parsing EasyRdf builds up a graph of PHP objects that can then be walked around to get the data to be placed on the page. Dump methods are available to inspect what data is available during development.

Data is typically loaded into an EasyRdf\Graph object from source RDF documents, loaded from the web via HTTP. The EasyRdf\GraphStore class simplifies loading and saving data to a SPARQL 1.1 Graph Store.

SPARQL queries can be made over HTTP to a Triplestore using the EasyRdf\Sparql\Client class. SELECT and ASK queries will return an EasyRdf\Sparql\Result object and CONSTRUCT and DESCRIBE queries will return an EasyRdf\Graph object.

Example

$foaf = new \EasyRdf\Graph("http://njh.me/foaf.rdf");
$foaf->load();
$me = $foaf->primaryTopic();
echo "My name is: ".$me->get('foaf:name')."\n";

Downloads

The latest stable version of EasyRdf can be downloaded from the EasyRdf website.

Links

Requirements

  • PHP 7.1 or higher

Features

  • API documentation written in phpdoc
  • Extensive unit tests written using phpunit
  • Built-in parsers and serialisers: RDF/JSON, N-Triples, RDF/XML, Turtle
  • Optional parsing support for: ARC2, rapper
  • Optional support for Zend\Http\Client
  • No required external dependencies upon other libraries (PEAR, Zend, etc...)
  • Complies with Zend Framework coding style.
  • Type mapper - resources of type foaf:Person can be mapped into PHP object of class Foaf_Person
  • Support for visualisation of graphs using GraphViz
  • Comes with a number of examples

List of Examples

Contributing

We welcome any contributions. For further information please read CONTRIBUTING.md.

For further information about extending / hack EasyRdf please read DEVELOPER.md.

Running Examples

The easiest way of trying out some of the examples is to use the PHP command to run a local web server on your computer.

php -S localhost:8080 -t examples

Then open the following URL in your browser: http://localhost:8080/

Licensing

The EasyRdf library and tests are licensed under the BSD-3-Clause license. The examples are in the public domain, for more information see UNLICENSE.

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].