summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2013-06-11 18:32:30 +0200
committerJonas <dr@jones.dk>2013-06-11 18:32:30 +0200
commitfcc09216f0250bfc1b598eb53f211bf8274fd463 (patch)
tree89ef7084568be799950dd07329f1003dafc26af3
parentf5000e962eb35c1d63a5e714400f1e7facc6e318 (diff)
Improve categories. Add annied. Update data for artdoor.
-rwxr-xr-xbin/rdf2hours6
-rw-r--r--data/org/annied.ttl19
-rw-r--r--data/org/artdoor.ttl12
-rw-r--r--data/org/camping.ttl2
-rw-r--r--data/org/genbrugsplads.ttl2
-rw-r--r--data/org/hal.ttl2
-rw-r--r--data/org/hestebedgaard.ttl2
-rw-r--r--data/org/kirke.ttl2
-rw-r--r--data/org/kro.ttl2
-rw-r--r--data/org/oroekontor.ttl2
-rw-r--r--data/org/oroestrand.ttl2
-rw-r--r--data/org/ouroeminder.ttl2
-rw-r--r--data/org/urtehaven.ttl2
13 files changed, 42 insertions, 15 deletions
diff --git a/bin/rdf2hours b/bin/rdf2hours
index 0d28d79..32b2f86 100755
--- a/bin/rdf2hours
+++ b/bin/rdf2hours
@@ -38,7 +38,8 @@ my @category = <<LIST =~ m/(\S.*\S)/g;
non-meal food
<http://schema.org/GroceryStore>
non-grocery store
- attraction
+ park or museum
+ art
transport
public service
LIST
@@ -290,7 +291,8 @@ sub categorydescribe {
$cat =~ s!non-meal food!caféer, slikbutikker o.l.!;
$cat =~ s!<http://schema.org/GroceryStore>!dagligvarebutikker!;
$cat =~ s!non-grocery store!øvrige butikker!;
- $cat =~ s!attraction!attraktioner og museer!;
+ $cat =~ s!park or museum!parker og museer!;
+ $cat =~ s!art!kunstudstillinger og gallerier!;
$cat =~ s!public service!offentlige services!;
return ucfirst($cat);
diff --git a/data/org/annied.ttl b/data/org/annied.ttl
new file mode 100644
index 0000000..8779aa4
--- /dev/null
+++ b/data/org/annied.ttl
@@ -0,0 +1,19 @@
+@prefix : <http://data.biks.dk/annied/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix gr: <http://purl.org/goodrelations/v1#> .
+@prefix schema: <http://schema.org/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+:home
+ a schema:Place;
+ gr:category "shop", schema:ClothingStore ;
+ gr:name "AnnieD's Modefilial på ORØ" ;
+# foaf:Homepage <http://annied.dk/Orøfilialen> ;
+ schema:telephone "+45-23749045" ;
+ schema:address :address .
+
+:address
+ a schema:PostalAddress;
+ schema:streetAddress "Brøndevej 49b, Orø"@da;
+ schema:postalCode "4300";
+ schema:addressLocality "Holbæk, Danmark"@da .
diff --git a/data/org/artdoor.ttl b/data/org/artdoor.ttl
index 4077dfe..b01e610 100644
--- a/data/org/artdoor.ttl
+++ b/data/org/artdoor.ttl
@@ -7,7 +7,7 @@
:home
a schema:Place;
- gr:category schema:ArtGallery ;
+ gr:category schema:ArtGallery, "art" ;
gr:name "Galleri ArtDoor"@da;
foaf:Homepage <http://www.galleriartdoor.dk/>;
gr:hasOpeningHourSpecification :hours .
@@ -17,17 +17,23 @@
gr:category "non-grocery store", schema:InternetCafe, "printshop" ;
gr:name "ArtDoor Butikken"@da;
foaf:Homepage <http://www.galleriartdoor.dk/artdoor-butikken.html>;
- gr:hasOpeningHourSpecification :hours .
+ gr:hasOpeningHourSpecification :hoursSummer .
:cafe
a schema:Place;
gr:category schema:FoodEstablishment, schema:CafeOrCoffeeShop, "non-meal food" ;
gr:name "Kaffe & Te huset"@da;
foaf:Homepage <http://www.galleriartdoor.dk/kaffe---te-huset.html>;
- gr:hasOpeningHourSpecification :hours .
+ gr:hasOpeningHourSpecification :hoursSummer .
:hours
a gr:OpeningHourSpecification ;
+ gr:hasOpeningHoursDayOfWeek gr:Saturday, gr:Sunday ;
+ gr:opens "12:00:00"^^xsd:time ;
+ gr:closes "18:00:00"^^xsd:time .
+
+:hoursSummer
+ a gr:OpeningHourSpecification ;
rdfs:comment "kun sommerhalvåret" ;
gr:hasOpeningHoursDayOfWeek gr:Saturday, gr:Sunday ;
gr:opens "12:00:00"^^xsd:time ;
diff --git a/data/org/camping.ttl b/data/org/camping.ttl
index 609c201..1d9ce77 100644
--- a/data/org/camping.ttl
+++ b/data/org/camping.ttl
@@ -7,7 +7,7 @@
[]
a gr:BusinessEntity;
- gr:category "accomodation", acco:CampingSite ;
+ gr:category schema:VRPark, "accomodation", acco:CampingSite ;
gr:name "Orø Camping"@da;
foaf:Homepage <http://www.oroecamping.dk/>.
diff --git a/data/org/genbrugsplads.ttl b/data/org/genbrugsplads.ttl
index 0760b1e..d1dc4e0 100644
--- a/data/org/genbrugsplads.ttl
+++ b/data/org/genbrugsplads.ttl
@@ -20,7 +20,7 @@
_:genbrugspladsen
a schema:Place;
- gr:category "public service";
+ gr:category "public service", schema:RecyclingCenter ;
gr:name "Genbrugspladsen - Orø";
foaf:page <http://www.holfor.dk/affald/genbrugspladser>;
schema:address [
diff --git a/data/org/hal.ttl b/data/org/hal.ttl
index 5eadd2b..6464db2 100644
--- a/data/org/hal.ttl
+++ b/data/org/hal.ttl
@@ -7,7 +7,7 @@
:home
a schema:Place;
-# gr:category "" ;
+ gr:category schema:SportsActivityLocation ;
gr:name "Orø Hallen" ;
foaf:Homepage <http://www.oroehallen.dk/html/Hallen.htm> ;
schema:address :address .
diff --git a/data/org/hestebedgaard.ttl b/data/org/hestebedgaard.ttl
index d179793..31001cb 100644
--- a/data/org/hestebedgaard.ttl
+++ b/data/org/hestebedgaard.ttl
@@ -7,7 +7,7 @@
:home
a schema:Place;
- gr:category "museum", "attraction" ;
+ gr:category schema:Museum, "park or museum" ;
gr:name "Hestebedgård" ;
foaf:Homepage <http://hestebedgård.dk/> ;
schema:email "kontakt@xn--hestebedgrd-58a.dk" ;
diff --git a/data/org/kirke.ttl b/data/org/kirke.ttl
index 264e825..d2c77a8 100644
--- a/data/org/kirke.ttl
+++ b/data/org/kirke.ttl
@@ -6,7 +6,7 @@
:home
a schema:Place;
- gr:category "public service";
+ gr:category schema:Church, "public service" ;
gr:name "Orø Kirke"@da;
foaf:Homepage <http://www.oroekirke.dk/>;
schema:email "kontakt@oroekirke.dk";
diff --git a/data/org/kro.ttl b/data/org/kro.ttl
index bdf5292..edf40bc 100644
--- a/data/org/kro.ttl
+++ b/data/org/kro.ttl
@@ -5,7 +5,7 @@
[]
a gr:BusinessEntity;
- gr:category schema:FoodEstablishment, schema:Restaurant, "accomodation", "full-meal food" ;
+ gr:category schema:Hotel, schema:Restaurant, "accomodation", "full-meal food" ;
gr:name "Hotel Orø Kro";
foaf:page <http://www.oroekro.dk/>;
schema:address [
diff --git a/data/org/oroekontor.ttl b/data/org/oroekontor.ttl
index 00b0bc0..acf5a2b 100644
--- a/data/org/oroekontor.ttl
+++ b/data/org/oroekontor.ttl
@@ -5,7 +5,7 @@
[]
a schema:Place;
- gr:category "public service";
+ gr:category schema:TouristInfomationCenter, "public service" ;
gr:name "OrØkontoret"@da;
foaf:Homepage <http://www.oroe.dk/orokontoret.html>;
schema:email "info@oroe.dk";
diff --git a/data/org/oroestrand.ttl b/data/org/oroestrand.ttl
index 35e8b47..bad2e7e 100644
--- a/data/org/oroestrand.ttl
+++ b/data/org/oroestrand.ttl
@@ -19,7 +19,7 @@
_:dyreparken
a schema:Place;
- gr:category "attraction";
+ gr:category schema:Zoo, "park or museum";
gr:name "Orøstrand - Dyreparken"@da;
foaf:Homepage <http://oroestrand.dk/dyreparken/>;
gr:hasOpeningHourSpecification [
diff --git a/data/org/ouroeminder.ttl b/data/org/ouroeminder.ttl
index 6a3fb37..6540e19 100644
--- a/data/org/ouroeminder.ttl
+++ b/data/org/ouroeminder.ttl
@@ -6,7 +6,7 @@
[]
a schema:Place;
- gr:category "museum", "attraction";
+ gr:category schema:Museum, "park or museum" ;
schema:telephone "+45-59470068", "+45-59470024", "+45-59470225";
gr:name "Ourø Minder"@da;
foaf:page <http://www.oroe.dk/museet-ouro-minder.html>;
diff --git a/data/org/urtehaven.ttl b/data/org/urtehaven.ttl
index d7eaff3..95390e8 100644
--- a/data/org/urtehaven.ttl
+++ b/data/org/urtehaven.ttl
@@ -21,7 +21,7 @@
_:urtehaven
a schema:Place;
- gr:category "attraction";
+ gr:category schema:Park, "park or museum";
gr:name "Urtehaven på Orø";
schema:latitude "55.784417";
schema:longitude "11.78553";