-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmudcontent.ttl
126 lines (104 loc) · 4.64 KB
/
mudcontent.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@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 schema: <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mud: <https://raw.githubusercontent.com/Multi-User-Domain/vocab/main/mud.ttl#> .
@prefix mudcontent: <https://raw.githubusercontent.com/Multi-User-Domain/vocab/main/mudcontent.ttl#> .
mudcontent: rdf:type owl:Ontology ;
# Description
dcterms:title "Multi-User Domain Content ontology" ;
dcterms:description """
Includes definitions for content in Multi-User Domains
""" ;
# Ownership
dcterms:license <http://creativecommons.org/licenses/by/4.0/> ;
dcterms:creator <https://matttennison.inrupt.net/profile/card#me> ;
dcterms:contributor <https://calum.inrupt.net/profile/card#me> .
mudcontent:Content a rdfs:Class ;
rdfs:label "Content"@en ;
rdfs:comment "Holds properties for content to render with the object it describes"@en .
mudcontent:Sense a rdfs:Class ;
rdfs:label "Sense"@en ;
rdfs:comment "The faculty with which an Actor perceives something"@en.
mudcontent:Sight a mudcontent:Sense ;
rdfs:label "Sight"@en ;
rdfs:comment "The visual sense" @en ;
rdfs:subClassOf mudcontent:Sense .
mudcontent:Hearing a mudcontent:Sense ;
rdfs:label "Hearing"@en ;
rdfs:comment "The auditry sense" @en ;
rdfs:subClassOf mudcontent:Sense .
mudcontent:Smell a mudcontent:Sense ;
rdfs:label "Smell"@en ;
rdfs:comment "The nasal sense"@en ;
rdfs:subClassOf mudcontent:Sense .
mudcontent:Taste a mudcontent:Sense ;
rdfs:label "Taste"@en ;
rdfs:comment "The gastronomic sense"@en ;
rdfs:subClassOf mudcontent:Sense .
mudcontent:Touch a mudcontent:Sense ;
rdfs:label "Touch"@en ;
rdfs:comment "The sensation of physical touch"@en ;
rdfs:subClassOf mudcontent:Sense .
mudcontent:usesSense a rdf:Property ;
rdfs:label "usesSense"@en ;
rdfs:comment "Implies that the subject (Content) uses this Sense"@en ;
rdfs:range mudcontent:Sense .
mudcontent:hasSenses a rdf:Property ;
rdfs:label "hasSense"@en ;
rdfs:comment "Connects a Sense to its' perceiver"@en ;
rdfs:range ldp:Container .
mudcontent:sees a rdf:Property ;
rdfs:label "sees"@en ;
rdfs:comment "The visual sense of the perceiver"@en ;
rdfs:range mud:Content .
mudcontent:hears a rdf:Property ;
rdfs:label "hears"@en ;
rdfs:comment "The auditry sense of the perceiver"@en ;
rdfs:range mud:Content .
mudcontent:smells a rdf:Property ;
rdfs:label "smells"@en ;
rdfs:comment "The nasal sense of the perceiver"@en ;
rdfs:range mud:Content .
mudcontent:perceives a rdf:Property ;
rdfs:label "perceives"@en ;
rdfs:comment "Generic perception (for all 'other' senses)"@en ;
rdfs:range mud:Content .
mudcontent:senseStrength a rdf:Property ;
rdfs:label "senseStrength"@en ;
rdfs:comment "Used to model whether the perceiver has a heightened or weakened sense of sight, for example. Intended for a gaming context. 0 should be considered normal, and default"@en ;
rdfs:domain mudcontent:Sense ;
rdfs:range xsd:integer .
mudcontent:describes a rdf:Property ;
rdfs:label "Describes"@en ;
rdfs:comment "The owl:Thing which is being described by the Content"@en ;
rdfs:domain mudcontent:Content ;
rdfs:range owl:Thing, schema:URL .
mudcontent:hasText a rdf:Property ;
rdfs:label "hasText"@en ;
rdfs:comment "Textual content associated with a Content resource"@en ;
rdfs:domain mudcontent:Content ;
rdfs:range xsd:string .
mudcontent:hasImage a rdf:Property ;
rdfs:subPropertyOf foaf:depiction ;
rdfs:label "hasImage"@en ;
rdfs:comment "Image content associated with a Content resource"@en ;
rdfs:domain mudcontent:Content .
mudcontent:originatesFrom a rdf:Property ;
rdfs:label "originatesFrom"@en ;
rdfs:comment "Some content can have an origin source - e.g. a sound might be caused by a character who is speaking. Generally, this is for UI purposes of displaying to the player who did something"@en ;
rdfs:domain mudcontent:Content ;
rdfs:range owl:Thing, schema:URL .
mudcontent:sceneDescriptionEndpoint a rdf:Property ;
rdfs:label "sceneDescriptionEndpoint"@en ;
rdfs:comment "The URL where a supported scene description endpoint can be found"@en ;
rdfs:domain mud:Configuration ;
rdfs:range schema:URL .
mudcontent:simpleObjectDescriptionEndpoint a rdf:Property ;
rdfs:label "simpleObjectDescriptionEndpoint"@en ;
rdfs:comment "The URL where a supported simple object description endpoint can be found"@en ;
rdfs:domain mud:Configuration ;
rdfs:range schema:URL .