Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Rdflib | 1,904 | 1,567 | 444 | 4 days ago | 33 | July 26, 2022 | 231 | bsd-3-clause | Python | |
RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information. | ||||||||||
Akutan | 1,658 | 4 years ago | 18 | apache-2.0 | Go | |||||
A distributed knowledge graph store | ||||||||||
Nlp Knowledge Graph | 1,340 | 19 days ago | mit | |||||||
自然语言处理、知识图谱、对话系统三大技术研究与应用。 | ||||||||||
Awesome Graph | 991 | a month ago | 8 | |||||||
A curated list of resources for graph databases and graph computing tools | ||||||||||
Badwolf | 958 | a year ago | 22 | March 31, 2022 | 18 | apache-2.0 | Go | |||
Temporal graph store abstraction layer. | ||||||||||
Oxigraph | 772 | 4 | a day ago | 5 | March 19, 2022 | 61 | apache-2.0 | Rust | ||
SPARQL graph database | ||||||||||
Easyrdf | 560 | 3,113 | 71 | 2 years ago | 18 | December 02, 2020 | 56 | other | ||
EasyRdf is a PHP library designed to make it easy to consume and produce RDF. | ||||||||||
Ontop | 557 | 5 | a day ago | 12 | April 19, 2022 | 63 | apache-2.0 | Java | ||
Ontop is a platform to query relational databases as Virtual RDF Knowledge Graphs using SPARQL | ||||||||||
Graph Notebook | 552 | 3 days ago | 55 | June 11, 2022 | 22 | apache-2.0 | Jupyter Notebook | |||
Library extending Jupyter notebooks to integrate with Apache TinkerPop, openCypher, and RDF SPARQL. | ||||||||||
Rdfstore Js | 536 | 69 | 11 | 3 years ago | 76 | September 03, 2016 | 70 | mit | JavaScript | |
JS RDF store with SPARQL support |
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.
$foaf = new \EasyRdf\Graph("http://njh.me/foaf.rdf");
$foaf->load();
$me = $foaf->primaryTopic();
echo "My name is: ".$me->get('foaf:name')."\n";
The latest stable version of EasyRdf can be downloaded from the EasyRdf website.
phpdoc
phpunit
Zend\Http\Client
foaf:Person
can be mapped into PHP object of class Foaf_Person
basic.php
- Basic "Hello World" type examplebasic_sparql.php
- Example of making a SPARQL SELECT
queryconverter.php
- Convert RDF from one format to anotherdump.php
- Display the contents of a graphfoafinfo.php
- Display the basic information in a FOAF documentfoafmaker.php
- Construct a FOAF document with a choice of serialisationsgraph_direct.php
- Example of using EasyRdf\Graph
directly without EasyRdf\Resource
graphstore.php
- Store and retrieve data from a SPARQL 1.1 Graph Storegraphviz.php
- GraphViz rendering examplehtml_tag_helpers.php
- Rails Style html tag helpers to make the EasyRdf examples simplerhttpget.php
- No RDF, just test EasyRdf\Http\Client
open_graph_protocol.php
- Extract Open Graph Protocol metadata from a webpageserialise.php
- Basic serialisation examplesparql_queryform.php
- Form to submit SPARQL queries and display the resultuk_postcode.php
- Example of resolving UK postcodes using uk-postcodes.comwikidata_villages.php
- Fetch and information about villages in Fife from Wikidatazend_framework.php
- Example of using Zend\Http\Client
with EasyRdfWe welcome any contributions. For further information please read CONTRIBUTING.md.
For further information about extending / hack EasyRdf please read DEVELOPER.md.
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/
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.