Giter Club home page Giter Club logo

Comments (8)

RubenVerborgh avatar RubenVerborgh commented on August 11, 2024 1

@timbl Could your script be extended to do that?

from web-access-control-spec.

leinue avatar leinue commented on August 11, 2024 1

I want JSON-LD too.

from web-access-control-spec.

csarven avatar csarven commented on August 11, 2024

WAC does not need to require more than one concrete RDF syntax. Only Turtle is required for interop. Requiring any additional syntax increases the complexity on the WAC-spec level. Servers implementing a protocol that supports JSON-LD (and/or other syntaxes) can do so.

Unless there is a compelling reason for WAC to support other syntaxes, I suggest to close this issue.

from web-access-control-spec.

elf-pavlik avatar elf-pavlik commented on August 11, 2024

I think this issue was about vocab not the representation of ACLs in given ecosystem.

from web-access-control-spec.

csarven avatar csarven commented on August 11, 2024

hah! oops, I've totally lazy-misread that.

Source is acl.n3 . I don't see a particular reason not to have a JSON-LD representation... will followup with Tim/Eric.

from web-access-control-spec.

TallTed avatar TallTed commented on August 11, 2024

I'm confused.

To my eyes, it looks like @elf-pavlik misread the original post. I don't see a question about vocab, but about whether JSON-LD representations of ACLs could be supported -- where TTL, RDF/XML, and N3 already are. ...

I also don't see how @csarven's latest addresses a vocab question, when you're going to follow up with people about delivering a JSON-LD representation of an N3 resource ... but it does seem to be addressing the original question.

Have I lost the plot somewhere?

from web-access-control-spec.

csarven avatar csarven commented on August 11, 2024

@TallTed

I can see that there are two things being conflated. The title of the issue:

Can ACL docs be in JSON-LD?

and the following line caused the confusion:

Since LDP officially supports JSON-LD as a 'SHOULD', it feels like the WAC spec should too, right? But when trying to write unit test for ACL docs in JSON-LD format, I ran into this problem:

because they they have nothing to do with what follows:

curl -H "Accept: application/ld+json" http://www.w3.org/ns/auth/acl

Should we ask the webmasters of w3.org to publish a JSON-LD representation of http://www.w3.org/ns/auth/acl?

I overlooked some details in my original comment hence the reason why I thought it is about the ACL resource as opposed to the ACL ontology.

@michielbdejong ? :)

from web-access-control-spec.

michielbdejong avatar michielbdejong commented on August 11, 2024

Sorry, I didn't remember the details but if you follow the link to inrupt/wac-ldp#45 (comment) and inrupt/wac-ldp@78a40a7 that gives some more info.

So while we could still ask the webmasters of w3.org to publish a JSON-LD representation of http://www.w3.org/ns/auth/acl, the answer to this issue is of course "yes, they can". And as long as clients don't try to retrieve http://www.w3.org/ns/auth/acl to get context, all is fine!

from web-access-control-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.