glosis-ld / glosis

GLOSIS ontology network
Other
11 stars 7 forks source link

is '.' invalid in skos concept uri? #73

Closed pvgenuchten closed 7 months ago

pvgenuchten commented 1 year ago

when converting the glosis procedure list from ttl to rdf/xml using https://www.easyrdf.org/converter, the tool was complaining about uri's having included a '.' character in uri, such as https://github.com/rapw3k/glosis/blob/7a8492bcabf4e6a3095e736ca11fdf1ae60ab482/glosis_procedure.ttl#L644

Is this a problem of easyrdf? should we flag it there?

Or is it usefull to prevent these characters in uri's?

ldesousa commented 1 year ago

The dot (.) is an unreserved character in the URI specification: https://www.rfc-editor.org/rfc/rfc3986#page-13

Easyrdf should not be marking it as an error.

pvgenuchten commented 1 year ago

With python rdflib the problem does not occur

from rdflib import Graph
g = Graph()
g.parse("https://raw.githubusercontent.com/rapw3k/glosis/master/glosis_procedure.ttl",format='ttl')
g.serialize(destination='output.xml', format='xml')

easyrdf seems based on php bindings to redland, needs further investigation on their side then?

ldesousa commented 7 months ago

No further actions on our side.