MAWG | Relation | YouTube | How to do the mapping | Datatype | XPath | Tested |
---|---|---|---|---|---|---|
Descriptive Properties (Core Set) | ||||||
Identification | ||||||
identifier | more specific | rss/channel/item/media:group/media:content/@url or
rss/channel/item/media:group/media:player/@url |
identifier: @url | N/A | Yes | |
title | exact | rss/channel/item/title | title: value
type: n/a |
String | N/A | Yes |
language | N/A | N/A | ||||
locator | exact | rss/channel/item/media:group/media:content/@url | locator: value | URI | N/A | Yes |
Creation | ||||||
contributor | N/A | N/A | N/A | |||
creator | N/A | N/A | N/A | |||
date | rss/channel/item/yt:recorded | date: value
type: n/a |
String | N/A | Yes | |
location | exact | rss/channel/item/yt:location or
rss/channel/item/georss:where |
name: value of yt:location element
latitude: first value of georss:where/gml:Point/gml:pos longitude: second value of georss:where/gml:Point/gml:pos altitude: n/a NOTE: georss:where is from geoRSS format to specify geographical information. |
String
String(Value of gml:pos element. This has latitude and longitude information with space-delimited) |
N/A | Yes |
Content description | ||||||
description | exact | rss/channel/item/media:group/media:description | description: value | String | N/A | Yes |
keyword | exact | rss/channel/item/media:group/media:keywords | keyword: value | String | N/A | Yes |
genre | exact | rss/channel/item/media:group/media:category | genre: value
NOTE: @scheme is a URI that identifies the categorization scheme. |
String | N/A | Yes |
rating | more specific | rss/channel/item/gd:rating | value: @average
ratingSystem: n/a min: @min max: @max NOTE: @max specifies the maximum rating that can be assigned to a video. This value must be 5. @min specifies the minimum rating that can be assigned to a video. This value must be 1. |
Float Float Float |
N/A | Yes |
Relational | ||||||
relation | N/A | N/A | N/A | |||
collection | N/A | N/A | N/A | |||
Rights | ||||||
copyright | N/A | N/A | N/A | |||
policy | N/A | N/A | N/A | |||
Distribution | ||||||
publisher | more specific | rss/channel/item/media:content/media:credit[@role='uploader'] | publisher: value | String | N/A | Yes |
targetAudience | more specific | rss/channel/item/media:content/media:rating or
rss/channel/item/media:group/media:restriction |
In case of media:rating
element
audience: @scheme classificationSystem: @country (This attribute value identifies the country or countries where a video is considered to contain restricted content. The attribute value will either be the word all, which indicates that the video contains content that is considered restricted everywhere, or a comma-delimited list of ISO 3166 two-letter country codes identifying particular countries where the video content is restricted) In case of media: restriction element audience: n/a classificationSystem: value(space-delimited list of ISO 3166) NOTE: @relationship indicates whether the video is allowed to be played in the specified countries. It's value is 'allow' or 'deny'. @type should be 'country' as a value |
N/A | Yes | |
Fragments | ||||||
fragments | N/A | N/A | N/A | |||
namedFragments | N/A | N/A | N/A | |||
Technical Properties | ||||||
frameSize | N/A | N/A | N/A | |||
compression | exact | rss/channel/item/media:content/@type | compression: @type | String | N/A | Yes |
duration | exact | rss/channel/item/media:content/@duration | duration: @duration | Float | N/A | Yes |
format | exact | rss/channel/item/media:content/@type | format: @type | String | N/A | Yes |
samplingRate | N/A | N/A | N/A | |||
frameRate | N/A | N/A | N/A | |||
averageBitRate | N/A | N/A | N/A | |||
numTracks | N/A | N/A | N/A |