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#&gt; .

to the top of each file fixes the issue

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @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