/
something-onto.ttl
75 lines (50 loc) · 2.53 KB
/
something-onto.ttl
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
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix knora-base: <http://www.knora.org/ontology/knora-base#> .
@prefix salsah-gui: <http://www.knora.org/ontology/salsah-gui#> .
@prefix anything: <http://www.knora.org/ontology/0001/anything#> .
@base <http://www.knora.org/ontology/0001/something> .
# A trivial ontology, based on anything-onto.ttl, used only for testing Knora.
@prefix : <http://www.knora.org/ontology/0001/something#> .
<http://www.knora.org/ontology/0001/something> rdf:type owl:Ontology ;
rdfs:label "The something ontology" ;
knora-base:attachedToProject <http://rdfh.ch/projects/0001> ;
knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime .
:Something rdf:type owl:Class ;
rdfs:subClassOf anything:Thing ,
[
rdf:type owl:Restriction ;
owl:onProperty :hasOtherSomething ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
salsah-gui:guiOrder "0"^^xsd:nonNegativeInteger
] ,
[
rdf:type owl:Restriction ;
owl:onProperty :hasOtherSomethingValue ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
salsah-gui:guiOrder "0"^^xsd:nonNegativeInteger
] ;
knora-base:resourceIcon "something.png" ;
rdfs:label "Etwas"@de ,
"Quelque chose"@fr ,
"Qualcosa"@it ,
"Something"@en ;
rdfs:comment """A something is a thing."""@en .
:hasOtherSomething rdf:type owl:ObjectProperty ;
rdfs:label "has other something"@en ;
rdfs:comment """Has another something."""@en ;
rdfs:subPropertyOf anything:hasOtherThing ;
knora-base:subjectClassConstraint :Something ;
knora-base:objectClassConstraint :Something ;
salsah-gui:guiElement salsah-gui:Searchbox .
:hasOtherSomethingValue rdf:type owl:ObjectProperty ;
rdfs:label "has other something"@en ;
rdfs:comment """Has another something."""@en ;
rdfs:subPropertyOf anything:hasOtherThingValue ;
knora-base:subjectClassConstraint :Something ;
knora-base:objectClassConstraint knora-base:LinkValue ;
salsah-gui:guiElement salsah-gui:Searchbox .