Recover Unaccessible PoolParty Projects
Recover Unaccessible PoolParty Projects
If a project shows up in the list of available projects but cannot be opened (Message: "The requested Repository is not available").
You can recover the projects with the following steps:
Go to the snapshot dashboard.
Search for the project in question.
Download all the snapshots available for that project.
The last snapshot will be from the last time you worked on the project.
Note
If you remember the details of the project's set up (which base URL you used, which URI generation pattern was selected, the groups it was assigned to, the languages selected etc.), then you can continue with Step 3 directly.
Go to the SPARQL shell.
Advanced menu > Admin Scripts > PP SPARQL shell
In the drop-down menu, select the "PPT System" repository.
Click "connect".
Run the following query.
Copy and paste the query in the query window and replace "YOUR PROJECT TITLE" with your project title.
SELECT ?s ?p2 ?o2 WHERE { ?s <http://purl.org/dc/terms/title> ?o. FILTER (regex(?o, "YOUR PROJECT TITLE", "i")) ?s ?p2 ?o2 . }
The query should return a list of information that will help you to re-create the project. Important information to look out for, e.g.:
<http://schema.semantic-web.at/ppt/3.2/project/allowedGroup> "Public"
This will be the groups that the project was assigned to, in this example the "Public" group
<http://schema.semantic-web.at/ppt/3.2/project/defaultLanguage> "en"
The default language of this project was English
<http://schema.semantic-web.at/ppt/3.2/project/baseURL> <http://taxonomystrategies.poolparty.biz>
This is the base URL of the project, which you can specify in the very last tab of the project creation dialogue
<http://schema.semantic-web.at/ppt/3.2/project/uriSupplement> "CMS3"
This is the URI supplement, i.e. the project ID, which you can specify in the very last tab of the project creation dialogue
<http://schema.semantic-web.at/ppt/3.2/project/uriGenerationID> "1.3" :
this is the method for creating the resource IDs, which you can also specify in the advanced tab of the project creation dialogue. 1.1 means "increment", 1.2 means "UUID", 1.3 means "from preferred label".
<http://purl.org/dc/terms/description>
Will be followed by the description of the project, if any was given. If there wasn't one, this triple won't exist.
<http://purl.org/dc/terms/subject>
Will be followed by the subject of the project, if any was given. If there wasn't one, this triple won't exist.
<http://purl.org/dc/terms/contributor>
Will be followed by any contributor to the project that was given.
<http://schema.semantic-web.at/ppt/usesCustomSchema>
Will be followed by all custom schemes that were enabled for this project. If there where none, this triples won't exist.
Copy the results of the query (or make a screenshot) so that you can use this information when setting up the repaired project.
Unzip the latest snapshot that you downloaded.
It is a .zip file that will contain a .trig file. This .trig file contains the data of your project.
Delete the unaccessible project.
Project menu > Delete Project
Create a new project.
Use the project information you got from the SPARQL query before to fill in all the information you need: the description, languages, groups, base URL, project ID, resource ID generation method etc.
Import the snapshot you unziped.
Go to Project menu > Import > RDF import and select the .trig file you unzipped from the snapshot.
You are done, your project should be re-created. You can now go ahead and enable the correct custom schemes (which ones you had enabled you could also see from the SPARQL query), enable the right linked data sources, link the right projects, if any of those settings were active for your project.