-
Notifications
You must be signed in to change notification settings - Fork 915
Expand file tree
/
Copy pathissue-2482-examples.txt
More file actions
135 lines (108 loc) · 2.99 KB
/
issue-2482-examples.txt
File metadata and controls
135 lines (108 loc) · 2.99 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
TYPES: #eg-0458 sameAs
PRE-MARKUP:
<!-- Utilising Wikidata as a source of URIs for entities in a sameAs relationship -->
MICRODATA:
<!-- JSONLD only example -->
RDFA:
<!-- JSONLD only example -->
JSON:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Movie",
"name": "The Hitchhiker's Guide to the Galaxy",
"disambiguatingDescription": "2005 British-American comic science fiction film directed by Garth Jennings",
"sameAs": "https://www.wikidata.org/wiki/Q836821",
"titleEIDR": "10.5240/B752-5B47-DBBE-E5D4-5A3F-N",
"isBasedOn":
{
"@type": "Book",
"name": "The Hitchhiker's Guide to the Galaxy",
"isbn": "0-330-25864-8",
"sameAs": "https://www.wikidata.org/wiki/Q3107329",
"author":
{
"@type": "Person",
"name": "Douglas Adams",
"sameAs": "https://www.wikidata.org/wiki/Q42"
}
}
}
</script>
TYPES: #eg-0459 editEIDR, titleEIDR
PRE-MARKUP:
<!-- Using editEIDR and titleEIDR identifiers for generic titles and specific
expressions of a film or TV work -->
MICRODATA:
<!-- JSONLD only example -->
RDFA:
<!-- JSONLD only example -->
JSON:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Movie",
"name": "The Hitchhiker's Guide to the Galaxy",
"disambiguatingDescription": "2005 British-American comic science fiction film directed by Garth Jennings",
"sameAs": "https://www.wikidata.org/wiki/Q836821",
"titleEIDR": "10.5240/B752-5B47-DBBE-E5D4-5A3F-N",
"workExample": [
{
"@type": "Movie",
"editEIDR": "10.5240/0196-4177-FF62-A346-D0F6-Z",
"disambiguatingDescription": "VUDU version"
},
{
"@type": "Movie",
"editEIDR": "10.5240/043D-15C4-838D-80F4-E96A-G",
"disambiguatingDescription": "Censored for India"
},
{
"@type": "Movie",
"editEIDR": "10.5240/7BAD-7B81-396E-27EF-360F-N",
"disambiguatingDescription": "Theatrical"
},
{
"@type": "Movie",
"editEIDR": "0.5240/1DC4-B3E4-ECEB-7197-BF18-B",
"disambiguatingDescription": "Broadcast"
}
],
"isBasedOn":
{
"@type": "Book",
"name": "The Hitchhiker's Guide to the Galaxy",
"isbn": "0-330-25864-8",
"sameAs": "https://www.wikidata.org/wiki/Q3107329",
"author":
{
"@type": "Person",
"name": "Douglas Adams",
"sameAs": "https://www.wikidata.org/wiki/Q42"
}
}
}
</script>
TYPES: #eg-0460 editEIDR, titleEIDR, Movie
PRE-MARKUP:
<!-- Using editEIDR and titleEIDR identifiers for a specific edition of a movie
or TV work. An exampleOfWork described elsewhere -->
MICRODATA:
<!-- JSONLD only example -->
RDFA:
<!-- JSONLD only example -->
JSON:
<script type="application/ld+json">
{
"@type": "Movie",
"name": "The Hitchhiker's Guide to the Galaxy",
"titleEIDR": "10.5240/B752-5B47-DBBE-E5D4-5A3F-N",
"editEIDR": "10.5240/0196-4177-FF62-A346-D0F6-Z",
"disambiguatingDescription": "VUDU version",
"exampleOfWork":
{
"@type": "Movie",
"sameAs": "https://www.wikidata.org/wiki/Q836821"
}
}
</script>