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

ENH: Add pyld CLI console_script #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

westurner
Copy link

This is lacking actual tests from http://json-ld.org/test-suite/ "Transform RDF to JSON-LD tests", but does seem to work for the simple --rdf-to-jsonld case.

I may have been a bit overeager in terms of adding commandline arguments for as-yet-untested CLI functionality (which is already appropriately tested at a lower-level, according to http://json-ld.org/test-suite/reports/ ).

Questions:

  • Would this be a useful addition to PyLD?
  • How should the tests be structured, in relation to the existing tests?
  • I've been testing with http://topbraid.org/schema/schema.ttl , which does take about a minute per test on this machine. (http://topbraid.org/schema/)
  • Eventually, I'd like to generate a proper @context file, rather than a direct transformation from RDF/TTL -> Quads -> JSON-LD.
  • Could there be an RDFLib document loader, with support for all of the formats which RDFLib supports?
  • DOC: How do I clone and run the existing tests?

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

Successfully merging this pull request may close these issues.

None yet

2 participants