[tracker] Ontology: Added tracker:weight to more ontology properties



commit afa345d09da8fb2ce0c2e2171fada766b71cd155
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Nov 3 14:19:50 2009 +0000

    Ontology: Added tracker:weight to more ontology properties
    
    This is a pretty comprehensive update too. All values range from 2-10.
    1 is used for properties which have no tracker:weight defined anyway.

 data/ontologies/20-dc.ontology   |   18 +++++---
 data/ontologies/30-nie.ontology  |   27 +++++++----
 data/ontologies/31-nao.ontology  |    3 +-
 data/ontologies/32-nco.ontology  |   93 +++++++++++++++++++++++++-------------
 data/ontologies/33-nfo.ontology  |   18 +++++---
 data/ontologies/34-nmo.ontology  |   21 ++++++---
 data/ontologies/35-ncal.ontology |   12 +++--
 data/ontologies/37-nid3.ontology |   18 +++++---
 data/ontologies/38-nmm.ontology  |   40 +++++++++++------
 data/ontologies/89-mtp.ontology  |    6 ++-
 10 files changed, 170 insertions(+), 86 deletions(-)
---
diff --git a/data/ontologies/20-dc.ontology b/data/ontologies/20-dc.ontology
index 3d29204..40b1f0a 100644
--- a/data/ontologies/20-dc.ontology
+++ b/data/ontologies/20-dc.ontology
@@ -13,42 +13,48 @@ dc:title a rdf:Property ;
 	rdfs:comment "A name given to the resource." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain rdfs:Resource ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 10 .
 
 dc:creator a rdf:Property ;
 	rdfs:label "Creator" ;
 	rdfs:comment "An entity primarily responsible for making the resource." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain rdfs:Resource ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 dc:subject a rdf:Property ;
 	rdfs:label "Subject" ;
 	rdfs:comment "The topic of the resource." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain rdfs:Resource ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 dc:description a rdf:Property ;
 	rdfs:label "Description" ;
 	rdfs:comment "An account of the resource." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain rdfs:Resource ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 dc:publisher a rdf:Property ;
 	rdfs:label "Publisher" ;
 	rdfs:comment "An entity responsible for making the resource available." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain rdfs:Resource ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 dc:contributor a rdf:Property ;
 	rdfs:label "Contributor" ;
 	rdfs:comment "An entity responsible for making contributions to the resource." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain rdfs:Resource ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 dc:date a rdf:Property ;
 	rdfs:label "Date" ;
diff --git a/data/ontologies/30-nie.ontology b/data/ontologies/30-nie.ontology
index 582c019..0481f16 100644
--- a/data/ontologies/30-nie.ontology
+++ b/data/ontologies/30-nie.ontology
@@ -93,7 +93,8 @@ nie:description a rdf:Property ;
 	rdfs:subPropertyOf dc:description ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 # Bug in nepomuk specification. Taking domain from superproperty
 nie:disclaimer a rdf:Property ;
@@ -130,7 +131,8 @@ nie:copyright a rdf:Property ;
 nie:comment a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 2 .
 
 nie:interpretedAs a rdf:Property ;
 	nrl:maxCardinality 1 ;
@@ -192,20 +194,24 @@ nie:identifier a rdf:Property ;
 nie:keyword a rdf:Property ;
 	tracker:fulltextIndexed true ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nie:hasLogicalPart a rdf:Property ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range nie:InformationElement .
+	rdfs:range nie:InformationElement ;
+	tracker:weight 2 .
 
 nie:hasPart a rdf:Property ;
 	rdfs:subPropertyOf nie:relatedTo ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range nie:DataObject .
+	rdfs:range nie:DataObject ;
+	tracker:weight 2 .
 
 nie:isPartOf a rdf:Property ;
 	rdfs:domain nie:DataObject ;
-	rdfs:range nie:InformationElement .
+	rdfs:range nie:InformationElement ;
+	tracker:weight 2 .
 
 # Bug in nepomuk specification. Taking domain from superproperty
 nie:licenseType a rdf:Property ;
@@ -221,7 +227,8 @@ nie:characterSet a rdf:Property ;
 
 nie:isLogicalPartOf a rdf:Property ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range nie:InformationElement .
+	rdfs:range nie:InformationElement ;
+	tracker:weight 2 .
 
 nie:contentSize a rdf:Property ;
 	nrl:maxCardinality 1 ;
@@ -231,11 +238,13 @@ nie:contentSize a rdf:Property ;
 nie:rootElementOf a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range nie:DataSource .
+	rdfs:range nie:DataSource ;
+	tracker:weight 2 .
 
 nie:usageCounter a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nie:InformationElement ;
 	rdfs:range xsd:integer ;
-	tracker:isAnnotation true .
+	tracker:isAnnotation true ;
+	tracker:weight 3 .
 
diff --git a/data/ontologies/31-nao.ontology b/data/ontologies/31-nao.ontology
index da40255..4466a5f 100644
--- a/data/ontologies/31-nao.ontology
+++ b/data/ontologies/31-nao.ontology
@@ -15,7 +15,8 @@ nao:Tag a rdfs:Class ;
 nao:prefLabel a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nao:Tag ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 10 .
 
 nao:hasTag a rdf:Property ;
 	rdfs:domain rdfs:Resource ;
diff --git a/data/ontologies/32-nco.ontology b/data/ontologies/32-nco.ontology
index 9aab0d4..30e29a2 100644
--- a/data/ontologies/32-nco.ontology
+++ b/data/ontologies/32-nco.ontology
@@ -178,7 +178,8 @@ nco:url a rdf:Property ;
 	rdfs:comment "A uniform resource locator associated with the given role of a Contact. Inspired by the 'URL' property defined in RFC 2426 Sec. 3.6.8." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Role ;
-	rdfs:range rdfs:Resource .
+	rdfs:range rdfs:Resource ;
+	tracker:weight 4 .
 
 nco:contributor a rdf:Property ;
 	rdfs:label "contributor" ;
@@ -194,14 +195,16 @@ nco:creator a rdf:Property ;
 	rdfs:subPropertyOf dc:creator , nco:contributor ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range nco:Contact .
+	rdfs:range nco:Contact ;
+	tracker:weight 4 .
 
 nco:region a rdf:Property ;
 	rdfs:label "region" ;
 	rdfs:comment "Region. Inspired by the fifth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PostalAddress ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 nco:key a rdf:Property ;
 	rdfs:label "key" ;
@@ -216,14 +219,16 @@ nco:nameHonorificSuffix a rdf:Property ;
 	rdfs:comment "A suffix for the name of the Object represented by the given object. See documentation for the 'nameFamily' for details." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PersonContact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 nco:nameFamily a rdf:Property ;
 	rdfs:label "nameFamily" ;
 	rdfs:comment "The family name of an Object represented by this Contact. These applies to people that have more than one given name. The 'first' one is considered 'the' given name (see nameGiven) property. All additional ones are considered 'additional' names. The name inherited from parents is the 'family name'. e.g. For Dr. John Phil Paul Stevenson Jr. M.D. A.C.P. we have contact with: honorificPrefix: 'Dr.', nameGiven: 'John', nameAdditional: 'Phil', nameAdditional: 'Paul', nameFamily: 'Stevenson', honorificSuffix: 'Jr.', honorificSuffix: 'M.D.', honorificSuffix: 'A.C.P.'. These properties form an equivalent of the compound 'N' property as defined in RFC 2426 Sec. 3.1.2" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PersonContact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 nco:contactUID a rdf:Property ;
 	rdfs:label "contactUID" ;
@@ -231,7 +236,8 @@ nco:contactUID a rdf:Property ;
 	rdfs:subPropertyOf nie:identifier ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Contact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nco:publisher a rdf:Property ;
 	rdfs:label "publisher" ;
@@ -239,28 +245,32 @@ nco:publisher a rdf:Property ;
 	rdfs:subPropertyOf dc:publisher ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nie:InformationElement ;
-	rdfs:range nco:Contact .
+	rdfs:range nco:Contact ;
+	tracker:weight 2 .
 
 nco:country a rdf:Property ;
 	rdfs:label "country" ;
 	rdfs:comment "A part of an address specyfing the country. Inspired by the seventh part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PostalAddress ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 nco:nameHonorificPrefix a rdf:Property ;
 	rdfs:label "nameHonorificPrefix" ;
 	rdfs:comment "A prefix for the name of the object represented by this Contact. See documentation for the 'nameFamily' property for details." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PersonContact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 nco:extendedAddress a rdf:Property ;
 	rdfs:label "extendedAddress" ;
 	rdfs:comment "An extended part of an address. This field might be used to express parts of an address that aren't include in the name of the Contact but also aren't part of the actual location. Usually the streed address and following fields are enough for a postal letter to arrive. Examples may include ('University of California Campus building 45', 'Sears Tower 34th floor' etc.) Inspired by the second part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PostalAddress ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 6 .
 
 nco:hasIMAccount a rdf:Property ;
 	rdfs:label "hasIMAccount" ;
@@ -281,14 +291,16 @@ nco:phoneNumber a rdf:Property ;
 	rdfs:label "phoneNumber" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PhoneNumber ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nco:nickname a rdf:Property ;
 	rdfs:label "nickname" ;
 	rdfs:comment "A nickname of the Object represented by this Contact. This is an equivalen of the 'NICKNAME' property as defined in RFC 2426 Sec. 3.1.3." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Contact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nco:containsContact a rdf:Property ;
 	rdfs:label "containsContact" ;
@@ -308,7 +320,8 @@ nco:department a rdf:Property ;
 	rdfs:comment "Department. The organizational unit within the organization." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Affiliation ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 nco:imID a rdf:Property ;
 	rdfs:label "imID" ;
@@ -316,7 +329,8 @@ nco:imID a rdf:Property ;
 	rdfs:subPropertyOf nao:identifier ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:IMAccount ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 # FIXME Range geo:Point but we dont have that class
 nco:addressLocation a rdf:Property ;
@@ -324,7 +338,8 @@ nco:addressLocation a rdf:Property ;
 	rdfs:comment "The geographical location of a postal address." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PostalAddress ;
-	rdfs:range rdfs:Resource .
+	rdfs:range rdfs:Resource ;
+	tracker:weight 3 .
 
 nco:note a rdf:Property ;
 	rdfs:label "note" ;
@@ -332,7 +347,8 @@ nco:note a rdf:Property ;
 	rdfs:subPropertyOf nie:description ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Contact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 nco:representative a rdf:Property ;
 	rdfs:label "representative" ;
@@ -346,14 +362,16 @@ nco:nameGiven a rdf:Property ;
 	rdfs:comment "The given name for the object represented by this Contact. See documentation for 'nameFamily' property for details." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PersonContact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nco:nameAdditional a rdf:Property ;
 	rdfs:label "nameAdditional" ;
 	rdfs:comment "Additional given name of an object represented by this contact. See documentation for 'nameFamily' property for details." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PersonContact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nco:fullname a rdf:Property ;
 	rdfs:label "fullname" ;
@@ -362,14 +380,16 @@ nco:fullname a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Contact ;
 	rdfs:range xsd:string ;
-	tracker:fulltextIndexed true .
+	tracker:fulltextIndexed true ;
+	tracker:weight 6 .
 
 nco:streetAddress a rdf:Property ;
 	rdfs:label "streetAddress" ;
 	rdfs:comment "The streed address. Inspired by the third part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PostalAddress ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 6 .
 
 nco:hasPhoneNumber a rdf:Property ;
 	rdfs:label "hasPhoneNumber" ;
@@ -403,7 +423,8 @@ nco:websiteUrl a rdf:Property ;
 	rdfs:subPropertyOf nco:url ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Role ;
-	rdfs:range rdfs:Resource .
+	rdfs:range rdfs:Resource ;
+	tracker:weight 5 .
 
 nco:birthDate a rdf:Property ;
 	rdfs:label "birthDate" ;
@@ -411,7 +432,8 @@ nco:birthDate a rdf:Property ;
 	rdfs:subPropertyOf dc:date ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Contact ;
-	rdfs:range xsd:dateTime .
+	rdfs:range xsd:dateTime ;
+	tracker:weight 5 .
 
 nco:hasEmailAddress a rdf:Property ;
 	rdfs:label "hasEmailAddress" ;
@@ -425,20 +447,23 @@ nco:postalcode a rdf:Property ;
 	rdfs:comment "Postal Code. Inspired by the sixth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PostalAddress ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 6 .
 
 nco:org a rdf:Property ;
 	rdfs:label "org" ;
 	rdfs:comment "Name of an organization or a unit within an organization the object represented by a Contact is associated with. An equivalent of the 'ORG' property defined in RFC 2426 Sec. 3.5.5" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Affiliation ;
-	rdfs:range nco:OrganizationContact .
+	rdfs:range nco:OrganizationContact ;
+	tracker:weight 4 .
 
 nco:title a rdf:Property ;
 	rdfs:label "title" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Affiliation ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 10 .
 
 nco:voiceMail a rdf:Property ;
 	rdfs:label "voiceMail" ;
@@ -459,7 +484,8 @@ nco:contactGroupName a rdf:Property ;
 	rdfs:subPropertyOf dc:title ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:ContactGroup ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 nco:contactMediumComment a rdf:Property ;
 	rdfs:label "contactMediumComment" ;
@@ -488,7 +514,8 @@ nco:locality a rdf:Property ;
 	rdfs:comment "Locality or City. Inspired by the fourth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PostalAddress ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 nco:sound a rdf:Property ;
 	rdfs:label "sound" ;
@@ -503,14 +530,16 @@ nco:imNickname a rdf:Property ;
 	rdfs:comment "A nickname attached to a particular IM Account." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:IMAccount ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nco:hobby a rdf:Property ;
 	rdfs:label "hobby" ;
 	rdfs:comment "A hobby associated with a PersonContact. This property can be used to express hobbies and interests." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PersonContact ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 2 .
 
 # Same remarks as in url
 nco:blogUrl a rdf:Property ;
@@ -525,7 +554,8 @@ nco:role a rdf:Property ;
 	rdfs:label "role" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:Affiliation ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 2 .
 
 nco:hasPostalAddress a rdf:Property ;
 	rdfs:label "hasPostalAddress" ;
@@ -553,7 +583,8 @@ nco:pobox a rdf:Property ;
 	rdfs:comment "Post office box. This is the first part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nco:PostalAddress ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nco:imStatusMessage a rdf:Property ;
 	rdfs:label "imStatusMessage" ;
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index fd749d3..7984253 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -469,7 +469,8 @@ nfo:fileName a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:FileDataObject ;
 	rdfs:range xsd:string ;
-	tracker:fulltextIndexed true .
+	tracker:fulltextIndexed true ;
+	tracker:weight 7 .
 
 nfo:encoding a rdf:Property ;
 	rdfs:label "encoding" ;
@@ -587,7 +588,8 @@ nfo:fontFamily a rdf:Property ;
 	rdfs:comment "The name of the font family." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:Font ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nfo:frontChannels a rdf:Property ;
 	rdfs:label "frontChannels" ;
@@ -734,7 +736,8 @@ nfo:genre a rdf:Property ;
 	rdfs:comment "Genre of media" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:Media ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 nfo:gain a rdf:Property ;
 	rdfs:label "Gain" ;
@@ -778,13 +781,15 @@ nfo:domain a rdf:Property ;
 	rdfs:label "Domain for a web history entry" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:WebHistory ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 nfo:uri a rdf:Property ;
 	rdfs:label "Uri for a web history entry" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:WebHistory ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 # Added
 
@@ -817,7 +822,8 @@ nfo:softwareCmdLine a rdf:Property ;
 	rdfs:comment "Commando to launch the software" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:Software ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 # Also added 
 
diff --git a/data/ontologies/34-nmo.ontology b/data/ontologies/34-nmo.ontology
index 924d45c..baeda67 100644
--- a/data/ontologies/34-nmo.ontology
+++ b/data/ontologies/34-nmo.ontology
@@ -82,12 +82,14 @@ nmo:from a rdf:Property ;
 nmo:headerName a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmo:MessageHeader ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 nmo:headerValue a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmo:MessageHeader ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 nmo:isAnswered a rdf:Property ;
 	nrl:maxCardinality 1 ;
@@ -182,7 +184,8 @@ nmo:messageSubject a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmo:Message ;
 	rdfs:range xsd:string ;
-	tracker:fulltextIndexed true .
+	tracker:fulltextIndexed true ;
+	tracker:weight 5 .
 
 nmo:receivedDate a rdf:Property ;
 	nrl:maxCardinality 1 ;
@@ -231,13 +234,15 @@ nmo:duration a rdf:Property ;
 nmo:accountName a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmo:Mailbox ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 # FIXME Extension to nepomuk 
 nmo:accountDisplayName a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmo:Mailbox ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 # FIXME Extension to nepomuk 
 nmo:fromAddress a rdf:Property ;
@@ -250,13 +255,15 @@ nmo:fromAddress a rdf:Property ;
 nmo:signature a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmo:Mailbox ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 2 .
 
 # FIXME Extension to nepomuk 
 nmo:folderName a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmo:MailFolder ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 # FIXME Extension to nepomuk 
 nmo:status a rdf:Property ;
diff --git a/data/ontologies/35-ncal.ontology b/data/ontologies/35-ncal.ontology
index b4c9384..a88172a 100644
--- a/data/ontologies/35-ncal.ontology
+++ b/data/ontologies/35-ncal.ontology
@@ -295,7 +295,8 @@ ncal:comment a rdf:Property ;
 	rdfs:comment "Non-processing information intended to provide a comment to the calendar user. Inspired by RFC 2445 sec. 4.8.1.4 with the following reservations:  the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language. For the ALTREP parameter use the commentAltRep property." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain ncal:UnionParentClass ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 # Range Resource in nepomuk
 ncal:summaryAltRep a rdf:Property ;
@@ -372,7 +373,8 @@ ncal:location a rdf:Property ;
 	rdfs:comment "Defines the intended venue for the activity defined by a calendar component. Inspired by RFC 2445 sec 4.8.1.7 with the following reservations:  the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language.  For the ALTREP parameter use the locationAltRep property." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain ncal:UnionParentClass ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 ncal:eventStatus a rdf:Property ;
 	rdfs:label "status" ;
@@ -619,7 +621,8 @@ ncal:summary a rdf:Property ;
 	rdfs:comment "Defines a short summary or subject for the calendar component. Inspired by RFC 2445 sec 4.8.1.12 with the following reservations: the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language. For the ALTREP parameter use the summaryAltRep property." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain ncal:UnionParentClass ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 ncal:role a rdf:Property ;
 	rdfs:label "role" ;
@@ -704,7 +707,8 @@ ncal:contact a rdf:Property ;
 	rdfs:comment "The property is used to represent contact information or alternately a reference to contact information associated with the calendar component. Inspired by RFC 2445 sec. 4.8.4.2 with the following reservations: the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language. For the ALTREP parameter use the contactAltRep property.RFC doesn't define any format for the string." ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain ncal:UnionParentClass ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 ncal:repeat a rdf:Property ;
 	rdfs:label "repeat" ;
diff --git a/data/ontologies/37-nid3.ontology b/data/ontologies/37-nid3.ontology
index 2a9f8ed..6660fa2 100644
--- a/data/ontologies/37-nid3.ontology
+++ b/data/ontologies/37-nid3.ontology
@@ -20,34 +20,39 @@ nid3:title a rdf:Property ;
 	rdfs:subPropertyOf nie:title ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nid3:ID3Audio ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 10 .
 
 nid3:leadArtist a rdf:Property ;
 	rdfs:label "Artist" ;
 	rdfs:comment "Track artist" ;
 	rdfs:domain nid3:ID3Audio ;
-	rdfs:range nco:Contact .
+	rdfs:range nco:Contact ;
+	tracker:weight 6 .
 
 nid3:albumTitle a rdf:Property ;
 	rdfs:label "Title" ;
 	rdfs:comment "Track title" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nid3:ID3Audio ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 10 .
 
 nid3:contentType a rdf:Property ;
 	rdfs:label "Genre" ;
 	rdfs:comment "The type or genre of the music track" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nid3:ID3Audio ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 5 .
 
 nid3:length a rdf:Property ;
 	rdfs:label "Duration" ;
 	rdfs:comment "The length in seconds of the music track" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nid3:ID3Audio ;
-	rdfs:range xsd:integer .
+	rdfs:range xsd:integer ;
+	tracker:weight 4 .
 
 nid3:recordingYear a rdf:Property ;
 	rdfs:label "Release date" ;
@@ -75,5 +80,6 @@ nid3:comments a rdf:Property ;
 	rdfs:comment "General purpose comments" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nid3:ID3Audio ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
diff --git a/data/ontologies/38-nmm.ontology b/data/ontologies/38-nmm.ontology
index 06d604d..b66b951 100644
--- a/data/ontologies/38-nmm.ontology
+++ b/data/ontologies/38-nmm.ontology
@@ -48,7 +48,8 @@ nmm:artistName a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:Artist ;
 	rdfs:range xsd:string ;
-	tracker:fulltextIndexed true .
+	tracker:fulltextIndexed true ;
+	tracker:weight 6 .
 
 nmm:musicAlbum a rdf:Property ;
 	rdfs:label "album" ;
@@ -56,7 +57,8 @@ nmm:musicAlbum a rdf:Property ;
 	rdfs:subPropertyOf nie:isLogicalPartOf ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:MusicPiece ;
-	rdfs:range nmm:MusicAlbum .
+	rdfs:range nmm:MusicAlbum ;
+	tracker:weight 6 .
 
 # Cardinality could be > 1 if we create one for album collectiosn
 nmm:albumArtist a rdf:Property ;
@@ -64,8 +66,8 @@ nmm:albumArtist a rdf:Property ;
 	rdfs:comment "main artists of the album" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:MusicAlbum ;
-	rdfs:range nmm:Artist .
-
+	rdfs:range nmm:Artist ;
+	tracker:weight 6 .
 
 nmm:beatsPerMinute a rdf:Property ;
 	rdfs:label "Beats per minute" ;
@@ -80,7 +82,8 @@ nmm:performer a rdf:Property ;
 	rdfs:subPropertyOf nco:contributor ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:MusicPiece ;
-	rdfs:range nmm:Artist .
+	rdfs:range nmm:Artist ;
+	tracker:weight 4 .
 
 nmm:length a rdf:Property ;
 	rdfs:label "Length" ;
@@ -95,7 +98,8 @@ nmm:composer a rdf:Property ;
 	rdfs:subPropertyOf nco:contributor ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:MusicPiece ;
-	rdfs:range nmm:Artist .
+	rdfs:range nmm:Artist ;
+	tracker:weight 4 .
 
 nmm:lyricist a rdf:Property ;
 	rdfs:label "Lyricist" ;
@@ -103,7 +107,8 @@ nmm:lyricist a rdf:Property ;
 	rdfs:subPropertyOf nco:contributor ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:MusicPiece ;
-	rdfs:range nmm:Artist .
+	rdfs:range nmm:Artist ;
+	tracker:weight 4 .
 
 nmm:lyrics a rdf:Property ;
 	rdfs:label "File with the lyrics for the music piece" ;
@@ -161,7 +166,8 @@ nmm:albumTitle a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:MusicAlbum ;
 	rdfs:range xsd:string ;
-	tracker:fulltextIndexed true .
+	tracker:fulltextIndexed true ;
+	tracker:weight 6 .
 
 nmm:albumDuration a rdf:Property ;
 	rdfs:label "Album duration" ;
@@ -245,25 +251,29 @@ nmm:genre a rdf:Property ;
 	rdfs:label "Genre" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:Media ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 4 .
 
 nmm:director a rdf:Property ;
 	rdfs:label "Director" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:Video ;
-	rdfs:range nmm:Artist .
+	rdfs:range nmm:Artist ;
+	tracker:weight 4 .
 
 nmm:producedBy a rdf:Property ;
 	rdfs:label "Produced by" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:Video ;
-	rdfs:range nmm:Artist .
+	rdfs:range nmm:Artist ;
+	tracker:weight 3 .
 
 nmm:leadActor a rdf:Property ;
 	rdfs:label "Lead actor" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:Video ;
-	rdfs:range nmm:Artist .
+	rdfs:range nmm:Artist ;
+	tracker:weight 4 .
 
 nmm:hasSubtitle a rdf:Property ;
 	rdfs:label "Has subtitle" ;
@@ -274,7 +284,8 @@ nmm:hasSubtitle a rdf:Property ;
 nmm:subtitle a rdf:Property ;
 	rdfs:label "Subtitle file relevant for the video" ;
 	rdfs:domain nmm:Video ;
-	rdfs:range nmm:SynchronizedText .
+	rdfs:range nmm:SynchronizedText ;
+	tracker:weight 5 .
 
 nmm:isContentEncrypted a rdf:Property ;
 	rdfs:label "Is content encrypted FIXME: defined already in IE in this ontology!" ;
@@ -308,7 +319,8 @@ nmm:camera a rdf:Property ;
 	rdfs:comment "The maker and model of the camera used to take the photograph" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmm:Photo ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 nmm:exposureTime a rdf:Property ;
 	rdfs:label "Exposure time" ;
diff --git a/data/ontologies/89-mtp.ontology b/data/ontologies/89-mtp.ontology
index 1df8adb..1342617 100644
--- a/data/ontologies/89-mtp.ontology
+++ b/data/ontologies/89-mtp.ontology
@@ -55,14 +55,16 @@ mtp:credits a rdf:Property ;
 	rdfs:comment "Following MTP spec, credits contains... FIXME" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:Media ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 2 .
 
 mtp:creator a rdf:Property ;
 	rdfs:label "MTP Creator" ;
 	rdfs:comment "Following MTP spec, this property can contain a free text taking about creator of the Media" ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:Media ;
-	rdfs:range xsd:string .
+	rdfs:range xsd:string ;
+	tracker:weight 3 .
 
 # http://msdn.microsoft.com/en-us/library/ms867195.aspx#waveformats
 mtp:fourCC a rdf:Property ;



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