robertmuilMember since Mar 23rd, 2021

Triply has converted the famous Iris flower dataset to linked data! It is a multivariate dataset that quantifies the morphologic variation of Iris flowers of three different species, measured in four different properties. In this data cube, each species of Iris occurs 50 times and this linked data version uses the RDF Data Cube Vocabulary.

How to start a SPARQL service

TriplyDB allows you to expose your dataset through SPARQL. Exposing your data via SPARQL gives you the opportunity to create SPARQL queries and datastories over your own dataset or datasets from others. On TriplyDB you can already find a several examples of SPARQL queries. But creating your own SPARQL queries requires you to first start a SPARQL service over your dataset. The following step by step guide helps you do to start a SPARQL service.

  1. Go to the Services page and you'll see a form to create a SPARQL service.
  2. To Create a SPARQL service you fill in a name for your service and select SPARQL from the three options.
  3. Press Create service to confirm your choices and a SPARQL service will be started.
  4. Wait until the status of the service changed to running.
  5. A new option called SPARQL will appear in the sidebar. Clicking the button opens the SPARQL editor where you can write queries over your dataset.

How to import DBpedia

The iris dataset reuses classes, properties and resources from DBpedia. This not only reduces the amount of maintenance, but by reusing objects from DBpedia we can make use of the links that DBpedia already created. But before you can use the objects from DBpedia you'll first need to import DBpedia into the Iris dataset. The following step by step guide helps you do exactly that.

  1. Go to the Graphs page and click on import a new graph
  2. Click on Add data from an existing dataset
  3. Type in DBpedia and select DBpedia-association / dbpedia from the dropdown menu.
  4. The page should now change and there is now one graph selected. This graph consist out of 369.205.380 statements and is the full DBpedia dataset.
  5. To import this into your dataset you can click import 1 graphs. This will add the DBpedia graph into your dataset.
  6. You've now imported the DBpedia graph into your dataset. You can now use the browser and see more information about DBpedia resources.
  7. To remove the DBpedia graph from your dataset you can go the graphs page and remove the dataset by clicking on the X behind the graph. This will remove your local connection to DBpedia.

PS: It is not allowed to start or sync a service when DBpedia is added as a graph. To start a service you will first need to remove the DBpedia graph by following step 7.