source: Doc/Datamodel/datamodel_jos.ttl @ 320

Last change on this file since 320 was 320, checked in by jkraaijeveld, 13 years ago

Added example and preliminary start of ontology in Doc/Datamodel?

File size: 4.9 KB
Line 
1@prefix sg:                             <http://seriousgaming.tudelft.nl/vocabulary#> .
2@prefix rdf:            <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3@prefix rdfs:           <http://www.w3.org/2000/01/rdf-schema#> .
4@prefix owl:            <http://www.w3.org/2002/07/owl#> .
5@prefix xsd:            <http://www.w3.org/2001/XMLSchema#> .
6@prefix skos:           <http://www.w3.org/2004/02/skos/core#> .
7@prefix foaf:           <http://xmlns.com/foaf/0.1/> .
8@prefix scovo:          <http://purl.org/NET/scovo#> .
9@prefix void:           <http://rdfs.org/ns/void#> .
10@prefix qb:             <http://purl.org/linked-data/cube#> .
11@prefix dcterms:        <http://purl.org/dc/terms/> .
12
13<http://seriousgaming.tudelft.nl/vocabulary#>
14    a owl:Ontology;
15    owl:versionInfo "0.1";
16    rdfs:label "The CPS serious gaming vocabulary";
17    rdfs:comment "This vocabulary is used to store survey and game data to be used in research at the University of Technology, Delft. It is based on the Data Cube vocabulary." ;
18    dcterms:created "2012-04-23"^^xsd:date;
19    dcterms:modified "2012-04-23"^^xsd:date;
20    dcterms:title "Vocabulary for serious game related research data.";
21    dcterms:license <http://www.opendatacommons.org/licenses/pddl/1.0/> ;
22    dcterms:contributor [foaf:mbox "J.M.Kraaijeveld@student.tudelft.nl"]'
23
24# ######## Core ########## #
25       
26# ------- AnswerDataSet ------
27# ------- All answers given on questions of surveys are part of the dataset, laid out as a cube.
28# ------- This cube can be sliced based on a surveys, questions, answers, users, etcetera.
29sg:AnswerDataSet a rdfs:Class, owl:Class
30        rdfs:label "AnswerDataSet"@en ;
31        rdfs:comment "A set of answers as a cube of data"@en ;
32        rdfs:subClassOf qb:DataSet ;
33        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
34        .
35
36# ------- Answer ------
37# ------- An answer is an observation and part of the data set. -----
38sg:Answer a rdfs:Class, owl:Class
39        rdfs:label "Answer"@en ;
40        rdfs:comment "An answer to a question."@en ;
41        rdfs:subClassOf qb:Observation ;
42        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary$> ;
43        .
44
45       
46# ====== Attributes ======== #
47sg:Scale a qb:AttributeProperty ;
48        rdfs:label "Scale"@en ;
49        rdfs:comment "Statistical scale which applies to a question or answer."@en ;
50        qb:concept sg:scale ; # Not sure what to do with this yet
51        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
52        .
53
54sg:FreeText a qb:AttributeProperty ;
55        rdfs:label "FreeText"@en ;
56        rdfs:comment "A free text field."@en ;
57        rdfs:subClassOf sg:Scale ;
58        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
59        .
60       
61sg:NominalScale a qb:AttributeProperty ;
62        rdfs:label "NominalScale"@en ;
63        rdfs:comment "A nominal scale."@en ;
64        rdfs:subClassOf sg:Scale ;
65        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
66        .
67
68sg:NominalScale a qb:AttributeProperty ;
69        rdfs:label "OrdinalScale"@en ;
70        rdfs:comment "An ordinal scale."@en ;
71        rdfs:subClassOf sg:NominalScale ;
72        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
73        .
74       
75sg:IntervalScale a qb:AttributeProperty ;
76        rdfs:label "IntervalScale"@en ;
77        rdfs:comment "An interval scale."@en ;
78        rdfs:subClassOf sg:IntervalScale ;
79        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
80        .
81       
82sg:RatioScale a qb:AttributeProperty ;
83        rdfs:label "RatioScale"@en ;
84        rdfs:comment "An ratio scale."@en ;
85        rdfs:subClassOf sg:RatioScale ;
86        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
87        .
88       
89# ====== Measures ========== # 
90sg:value a rdf:Property, owl:DatatypeProperty, qb:MeasureProperty ;
91        rdfs:label "value"@en ;
92        rdfs:comment "The value of an item (question or answer)."@en ;
93        rdfs:range xsd:string ;
94        rdfs:domain sg:Item ;
95        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
96        .
97
98       
99       
100       
101# ------- Surveys -------
102# ------- Surveys are a dimension of the dataset ------
103sg:Survey a rdfs:Class, owl:Class
104        rdfs:label "Survey"@en;
105        rdfs:comment "Describes a collection of questions which can be asked during a session."@en;
106        rdfs:subClassOf qb:Slice;
107        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
108        rdfs:subClassOf [ a owl:Restriction;
109                owl:onProperty sg:creator;
110                owl:minCardinality 1;
111        ];
112        rdfs:subClassOf [ a owl:Restriction;
113                owl:onProperty sg:surveyitems;
114                owl:minCardinality 1;
115        ];
116        .
117       
118# ------- Survey properties -------
119# ------- Creator -------
120sg:creator
121        a rdf:Property ;
122        rdfs:label "creator"@en ;
123        rdfs:comment "The user which created the Survey." ;
124        rdfs:domain sg:Survey ;
125        rdfs:range foaf:Agent ;
126        rdfs:isDefinedBy <http:/seriousgaming.tudelft.nl/vocabulary#>
127        .
128
129# ------- Question ------
130# ------- Questions can be used to slice the Survey -----
131sg:Question a rdfs:Class, owl:Class
132        rdfs:label "Question"@en;
133        rdfs:comment "Describes a question which can be used in one or more surveys.";
134        rdfs:subClassOf qb:Slice;
135        rdfs:isDefinedBy <http://seriousgaming.tudelft.nl/vocabulary#> ;
136       
137       
Note: See TracBrowser for help on using the repository browser.