Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove triplestore client #69

Merged
merged 1 commit into from
Apr 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 1 addition & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Chullo is a PHP client for [Fedora](http://fedorarepository.org/) built using [Guzzle](http://guzzlephp.org) and [EasyRdf](http://www.easyrdf.org/).

[![Latest Stable Version](https://img.shields.io/packagist/v/Islandora/chullo.svg?style=flat-square)](https://packagist.org/packages/islandora/chullo)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.5-8892BF.svg?style=flat-square)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.6-8892BF.svg?style=flat-square)](https://php.net/)
[![Downloads](https://img.shields.io/packagist/dt/islandora/chullo.svg?style=flat-square)](https://packagist.org/packages/islandora/chullo)
[![Build Status](https://travis-ci.org/Islandora-CLAW/chullo.svg?branch=master)](https://travis-ci.org/Islandora-CLAW/chullo)
[![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
Expand Down Expand Up @@ -62,30 +62,6 @@ $chullo->saveGraph($uri, $graph);

```

### Triplestore

```php
use Islandora\Chullo\TriplestoreClient;

$triplestore = TriplestoreClient::create('http://127.0.0.1:8080/bigdata/namespace/kb/sparql/');

$sparql = <<<EOD
PREFIX fedora: <http://fedora.info/definitions/v4/repository#>

SELECT ?s
WHERE {
?s fedora:hasParent <http://localhost:8080/fcrepo/rest/> .
}
LIMIT 25
EOD;

$results = $triplestore->query($sparql);

foreach ($results as $triple) {
echo $triple->s . "\n";
}
```

## Maintainers/Sponsors

Current maintainers:
Expand Down
2 changes: 0 additions & 2 deletions src/Chullo.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* PHP Version 5.5.9
*
* @category Islandora
* @package Islandora
* @author Daniel Lamb <dlamb@islandora.ca>
Expand Down
2 changes: 0 additions & 2 deletions src/FedoraApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* PHP Version 5.5.9
*
* @category Islandora
* @package Islandora
* @author Daniel Lamb <dlamb@islandora.ca>
Expand Down
2 changes: 0 additions & 2 deletions src/IFedoraApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* PHP Version 5.5.9
*
* @category Islandora
* @package Islandora
* @author Daniel Lamb <dlamb@islandora.ca>
Expand Down
2 changes: 0 additions & 2 deletions src/IFedoraClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* PHP Version 5.5.9
*
* @category Islandora
* @package Islandora
* @author Daniel Lamb <dlamb@islandora.ca>
Expand Down
35 changes: 0 additions & 35 deletions src/ITriplestoreClient.php

This file was deleted.

69 changes: 0 additions & 69 deletions src/TriplestoreClient.php

This file was deleted.

67 changes: 0 additions & 67 deletions test/TriplestoreClientTest.php

This file was deleted.