[tracker] New MTP ontology to include MTP protocol related properties.
- From: Ivan Frade <ifrade src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] New MTP ontology to include MTP protocol related properties.
- Date: Tue, 6 Oct 2009 10:45:07 +0000 (UTC)
commit d585cf13e6640285c94939d2e99c012593650eba
Author: Ivan Frade <ivan frade nokia com>
Date: Tue Oct 6 13:42:17 2009 +0300
New MTP ontology to include MTP protocol related properties.
data/ontologies/89-mtp.ontology | 67 +++++++++++++++++++++++++++++++++++++++
data/ontologies/Makefile.am | 1 +
2 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/data/ontologies/89-mtp.ontology b/data/ontologies/89-mtp.ontology
new file mode 100644
index 0000000..b672023
--- /dev/null
+++ b/data/ontologies/89-mtp.ontology
@@ -0,0 +1,67 @@
+ prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
+ prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+ prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+ prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+ prefix mtp: <http://www.tracker-project.org/temp/mtp#> .
+ prefix tracker: <http://www.tracker-project.org/ontologies/tracker#> .
+
+ prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
+ prefix nmm: <http://www.tracker-project.org/temp/nmm#> .
+ prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+
+
+#
+# This ontology "decorates" nmm and nfo to include properties required
+# by the MTP protocol
+#
+
+mtp: a tracker:Namespace ;
+ tracker:prefix "mtp" .
+
+mtp:ScanType a rdfs:Class ;
+ rdfs:label "Scan types" ;
+ rdfs:comment "pre-defined set of scan types instances" ;
+ rdfs:subClassOf rdfs:Resource .
+
+mtp:scantype-FieldInterleavedUpperFirst a mtp:ScanType ;
+ nie:description "Line interleaved Frames with the Upper field on the first line." .
+mtp:scantype-FieldInterleavedLowerFirst a mtp:ScanType ;
+ nie:description "Line interleaved frames with the Lower field on the first line." .
+mtp:scantype-FieldSingleUpperFirst a mtp:ScanType;
+ nie:description "Fields are sent as independent samples. The field is indicated (on a per sample basis)".
+mtp:scantype-FieldSingleLowerFirst a mtp:ScanType ;
+ nie:description "Fields are sent as independent samples. The field is indicated (on a per sample basis".
+mtp:scantype-MixedInterlace a mtp:ScanType;
+ nie:description "The content may contain a mix of interlaced modes".
+mtp:scantype-MixedInterlaceAndProgressive a mtp:ScanType ;
+ nie:description "The content may contain a mix of interlaced and progressive modes.".
+
+mtp:scantype a rdf:Property ;
+ rdfs:label "Scan type";
+ rdfs:comment "Scan type of a video file (MTP requirement. FIXME Maybe should be move to a different ontology)" ;
+ rdfs:domain nmm:Video ;
+ rdfs:range mtp:ScanType .
+
+
+
+mtp:hidden a rdf:Property ;
+ rdfs:label "Hidden" ;
+ rdfs:comment "Hidden for the MTP protocol" ;
+ rdfs:range nfo:Media ;
+ rdfs:domain xsd:boolean .
+
+mtp:credits a rdf:Property ;
+ rdfs:label "MTP credits" ;
+ rdfs:comment "Following MTP spec, credits contains... FIXME" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nfo:Media ;
+ rdfs:range xsd:string .
+
+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 .
+
+
diff --git a/data/ontologies/Makefile.am b/data/ontologies/Makefile.am
index 6332ec9..712d2b0 100644
--- a/data/ontologies/Makefile.am
+++ b/data/ontologies/Makefile.am
@@ -19,6 +19,7 @@ config_DATA = \
39-mto.ontology \
40-mlo.ontology \
41-mfo.ontology \
+ 89-mtp.ontology \
90-tracker.ontology \
91-maemo.ontology
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]