[tracker/writeback: 2/5] Set cardinality of nfo:entryCounter and nfo:listDuration
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/writeback: 2/5] Set cardinality of nfo:entryCounter and nfo:listDuration
- Date: Mon, 21 Dec 2009 14:42:43 +0000 (UTC)
commit 226643bdd9970eb317ff47bed83d0b8851b4e605
Author: Philip Van Hoof <philip codeminded be>
Date: Tue Dec 15 13:48:09 2009 +0100
Set cardinality of nfo:entryCounter and nfo:listDuration
data/ontologies/33-nfo.ontology | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index 9bbe644..02c6ba6 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -424,17 +424,19 @@ nfo:hasMediaFileListEntry a rdf:Property ;
# Propose in nepomuk
nfo:entryCounter a rdf:Property ;
- rdfs:label "entry Counter" ;
+ rdfs:label "entry Counter" ;
rdfs:comment "Number of entries in the list. Optimize some common queries" ;
rdfs:domain nfo:MediaList ;
rdfs:range xsd:integer ;
+ nrl:maxCardinality 1 ;
tracker:writeback true .
nfo:listDuration a rdf:Property ;
rdfs:label "List duration" ;
rdfs:comment "Sum of the duration of all items in the list. Optimize some common queries. In seconds";
- rdfs:domain nfo:MediaList ;
+ rdfs:domain nfo:MediaList ;
rdfs:range xsd:integer ;
+ nrl:maxCardinality 1 ;
tracker:writeback true .
# Propose in nepomuk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]