-
Notifications
You must be signed in to change notification settings - Fork 0
/
links.ttl
83 lines (72 loc) · 3.03 KB
/
links.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
@prefix : <./> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix hsc: <https://www.w3.org/2011/http-statusCodes#> .
@prefix html: <https://datatracker.ietf.org/doc/html/> .
@prefix link: <https://www.w3.org/ns/iana/link-relations/relation#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix reg: <https://www.w3.org/ns/assignments/reg#> .
@prefix Statu: <https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/> .
@prefix terms: <http://purl.org/dc/terms#> .
@prefix vann: <https://vocab.org/vann/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<>
link:canonical <https://purl.org/pdsinterop/link-metadata>;
rdfs:comment """Defines basic link redirect and deleted properties, as well as
some properties to support archived/cached links and hashes and/or timestamps.""";
terms:description "Metadata terms describing link forwarding and caching";
vann:preferredNamespacePrefix "ldpl" ;
vann:preferredNamespaceUri "https://purl.org/pdsinterop/link-metadata#"^^xsd:anyURI .
<#invalidatedResource> a rdfs:Class;
rdfs:comment "This resource is no longer valid, disregard any other predicates for this subject" .
<#redirectPermanent> a rdf:Property;
rdfs:domain :invalidatedResource;
rdfs:comment "This link has been moved here permanently.";
rdfs:isDefinedBy :link-metadata;
reg:spec [
reg:xref html:rfc7238
];
rdfs:seeAlso Statu:308 .
<#redirectTemporary> a rdf:Property;
rdfs:domain :invalidatedResource;
rdfs:comment "This link has been moved here temporarily.";
rdfs:isDefinedBy :link-metadata;
reg:spec [
reg:xref html:rfc7231#section-6.4.7
];
rdfs:seeAlso hsc:TemporaryRedirect, Statu:307 .
<#deleted> a rdf:Property;
rdfs:domain :invalidatedResource;
rdfs:isDefinedBy :link-metadata;
rdfs:comment "This link has been deleted.";
rdfs:seeAlso hsc:NotFound, Statu:404 .
<#forget> a rdf:Property;
rdfs:domain :invalidatedResource;
rdfs:isDefinedBy :link-metadata;
rdfs:comment "This link should be forgotten.";
reg:spec [
reg:xref html:rfc7231#section-6.5.9
];
rdfs:seeAlso hsc:Gone, Statu:410 .
<#contentHash> a rdfs:Literal;
rdfs:isDefinedBy :link-metadata;
rdfs:comment "This is the content hash of this link.";
rdfs:seeAlso <https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity> .
<#archive> a rdf:Property;
rdfs:isDefinedBy :link-metadata;
rdfs:comment "This link is archived here." .
<#archiveDate> a rdf:Property;
rdfs:isDefinedBy :link-metadata;
rdfs:comment "This Archive was created at this timestamp." .
<#link-metadata> terms:title "Link Metadata";
reg:id "link-metadata";
reg:registry <#link-metadata-1> .
<#link-metadata-1> terms:title "Link Metadata Types";
reg:id "link-metadata-1";
reg:record <#redirectPermanent>,
<#redirectTemporary>,
<#deleted>,
<#forget>,
<#contentHash>,
<#archive>,
<#archiveDate> .