cessda / cessda.cvs.two

Apache License 2.0
0 stars 2 forks source link

Bug in SKOS export script #302

Closed cessda-bitbucket-importer closed 3 years ago

cessda-bitbucket-importer commented 3 years ago

Original report on BitBucket by Taina Jääskeläinen.


Feedback from a user:

I’m trying to make use of your CVS pages. First: thanks a lot for making all these resources available in SKOS, which is really great.

I found a weird problem in your data which prevents me to load the data straight from your site into my tool chain.

The download as SKOS on page https://vocabularies.cessda.eu/vocabulary/AggregationMethod?lang=en seems to work fine except that it appends the illegal string “jos” (???) to the first line of RDF: 

?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

xmlns:skos="http://www.w3.org/2004/02/skos/core#"

xmlns:owl="http://www.w3.org/2002/07/owl#"

xmlns:dcterms="http://purl.org/dc/terms/"

jos

...   

These three letters “j”, “o”, “s” are not allowed there and basically prevent most SKOS/RDF tools from loading this data. After removing these the file loads fine. 

I assume this is a bug in your export script because the same problem is in the export of the AnalysisUnit vocabulary and others I tried.

Hope this helps,  Jacco van Ossenbruggen 

PS: We are planning to use your vocabularies as part of the ODISSEI project, the Open Data Infrastructure for Social Science and Economic Innovations, the Dutch national research infrastructure for the social sciences in the Netherlands.

cessda-bitbucket-importer commented 3 years ago

Original comment by Taina Jääskeläinen.


If I understood correctly, this string:

should be removed from the SKOS export. Would you be able to do that, Sigit?

cessda-bitbucket-importer commented 3 years ago

Original comment by sigit nugraha.


Thank you for the issue report.
Yes, there was an incorrect text “jos“ accidentally inserted on the RDF template.

This issue is fixed in the dev and will be fixed in prod after redeployment on the prod #304.

cessda-bitbucket-importer commented 3 years ago

Original comment by Taina Jääskeläinen.


Issue fixed in production version.