Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating provenance-en.ttl using config.properties file leads to unvalid turtle file #373

Closed
HaydarAk opened this issue Jan 13, 2020 · 1 comment
Labels
bug pressing Will fix issue in next release
Milestone

Comments

@HaydarAk
Copy link

HaydarAk commented Jan 13, 2020

Using the widoco.jar with -confFile' parameter and a config.properties file leads to an unvalid provenance-en.ttl turtle file. If I enter an author / contributor to the config.properties file:
authors=John Doe
contributors=Jane Doe

widoco generates a provenance-en.ttl with following lines:

dc:title "someTitle";
prov:wasAttributedTo :agent0;
prov:wasAttributedTo :agent1;

:agent0 a prov:Agent; foaf:name "John Doe".
:agent1 a prov:Agent; foaf:name "Jane Doe".

In my understanding, there should be an underscore _ before :agent0/agent1 to be valid blank nodes, like this:

prov:wasAttributedTo _:agent0;
...
_:agent0 a prov:Agent; foaf:name "John Doe".

Otherwise, it is not a valid turtle.

Tested with Online RDF/Turtle validators as well as the raptor-2 validator

@HaydarAk HaydarAk changed the title Generating provenance-en.ttl using config.properties file leads to unvalid provenance-en turtle Generating provenance-en.ttl using config.properties file leads to unvalid turtle file Jan 13, 2020
@dgarijo
Copy link
Owner

dgarijo commented Jan 16, 2020

Thanks, I will have a look. I think I didn't declare a local namespace

@dgarijo dgarijo added bug pressing Will fix issue in next release labels Apr 17, 2020
@dgarijo dgarijo added this to the v1.4.14 milestone May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pressing Will fix issue in next release
Projects
None yet
Development

No branches or pull requests

2 participants