digitalbazaar/pyld — Issue #11: @type value should be an IRI
Author: pchampin
Created: 2012-01-31 08:59:49+00:00
State: open

According to section 3.3 of JSON-LD (http://json-ld.org/spec/latest/json-ld-syntax/#specifying-the-type) , the value of the "@type" property should always be an IRI. So the following code

```python
pyld.jsonld.triples({"@type": "http://example.com/Thing"})
```

should generate

```python
[{'o': {'@id': 'http://example.com/Thing'}, 'p': '@type', 's': '_:c14n0'}]
```

but it generates

```python
[{'o': 'http://example.com/Thing', 'p': '@type', 's': '_:c14n0'}]
```