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 | ### http://www.clarin.eu/cmd/general.rdf#Component |
---|
11 | :Component rdf:type rdfs:Class . |
---|
12 | |
---|
13 | ### http//www.clarin.eu/cmd/general.rdf#Profile |
---|
14 | :Profile rdf:type rdfs:Class ; |
---|
15 | rdfs:subClassOf :Component . |
---|
16 | |
---|
17 | ### http://www.clarin.eu/cmd/general.rdf#Element |
---|
18 | :Element rdf:type rdfs:Class . |
---|
19 | |
---|
20 | ### http://www.clarin.eu/cmd/general.rdf#Attribute |
---|
21 | :Attribute rdf:type rdfs:Class . |
---|
22 | #CHECK: is Attribute a sub class of Element? |
---|
23 | |
---|
24 | :contains rdf:type rdf:Property; |
---|
25 | rdfs:domain :Component; |
---|
26 | rdfs:range :Component, :Element. |
---|
27 | |
---|
28 | :containsAttribute rdf:type rdf:Property; |
---|
29 | rdfs:domain :Component, :Element; |
---|
30 | rdfs:range :Attribute. |
---|
31 | |
---|
32 | :Entity a rdfs:Class. |
---|
33 | |
---|
34 | ### http://www.clarin.eu/cmd/general.rdf#hasElementValue |
---|
35 | :hasElementValue rdf:type rdf:Property; |
---|
36 | rdfs:domain :Element; |
---|
37 | rdfs:domain rdfs:Literal. |
---|
38 | |
---|
39 | # add a parallel separate property for the resolved entities |
---|
40 | :hasElementEntity rdf:type rdf:Property; |
---|
41 | rdfs:domain :Element. |
---|
42 | rdfs:range :Entity. |
---|
43 | |
---|
44 | ### http://www.clarin.eu/cmd/general.rdf#hasAttribute |
---|
45 | :hasAttributeValue rdf:type rdf:Property; |
---|
46 | rdfs:domain :Attribute; |
---|
47 | rdfs:range rdfs:Literal. |
---|
48 | |
---|
49 | # And then consequently also for attribute |
---|
50 | :hasAttributeEntity rdf:type rdf:Property. |
---|
51 | rdfs:domain :Attribute; |
---|
52 | rdfs:range :Entity. |
---|