Re: JSON-LD Syntax request for FPWD via RDF WG

Gregg

On May 22, 2012, at 4:07 PM, Richard Cyganiak wrote:

> On 22 May 2012, at 20:00, Gregg Kellogg wrote:
> ...
>> You can turn it into RDF using my distiller (at http://rdf.greggkellogg.net/distiller. You could also use that to turn arbitrary RDF into JSON-LD.
> 
> Thanks, but this doesn't seem to work for me. I pasted http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld into the URI box and clicked Submit. I got: NoMethodError: undefined method `empty?' for nil:NilClass

Sorry, odd bug added in a recent update. Try it again:
http://rdf.greggkellogg.net/distiller?forat=turtle&in_fmt=jsonld&uri=http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld

Gregg

> Best,
> Richard
> 
> 
> 
>> 
>> Gregg
>> 
>>>> The fact that manifests are all represented using JSON should make this a fairly easy thing to do within the HTML page itself, perhaps using the <script type="application/ld+json"> similar to that used in the Turtle spec.
>>> 
>>> Sounds useful.
>>> 
>>> Thanks,
>>> Richard
>>> 
>>> 
>>> 
>>>> 
>>>> Gregg
>>>> 
>>>>>> 3. Is it possible to serialize an RDF graph into a "pretty" JSON-LD
>>>>>> document using a context? I presume the answer is "yes" and involves
>>>>>> Compaction of the basic serialized output.
>>>>> 
>>>>> Yes, exactly either by compacting or by framing.
>>>>> 
>>>>> 
>>>>> [1] https://github.com/json-ld/json-ld.org/issues/125
>>>>> [2] http://json-ld.org/spec/latest/json-ld-syntax/#markup-examples
>>>> [3] http://www.w3.org/TR/2011/WD-rdf-interfaces-20110510/
>>>> [4] http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld
>>>> [5] http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld
>>>> 
>>>>> --
>>>>> Markus Lanthaler
>>>>> @markuslanthaler
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
> 
> 

Received on Wednesday, 23 May 2012 06:32:34 UTC