Re: Sample application/tool implementing json-ld

I just wanted to let you know I updated the visualization program.
Here is what I'd try:

git clone https://github.com/bshambaugh/node-arc-d3 to your apache web root

Then in d3sketch.js change the url to be:

var url = 'http://localhost/node-arc-d3/data/yourfile.json';


-Brent Shambaugh

GitHub: https://github.com/bshambaugh
Website: http://bshambaugh.org/
LinkedIN: https://www.linkedin.com/in/brent-shambaugh-9b91259
Skype: brent.shambaugh
Twitter: https://twitter.com/Brent_Shambaugh


On Wed, Mar 22, 2017 at 12:54 PM, Brent Shambaugh
<brent.shambaugh@gmail.com> wrote:
> Hi Pradeep,
>
> I have experimented with visualization. I've done .ttl files, but
> json-ld can be done manually by a simple hack if you're up to
> javascript. Otherwise, I'm working on modifying my code
> (https://github.com/bshambaugh/node-arc-d3/) to support json-ld.
>
> The not formalized manual way would be:
>
> In the gist below, replace the doc object with whatever json-ld you
> have. Paste nquads into a file  something.nq. Run the following code
> in node and post the output into something.nq in the /data directory .
>
> https://gist.github.com/bshambaugh/7488b14106fdd2ac4a08f49c47979d46
>
> Sources:  https://github.com/digitalbazaar/jsonld.js ,
> http://json-ld.org/
>
> Clone node-arc-d3 to a web folder. Replace the variable url with the
> path to your .nq file.
> https://github.com/bshambaugh/node-arc-d3/blob/master/js/d3sketch.js
>
> var url = 'http://localhost/node-arc-d3/data/test.nq';
>
>
> Alternatively try running: http://rdf-translator.appspot.com/ ,
> http://www.easyrdf.org/converter to convert it into a format useable
> with https://www.w3.org/2001/sw/wiki/GephiSemanticWebImportPlugin .
> Download Gephi at gephi.org before using the plugin. Also consider:
> https://www.w3.org/2001/sw/wiki/Category:Visualizer . Or try different
> serializations from the rdf converter and translator until something
> works.
>
> Best,
> -Brent Shambaugh
>
> GitHub: https://github.com/bshambaugh
> Website: http://bshambaugh.org/
> LinkedIN: https://www.linkedin.com/in/brent-shambaugh-9b91259
> Skype: brent.shambaugh
> Twitter: https://twitter.com/Brent_Shambaugh
>
>
> On Tue, Mar 21, 2017 at 1:17 AM, Pradeep Jain <pjain00@yahoo.com> wrote:
>> Hi,
>>
>> Is there any sample application/tool which is functional along with
>> visualization using json-ld ?
>>
>> Regards,
>> Pradeep Jain
>>
>>
>>
>>

Received on Thursday, 23 March 2017 06:14:20 UTC