Run the script interactively using a Jupyter Notebook. A Jupyter environment is available
as part of the IBM Watson Studio Service, which can be installed
on IBM Cloud Pak for Data.
Before you begin
Ensure the following is installed:
- Watson Knowledge Catalog on IBM Cloud Pak for Data version 4.0 or higher
- IBM Watson Studio on IBM Cloud Pak for Data version 4.0 or higher
- Specific Python libraries installed
- Ensure the PIP requirements are met for the Python 3 kernel being used. (See Jupyter
documentation for help on installing PIP dependencies).
Procedure
Preparing the import procedure.
- Check if the IBM Watson Studio service is installed, by
opening the Services catalog and checking whether the service is
enabled.
- Locate the Knowledge Accelerators archive (.zip
file) that is provided with the Knowledge Accelerators
release.
- Log in to IBM Cloud Pak for Data as a user with
Administrative Privilege.
- From the menu, select Projects.
- Click New Project
- Choose Analytics Project and click Next
- Choose Create a project from file.
- Browse to the Knowledge Accelerators archive file located in (2), enter a
Project name and a Project Description and click
Create.
Executing the import procedure.
- Once the project has been created, select the Assets tab and expand
the Notebooks section.
- Click the ka-import Notebook to open it in your Jupyter
environment.
- Click the Edit icon to edit the Notebook.
- Review the Prerequisites section and take any actions that are
needed.
- Options to import the Knowledge Accelerator content.
- To import the Knowledge Accelerator core vocabulary and all of the optional
Industry Alignment Vocabulary content:
- To import the Knowledge Accelerator core vocabulary and one or
more of the optional Industry Alignment Vocabulary content:
- Go to Cell and Run Cells for the
base
and core-bpi
content, and each required IAV cell
separately.
- When prompted, enter your Watson Knowledge Catalog
hostname, Username and
Password. Press enter after entering each value.
Note: You can find your Watson Knowledge Catalog
hostname in your browser as part of your Project URL after
https://. For example, in a Project URL
https://cpd-wkc.apps.mywkc.cp.fyre.ibm.com the hostname is:
cpd-wkc.apps.mywkc.cp.fyre.ibm.com
- When the import is completed, review the output of each cell.
- Download and save a backup copy of the log files as these files might
be needed for importing further Industry Alignment Vocabularies.
- To find the logs, go to your Project view, click the
Find and add data icon the upper-right side and click the
Files tab.