-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Looking at the current context file with a critical eye, I would consider really trimming it considerably.
The choice of the RDFa default context was motivated by the lack of a @context-like mechanism in RDFa, meaning that all RDFa usages presupposed a load of repeated prefix statement (which are also awkward in RDFa). The rules to establish the RDFa context were:
- we performed a search over the vocabulary usage at that time and chose the top ones
- we established the rule whereby all vocabularies defined at W3C via a WG or an IG would be automatically added to the list.
- we never remove anything from the list
Mainly (1) above is of course questionable for everyday usage: ssn, time, og, snomed may all be questionable in view of JSON-LD usage. snomed, for example, is of a very specific usage (although important in a narrow area), and I am not sure it should be part of a generic thing.
At this moment, my preferred approach would be to greatly reduce the prefixes. I would retain only the following:
"dc": "http://purl.org/dc/elements/1.1/",
"dc11": "http://purl.org/dc/elements/1.1/",
"dct": "http://purl.org/dc/terms/",
"dcterms": "http://purl.org/dc/terms/",
"dctype": "http://purl.org/dc/dcmitype/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"schema": "http://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
reasons: DC and schema are the only really ubiquitous vocabularies out there, and the rdfs+rdfs+xsd are part of the 'core' anyway. Note that I do not even include 'foaf' and 'owl'; I am not sure 'foaf' is used by anyone except by the die hard semantic web people, and the same holds for OWL.