[tracker/sam/ontology-shrink: 11/12] ontology: Remove predefined locations from slo ontology



commit 4dc92f1aef129556ce40f5d96f8e8c364466a6ed
Author: Sam Thursfield <sam afuera me uk>
Date:   Sat May 16 18:28:44 2020 +0200

    ontology: Remove predefined locations from slo ontology
    
    This is a random set of data which nobody is using. Removing it reduces
    size of an empty database by 16KiB.

 src/ontologies/nepomuk/92-slo.ontology             | 80 ----------------------
 tests/libtracker-data/nie/filter-description-1.out | 15 ----
 tests/libtracker-data/nie/filter-title-1.out       | 15 ----
 3 files changed, 110 deletions(-)
---
diff --git a/src/ontologies/nepomuk/92-slo.ontology b/src/ontologies/nepomuk/92-slo.ontology
index 608d0dcfa..387c6bc3e 100644
--- a/src/ontologies/nepomuk/92-slo.ontology
+++ b/src/ontologies/nepomuk/92-slo.ontology
@@ -182,83 +182,3 @@ slo:routeDetails a rdf:Property ;
        rdfs:comment "FIXME Domain can be resource if we handle map-files correctly in the ontology";
        rdfs:domain slo:Route ;
        rdfs:range  xsd:string .
-
-###############################################
-#  Predefined categories coming from Symbian
-#    - move to a different file?
-###############################################
-
-slo:predefined-landmark-category-accommodation a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Accommodation";
-       nie:description "Hotel, Camping site".
-
-slo:predefined-landmark-category-business a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Business";
-       nie:description "Bank, Factory, Office".
-
-slo:predefined-landmark-category-communication a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Communication";
-       nie:description "Internet Access Point, Public Telephone, Wireless LAN Hot Spot".
-
-slo:predefined-landmark-category-educational-institute a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Educational institute";
-       nie:description "School, College".
-
-slo:predefined-landmark-category-entertainment a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Entertainment";
-       nie:description "Amusement park, Cinema, Concert hall, Night club".
-
-slo:predefined-landmark-category-food-beverage a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Food & Beverage";
-       nie:description "Fast food, Restaurant, Café, Bar".
-
-slo:predefined-landmark-category-geographical-area a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Geographical area";
-       nie:description "City, City center, Town".
-
-slo:predefined-landmark-category-outdoor-activities a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Outdoor activities";
-       nie:description "Camping site, Fishing place, Hunting, National park, Playground".
-
-slo:predefined-landmark-category-people a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "People";
-       nie:description "My home, My friends home, Fathers summer cottage, Childs school".
-
-slo:predefined-landmark-category-public-service a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Public service";
-       nie:description "Tourist information office, Government office, Library, Post office, Hospital, 
Police ".
-
-slo:predefined-landmark-category-religious-places a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Religious places";
-       nie:description "Church, Mosque".
-
-slo:predefined-landmark-category-shopping a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Shopping";
-       nie:description "Market Place, Pharmacy, Shop, Shopping Center".
-
-slo:predefined-landmark-category-sightseeing a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Sightseeing";
-       nie:description "Monument, Mountain top, Museum".
-
-slo:predefined-landmark-category-sports a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Sports";
-       nie:description "Bowling, Golf course, Ice hockey hall, Stadium".
-
-slo:predefined-landmark-category-transport a slo:LandmarkCategory ;
-       slo:isRemovable false ;
-       nie:title "Transport";
-       nie:description "Airport, Bus stop, Harbour, Railway Station, Rest area".
diff --git a/tests/libtracker-data/nie/filter-description-1.out 
b/tests/libtracker-data/nie/filter-description-1.out
index 0d8e5a3a1..22114702b 100644
--- a/tests/libtracker-data/nie/filter-description-1.out
+++ b/tests/libtracker-data/nie/filter-description-1.out
@@ -1,16 +1 @@
-"Airport, Bus stop, Harbour, Railway Station, Rest area"
-"Amusement park, Cinema, Concert hall, Night club"
-"Bank, Factory, Office"
-"Bowling, Golf course, Ice hockey hall, Stadium"
-"Camping site, Fishing place, Hunting, National park, Playground"
-"Church, Mosque"
-"City, City center, Town"
-"Fast food, Restaurant, Café, Bar"
-"Hotel, Camping site"
-"Internet Access Point, Public Telephone, Wireless LAN Hot Spot"
-"Market Place, Pharmacy, Shop, Shopping Center"
-"Monument, Mountain top, Museum"
-"My home, My friends home, Fathers summer cottage, Childs school"
-"School, College"
 "stringly data for nie:description"
-"Tourist information office, Government office, Library, Post office, Hospital, Police "
diff --git a/tests/libtracker-data/nie/filter-title-1.out b/tests/libtracker-data/nie/filter-title-1.out
index 8384d96bc..813754004 100644
--- a/tests/libtracker-data/nie/filter-title-1.out
+++ b/tests/libtracker-data/nie/filter-title-1.out
@@ -1,16 +1 @@
-"Accommodation"
-"Business"
-"Communication"
-"Educational institute"
-"Entertainment"
-"Food & Beverage"
-"Geographical area"
-"Outdoor activities"
-"People"
-"Public service"
-"Religious places"
-"Shopping"
-"Sightseeing"
-"Sports"
 "stringly data for nie:title"
-"Transport"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]