forked from YTushar18/SmartLapRec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathontology.ttl
76 lines (58 loc) · 1.88 KB
/
ontology.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
@prefix ns1: <http://example.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
# Define the Laptop class
ns1:Laptop a owl:Class .
# Define properties of the Laptop class
ns1:brand a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:string .
ns1:clock_speed a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:float .
ns1:graphic_card_brand a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:string .
ns1:hd_size a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:integer .
ns1:hd_type a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:string .
ns1:id a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:integer .
ns1:model a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:string .
ns1:os a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:string .
ns1:price a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:integer .
ns1:processor_brand a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:string .
ns1:processor_model a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:string .
ns1:ram a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:integer .
ns1:screen_size a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:float .
ns1:weight a owl:DatatypeProperty ;
rdfs:domain ns1:Laptop ;
rdfs:range xsd:float .
# Define the User class
ns1:User a owl:Class .
# Define properties relevant to the User class
ns1:prefersLaptopType a owl:DatatypeProperty ;
rdfs:domain ns1:User ;
rdfs:range xsd:string .
ns1:hasBudget a owl:DatatypeProperty ;
rdfs:domain ns1:User ;
rdfs:range xsd:integer .