======================================================= Movies Example ======================================================= .. note:: For the purposes of this example, we will be working with a website set up to use the default Orchard installation domain of http://localhost:30321. In the Data Platform installed directory there is a folder named example data, a TTL (Turtle) file, **movies.ttl**, is included that has a small number of triples describing some basic information about 10 movies. Go to the Data Platform main admin page on your site and create a new dataset called Movies. .. figure:: /images/movies/movies1.png :scale: 90 % :alt: Create a new dataset .. figure:: /images/movies/movies2.png :scale: 90 % :alt: Create a new dataset Go to the Upload tab to add data to the dataset .. figure:: /images/movies/movies_upload1.png :scale: 90 % :alt: Upload the example data .. figure:: /images/movies/movies_upload2.png :scale: 90 % :alt: Upload the example data .. figure:: /images/movies/movies_upload3.png :scale: 90 % :alt: Upload the example data The successful upload of data starts up secondary background tasks for calculating dataset statistics and data dump files. The background tasks only run every minute in the website, so the tasks will not appear or run immediately after uploading data. .. note:: Data dump files will only be exported if the dataset is already published, if the dataset is not yet published it will skip the export, and create a data dump file when the dataset is first published. .. figure:: /images/movies/movies_upload4.png :scale: 90 % :alt: Upload the example data .. figure:: /images/movies/movies_stats.png :scale: 90 % :alt: Upload the example data Go to the dataset metadata page and set a URI from the movies.ttl file to use as an example resource URI. For example:: http://localhost:30321/movies/the-matrix will display that resource's properties as a preview on the dataset page along with the other metadata of the dataset .. figure:: /images/movies/movies_exampleresource.png :scale: 90 % :alt: Add an example resource URI from the movies data file Publish the dataset using the Publish button .. figure:: /images/movies/movies_publish.png :scale: 90 % :alt: Upload the example data View the dataset to see how the dataset metadata appears to visitors of the site. The design will depend on what Theme you have installed on the website. .. figure:: /images/movies/movies_view.png :scale: 90 % :alt: Upload the example data