Importing a Dataset
Click on the top
Configuration menu item. Then, you have to click the
Configure OSF for Drupal modules.
To import a dataset, you simply have to click the
+ Import Dataset link on the
DATASETS & NETWORKS tab.
The Import Dataset page will let you import a dataset serialized in one of the following formats:
What you have to specify to import a new dataset is:
Dataset file to import
- Select the RDF file you want to import from your local computer
- Select the type of RDF file you are trying to import
- Define the name of the Dataset you are importing
Dataset description (Optional)
- Optionally define the description of that dataset
Custom Dataset URI (Optional)
- Define the URI of the dataset. If you don't provide any URI, then OSF for Drupal will create one for you
Save dataset on this network
- Choose on which OSF Web Services endpoint you want to import that dataset
Which role should have full permissions on this dataset
- Determine which users' role should have full CRUD permissions on this dataset
Then you only have to click the
Import button to start the dataset importation process.
At this point, the dataset got created into the OSF instance. All the content of the dataset file you imported as been indexed in that newly created dataset.
Once the dataset is imported, you will get redirected to a new page. If you checked the
Check attributes and types existence option, then you would be seeing the possible warnings on that page. If you didn't, then the user interface is asking you to click the
Expose Imported Dataset button. The only thing you have to do is to click on that button to get redirected to the form you have to fill to expose the dataset to Drupal.
The last step is to expose the dataset you just imported into the OSF instance to Drupal. If you skip this step, then the dataset will be on the OSF instance, but it won't be usable to any OSF for Drupal module.
- This is the name you want to give to this dataset. This name is local to this Drupal instance. It will be used to refer to the dataset within the user interface of this Drupal portal
Dataset is searchable
- This specifies if you want to have this dataset searchable by the OSF SearchAPI module. If this option is unchecked then the content of this dataset won't participate into the seaches performed by the OSF SearchAPI module
Once you are done, you simply have to click the
Save button to expose this newly imported dataset to Drupal.
Now you can see the newly imported dataset in the list of accessible datasets.