question

Upvotes
Accepted
3 0 0 0

OpenPermId 20200712 files are missing xsd namespace definition

Trying to load the ttl files in a jena-fuseki docker image and it complains about all of them missing the xsd namespace definition.

Adding

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

to the top of each file fixes the issue

intelligent-tagging-apipermid-apiopen-permid-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

@paulh2

Yes, you are correct. I will report this issue to the Open PermID support team.

You can use ntriples files instead, as mentioned in this article: PermID Entity Bulk Download with Apache Jena.

  • Loading NTripples files
  1. Download and uncompress the organization and person bulk Open PermID ntriples files
  2. Change the file extension from ntriples to nt
  3. Next, run the following command in the Apache Jena directory to load those files to Apache Jena TDB. The location of the database is at c:\workspace\database
    C:\workspace\apache-jena-3.14.0>bat\tdb2_tdbloader.bat --loc c:\workspace\database OpenPermID-bulk-organization-xxx.nt OpenPermID-bulk-person-xxx.nt

  4. You can use the tdb2_tdbdump.bat command to dump the database
    C:\workspace\apache-jena-3.14.0>bat\tdb2_tdbdump.bat --loc c:\workspace\database

    Press Ctrl+c to terminate the job

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea