question

Upvotes
Accepted
3 0 0 1

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

permid-apiintelligent-tagging-apiopen-permid-api
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
83.1k 281 53 77

@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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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