- From: Víctor Rodríguez Doncel <vrodriguez@fi.upm.es>
- Date: Thu, 05 Oct 2017 18:32:56 +0200
- To: "Michael Steidl (IPTC)" <mdirector@iptc.org>, public-poe-wg@w3.org
Hi Michael, Thanks for your review. I wait for your feedback on the reverse transformation you make. I think the jsonld-java code is also from the Manu Spornu from DigitalBazaar. Regards, Víctor El 05/10/2017 a las 18:27, Michael Steidl (IPTC) escribió: > Victor, > ok, I see all example Policies on the Validator page have an identifier which can be used on the odrlapi.appspot.com site. > It would help to provide an explanation for that on the Validator page. > > Going randomly across the examples I noticed that some JSON-LD samples like 066 return an error: > <html><head> > <meta http-equiv="content-type" content="text/html;charset=utf-8"> > <title>404 Could not find resource for relative : /samples/sample066.json of full path: http://odrlapi.appspot.com/samples/sample066.json</title> > </head> > <body text=#000000 bgcolor=#ffffff> > <h1>Error: Could not find resource for relative : /samples/sample066.json of full path: http://odrlapi.appspot.com/samples/sample066.json</h1> > </body></html> > > Comes that from your work on the libraries? > > Then I had a look at shown JSON-LDs: sample054 or sample015 and noticed it has blank-node ids for e.g. a refinement - but no object with this id. > Also a result from your work on the libraries? > > In my ODRL implementation I have only transformed from JSON-LD to Turtle or Triples but I will setup a test scenario for the other direction - results, I hope, tomorrow morning. (I'm using the jsonld Javascript library from the JSON-LD guys a the Digital Bazaar - https://github.com/digitalbazaar/jsonld.js) > > > Best, > Michael > > > -----Original Message----- > From: Víctor Rodríguez Doncel [mailto:vrodriguez@fi.upm.es] > Sent: Thursday, October 5, 2017 2:59 PM > To: public-poe-wg@w3.org > Subject: Re: poe-ACTION-48: Create json-ld version of each turtle test case > > Michael, > > I have updated http://odrlapi.appspot.com/ so that JSON examples can be automatically loaded. > Examples have an URI like http://odrlapi.appspot.com/samples/sample005.json > > But for the last few hours I have been facing an important problem with > blanknodes: > Neither the online converters nor the libraries I have tried (like > jsonld-java) are able to collapse the blank nodes, resulting in equivalent but uglier examples. So the current examples are correct but ugly (with explicit ids for the blank nodes). > > Any clue? > > Regards, > Víctor > > El 05/10/2017 a las 13:10, Michael Steidl (IPTC) escribió: >> Victor, >> thanks for this action. Do they have individual URLs like the one below? If yes: could you please add them to the Validation page to make them easily accessible to implementers. >> >> Thanks, >> Michael >> >> -----Original Message----- >> From: vrodriguez@fi.upm.es [mailto:vrodriguez@fi.upm.es] >> Sent: Thursday, October 5, 2017 11:05 AM >> To: Permissions and Obligations Expression Working Group >> <public-poe-wg@w3.org> >> Subject: Re: poe-ACTION-48: Create json-ld version of each turtle test >> case >> >> >> Permissions and Obligations Expression Working Group Issue Tracker <sysbot+tracker@w3.org> escribió: >> >>> poe-ACTION-48: Create json-ld version of each turtle test case >>> >>> https://www.w3.org/2016/poe/track/actions/48 >>> >>> Assigned to: Víctor Rodríguez-Doncel >> An automated transformation has been published for each of the samples in the Validator. >> >> They are accessible online, for example: >> >> http://odrlapi.appspot.com/samples/sample005.json >> >> (with ID up to 075). Please not that invalid samples have not been transformed. >> >> If no other transformations have to be made, this ACTION-48 can be closed. >> >> Regards, >> Víctor >> >> >> >> >> > > -- > Víctor Rodríguez-Doncel > D3205 - Ontology Engineering Group (OEG) Departamento de Inteligencia Artificial ETS de Ingenieros Informáticos Universidad Politécnica de Madrid > > Campus de Montegancedo s/n > Boadilla del Monte-28660 Madrid, Spain > Tel. (+34) 91336 3753 > Skype: vroddon3 > > > > -- Víctor Rodríguez-Doncel D3205 - Ontology Engineering Group (OEG) Departamento de Inteligencia Artificial ETS de Ingenieros Informáticos Universidad Politécnica de Madrid Campus de Montegancedo s/n Boadilla del Monte-28660 Madrid, Spain Tel. (+34) 91336 3753 Skype: vroddon3
Received on Thursday, 5 October 2017 16:32:11 UTC