1 | @prefix : <http://www.clarin.eu/cmd/general.rdf#> . |
---|
2 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
---|
3 | @prefix xml: <http://www.w3.org/XML/1998/namespace> . |
---|
4 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
---|
5 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
---|
6 | @base <http://www.clarin.eu/cmd/general.rdf> . |
---|
7 | |
---|
8 | #<http://www.clarin.eu/cmd/general.rdf> rdf:type rdfs:Ontology . |
---|
9 | |
---|
10 | :Resource rdf:type rdfs:Class . |
---|
11 | |
---|
12 | :Component rdf:type rdfs:Class . |
---|
13 | |
---|
14 | :Profile rdfs:subClassOf :Component . |
---|
15 | # CHECK: is type rdfs:Class necessary, when rdfs:subClassOf :Component which is rdfs:Class ? |
---|
16 | |
---|
17 | :Element rdf:type rdfs:Class . |
---|
18 | |
---|
19 | :Attribute rdf:type rdfs:Class . |
---|
20 | #CHECK: is Attribute a sub class of Element? |
---|
21 | |
---|
22 | :contains rdf:type rdf:Property ; |
---|
23 | rdfs:domain :Component ; |
---|
24 | rdfs:range :Component , :Element . |
---|
25 | |
---|
26 | :containsAttribute rdf:type rdf:Property ; |
---|
27 | rdfs:domain :Component , :Element ; |
---|
28 | rdfs:range :Attribute . |
---|
29 | |
---|
30 | :Entity a rdfs:Class . |
---|
31 | |
---|
32 | :hasElementValue rdf:type rdf:Property ; |
---|
33 | rdfs:domain :Element ; |
---|
34 | rdfs:domain rdfs:Literal . |
---|
35 | |
---|
36 | # add a parallel separate property for the resolved entities |
---|
37 | :hasElementEntity rdf:type rdf:Property ; |
---|
38 | rdfs:domain :Element ; |
---|
39 | rdfs:range :Entity . |
---|
40 | |
---|
41 | :hasAttributeValue rdf:type rdf:Property ; |
---|
42 | rdfs:domain :Attribute ; |
---|
43 | rdfs:range rdfs:Literal . |
---|
44 | |
---|
45 | # And then consequently also for attribute |
---|
46 | :hasAttributeEntity rdf:type rdf:Property ; |
---|
47 | rdfs:domain :Attribute ; |
---|
48 | rdfs:range :Entity . |
---|
49 | |
---|
50 | # properties for resources |
---|
51 | :hasMimeType rdf:type rdf:Property ; |
---|
52 | rdfs:domain :Resource ; |
---|
53 | rdfs:range xsd:String. |
---|
54 | |
---|
55 | :hasResourceType rdf:type rdf:Property ; |
---|
56 | rdfs:domain :Resource ; |
---|
57 | rdfs:range :ResourceType . |
---|
58 | |
---|
59 | :ResourceType rdf:type rdfs:Class . |
---|
60 | |
---|
61 | :Metadata rdf:type :ResourceType . |
---|
62 | :Resource rdf:type :ResourceType . |
---|
63 | :SearchService rdf:type :ResourceType . |
---|
64 | :SearchPage rdf:type :ResourceType . |
---|
65 | :LandingPage rdf:type :ResourceType . |
---|
66 | |
---|
67 | :describesResource rdf:type rdf:Property ; |
---|
68 | rdfs:domain :Component ; |
---|
69 | rdfs:range :Resource . |
---|
70 | |
---|
71 | #COMMENT Matej: I still yearn for something like cmdm:Resource and cmdm:MDRecord |
---|
72 | #COMMENT Menzo: Added cmdm:Resource |
---|