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

Refactor and improve structured node generation #29

Open
wstrinz opened this issue Oct 25, 2013 · 0 comments
Open

Refactor and improve structured node generation #29

wstrinz opened this issue Oct 25, 2013 · 0 comments

Comments

@wstrinz
Copy link
Owner

wstrinz commented Oct 25, 2013

allowing individual datapoint values to be rdf nodes with their own structured information (as opposed to simple literals) would significantly increase the expressive power of the gem's tools, and make compatibility with ontologies such as sio

A simple way to do this would be to use blank nodes, however this introduces problems in dataset sharing and interoperability, and is generally considered "bad style" in the Semantic Web community.

The alternative is generating unique URIs yourself. This should be possible using the dataset name and namespace, the label of the observation, the position of the value within the observation, and the depth of the structured node. A basic implementation is in the gem right now, but still has a few kinks and only works one node deep. For an example, see this gist

A proper implementation should interpret arrays in its input as nodes, and generate uris and rdf for them. Whatever method is involved should be recursive or have some other way to allow nodes of arbitrary depth as well.

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

No branches or pull requests

1 participant