You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how to access the namespace prefixes defined in a particular Turtle file using EasyRdf. If you can investigate and make a PR, it will be very welcome ;)
The EasyRdf Turtle parser stores namespaces in a protected field and doesn't expose them, so it's rather difficult to access them from outside the parser. At the minimum one would have to subclass TurtleParser (luckily it's a protected field, not a private one) and add a getNamespaces method to the subclass.
I'm just a SKOSMOS user, but I have a question related to this closed issue. When I import SKOS which have proprietary namespaces (ie not included in SKOSMOS data model), it seems all are stored under xmlns:ns0. It is OK that they cannot be displayed on the web interface, but just wondering if there is a way to avoid this and see the original namespaces in the downloadable formats like RDF/XML, Turtle and JSON-LD (e.g. xmlns:example="http://www.example.com")? At least I could not find information about this in the documentation. If this is not possible, it wold be a feature request (displaying them as well, if feasible). Thank you!
@GO5IT I believe that what you describe should already happen. This issue was exactly about that feature, and it was implemented in January 2016, as can be seen above. Of course it's possible that there are some bugs in the implementation - in that case, please open a new issue or report your problems in the skosmos-users group.
Currently, in a turtle export, prefixes like
ns0:
occur.Perhaps the user could express her preferred prefixes by adding them to vocabularies.ttl
The text was updated successfully, but these errors were encountered: