Niklas Lindström
Niklas Lindström
In my tests with IE7 on Win XP, a newline is needed between a base64 value and the following next multipart separator. The simplest fix seems to be to change...
When ConjunctiveGraph.parse is called, it wraps its underlying store in a regular Graph instance. This causes problems for parsers of datasets, e.g. NQuads, TriG and JSON-LD. Specifically, the triples in...
Some time ago I wrote a very simple Python script which takes an RDF vocabulary as input and prints out a JSON-LD context skeleton (compartmentalized, and with some parts like...
It appears that `@graph`-aliased keywords don't work as containers in JSON-LD 1.1. Given: ```json { "@context": { "@base": "https://example.org/", "@vocab": "https://example.org/ns/", "entities": { "@id": "@graph", "@container": "@index" } }, "entities":...
There is currently a limitation in the JSON-LD 1.1 expansion algorithm which ignores property-scoped contexts for nested properties. My specific case is: ```json { "@context": { "@version": 1.1, "@vocab": "http://purl.org/dc/terms/",...
In using the series relationships in BibFrame at the National Library of Sweden, we've encountered some problems. There is a need for clarification regarding their intended meaning and use, and...
In JSON-LD 1.1, [IRI Expansion within a Context](https://www.w3.org/TR/json-ld11/#iri-expansion-within-a-context) defines a rule with a Warning: > If a compact IRI is used as a term, it must expand to the value...
The following compact data expands as expected to a `@list` of vocabulary term IRIs: ```json { "@context": { "owl": "http://www.w3.org/2002/07/owl#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "owl:unionOf": {"@container": "@list", "@type": "@vocab"}, "@base":...
When expanding this compact data: ```json { "@context": { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns/", "@vocab": "https://example.org/ns#", "typeDescribed": { "@id": "rdf:type", "@context": {"@base": "https://example.org/ns/"}, "@container": "@id" } }, "@id": "/item/1", "typeDescribed": { "Item": {"label":...
WIP.