Skip to content

Syntax error in published V2 of Credentials Turtle file #1596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pmcb55 opened this issue Apr 23, 2025 · 1 comment
Open

Syntax error in published V2 of Credentials Turtle file #1596

pmcb55 opened this issue Apr 23, 2025 · 1 comment
Labels
pending close Close if no objection within 7 days

Comments

@pmcb55
Copy link

pmcb55 commented Apr 23, 2025

Hi,

I notice there is a syntax error in the published V2 Credentials Turtle file (here: https://www.w3.org/2018/credentials/vocabulary.ttl), specifically a spurious '@' character on the Object datatype (i.e., ^^@rdf:HTML), that causes any RDF parser to (correctly) blow up:

# Ontology definition
cred: a owl:Ontology ;
    dc:title """Verifiable Credentials Vocabulary v2.0"""@en ;
===>    dc:description """RDFS [[RDF-SCHEMA]] vocabulary used by the Verifiable Credentials [[VC-DATA-MODEL-2.0]]"""^^@rdf:HTML ;
    rdfs:seeAlso <https://www.w3.org/TR/vc-data-model-2.0/> ;
    dc:date "2025-02-25"^^xsd:date ;
.  

I had a quick look at the tool I think is used to generate this Turtle representation (i.e., yml2vocab), but it looks fine: https://github.com/w3c/yml2vocab/blob/e465cd586c138b23db29d2c5ce0e5b374cf8a8c0/lib/turtle.ts#L81, so I've no idea where this invalid '@' character is coming from.

I could work around the problem by simply loading the JSON-LD representation instead, so it's not an issue for me - just letting you know.

@iherman
Copy link
Member

iherman commented Apr 24, 2025

I have just updated the vocabulary references, and it should be o.k. now @pmcb55 and it should be o.k. now. There was a bug in the generation process...

@TallTed TallTed added the pending close Close if no objection within 7 days label Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending close Close if no objection within 7 days
Projects
None yet
Development

No branches or pull requests

3 participants