<?xml version="1.0"?>
<!-- This is the URIplay ontology.
			See http://uriplay.org/ for more information -->
			
<!-- Some stuff to do
		owl:Ontology metadata
		Term stability using vs
		Modify specgen to list TODOs per Class and Property
		Make specgen output term stability, owl:sameAs, owl:versionInfo
		Change uri to be an Object property
		Properly research how to best represent language (inc. sign language) - http://www.lingvoj.org/ might be the place, country, currently, mime type 
		Add links to FRBR, DC, event timeline ontology
-->
<rdf:RDF
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:po="http://purl.org/ontology/po/"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
		xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#" 
    xmlns="http://uriplay.org/elements/"
  xml:base="http://uriplay.org/elements/">

	<!-- Ontology-level metadata -->
  <owl:Ontology rdf:about=""/>


	<!-- Our core classes -->
  <owl:Class rdf:about="Encoding">
    <rdfs:comment
    >A 'bag of bits'. For example, if a single Version is available in high and low quality files, each is a different Encoding.</rdfs:comment>
  </owl:Class>
  <owl:Class rdf:about="Location">
    <rdfs:comment 
    >A Location at which an Encoding (and therefore a Program) is available.</rdfs:comment>
  </owl:Class>
  <owl:Class rdf:about="Policy">
    <rdfs:comment 
    >A description of access restrictions that apply to a Location.</rdfs:comment>
  </owl:Class>




	<!-- Some classes that we 'import' from the BBC Programme Ontology -->
  <owl:Class rdf:about="Brand">
		<owl:sameAs rdf:resource="http://purl.org/ontology/po/Broadcast"/>
    <rdfs:comment 
    >A program brand. Commonly called a show (in American English). A group of Episodes. The same as po:Brand.</rdfs:comment>
  </owl:Class>
  <owl:Class rdf:about="Episode">
		<owl:sameAs rdf:resource="http://purl.org/ontology/po/Version"/>
    <rdfs:comment 
    >owl:sameAs po:Episode</rdfs:comment>
  </owl:Class>
 	<owl:Class rdf:about="Version">
		<owl:sameAs rdf:resource="http://purl.org/ontology/po/Version"/>
    <rdfs:comment
    >A version of an Episode. Every copy of the same Version has the same frames. For example, each Episode of the Brand 'Planet Earth' has a U.S. version (narrated by Sigourney Weaver), and a British version (narrated by David Attenborough). Each episode is correctly modelled in URIplay with a separate U.S. and British Version. A separate Version should also be defined for a cut of an Episode that has been edited to remove potentially objectionable content. This class is the same as po:Version.</rdfs:comment>
  </owl:Class>
  <owl:Class rdf:about="Broadcast">
		<owl:sameAs rdf:resource="http://purl.org/ontology/po/Broadcast"/>
		<rdfs:comment
		>A time and channel at which a Version is/was receivable. This Class is the same as po:Broadcast.</rdfs:comment>
  </owl:Class>






	<!-- Episode properties -->
  <owl:FunctionalProperty rdf:about="seasonPosition">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
    <rdfs:comment 
    >The number of the season that this Episode is a part of (e.g., if this is s10e16, seasonPosition=10)</rdfs:comment>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
    <rdfs:domain rdf:resource="Episode"/>
  </owl:FunctionalProperty>
		<!-- note: position (of an episode within a season) is defined in po -->

  <owl:FunctionalProperty rdf:about="firstEpisode">
    <rdfs:range rdf:resource="Episode"/>
    <rdfs:comment 
    >The first known episode of this Brand</rdfs:comment>
    <rdfs:domain rdf:resource="Episode"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
  </owl:FunctionalProperty>
  <owl:FunctionalProperty rdf:about="previousEpisode">
    <rdfs:comment 
    >The Episode in this Brand that came immediately before this episode.</rdfs:comment>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
    <rdfs:domain rdf:resource="Episode"/>
    <rdfs:range rdf:resource="Episode"/>
  </owl:FunctionalProperty>
  <owl:FunctionalProperty rdf:about="nextEpisode">
    <rdfs:domain rdf:resource="Episode"/>
    <rdfs:comment 
    >The Episode in this Brand that comes immediatly after this Episode.</rdfs:comment>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
    <rdfs:range rdf:resource="Episode"/>
  </owl:FunctionalProperty>
  <owl:FunctionalProperty rdf:about="lastEpisode">
    <rdfs:range rdf:resource="Episode"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
    <rdfs:comment 
    >The last available Episode in this Brand. Note that this property should not point to an Episode that is known of but not released, even though these Episodes may exist in URIplay.</rdfs:comment>
    <rdfs:domain rdf:resource="Episode"/>
  </owl:FunctionalProperty>





	<!-- Broadcast properties -->

  <owl:FunctionalProperty rdf:about="broadcastDuration">
    <rdfs:comment 
    >The actual duration of the content, to the nearest second</rdfs:comment>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#time"/>
    <rdfs:domain rdf:resource="Broadcast"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
  </owl:FunctionalProperty>


	<!-- Version properties -->

		<!-- arcs -->
	  <owl:ObjectProperty rdf:about="manifestedAs">
	    <rdfs:comment 
	    >An Encoding that represents this Version</rdfs:comment>
	    <rdfs:domain rdf:resource="Version"/>
	    <owl:inverseOf rdf:resource="manifestationOf"/>
	    <rdfs:range rdf:resource="Encoding"/>
	  </owl:ObjectProperty>


		<!-- other: a mishmash of stuff we have asked the BBC to include in po -->
	  <owl:DatatypeProperty rdf:about="signedLangauge">
	    <rdfs:comment 
	    >Language of in-picture signing for the hearing-impaired. Specified as ISO 639-2 3-letter codes.-</rdfs:comment>
	    <owl:versionInfo 
	    >TODO: Subproperty of langauge type</owl:versionInfo>
	    <rdfs:domain rdf:resource="Version"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	  </owl:DatatypeProperty>
	  <owl:DatatypeProperty rdf:about="audioLanguage">
	    <rdfs:comment 
	    >The major language on one soundtrack of this Recording. Specified as ISO 639-2 3-letter codes.</rdfs:comment>
	    <rdfs:domain rdf:resource="Version"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	    <owl:versionInfo 
	    >TODO: Use a language type</owl:versionInfo>
	  </owl:DatatypeProperty>
	  <owl:FunctionalProperty rdf:about="advertisingDuration">
	    <rdfs:comment 
	    >The length of in-vision advertising in this Recording</rdfs:comment>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:domain rdf:resource="Version"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#time"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="publishedDuration">
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#time"/>
	    <rdfs:domain rdf:resource="Version"/>
	    <owl:disjointWith 
	    ></owl:disjointWith>
	    <rdfs:comment 
	    >The length of the program as published (typically rounded to the nearest 5 mins)</rdfs:comment>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="containsAdvertising">
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:domain rdf:resource="Version"/>
	    <rdfs:comment 
	    >Does this instance contain commercial messages?</rdfs:comment>
	  </owl:FunctionalProperty>



	<!-- Encoding properties -->

		<!-- arcs -->
  	<owl:ObjectProperty rdf:about="availableAt">
    <rdfs:comment 
    >A Location at which this Encoding is available</rdfs:comment>
    <rdfs:domain rdf:resource="Encoding"/>
    <rdfs:range rdf:resource="Location"/>
    <owl:inverseOf rdf:resource="locationOf"/>
  </owl:ObjectProperty>
  	<owl:FunctionalProperty rdf:about="manifestationOf">
    <rdfs:domain rdf:resource="Encoding"/>
    <rdfs:range rdf:resource="Version"/>
    <rdfs:comment 
    >An Encoding that represents this Version</rdfs:comment>
    <owl:inverseOf rdf:resource="manifestedAs"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
  </owl:FunctionalProperty>

		<!-- container -->
	  <owl:FunctionalProperty rdf:about="dataContainerFormat">
	    <rdfs:comment 
	    >The MIME type of the container, e.g., video/mpeg2</rdfs:comment>
	    <rdfs:domain rdf:resource="Encoding"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="bitRate">
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >The average bitrate, in kbits/sec</rdfs:comment>
	    <rdfs:domain rdf:resource="Encoding"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="dataSize">
	    <rdfs:domain rdf:resource="Encoding"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
	    <rdfs:comment 
	    >The size of the data file in kB</rdfs:comment>
	  </owl:FunctionalProperty>

		<!-- video -->
	  <owl:FunctionalProperty rdf:about="videoCoding">
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >The video encoding scheme MIME type, e.g., video/H264</rdfs:comment>
	    <rdfs:domain rdf:resource="Encoding"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="videoBitrate">
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >Video bit rate, in kBits per second</rdfs:comment>
	    <rdfs:domain rdf:resource="Encoding"/>
	  </owl:FunctionalProperty>

	  <owl:FunctionalProperty rdf:about="videoFrameRate">
	    <rdfs:comment 
	    >Number of frames per second</rdfs:comment>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:domain rdf:resource="Encoding"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="videoVerticalSize">
	    <rdfs:domain rdf:resource="Encoding"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >Number of vertical pixels</rdfs:comment>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="videoHorizontalSize">
	    <rdfs:domain rdf:resource="Encoding"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
	    <rdfs:comment 
	    >Horizontal pixels</rdfs:comment>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="videoVariableBitRate">
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >The video bitrate changes significantly through the Encoding</rdfs:comment>
	    <rdfs:domain rdf:resource="Encoding"/>
	  </owl:FunctionalProperty>

	  <owl:FunctionalProperty rdf:about="hasDOG">
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:domain rdf:resource="Encoding"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
	    <rdfs:comment 
	    >The Encoding includes a significant Digital Onscreen Graphic throughout the majority of playtime (typically the logo of the broadcast channel that distributed the video)</rdfs:comment>
	  </owl:FunctionalProperty>

		<!-- audio -->
	  <owl:FunctionalProperty rdf:about="audioCoding">
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	    <rdfs:domain rdf:resource="Encoding"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >The MIME type of the scheme used to code the audio (e.g., audio/mp3)</rdfs:comment>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="audioBitrate">
	    <rdfs:comment 
	    >The average bitrate of the audio, in kbits/sec</rdfs:comment>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:domain rdf:resource="Encoding"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
	  </owl:FunctionalProperty>

	  <owl:FunctionalProperty rdf:about="audioChannels">
		    <rdfs:comment 
		    >Number of channels, i.e., mono=1, stereo=2</rdfs:comment>
		    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
		    <rdfs:domain rdf:resource="Encoding"/>
		    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
		 </owl:FunctionalProperty>


		<!-- creator and source of this encoding -->
  	<owl:DatatypeProperty rdf:about="source">
    <rdfs:comment 
    >How this data was orignially distributed (e.g., DVB-S)</rdfs:comment>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:domain rdf:resource="Encoding"/>
  </owl:DatatypeProperty>
  	<owl:DatatypeProperty rdf:about="distributor">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:domain rdf:resource="Encoding"/>
    <rdfs:comment 
    >Description of the distribution organisation</rdfs:comment>
  </owl:DatatypeProperty>


	<!-- Location properties -->

		<!-- arcs -->
	  <owl:FunctionalProperty rdf:about="restrictedBy">
	    <rdfs:comment 
	    >The distribution Policy that applies to this Location</rdfs:comment>
	    <rdfs:range rdf:resource="Policy"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
	    <rdfs:domain rdf:resource="Location"/>
	    <owl:inverseOf rdf:resource="appliesTo"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="locationOf">
	    <owl:inverseOf rdf:resource="availableAt"/>
	    <rdfs:comment 
	    >The Encoding that is available at this Location</rdfs:comment>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
	    <rdfs:range rdf:resource="Encoding"/>
	    <rdfs:domain rdf:resource="Location"/>
	  </owl:FunctionalProperty>



		<!-- your actual, genuine, GETable URI, with media goodness at the end -->
  	<owl:ObjectProperty rdf:about="uri">
    	<rdfs:comment 
	    >The URI of the data</rdfs:comment>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	    <rdfs:domain rdf:resource="Location"/>
  	</owl:ObjectProperty>

		<!-- transport -->
	  <owl:FunctionalProperty rdf:about="transportType">
	    <rdfs:domain rdf:resource="Location"/>
	    <rdfs:range>
	      <owl:DataRange>
	        <owl:oneOf rdf:parseType="Resource">
	          <rdf:rest rdf:parseType="Resource">
	            <rdf:first 
	            >download</rdf:first>
	            <rdf:rest rdf:parseType="Resource">
	              <rdf:first 
	              >stream</rdf:first>
	              <rdf:rest rdf:parseType="Resource">
	                <rdf:first 
	                >embedobject</rdf:first>
	                <rdf:rest rdf:parseType="Resource">
	                  <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
	                  <rdf:first 
	                  >htmlembedded</rdf:first>
	                </rdf:rest>
	              </rdf:rest>
	            </rdf:rest>
	          </rdf:rest>
	          <rdf:first 
	          >Reference</rdf:first>
	        </owl:oneOf>
	      </owl:DataRange>
	    </rdfs:range>
	    <rdfs:comment 
	    >The protocol used to transport the data. Options are: 'downlaod', 'stream', embedobject', 'htmlembedded'. More information is given above.</rdfs:comment>
	    <owl:versionInfo 
	    >TODO: Complete list of allowed values</owl:versionInfo>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="transportSubType">
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >Aditional detail about the transport (e.g., HTTP, FTP)</rdfs:comment>
	    <rdfs:domain rdf:resource="Location"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="transportIsLive">
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:domain rdf:resource="Location"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
	    <rdfs:comment 
	    >Is transmitted on a live basis, i.e. the earliest and latest availability times are the same</rdfs:comment>
	  </owl:FunctionalProperty>

		<!-- when will it be available -->
	  <owl:FunctionalProperty rdf:about="availabilityStart">
	    <rdfs:domain rdf:resource="Location"/>
	    <rdfs:comment 
	    >The first time at which the content is available from this Location</rdfs:comment>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
	  </owl:FunctionalProperty>
  	<owl:FunctionalProperty rdf:about="drmPlayableFrom">
    <rdfs:domain rdf:resource="Location"/>
    <rdfs:comment 
    >The first time at which DRM will not attempt to stop playback of this content</rdfs:comment>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
  </owl:FunctionalProperty>



	<!-- Policy properties -->

		<!-- arcs -->
  	<owl:ObjectProperty rdf:about="appliesTo">
    <rdfs:comment 
    >The Locations this policy applies to. This property is not commonly used, but is defined for completeness</rdfs:comment>
    <rdfs:range rdf:resource="Location"/>
    <owl:inverseOf rdf:resource="restrictedBy"/>
    <rdfs:domain rdf:resource="Policy"/>
  </owl:ObjectProperty>


		<!-- when the data can be 'GOT' -->
	  <owl:FunctionalProperty rdf:about="availabilityLength">
    <rdfs:domain rdf:resource="Policy"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
    <rdfs:comment 
    >The amount of time that the Location will be available, since availabilityStart</rdfs:comment>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#time"/>
  </owl:FunctionalProperty>


		<!-- 'drm' restrictions -->
		<!-- note that the aim here is to represent a common case
			full coverage of all possible restriction structures is 
			impossible, given some of the crazy stuff
			attempted by 'drm' -->
	  <owl:FunctionalProperty rdf:about="drmScheme">
	    <rdfs:comment 
	    >The name of the DRM scheme applied to this content (e.g., Microsoft DRM, Plays For Sure, FairPlay, Microsoft Windows Media DRM)</rdfs:comment>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	    <rdfs:domain rdf:resource="Policy"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="drmVersion">
	    <rdfs:domain rdf:resource="Policy"/>    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >The version number/name of the drmScheme in force for this Policy</rdfs:comment>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="drmPlayableLength">
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#time"/>
	    <rdfs:domain rdf:resource="Policy"/>    <rdfs:comment 
	    >The period after drmPlayableFrom during which  DRM will not attempt to stop playback of content</rdfs:comment>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="drmPlayableDaysFromDownload">
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
	    <rdfs:domain rdf:resource="Policy"/>
	    <rdfs:comment 
	    >The number of days the content is available to play after download completed</rdfs:comment>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	  </owl:FunctionalProperty>
		<owl:FunctionalProperty rdf:about="drmPlayableDaysFromStart">
			<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
		  <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
	    <rdfs:comment 
	    >The number of days the content is available to play after after playback commenced</rdfs:comment>
	    <rdfs:domain rdf:resource="Policy"/>
		</owl:FunctionalProperty>

  	<owl:DatatypeProperty rdf:about="availableCountry">
    <rdfs:domain rdf:resource="Policy"/>
    <owl:versionInfo 
    >TODO: Subclass of country class</owl:versionInfo>
    <rdfs:comment 
    >A country from which the distributor does not attempt to 'geoblock' access. Specified as a ISO 3166 two-letter code.</rdfs:comment>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
  </owl:DatatypeProperty>

		<!-- revenue model -->
	  <owl:FunctionalProperty rdf:about="revenueContract">
	    <rdfs:range>
	      <owl:DataRange>
	        <owl:oneOf rdf:parseType="Resource">
	          <rdf:rest rdf:parseType="Resource">
	            <rdf:rest rdf:parseType="Resource">
	              <rdf:first 
	              >pay to buy</rdf:first>
	              <rdf:rest rdf:parseType="Resource">
	                <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
	                <rdf:first 
	                >subscription</rdf:first>
	              </rdf:rest>
	            </rdf:rest>
	            <rdf:first 
	            >pay to rent</rdf:first>
	          </rdf:rest>
	          <rdf:first 
	          >free to view</rdf:first>
	        </owl:oneOf>
	      </owl:DataRange>
	    </rdfs:range>
	    <rdfs:domain rdf:resource="Policy"/>    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >The type of contract offered to consumers of media at this Location. Options are: 'pay to buy', 'pay to rent', 'subscription', 'free to view'.</rdfs:comment>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="price">
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
	    <rdfs:domain rdf:resource="Policy"/>    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >The price to obtain media from this Location under the specified revenueContract</rdfs:comment>
	  </owl:FunctionalProperty>
	  <owl:FunctionalProperty rdf:about="currency">
	    <owl:versionInfo 
	    >TODO: Some currency property</owl:versionInfo>
	    <rdfs:domain rdf:resource="Policy"/>
	    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
	    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
	    <rdfs:comment 
	    >The currency in which the price is quoted, using ISO 4217 3-letter codes (e.g., USD, EUR)</rdfs:comment>
	  </owl:FunctionalProperty>
  	<owl:ObjectProperty rdf:about="revenueSubscriptionScheme">
    <rdfs:comment 
    >A URI representing a subscription scheme that provides access to this Location</rdfs:comment>
     <rdfs:domain rdf:resource="Policy"/>
  </owl:ObjectProperty>



	<!-- General properties -->

  <owl:DatatypeProperty rdf:about="metaDataSourceStatement">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:comment 
    >A statement required by the providers or distributors of the metadata</rdfs:comment>
  </owl:DatatypeProperty>
  <owl:DatatypeProperty rdf:about="metaDataLicence">
    <owl:versionInfo 
    >TODO: This should be taken from an existing licence ontology</owl:versionInfo>
    <rdfs:comment 
    >The licence that applies to the metadata in this instance</rdfs:comment>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
  </owl:DatatypeProperty>
  <owl:DatatypeProperty rdf:about="metaDataSource">
    <rdfs:comment 
    >The source of the metadata in this instance</rdfs:comment>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <owl:versionInfo 
    >TODO: URI type</owl:versionInfo>
  </owl:DatatypeProperty>



</rdf:RDF>

