Skip to content

Commit 3a47335

Browse files
committed
Update scheme.yaml
Source statements and other stuff
1 parent f57f6e4 commit 3a47335

File tree

1 file changed

+234
-114
lines changed

1 file changed

+234
-114
lines changed

scheme.yaml

Lines changed: 234 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -10,146 +10,266 @@ units:
1010
generic:
1111
metadata_permission:
1212
jsonpath:
13-
values:
14-
wikidocumentaries_api:
15-
url:
13+
values:
1614
images:
17-
fields:
18-
aliases: [] #Alternative titles
19-
inscriptions: []
20-
content: #was "inscriptions"
21-
inscriptionMentions: []
22-
statedAs:
23-
language:
24-
qid: #inscription mentions (P6568)
25-
location:
26-
statedAs:
27-
language:
28-
pct: #relative position within image (P2677)
29-
language:
30-
aspectRatio: #TBD
31-
copyright: #currently missing this hierarchy
32-
copyrightRS: #RightStatements categories "incopyright, nocopyright, unknowncopyright and more detailed"
33-
license: #In varying forms from the source
34-
licenseId: #Unified licence ID to allow multilinguality, QID?
35-
licenseLink: #Link to license deed, preferably in preferred language
36-
creditLine: #Attribution text defined by the source
37-
copyrightNote: #Any other information
38-
creators: [] #creator (P170)
39-
statedAs: #creator (P170) / stated as (P1932)
40-
language:
41-
qid: #inscription mentions (P6568)
42-
role: #creator (P170) / object has role (P3831)
43-
statedAs:
44-
language:
45-
qid: #inscription mentions (P6568)
46-
url: #e.g. Commons and Flickr, creator (P170) / official website (P856)
47-
dates: []
48-
type: #designed, contructed, deployed, usage, uploaded, depicted... --> different Wikidata properties
15+
aliases: [] #Alternative titles
16+
content:
17+
language:
18+
inscriptions: []
19+
content: #was "inscriptions" inscription (P1684)
20+
inscriptionMentions: []
4921
statedAs:
50-
date:
51-
startDate:
52-
endDate:
53-
year:
54-
depicted: [] #Require type only if exists
55-
type: #place (currently "places"), person (currently "actors"), events (currently "events"), subjects (currently "subjects"), period (currently "perioddepicted")
56-
statedAs: #depicts (P180) / stated as (P1932)
5722
language:
58-
qid:
59-
represents: #artwork that this image represents
23+
qid: #inscription mentions (P6568)
24+
source:
25+
sourceURL:
26+
retrievedDate:
27+
position:
6028
statedAs:
61-
language:
29+
language:
30+
pct: #relative position within image (P2677)
31+
language:
32+
source:
33+
sourceURL:
34+
retrievedDate:
35+
aspectRatio: #aspect ratio (P2061)
36+
copyright: #Is this hierarchy useful?
37+
license: #In varying forms from the source
38+
statedAs: #can also be RightsStatement or other
6239
qid:
63-
description:
40+
licenseLink: #Link to license deed, preferably in preferred language
41+
source:
42+
sourceURL:
43+
retrievedDate:
44+
creditLine: #Attribution text defined by the source
6445
content:
6546
language:
66-
types: [] #type from the source, such as "Photograph", text in original language, was "formats"
47+
source:
48+
sourceURL:
49+
retrievedDate:
50+
copyrightNote: #Any other information
51+
source:
52+
sourceURL:
53+
retrievedDate:
54+
creators: [] #creator (P170)
55+
statedAs: #creator (P170) / stated as (P1932)
56+
language:
57+
qid: #inscription mentions (P6568)
58+
role: #creator (P170) / object has role (P3831)
6759
statedAs:
6860
language:
69-
qid:
70-
genres: [] #genre from the source, such as "Romanticism", text in original language, was "genre"
71-
statedAs:
72-
language:
73-
qid:
74-
imagefiles: []
75-
type: #currently "imageURL, downloadURL, thumbURL"
76-
url: #currently "imageURL"
77-
dataSize: #
78-
amount:
79-
unit:
80-
dataDimensions:
81-
width:
82-
height:
83-
checksum:
84-
infoURL:
85-
geo:
86-
cameraHeading: #TBD
87-
fieldOfView:
88-
tilt:
89-
focalLength:
90-
geoLocations: [] #coordinates and shapes
91-
lat:
92-
lon:
93-
addresses: []
94-
statedAs:
95-
language: #Street address
96-
orginal:
97-
dimensions:
98-
width:
99-
amount:
100-
unit:
101-
statedAs:
102-
qid:
103-
height:
104-
amount:
105-
unit:
106-
statedAs:
107-
qid:
108-
material: []
61+
qid: #inscription mentions (P6568)
62+
url: #e.g. Commons and Flickr, creator (P170) / official website (P856)
63+
source:
64+
sourceURL:
65+
retrievedDate:
66+
dates: []
67+
type: #designed, contructed, deployed, usage, uploaded, depicted... --> different Wikidata properties
68+
statedAs:
69+
date:
70+
startDate:
71+
endDate:
72+
year:
73+
source:
74+
sourceURL:
75+
retrievedDate:
76+
depicted: [] #Require type only if exists
77+
type: #place (currently "places"), person (currently "actors"), events (currently "events"), subjects (currently "subjects"), period (currently "perioddepicted")
78+
statedAs: #depicts (P180) / stated as (P1932)
79+
language:
80+
qid:
81+
source:
82+
sourceURL:
83+
retrievedDate:
84+
description:
85+
content:
86+
language:
87+
source:
88+
sourceURL:
89+
retrievedDate:
90+
types: [] #type from the source, such as "Photograph", text in original language, was "formats"
91+
statedAs:
92+
language:
93+
qid:
94+
source:
95+
sourceURL:
96+
retrievedDate:
97+
genres: [] #genre from the source, such as "Romanticism", text in original language, was "genre"
98+
statedAs:
99+
language:
100+
qid:
101+
source:
102+
sourceURL:
103+
retrievedDate:
104+
imagefiles: []
105+
type: #currently "imageURL, downloadURL, thumbURL"
106+
url:
107+
dataSize:
108+
amount:
109+
unit:
109110
statedAs:
110111
language:
111112
qid:
112-
role:
113+
dataDimensions:
114+
width: #width (P2049)
115+
amount:
116+
unit:
117+
statedAs:
118+
language:
119+
qid:
120+
height:
121+
amount:
122+
unit:
113123
statedAs:
114124
language:
115125
qid:
116-
platform: #currently "source"
126+
checksum:
127+
infoURL: #described at URL (P973)
128+
geo:
129+
cameraHeading: #TBD
130+
source:
131+
sourceURL:
132+
retrievedDate:
133+
fieldOfView:
134+
source:
135+
sourceURL:
136+
retrievedDate:
137+
tilt:
138+
source:
139+
sourceURL:
140+
retrievedDate:
141+
focalLength:
142+
source:
143+
sourceURL:
144+
retrievedDate:
145+
geoLocations: [] #coordinates of depicted place (P9149)
146+
lat:
147+
lon:
148+
wkt:
149+
source:
150+
sourceURL:
151+
retrievedDate:
152+
povCoord: #coordinates of the point of view (P1259)
153+
lat:
154+
lon:
155+
wkt:
156+
source:
157+
sourceURL:
158+
retrievedDate:
159+
addresses: []
160+
content: #street address (P6375)
161+
language: #Street address
162+
source:
163+
sourceURL:
164+
retrievedDate:
165+
original:
166+
represents: #artwork that this image represents
167+
statedAs:
168+
language:
169+
qid: #digital representation of (P6243)
170+
source:
171+
sourceURL:
172+
retrievedDate:
173+
dimensions: []
174+
width:
175+
amount:
176+
unit:
177+
statedAs:
178+
qid:
179+
source:
180+
sourceURL:
181+
retrievedDate:
182+
height:
183+
amount:
184+
unit:
185+
statedAs:
186+
qid:
187+
source:
188+
sourceURL:
189+
retrievedDate:
190+
materials: []
117191
statedAs:
118192
language:
119193
qid:
120-
id:
121-
published: []
122-
publisher:
123-
statedAs:
124-
language:
125-
qid:
126-
printer:
127-
statedAs:
128-
language:
129-
qid:
130-
city:
194+
role:
131195
statedAs:
132196
language:
133197
qid:
198+
source:
199+
sourceURL:
200+
retrievedDate:
201+
platform: #currently "source"
202+
statedAs:
203+
language:
204+
qid:
205+
id:
206+
published: []
207+
publisher:
208+
statedAs:
134209
language:
210+
qid:
211+
source:
212+
sourceURL:
213+
retrievedDate:
214+
printer:
215+
statedAs:
216+
language:
217+
qid:
218+
source:
219+
sourceURL:
220+
retrievedDate:
221+
city:
222+
statedAs:
223+
language:
224+
qid:
225+
source:
226+
sourceURL:
227+
retrievedDate:
228+
language:
229+
date:
230+
statedAs:
135231
date:
136-
institution:
232+
startDate:
233+
endDate:
234+
year:
235+
source:
236+
sourceURL:
237+
retrievedDate:
238+
institution:
239+
statedAs:
240+
language:
241+
qid: #collection (P195)
242+
department:
137243
statedAs:
138244
language:
139245
qid:
140-
department:
141-
statedAs:
142-
language:
143-
qid:
144-
collection: #Originating collection
145-
statedAs:
146-
language:
147-
qid:
148-
inventoryNumber:
149-
title:
246+
source:
247+
sourceURL:
248+
retrievedDate:
249+
collection: #Originating collection
150250
statedAs:
151251
language:
152-
uploader:
153-
statedAs: #currently "uploader"
154252
qid:
155-
url: #currently "uploaderURL"
253+
source:
254+
sourceURL:
255+
retrievedDate:
256+
inventoryNumber:
257+
source:
258+
sourceURL:
259+
retrievedDate:
260+
title:
261+
statedAs:
262+
language:
263+
source:
264+
sourceURL:
265+
retrievedDate:
266+
uploader:
267+
statedAs: #currently "uploader"
268+
qid:
269+
url: #currently "uploaderURL"
270+
source:
271+
sourceURL:
272+
retrievedDate:
273+
source:
274+
sourceURL:
275+
retrievedDate:

0 commit comments

Comments
 (0)