summaryrefslogtreecommitdiff
path: root/src/ontologies/nepomuk/89-mtp.ontology
blob: 043aa3533a5eebeae5b0af241d3816f0f3f03bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
@prefix nrl: <http://tracker.api.gnome.org/ontology/v3/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://tracker.api.gnome.org/ontology/v3/mtp#> .
@prefix tracker: <http://tracker.api.gnome.org/ontology/v3/tracker#> .
@prefix nie: <http://tracker.api.gnome.org/ontology/v3/nie#> .
@prefix nmm: <http://tracker.api.gnome.org/ontology/v3/nmm#> .
@prefix nfo: <http://tracker.api.gnome.org/ontology/v3/nfo#> .

mtp: a tracker:Namespace, tracker:Ontology ;
	tracker:prefix "mtp" ;
	tracker:lastModified "2010-08-11T16:00:00Z" .

#
# This ontology "decorates" nmm and nfo to include properties required
# by the MTP protocol
#

mtp:ScanType a rdfs:Class ;
	rdfs:label "Scan types" ;
	rdfs:comment "pre-defined set of scan types instances" ;
	rdfs:subClassOf nie:InformationElement .

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:domain nfo:Media ;
	rdfs:range 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 ;
	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 ;
	tracker:fulltextIndexed true ;
	tracker:weight 3 .

# http://msdn.microsoft.com/en-us/library/ms867195.aspx#waveformats
mtp:fourCC a rdf:Property ;
	rdfs:label "MTP fourCC code";
	rdfs:comment "These codes are used to uniquely identify video formats, and are used in various legacy and current software development kits (SDKs), including those for Microsoft Video for Windows (VfW), Microsoft DirectShow, and Microsoft Windows Media Format.";
	nrl:maxCardinality 1 ;
	rdfs:domain nmm:Video ;
	rdfs:range xsd:string .

# http://msdn.microsoft.com/en-us/library/ms867195.aspx#waveformats
mtp:waveformat a rdf:Property ;
	rdfs:label "Wave format" ;
	rdfs:comment "the WAVE formats reserved with Microsoft as of June 1, 2003. These codes are used to uniquely identify audio formats, and are used in various legacy and current software development kits (SDKs), including MCI, Microsoft Video for Windows, Microsoft DirectShow, Microsoft DirectSound, and Microsoft Windows Media Format.";
	nrl:maxCardinality 1 ;
	rdfs:domain nmm:Video ;
	rdfs:range xsd:string .