Mercurial > hg > ismi-richfaces
comparison src/main/java/de/mpiwg/itgroup/dm2e/DM2E.java @ 1:2e911857a759
(none)
author | jurzua |
---|---|
date | Wed, 29 Oct 2014 14:00:28 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:74df02964906 | 1:2e911857a759 |
---|---|
1 package de.mpiwg.itgroup.dm2e; | |
2 | |
3 import org.openrdf.model.URI; | |
4 import org.openrdf.model.ValueFactory; | |
5 import org.openrdf.model.impl.ValueFactoryImpl; | |
6 | |
7 /** | |
8 * http://onto.dm2e.eu/schemas/dm2e/1.0/ | |
9 * | |
10 * @author jurzua | |
11 * | |
12 */ | |
13 public class DM2E { | |
14 | |
15 static ValueFactory f; | |
16 | |
17 //edm:PhysicalThing | |
18 static public URI dm2eOnto10; | |
19 static public URI Archive; //Superclass: foaf:Organization | |
20 static public URI Collection; //Superclass: edm:NonInformationResource | |
21 static public URI Document; //Subclass: dm2e:Manuscript | |
22 static public URI File; //Superclasses: edm:PhysicalThing | |
23 static public URI Manuscript; //Superclass: dm2e:Document | |
24 static public URI Paragraph; //Superclass: skos:Concept | |
25 static public URI Photo; //Superclasses: edm:PhysicalThing, foaf:Image | |
26 static public URI Publication; //Superclass: skos:Concept | |
27 static public URI Work; //Superclass: skos:Concept | |
28 | |
29 static public URI Page; | |
30 static public URI Book; | |
31 | |
32 | |
33 //Properties | |
34 static public URI artist; | |
35 static public URI callNumber; | |
36 static public URI composer; | |
37 static public URI condition; | |
38 static public URI contributor; | |
39 static public URI copyist; | |
40 static public URI explicit; | |
41 static public URI hasPartCHO; | |
42 static public URI hasPartPlace; | |
43 static public URI hasPartTimeSpan; | |
44 static public URI hasPartWebResource; | |
45 static public URI honoree; | |
46 static public URI illustration; | |
47 static public URI incipit; | |
48 static public URI influencedBy; | |
49 static public URI isDerivativeOfCHO; | |
50 static public URI isDerivativeOfWebResource; | |
51 static public URI isPartOfCHO; | |
52 static public URI isPartOfPlace; | |
53 static public URI isPartOfTimeSpan; | |
54 static public URI isPartOfWebResource; | |
55 static public URI levelOfGenesis; | |
56 static public URI mentioned; | |
57 static public URI misattributed; | |
58 static public URI owner; | |
59 static public URI pageDimension; | |
60 static public URI painter; | |
61 static public URI patron; | |
62 static public URI portrayed; | |
63 static public URI previousOwner; | |
64 static public URI principal; | |
65 static public URI printedAt; | |
66 static public URI publishedAt; | |
67 static public URI refersTo; | |
68 static public URI restoration; | |
69 static public URI scopeNote; | |
70 static public URI shelfmarkLocation; | |
71 static public URI sponsor; | |
72 static public URI studentOf; | |
73 static public URI subtitle; | |
74 static public URI subtitleTransliteration; | |
75 static public URI titleTransliteration; | |
76 static public URI wasStudiedBy; | |
77 static public URI wasTaughtBy; | |
78 static public URI watermark; | |
79 static public URI writer; | |
80 static public URI writtenAt; | |
81 static public URI writtenAreaDimension; | |
82 | |
83 static { | |
84 f = ValueFactoryImpl.getInstance(); | |
85 | |
86 //http://onto.dm2e.eu/schemas/dm2e/1.0/#Manuscript | |
87 dm2eOnto10 = f.createURI("http://onto.dm2e.eu/schemas/dm2e/"); | |
88 Archive = f.createURI(dm2eOnto10 + "Collection"); | |
89 Collection = f.createURI(dm2eOnto10 + "Collection"); | |
90 Document = f.createURI(dm2eOnto10 + "Document"); | |
91 File = f.createURI(dm2eOnto10 + "File"); | |
92 Manuscript = f.createURI(dm2eOnto10 + "Manuscript"); | |
93 Paragraph = f.createURI(dm2eOnto10 + "Paragraph"); | |
94 Photo = f.createURI(dm2eOnto10 + "Photo"); | |
95 Publication = f.createURI(dm2eOnto10 + "Publication"); | |
96 Work = f.createURI(dm2eOnto10 + "Publication"); | |
97 | |
98 | |
99 //Page = f.createURI("http://purl.org/spar/fabio/Page"); | |
100 // Page now served by dm2e | |
101 Page = f.createURI(dm2eOnto10 + "Page"); | |
102 Book = f.createURI("http://purl.org/ontology/bibo/Book"); | |
103 | |
104 //Properties | |
105 | |
106 artist = f.createURI(dm2eOnto10 + "artist"); | |
107 callNumber = f.createURI(dm2eOnto10 + "callNumber"); | |
108 composer = f.createURI(dm2eOnto10 + "composer"); | |
109 condition = f.createURI(dm2eOnto10 + "condition"); | |
110 contributor = f.createURI(dm2eOnto10 + "contributor"); | |
111 copyist = f.createURI(dm2eOnto10 + "copyist"); | |
112 explicit = f.createURI(dm2eOnto10 + "explicit"); | |
113 hasPartCHO = f.createURI(dm2eOnto10 + "hasPartCHO"); | |
114 hasPartPlace = f.createURI(dm2eOnto10 + "hasPartPlace"); | |
115 hasPartTimeSpan = f.createURI(dm2eOnto10 + "hasPartTimeSpan"); | |
116 hasPartWebResource = f.createURI(dm2eOnto10 + "hasPartWebResource"); | |
117 honoree = f.createURI(dm2eOnto10 + "honoree"); | |
118 illustration = f.createURI(dm2eOnto10 + "illustration"); | |
119 incipit = f.createURI(dm2eOnto10 + "incipit"); | |
120 influencedBy = f.createURI(dm2eOnto10 + "influencedBy"); | |
121 isDerivativeOfCHO = f.createURI(dm2eOnto10 + "isDerivativeOfCHO"); | |
122 isDerivativeOfWebResource = f.createURI(dm2eOnto10 + "isDerivativeOfWebResource"); | |
123 isPartOfCHO = f.createURI(dm2eOnto10 + "isPartOfCHO"); | |
124 isPartOfPlace = f.createURI(dm2eOnto10 + "isPartOfPlace"); | |
125 isPartOfTimeSpan = f.createURI(dm2eOnto10 + "isPartOfTimeSpan"); | |
126 isPartOfWebResource = f.createURI(dm2eOnto10 + "isPartOfWebResource"); | |
127 levelOfGenesis = f.createURI(dm2eOnto10 + "levelOfGenesis"); | |
128 mentioned = f.createURI(dm2eOnto10 + "mentioned"); | |
129 misattributed = f.createURI(dm2eOnto10 + "misattributed"); | |
130 owner = f.createURI(dm2eOnto10 + "owner"); | |
131 pageDimension = f.createURI(dm2eOnto10 + "pageDimension"); | |
132 painter = f.createURI(dm2eOnto10 + "painter"); | |
133 patron = f.createURI(dm2eOnto10 + "patron"); | |
134 portrayed = f.createURI(dm2eOnto10 + "portrayed"); | |
135 previousOwner = f.createURI(dm2eOnto10 + "previousOwner"); | |
136 principal = f.createURI(dm2eOnto10 + "principal"); | |
137 printedAt = f.createURI(dm2eOnto10 + "printedAt"); | |
138 publishedAt = f.createURI(dm2eOnto10 + "publishedAt"); | |
139 refersTo = f.createURI(dm2eOnto10 + "refersTo"); | |
140 restoration = f.createURI(dm2eOnto10 + "restoration"); | |
141 scopeNote = f.createURI(dm2eOnto10 + "scopeNote"); | |
142 shelfmarkLocation = f.createURI(dm2eOnto10 + "shelfmarkLocation"); | |
143 sponsor = f.createURI(dm2eOnto10 + "sponsor"); | |
144 studentOf = f.createURI(dm2eOnto10 + "studentOf"); | |
145 subtitle = f.createURI(dm2eOnto10 + "subtitle"); | |
146 subtitleTransliteration = f.createURI(dm2eOnto10 + "subtitleTransliteration"); | |
147 titleTransliteration = f.createURI(dm2eOnto10 + "titleTransliteration"); | |
148 wasStudiedBy = f.createURI(dm2eOnto10 + "wasStudiedBy"); | |
149 wasTaughtBy = f.createURI(dm2eOnto10 + "wasTaughtBy"); | |
150 watermark = f.createURI(dm2eOnto10 + "watermark"); | |
151 writer = f.createURI(dm2eOnto10 + "writer"); | |
152 writtenAreaDimension = f.createURI(dm2eOnto10 + "writtenAreaDimension"); | |
153 writtenAt = f.createURI(dm2eOnto10 + "writtenAt"); | |
154 | |
155 } | |
156 } |