Closed MaillPierre closed 1 year ago
Temporary fix was implemented using the regex:
/(\s)(([a-zA-Z0-9-]+:\/\/(([a-zA-Z0-9-]+\.)?[a-zA-Z0-9-]+)+(\.[a-zA-Z0-9\-_:]+)\/)([a-zA-Z0-9\-_:])*)(\s+)/g
replaced by:
$1<$2>$8
Hello Pierre,
Thank you for your report. The bug has been fixed and will be available in the next release of Corese (4.4.2).
Issue Description:
I retrieve the content of my corese dataset with a
CONSTRUCT { GRAPH ?g { ?s ?p ?o } } WHERE { GRAPH ?g { ?s ?p ?o } }
query, with"accept": "application/trig"
as header. When constructing my KG from the content of some external sources, the TriG file returned by Corese is sometimes not valid. The brackets<
and>
are missing from some properties.Bug Details:
There are no error messages on the corese side, but any parser receiving the data fails to parse the TriG content because of that.
Steps to Reproduce:
Create data that generates the bug:
Retrieve the data in TriG format, with
"accept": "application/trig"
as headerThe result of the CONSTRUCT query is:
http://bio2rdf.org/lsr:aclame http://bio2rdf.org/lsr_vocabulary:x-miriam http://bio2rdf.org/miriam:00000063 .