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

RDF/XML serializer #5

Open
namedgraph opened this issue Jan 9, 2019 · 4 comments
Open

RDF/XML serializer #5

namedgraph opened this issue Jan 9, 2019 · 4 comments
Labels
question Further information is requested

Comments

@namedgraph
Copy link

Thank you for the great work.

Is there a component to serialize the parsed triples back to RDF/XML?

@rubensworks rubensworks added the question Further information is requested label Jan 9, 2019
@rubensworks
Copy link
Member

Up until now, I never needed to serialize to RDF/XML myself, so I don't have any good suggestions.

I see here that there's a simple (non-streaming) RDF/XML serializer that looks like it is RDFJS-compliant: https://github.com/kaefer3000/rdf-serializer-rdfxml
I haven't tested it myself though.

@wouterbeek
Copy link

I liked the approach of allowing RDF/XML legacy data to be converted to non-XML formats, while at the same time disallowing/disincentivising the creation of new RDF/XML.

@namedgraph
Copy link
Author

@wouterbeek disallowing? RDF/XML (along with TriX) are important bridges to the XML ecosystem. Love it or hate it, but it includes powerful tools for both generation and consumption of RDF, notably XSLT.

Admittedly the syntax is not pretty, but it gets the job done. If you don't like it, you don't have to use it.

Be conservative in what you do, be liberal in what you accept from others

@wouterbeek
Copy link

@namedgraph But the phrase that you quote supports my position and invalidates yours, see:

Be conservative in what you do, be liberal in what you accept from others

  1. The library is liberal in what it accepts: it even accepts RDF/XML.
  2. The library is conservative in what it does: it does not allow RDF/XML output to be generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants