-
Notifications
You must be signed in to change notification settings - Fork 0
/
homerent-core.ttl
2458 lines (2036 loc) · 147 KB
/
homerent-core.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@prefix : <https://purl.org/homerent/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix gn: <https://www.geonames.org/ontology#> .
@prefix gr: <http://purl.org/goodrelations/v1#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix schema: <http://schema.org/> .
@base <https://purl.org/homerent/> .
<https://purl.org/homerent/> rdf:type owl:Ontology ;
owl:imports <http://purl.org/goodrelations/v1> ;
dc:rights "This ontology is licensed under MIT" ;
dct:creator [ rdf:type foaf:Person ;
foaf:name "Andrea" ;
foaf:surname "Giulianelli"
] ;
dct:description """
L'ontologia di HomeRent ha l'obiettivo principale di modellare il dominio degli affitti di appartamenti.
"""@it ,
"""
The HomeRent ontology has the main goal of modeling the apartment rental domain.
"""@en ;
dct:license <https://opensource.org/license/mit/> ;
dct:title "HomeRent Ontology" ;
vann:preferredNamespacePrefix "hr" ;
rdfs:label "HomeRent ontology"@en ;
owl:versionInfo "1.0.0" .
#################################################################
# Annotation properties
#################################################################
### http://purl.org/dc/terms/creator
dct:creator rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/description
dct:description rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/title
dct:title rdf:type owl:AnnotationProperty .
### http://purl.org/vocab/vann/preferredNamespacePrefix
vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty .
### http://swrl.stanford.edu/ontologies/3.3/swrla.owl#isRuleEnabled
<http://swrl.stanford.edu/ontologies/3.3/swrla.owl#isRuleEnabled> rdf:type owl:AnnotationProperty .
### http://xmlns.com/foaf/0.1/name
foaf:name rdf:type owl:AnnotationProperty .
### http://xmlns.com/foaf/0.1/surname
foaf:surname rdf:type owl:AnnotationProperty .
#################################################################
# Datatypes
#################################################################
### http://www.w3.org/2001/XMLSchema#date
xsd:date rdf:type rdfs:Datatype .
#################################################################
# Object Properties
#################################################################
### http://purl.org/goodrelations/v1#includes
gr:includes owl:inverseOf :isApartmentIncluded ;
rdf:type owl:FunctionalProperty .
### http://purl.org/goodrelations/v1#offers
gr:offers owl:inverseOf :isOfferedBy .
### http://schema.org/address
schema:address rdf:type owl:ObjectProperty ;
rdfs:range schema:PostalAddress .
### http://schema.org/floorSize
schema:floorSize rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:range gr:QuantitativeValueFloat .
### http://schema.org/occupancy
schema:occupancy rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:range gr:QuantitativeValueInteger .
### http://schema.org/photo
schema:photo rdf:type owl:ObjectProperty ;
rdfs:range schema:ImageObject .
### https://purl.org/homerent/canReach
:canReach rdf:type owl:ObjectProperty ;
owl:propertyChainAxiom ( :isPossibleToReach
:strategicPointRefersTo
) ;
rdfs:comment "Questa proprietà permette di collegare direttamente un appartamento ai luoghi che si possono raggiungere."@it ,
"This property allows to directly connect an apartment to the reachable places."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "can reach"@en ,
"può raggiungere"@it .
### https://purl.org/homerent/geoName
:geoName rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:PostalAddress ;
rdfs:range gn:Feature ;
rdfs:comment "Questa proprietà permette di collegare un indirizzo alla posizione esatta espressa come feature geoname."@it ,
"This property allows to link an address to the exact location expressed as a geoname feature."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "geo name"@en .
### https://purl.org/homerent/hasAppliance
:hasAppliance rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasFeature ;
rdfs:range :Appliance ;
owl:propertyDisjointWith :hasService ;
rdfs:comment "Questa proprietà permette di mettere in relazione l'appartamento con gli elettrodomestici presenti al suo interno."@it ,
"This property allows to link an apartment to the appliances inside it."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "ha elettrodomestico"@it ,
"has appliance"@en .
### https://purl.org/homerent/hasExpense
:hasExpense rdf:type owl:ObjectProperty ;
owl:propertyChainAxiom ( gr:hasPriceSpecification
:priceComponent
) ;
rdfs:comment "Questa proprietà lega l'annuncio di affitto alle sue spese."@it ,
"This property links the rental ad to its expenses."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "ha spesa"@it ,
"has expense"@en .
### https://purl.org/homerent/hasFeature
:hasFeature rdf:type owl:ObjectProperty ;
rdfs:domain schema:Apartment ;
rdfs:range :Feature ;
rdfs:comment "Questa proprietà collega un appartamento alle funzionalità messe a disposizione."@it ,
"This property links an apartment to its features."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "ha funzionalità"@it ,
"has feature"@en .
### https://purl.org/homerent/hasFloorType
:hasFloorType rdf:type owl:ObjectProperty ;
rdfs:domain schema:Apartment ;
rdfs:range :FloorType ;
rdfs:comment "Questa proprietà è necessaria per specificare il tipo di pavimento di un appartamento."@it ,
"This property is necessary to specify the floor type of an apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "floor type"@en ,
"tipo di pavimento"@it .
### https://purl.org/homerent/hasGeneratedInterest
:hasGeneratedInterest rdf:type owl:ObjectProperty ;
owl:inverseOf :refersRentAd ;
rdfs:comment "Questa proprietà collega un annuncio di affitto all'interesse che genera."@it ,
"This property links a rental ad to the interest that it generates."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "ha generato interesse"@it ,
"has generated interest"@en .
### https://purl.org/homerent/hasInterestIn
:hasInterestIn rdf:type owl:ObjectProperty ;
owl:inverseOf :isOfInterestTo ;
rdfs:comment "Questa proprietà è necessaria per connettere le persone con i loro interessi."@it ,
"This property is needed to connect people to their interests."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "has interest in"@en ,
"è interessato a"@it .
### https://purl.org/homerent/hasService
:hasService rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasFeature ;
rdfs:range :Service ;
rdfs:comment "Questa proprietà permette di mettere in relazione un appartamento con i servizi messi a disposizione."@it ,
"This property allows to link an apartment with the services that are provided."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "fornisce servizio"@it ,
"has service"@en .
### https://purl.org/homerent/housePlanPhoto
:housePlanPhoto rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf schema:photo ,
owl:topObjectProperty ;
rdf:type owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:comment "Questa proprietà permette di specificare la foto della planimetria dell'appartamento."@it ,
"This property allows to specify the house plan photo of the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "foto della planimetria"@it ,
"house plan photo"@en .
### https://purl.org/homerent/isApartmentIncluded
:isApartmentIncluded rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:comment "Questa è la proprietà inversa di gr:includes e modella il fatto che un appartamento è incluso in un annuncio di affitto."@it ,
"This is the inverse property of gr:includes and models the fact that an apartment is included in a rental ad."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is apartment included in"@en ,
"l'appartamento è incluso nel"@it .
### https://purl.org/homerent/isAvailableFor
:isAvailableFor rdf:type owl:ObjectProperty ;
rdfs:domain schema:Apartment ;
rdfs:range gr:QuantitativeValueFloat ;
rdfs:comment "Questa proprietà permette di specificare per quanto tempo l'appartamento è disponibile."@it ,
"This property allows you to specify how long the apartment is available."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is available for"@en ,
"è disponibile per"@it .
### https://purl.org/homerent/isOfInterestTo
:isOfInterestTo rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain :RentalAdInterest ;
rdfs:range schema:Person ;
rdfs:comment "Questa proprietà connette un interesse alla persona interessata."@it ,
"This property connects an interest to the interested person."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is of interest to"@en ,
"è di interesse per"@it .
### https://purl.org/homerent/isOfferedBy
:isOfferedBy rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain :RentalAd ;
rdfs:comment "Questa proprietà è l'inverso di gr:offers e modella che un annuncio di affitto è offerto da una entità di business."@it ,
"This property is the inverse of gr:offer modelling the fact that a rental ad is offered by a business entity."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is offered by"@en ,
"offerto da"@it .
### https://purl.org/homerent/isPossibleToReach
:isPossibleToReach rdf:type owl:ObjectProperty ;
owl:inverseOf :reachableFrom ;
rdfs:domain schema:Apartment ;
rdfs:range :StrategicPoint ;
rdfs:comment "Questa proprietà collega un appartamento con i punti strategici che si possono raggiungere."@it ,
"This property connects an apartment to strategic points that can be reached."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is possible to reach"@en ,
"è possibile raggiungere"@it .
### https://purl.org/homerent/priceComponent
:priceComponent rdf:type owl:ObjectProperty ;
rdfs:domain :CompoundPrice ;
rdfs:range gr:UnitPriceSpecification ;
rdfs:comment "Questa proprietà permette di specificare i componenti del prezzo."@it ,
"This property allows to specify the price components."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "componente del prezzo"@it ,
"price component"@en .
### https://purl.org/homerent/reachableFrom
:reachableFrom rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:comment "Questa proprietà indica da quale appartamento il punto strategico è raggiungibile."@it ,
"This property indicate from which apartment the stratetic point can be reached."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "raggiungibile da"@it ,
"reachable from"@en .
### https://purl.org/homerent/refersRentAd
:refersRentAd rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain :RentalAdInterest ;
rdfs:range :RentalAd ;
rdfs:comment "Questa proprietà è necessaria per collegare un interesse all'annuncio di affitto a cui si riferisce."@it ,
"This property is required to link an interest to the rental ad to which it refers."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "refers rent ad"@en ,
"riferito al seguente annuncio di affitto"@it .
### https://purl.org/homerent/strategicPointRefersTo
:strategicPointRefersTo rdf:type owl:ObjectProperty ,
owl:FunctionalProperty ;
rdfs:domain :StrategicPoint ;
rdfs:range :ReachablePlace ;
rdfs:comment "Questa proprietà permette di mettere in relazione il punto strategico al luogo raggiungibile."@it ,
"This property allows to link the strategic point to the reachable place."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "il punto strategico si riferisce a"@it ,
"strategic point refers to"@en .
#################################################################
# Data properties
#################################################################
### http://purl.org/goodrelations/v1#hasCurrency
gr:hasCurrency rdf:type owl:FunctionalProperty .
### http://purl.org/goodrelations/v1#hasCurrencyValue
gr:hasCurrencyValue rdf:type owl:FunctionalProperty .
### http://purl.org/goodrelations/v1#hasUnitOfMeasurement
gr:hasUnitOfMeasurement rdf:type owl:FunctionalProperty .
### http://purl.org/goodrelations/v1#validFrom
gr:validFrom rdf:type owl:FunctionalProperty .
### http://schema.org/addressCountry
schema:addressCountry rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:PostalAddress ;
rdfs:range xsd:string .
### http://schema.org/addressLocality
schema:addressLocality rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:PostalAddress ;
rdfs:range xsd:string .
### http://schema.org/addressRegion
schema:addressRegion rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:PostalAddress ;
rdfs:range xsd:string .
### http://schema.org/birthDate
schema:birthDate rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:range xsd:date .
### http://schema.org/contentUrl
schema:contentUrl rdf:type owl:DatatypeProperty ;
rdfs:domain schema:ImageObject ;
rdfs:range xsd:string .
### http://schema.org/description
schema:description rdf:type owl:DatatypeProperty ;
rdfs:range rdf:PlainLiteral .
### http://schema.org/email
schema:email rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string .
### http://schema.org/familyName
schema:familyName rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Person ;
rdfs:range xsd:string .
### http://schema.org/floorLevel
schema:floorLevel rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:range xsd:string .
### http://schema.org/givenName
schema:givenName rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Person ;
rdfs:range xsd:string .
### http://schema.org/numberOfRooms
schema:numberOfRooms rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:range xsd:float .
### http://schema.org/postalCode
schema:postalCode rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:PostalAddress ;
rdfs:range xsd:string .
### http://schema.org/startDate
schema:startDate rdf:type owl:DatatypeProperty ;
owl:equivalentProperty :interestDateTime .
### http://schema.org/streetAddress
schema:streetAddress rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:PostalAddress ;
rdfs:range xsd:string .
### http://schema.org/telephone
schema:telephone rdf:type owl:DatatypeProperty ;
rdfs:range xsd:string .
### http://schema.org/yearBuilt
schema:yearBuilt rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:range xsd:integer .
### https://purl.org/homerent/busLine
:busLine rdf:type owl:DatatypeProperty ;
rdfs:domain schema:BusStop ;
rdfs:range xsd:string ;
rdfs:comment "Questa proprietà permette di specificare la linea del bus della fermata."@it ,
"This property allows to specify the bus line of the bus stop."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "bus line"@en ,
"linea del bus"@it .
### https://purl.org/homerent/distanceInKm
:distanceInKm rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain :StrategicPoint ;
rdfs:range xsd:float ;
rdfs:comment "Questa proprietà permette di specificare la distanza in km da un punto strategico."@it ,
"This property allows to specify the distance from a Strategic point in km."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "distance in km"@en ,
"distanza in km"@it .
### https://purl.org/homerent/floorDescription
:floorDescription rdf:type owl:DatatypeProperty ;
rdfs:domain :FloorType ;
rdfs:range rdf:PlainLiteral ;
rdfs:comment "Questa proprietà permette di descrivere il tipo di pavimentazione presente in un appartamento."@it ,
"This property allows to describe the type of the floor that is inside an apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "descrizione del tipo di pavimentazione"@it ,
"floor description"@en .
### https://purl.org/homerent/interestDateTime
:interestDateTime rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty ;
rdf:type owl:FunctionalProperty ;
rdfs:domain :RentalAdInterest ;
rdfs:range xsd:dateTime ;
rdfs:comment "Questa proprietà modella la data e l'ora di un interesse ad annuncio di affitto."@it ,
"This property models the date and the time of the interest in a rental ad."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "data e ora dell'interesse"@it ,
"interest date time"@en .
### https://purl.org/homerent/isAvailableFrom
:isAvailableFrom rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:range xsd:dateTime ;
rdfs:comment "Questa proprietà è necessaria per indicare la data di inizio disponibilità di un appartamento."@it ,
"This property is required to specify the availability start date of an apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is available from"@en ,
"è disponibile da"@it .
### https://purl.org/homerent/isFeatureUsageShared
:isFeatureUsageShared rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain :Feature ;
rdfs:range xsd:boolean ;
rdfs:comment "Questa proprietà indica se l'utilizzo della funzionalità è condiviso oppure no."@it ,
"This property specifies if the usage of the feature is shared or not."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is feature usage shared"@en ,
"l'utilizzo è condiviso?"@it .
### https://purl.org/homerent/isFurnished
:isFurnished rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:range xsd:boolean ;
rdfs:comment "Questa proprietà indica se un appartamento è arredato."@it ,
"This property indicates if an apartment is furnished."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is furnished"@en ,
"è arredato"@it .
### https://purl.org/homerent/isReadyToLive
:isReadyToLive rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain schema:Apartment ;
rdfs:range xsd:boolean ;
rdfs:comment "Questa proprietà indica se un appartamento è pronto per abitarci."@it ,
"This property indicate if an apartment is ready to live in."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "is ready to live"@en ,
"è pronta per viverci"@it .
### https://purl.org/homerent/lastRenovationYear
:lastRenovationYear rdf:type owl:DatatypeProperty ;
rdfs:domain schema:Apartment ;
rdfs:range xsd:integer ;
rdfs:comment "Questa proprietà indica l'anno dell'ultima ristrotturazione."@it ,
"This property indicates the last renovation year."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "anno dell'ultima ristrotturazione"@it ,
"last renovation year"@en .
### https://purl.org/homerent/rentAdCode
:rentAdCode rdf:type owl:DatatypeProperty ,
owl:FunctionalProperty ;
rdfs:domain :RentalAd ;
rdfs:range xsd:string ;
rdfs:comment "Questa proprietà permette di specificare il codice dell'annuncio di affitto."@it ,
"This property allows to specify the rent ad code."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "codice dell'annuncio di affitto"@it ,
"rent ad code"@en .
### https://purl.org/homerent/serviceDescription
:serviceDescription rdf:type owl:DatatypeProperty ;
rdfs:domain :ServicePrice ;
rdfs:range rdf:PlainLiteral ;
rdfs:comment "Questa proprietà permette di descrivere un servizio messo a disposizione nell'appartamento."@it ,
"This property allows to describe a service provided in the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "descrizione del servizio"@it ,
"service description"@en .
#################################################################
# Classes
#################################################################
### http://purl.org/goodrelations/v1#UnitPriceSpecification
gr:UnitPriceSpecification owl:equivalentClass [ rdf:type owl:Class ;
owl:unionOf ( :ElectricityPrice
:HeatingPrice
:RentalPrice
:ServicePrice
:WaterPrice
)
] ;
rdfs:subClassOf [ rdf:type owl:Restriction ;
owl:onProperty gr:hasCurrency ;
owl:someValuesFrom xsd:string
] ,
[ rdf:type owl:Restriction ;
owl:onProperty gr:hasCurrencyValue ;
owl:someValuesFrom xsd:float
] ,
[ rdf:type owl:Restriction ;
owl:onProperty gr:hasUnitOfMeasurement ;
owl:someValuesFrom xsd:string
] ,
[ rdf:type owl:Restriction ;
owl:onProperty gr:name ;
owl:someValuesFrom rdfs:Literal
] .
### http://schema.org/Apartment
schema:Apartment rdf:type owl:Class ;
rdfs:subClassOf gr:ProductOrService ,
[ rdf:type owl:Restriction ;
owl:onProperty :isAvailableFrom ;
owl:someValuesFrom xsd:dateTime
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :isFurnished ;
owl:someValuesFrom xsd:boolean
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :isReadyToLive ;
owl:someValuesFrom xsd:boolean
] .
### http://schema.org/BusStop
schema:BusStop rdf:type owl:Class ;
rdfs:subClassOf :PublicTransport ,
[ rdf:type owl:Restriction ;
owl:onProperty :busLine ;
owl:someValuesFrom xsd:string
] ;
owl:disjointWith schema:TrainStation .
### http://schema.org/CollegeOrUniversity
schema:CollegeOrUniversity rdf:type owl:Class ;
rdfs:subClassOf :ReachablePlace .
### http://schema.org/Event
schema:Event rdf:type owl:Class .
### http://schema.org/ExerciseGym
schema:ExerciseGym rdf:type owl:Class ;
rdfs:subClassOf :ReachablePlace .
### http://schema.org/Hospital
schema:Hospital rdf:type owl:Class ;
rdfs:subClassOf :ReachablePlace .
### http://schema.org/ImageObject
schema:ImageObject rdf:type owl:Class .
### http://schema.org/Museum
schema:Museum rdf:type owl:Class ;
rdfs:subClassOf :ReachablePlace .
### http://schema.org/Pharmacy
schema:Pharmacy rdf:type owl:Class ;
rdfs:subClassOf :ReachablePlace .
### http://schema.org/PostalAddress
schema:PostalAddress rdf:type owl:Class ;
owl:disjointWith :HomeRentEntity .
### http://schema.org/TrainStation
schema:TrainStation rdf:type owl:Class ;
rdfs:subClassOf :PublicTransport .
### http://xmlns.com/foaf/0.1/Person
foaf:Person rdf:type owl:Class .
### https://purl.org/homerent/AirConditioner
:AirConditioner rdf:type owl:Class ;
rdfs:subClassOf :Appliance ;
rdfs:comment "Questa classe modella l'aria condizionata."@it ,
"This class models the air conditioner."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Air conditioner"@en ,
"Aria condizionata"@it .
### https://purl.org/homerent/ApartmentNearTransport
:ApartmentNearTransport rdf:type owl:Class ;
owl:equivalentClass [ owl:intersectionOf ( schema:Apartment
[ rdf:type owl:Restriction ;
owl:onProperty :isPossibleToReach ;
owl:someValuesFrom [ owl:intersectionOf ( :StrategicPoint
[ rdf:type owl:Restriction ;
owl:onProperty :strategicPointRefersTo ;
owl:someValuesFrom [ rdf:type owl:Class ;
owl:unionOf ( :PublicTransport
:SharedMobility
)
]
]
[ rdf:type owl:Restriction ;
owl:onProperty :distanceInKm ;
owl:someValuesFrom [ rdf:type rdfs:Datatype ;
owl:onDatatype xsd:float ;
owl:withRestrictions ( [ xsd:maxInclusive "5.0"^^xsd:float
]
)
]
]
) ;
rdf:type owl:Class
]
]
) ;
rdf:type owl:Class
] ;
rdfs:subClassOf :HomeRentEntity ;
rdfs:comment "Questa classe descrive un appartamento vicino ai mezzi di trasporto. In particolare ha una sorta di trasporto (trasporto pubblico o mobilità condivisa) che si trova al massimo a 5 km."@it ,
"This class describes an apartment that is near to transports. In particular it has some sort of transport (public transport or shared mobility) that is at a maximum of 5 km."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Apartment near transport"@en ,
"Appartamento vicino ai trasporti"@it .
### https://purl.org/homerent/Appliance
:Appliance rdf:type owl:Class ;
rdfs:subClassOf :Feature ;
owl:disjointWith :Service ;
rdfs:comment "Questa classe funge da superclasse per gli elettrodomestici presenti nell'appartamento."@it ,
"This class act as a superclass for all the appliances inside the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Appliance"@en ,
"Elettrodomestico"@it .
### https://purl.org/homerent/Balcony
:Balcony rdf:type owl:Class ;
rdfs:subClassOf :Service ;
rdfs:comment "Questa classe modella la presenza di un balcone nell'appartamento"@it ,
"This class models the presence of a balcony in the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Balcone"@it ,
"Balcony"@en .
### https://purl.org/homerent/Bathroom
:Bathroom rdf:type owl:Class ;
rdfs:subClassOf :Service ;
rdfs:comment "Questa classe modella la presenza di un bagno"@it ,
"This class models the presence of a bathroom."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Bagno"@it ,
"Bathroom"@en .
### https://purl.org/homerent/BikeSharing
:BikeSharing rdf:type owl:Class ;
rdfs:subClassOf :SharedMobility ;
rdfs:comment "Questa classe modella il servizio di condivisione delle bici."@it ,
"This class models the bike sharing service."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Bici in condivisione"@it ,
"Bike sharing"@en .
### https://purl.org/homerent/CarSharing
:CarSharing rdf:type owl:Class ;
rdfs:subClassOf :SharedMobility ;
rdfs:comment "Questa classe modella il servizio di condivisione della macchina."@it ,
"This class models the service of car sharing."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Car sharing"@en ,
"Macchina in condivisione"@it .
### https://purl.org/homerent/CompoundPrice
:CompoundPrice rdf:type owl:Class ;
rdfs:subClassOf gr:PriceSpecification ,
:HomeRentEntity ,
[ rdf:type owl:Restriction ;
owl:onProperty :priceComponent ;
owl:allValuesFrom gr:UnitPriceSpecification
] ;
rdfs:comment "A compound price specification is one that bundles multiple prices that all apply in combination for different dimensions of consumption."@en ,
"Una specifica di prezzo composto è quella che raggruppa più prezzi che si applicano tutti in combinazione per diverse dimensioni di consumo."@it ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Compound price"@en ,
"Prezzo composto"@it .
### https://purl.org/homerent/CulturalHolidayApartment
:CulturalHolidayApartment rdf:type owl:Class ;
rdfs:subClassOf schema:Apartment ,
:HomeRentEntity ;
rdfs:comment "Questa sottoclasse di schema:Apartment modella il tipo di appartamenti che è ideale per le vacanze culturali essendo vicino a musei, arredato, pronto per trasferirsi e con un periodo di disponibilità di affitto temporaneo."@it ,
"This subclass of schema:Apartment models the type of apartment that is ideal for cultural vacation rentals as it is close to museums, furnished, move-in ready, and has a temporary rental availability period."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Appartamento per vacanza culturale"@it ,
"Cultural holiday apartment"@en .
### https://purl.org/homerent/Dishwasher
:Dishwasher rdf:type owl:Class ;
rdfs:subClassOf :Appliance ;
rdfs:comment "Questa classe modella una lavastoviglie utilizzabile all'interno dell'appartamento."@it ,
"This class models a dishwasher that can be used inside the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Dishwasher"@en ,
"Lavastoviglie"@it .
### https://purl.org/homerent/Dryer
:Dryer rdf:type owl:Class ;
rdfs:subClassOf :Appliance ;
rdfs:comment "Questa classe modella un'asciugatrice utilizzabile all'interno dell'appartamento."@it ,
"This class models a dryer that can be used inside the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Asciugatrice"@it ,
"Dryer"@en .
### https://purl.org/homerent/ElectricFan
:ElectricFan rdf:type owl:Class ;
rdfs:subClassOf :Appliance ;
rdfs:comment "Questa classe modella un ventilatore utilizzabile all'interno dell'appartamento."@it ,
"This class models an electric fan that can be used inside the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Electric fan"@en ,
"Ventilatore"@it .
### https://purl.org/homerent/ElectricityPrice
:ElectricityPrice rdf:type owl:Class ;
rdfs:subClassOf gr:UnitPriceSpecification ,
:HomeRentEntity ;
rdfs:comment "Questa specifica di prezzo descrive il prezzo per l'elettricità."@it ,
"This unit price specification describe the price for the electricity."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Electricity price"@en ,
"Prezzo dell'elettricità"@it .
### https://purl.org/homerent/Feature
:Feature rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Class ;
owl:unionOf ( :Appliance
:Service
)
] ;
rdfs:subClassOf :HomeRentEntity ,
[ rdf:type owl:Restriction ;
owl:onProperty schema:description ;
owl:someValuesFrom xsd:string
] ,
[ rdf:type owl:Restriction ;
owl:onProperty :isFeatureUsageShared ;
owl:someValuesFrom xsd:boolean
] ;
rdfs:comment "Questa classe funge da superclasse per tutte le caratteristiche che possono caratterizzare un appartamento."@it ,
"This class acts as a superclass for all characteristics that can characterize an apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Feature of the apartment"@en ,
"Funzionalità presenti nell'appartamento"@it .
### https://purl.org/homerent/FloorType
:FloorType rdf:type owl:Class ;
owl:equivalentClass [ rdf:type owl:Class ;
owl:oneOf ( :CeramicFloor
:LaminateFloor
:ParquetFloor
:PorcelainStoneWareFloor
:PvcFloor
:ResinFloor
)
] ;
rdfs:subClassOf :HomeRentEntity ;
rdfs:comment "Questa classe modella il tipo di pavimentazione presente negli appartamenti."@it ,
"This class models the types of floor inside an apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Floor type"@en ,
"Tipo di pavimentazione"@it .
### https://purl.org/homerent/FourRoomApartment
:FourRoomApartment rdf:type owl:Class ;
rdfs:subClassOf schema:Apartment ,
:HomeRentEntity ;
rdfs:comment "Questa sottoclasse di schema:Apartment modella un quadrilocale. Esso è un appartamento composto da quattro locali. Viene considerato quadrilocale anche il caso di un appartamento da 3.5 locali"@it ,
"This subclass of schema:Apartment models a four-room apartment. It is an apartment consisting of four rooms. The case of a 3.5-room apartment is also considered a four-room apartment"@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Four-room apartment"@en ,
"Quadrilocale"@it .
### https://purl.org/homerent/Freezer
:Freezer rdf:type owl:Class ;
rdfs:subClassOf :Appliance ;
rdfs:comment "Questa classe modella un congelatore utilizzabile all'interno dell'appartamento."@it ,
"This class models a freezer that can be used inside the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Congelatore"@it ,
"Freezer"@en .
### https://purl.org/homerent/Fridge
:Fridge rdf:type owl:Class ;
rdfs:subClassOf :Appliance ;
rdfs:comment "Questa classe modella un frigo utilizzabile all'interno dell'appartamento."@it ,
"This class models a fridge that can be used inside the apartment."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Fridge"@en ,
"Frigo"@it .
### https://purl.org/homerent/Garden
:Garden rdf:type owl:Class ;
rdfs:subClassOf :Service ;
rdfs:comment "Questa classe modella la presenza di un giardino"@it ,
"This class models the presence of a garden."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Garden"@en ,
"Giardino"@it .
### https://purl.org/homerent/HeatingPrice
:HeatingPrice rdf:type owl:Class ;
rdfs:subClassOf gr:UnitPriceSpecification ,
:HomeRentEntity ;
rdfs:comment "Questa specifica di prezzo descrive il prezzo per il riscaldamento."@it ,
"This unit price specification describe the price for the heating."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Heating price"@en ,
"Prezzo del riscaldamento"@it .
### https://purl.org/homerent/HighInterestApartment
:HighInterestApartment rdf:type owl:Class ;
owl:equivalentClass [ owl:intersectionOf ( schema:Apartment
[ rdf:type owl:Restriction ;
owl:onProperty :isApartmentIncluded ;
owl:someValuesFrom [ owl:intersectionOf ( :RentalAd
[ rdf:type owl:Restriction ;
owl:onProperty :hasGeneratedInterest ;
owl:minCardinality "5"^^xsd:nonNegativeInteger
]
) ;
rdf:type owl:Class
]
]
) ;
rdf:type owl:Class
] ;
rdfs:subClassOf :HomeRentEntity ;
rdfs:comment "Questa classe modella un appartamento ritenuto interessante per almeno 5 persone."@it ,
"This class models an apartment that is interesting for at least 5 people."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Appartmento ad alto interesse"@it ,
"High interest apartment"@en .
### https://purl.org/homerent/HomeRentEntity
:HomeRentEntity rdf:type owl:Class ;
rdfs:comment "Questa classe include tutte le classi definite nell'ontologia HomeRent."@it ,
"This class includes all the classes defined under the HomeRent ontology."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> .
### https://purl.org/homerent/InternetAccess
:InternetAccess rdf:type owl:Class ;
rdfs:subClassOf :Service ;
rdfs:comment "Questa classe modella la presenza dell'accesso ad Internet"@it ,
"This class models the presence of the Internet access."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Accesso ad Internet"@it ,
"Internet access"@en .
### https://purl.org/homerent/Kitchen
:Kitchen rdf:type owl:Class ;
rdfs:subClassOf :Service ;
rdfs:comment "Questa classe modella la presenza di una cucina"@it ,
"This class models the presence of a kitchen."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Cucina"@it ,
"Kitchen"@en .
### https://purl.org/homerent/Lift
:Lift rdf:type owl:Class ;
rdfs:subClassOf :Service ;
rdfs:comment "Questa classe modella la presenza di un ascensore"@it ,
"This class models the presence of a lift."@en ;
rdfs:isDefinedBy <https://purl.org/homerent/> ;
rdfs:label "Ascensore"@it ,