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

lib/rdf/vocab/sc.rb should be a vocab-fetch from an ontology #3

Closed
dazza-codes opened this issue Mar 5, 2015 · 2 comments
Closed
Assignees

Comments

@dazza-codes
Copy link
Contributor

Note: this class fails to cooperate with:
puts RDF::Graph.load( RDF::SC ).to_ttl

That should work, e.g. see:
puts RDF::Graph.load( RDF::RDFS ).to_ttl

The file was manually created from translating the documentation page. A translation to an ontology, publishing the ontology at a PURL, and then a vocab-fetch would be a better approach. It would then be compatible with the rdf-vocab project.

@dazza-codes dazza-codes self-assigned this Mar 5, 2015
@dazza-codes
Copy link
Contributor Author

To get RDF::SC as a graph, use
g = RDF::Graph.new << RDF::SC.to_enum
Then to get turtle use
puts g.to_ttl.

@dazza-codes
Copy link
Contributor Author

This is superceded by #11

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

No branches or pull requests

1 participant