Skip to content
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

vocab-dcat should be an alias for the version 2 #635

Merged
merged 1 commit into from
Feb 26, 2021
Merged

vocab-dcat should be an alias for the version 2 #635

merged 1 commit into from
Feb 26, 2021

Conversation

deniak
Copy link
Collaborator

@deniak deniak commented Feb 5, 2021

@andrea-perego mentioned that vocab-dcat should point to version 2 in w3c/w3c-api#96

@deniak deniak requested a review from tobie February 5, 2021 12:19
@tobie tobie merged commit 302ec86 into master Feb 26, 2021
@tobie tobie deleted the vocab-dcat branch February 26, 2021 14:05
tobie added a commit that referenced this pull request Mar 3, 2021
tobie added a commit that referenced this pull request Mar 3, 2021
@tobie
Copy link
Owner

tobie commented Mar 3, 2021

I've reverted this as it was introducing breakage I couldn't easily fix (there was more to it than just the JSON issue).

@andrea-perego
Copy link
Collaborator

@tobie , @deniak , I wonder whether the issue is that https://github.com/tobie/specref/blob/master/data/w3c-specs.txt includes the following lines:

http://www.w3.org/TR/2012/WD-vocab-dcat-20120405/       http://www.w3.org/TR/vocab-dcat/
http://www.w3.org/TR/2013/WD-vocab-dcat-20130312/       http://www.w3.org/TR/vocab-dcat/
http://www.w3.org/TR/2013/WD-vocab-dcat-20130801/       http://www.w3.org/TR/vocab-dcat/
http://www.w3.org/TR/2013/CR-vocab-dcat-20131105/       http://www.w3.org/TR/vocab-dcat/
http://www.w3.org/TR/2013/PR-vocab-dcat-20131217/       http://www.w3.org/TR/vocab-dcat/
http://www.w3.org/TR/2014/REC-vocab-dcat-20140116/      http://www.w3.org/TR/vocab-dcat/

The result in https://github.com/tobie/specref/blob/master/refs/w3c.json after commit 4c6025f is:

    "vocab-dcat": {
        "authors": [
            "Fadi Maali",
            "John Erickson"
        ],
        "href": "https://www.w3.org/TR/vocab-dcat/",
        "title": "Data Catalog Vocabulary (DCAT)",
        "rawDate": "2020-02-04",
        "status": "REC",
        "publisher": "W3C",
        "deliveredBy": [
            "https://www.w3.org/2011/gld/"
        ],
        "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf",
        "versions": {
            "20120405": {
                "status": "WD",
                "rawDate": "2012-04-05",
                "href": "https://www.w3.org/TR/2012/WD-vocab-dcat-20120405/",
                "source": "./data/w3c-specs.txt"
            },
            "20130312": {
                "authors": [
                    "Fadi Maali",
                    "John Erickson",
                    "Phil Archer"
                ],
                "href": "https://www.w3.org/TR/2013/WD-vocab-dcat-20130312/",
                "title": "Data Catalog Vocabulary (DCAT)",
                "rawDate": "2013-03-12",
                "status": "LCWD",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2011/gld/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20130801": {
                "authors": [
                    "Fadi Maali",
                    "John Erickson"
                ],
                "href": "https://www.w3.org/TR/2013/WD-vocab-dcat-20130801/",
                "title": "Data Catalog Vocabulary (DCAT)",
                "rawDate": "2013-08-01",
                "status": "LCWD",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2011/gld/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20131105": {
                "authors": [
                    "Fadi Maali",
                    "John Erickson"
                ],
                "href": "https://www.w3.org/TR/2013/CR-vocab-dcat-20131105/",
                "title": "Data Catalog Vocabulary (DCAT)",
                "rawDate": "2013-11-05",
                "status": "CR",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2011/gld/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20131217": {
                "authors": [
                    "Fadi Maali",
                    "John Erickson"
                ],
                "href": "https://www.w3.org/TR/2013/PR-vocab-dcat-20131217/",
                "title": "Data Catalog Vocabulary (DCAT)",
                "rawDate": "2013-12-17",
                "status": "PR",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2011/gld/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20140116": {
                "authors": [
                    "Fadi Maali",
                    "John Erickson"
                ],
                "href": "https://www.w3.org/TR/2014/REC-vocab-dcat-20140116/",
                "title": "Data Catalog Vocabulary (DCAT)",
                "rawDate": "2014-01-16",
                "status": "REC",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2011/gld/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20200204": {
                "authors": [
                    "Fadi Maali",
                    "John Erickson"
                ],
                "href": "https://www.w3.org/TR/2020/SPSD-vocab-dcat-20200204/",
                "title": "Data Catalog Vocabulary (DCAT)",
                "rawDate": "2020-02-04",
                "status": "REC",
                "publisher": "W3C",
                "isRetired": true,
                "deliveredBy": [
                    "https://www.w3.org/2011/gld/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            }
        },
        "isRetired": true,
        "obsoletedBy": [
            "vocab-dcat-2"
        ]
    },
    "vocab-dcat-1": {
        "authors": [
            "Fadi Maali",
            "John Erickson"
        ],
        "href": "https://www.w3.org/TR/vocab-dcat-1/",
        "title": "Data Catalog Vocabulary (DCAT)",
        "rawDate": "2020-02-04",
        "status": "REC",
        "publisher": "W3C",
        "deliveredBy": [
            "https://www.w3.org/2011/gld/"
        ],
        "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf",
        "isRetired": true,
        "versions": {
            "20140116": {
                "aliasOf": "vocab-dcat-20140116"
            },
            "20200204": {
                "aliasOf": "vocab-dcat-20200204"
            }
        }
    },
    "vocab-dcat-2": {
        "authors": [
            "Riccardo Albertoni",
            "David Browning",
            "Simon Cox",
            "Alejandra Gonzalez Beltran",
            "Andrea Perego",
            "Peter Winstanley"
        ],
        "href": "https://www.w3.org/TR/vocab-dcat-2/",
        "title": "Data Catalog Vocabulary (DCAT) - Version 2",
        "rawDate": "2020-02-04",
        "status": "REC",
        "publisher": "W3C",
        "edDraft": "https://w3c.github.io/dxwg/dcat/",
        "deliveredBy": [
            "https://www.w3.org/2017/dxwg/"
        ],
        "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf",
        "versions": {
            "20180508": {
                "authors": [
                    "Alejandra Gonzalez Beltran",
                    "David Browning",
                    "Simon Cox",
                    "Peter Winstanley"
                ],
                "href": "https://www.w3.org/TR/2018/WD-vocab-dcat-2-20180508/",
                "title": "Data Catalog Vocabulary (DCAT) - revised edition",
                "rawDate": "2018-05-08",
                "status": "WD",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2017/dxwg/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20181016": {
                "authors": [
                    "Alejandra Gonzalez Beltran",
                    "David Browning",
                    "Simon Cox",
                    "Peter Winstanley"
                ],
                "href": "https://www.w3.org/TR/2018/WD-vocab-dcat-2-20181016/",
                "title": "Data Catalog Vocabulary (DCAT) - revised edition",
                "rawDate": "2018-10-16",
                "status": "WD",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2017/dxwg/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20190528": {
                "authors": [
                    "Riccardo Albertoni",
                    "David Browning",
                    "Simon Cox",
                    "Alejandra Gonzalez Beltran",
                    "Andrea Perego",
                    "Peter Winstanley"
                ],
                "href": "https://www.w3.org/TR/2019/WD-vocab-dcat-2-20190528/",
                "title": "Data Catalog Vocabulary (DCAT) - Version 2",
                "rawDate": "2019-05-28",
                "status": "WD",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2017/dxwg/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20191003": {
                "authors": [
                    "Riccardo Albertoni",
                    "David Browning",
                    "Simon Cox",
                    "Alejandra Gonzalez Beltran",
                    "Andrea Perego",
                    "Peter Winstanley"
                ],
                "href": "https://www.w3.org/TR/2019/CR-vocab-dcat-2-20191003/",
                "title": "Data Catalog Vocabulary (DCAT) - Version 2",
                "rawDate": "2019-10-03",
                "status": "CR",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2017/dxwg/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20191119": {
                "authors": [
                    "Riccardo Albertoni",
                    "David Browning",
                    "Simon Cox",
                    "Alejandra Gonzalez Beltran",
                    "Andrea Perego",
                    "Peter Winstanley"
                ],
                "href": "https://www.w3.org/TR/2019/PR-vocab-dcat-2-20191119/",
                "title": "Data Catalog Vocabulary (DCAT) - Version 2",
                "rawDate": "2019-11-19",
                "status": "PR",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2017/dxwg/"
                ],
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            },
            "20200204": {
                "authors": [
                    "Riccardo Albertoni",
                    "David Browning",
                    "Simon Cox",
                    "Alejandra Gonzalez Beltran",
                    "Andrea Perego",
                    "Peter Winstanley"
                ],
                "href": "https://www.w3.org/TR/2020/REC-vocab-dcat-2-20200204/",
                "title": "Data Catalog Vocabulary (DCAT) - Version 2",
                "rawDate": "2020-02-04",
                "status": "REC",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2017/dxwg/"
                ],
                "hasErrata": "https://w3c.github.io/dxwg/errata/",
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            }
        },
        "repository": "https://github.com/w3c/dxwg",
        "hasErrata": "https://w3c.github.io/dxwg/errata/",
        "obsoletes": [
            "vocab-dcat"
        ]
    },
    "vocab-dcat-3": {
        "authors": [
            "Riccardo Albertoni",
            "David Browning",
            "Simon Cox",
            "Alejandra Gonzalez Beltran",
            "Andrea Perego",
            "Peter Winstanley"
        ],
        "href": "https://www.w3.org/TR/vocab-dcat-3/",
        "title": "Data Catalog Vocabulary (DCAT) - Version 3",
        "rawDate": "2020-12-17",
        "status": "WD",
        "publisher": "W3C",
        "edDraft": "https://w3c.github.io/dxwg/dcat/",
        "deliveredBy": [
            "https://www.w3.org/2017/dxwg/"
        ],
        "hasErrata": "https://w3c.github.io/dxwg/errata/",
        "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf",
        "versions": {
            "20201217": {
                "authors": [
                    "Riccardo Albertoni",
                    "David Browning",
                    "Simon Cox",
                    "Alejandra Gonzalez Beltran",
                    "Andrea Perego",
                    "Peter Winstanley"
                ],
                "href": "https://www.w3.org/TR/2020/WD-vocab-dcat-3-20201217/",
                "title": "Data Catalog Vocabulary (DCAT) - Version 3",
                "rawDate": "2020-12-17",
                "status": "WD",
                "publisher": "W3C",
                "deliveredBy": [
                    "https://www.w3.org/2017/dxwg/"
                ],
                "hasErrata": "https://w3c.github.io/dxwg/errata/",
                "source": "https://www.w3.org/2002/01/tr-automation/tr.rdf"
            }
        },
        "repository": "https://github.com/w3c/dxwg"
    },

whereas the vocab-dcat entry should be replaced by:

"vocab-dcat": {
    "aliasOf": "vocab-dcat-2"
},

@tobie
Copy link
Owner

tobie commented Mar 3, 2021

@andrea-perego: can you please turn the above into an issue, it's going to get lost here. thanks!

@andrea-perego
Copy link
Collaborator

@andrea-perego: can you please turn the above into an issue, it's going to get lost here. thanks!

Just done: #640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants