ericprud/SWObjects — pull request #3 by RubenVerborgh (2014-11-08 01:08:54+00:00)
Title: Fix problems with base IRIs and IRIs without slashes

This pull requests consists of fixes for two related problems.

### A hyphen is used as base IRI when using STDIN

Given the same file `no-trailing-slash.rdf`:
```xml

```
We get the following result:

```bash
$ cat no-trailing-slash.rdf | sparql -l rdfxml -d -

```
Note the incorrect hyphen at the end of the IRI. This is fixed by 06a70d5.

### A URI without trailing slash is not considered absolute

Given the file `no-trailing-slash.rdf`:
```xml

```
We get the following result:

```bash
$ sparql -b https://example.org/foo/bar -l rdfxml -d no-trailing-slash.rdf