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

Example of Object to RDF mappings? #10

Open
wikier opened this issue Jun 17, 2016 · 4 comments
Open

Example of Object to RDF mappings? #10

wikier opened this issue Jun 17, 2016 · 4 comments

Comments

@wikier
Copy link
Contributor

wikier commented Jun 17, 2016

As far as I can see in the documentation, SuRF is more focused on retrieving RDF resources and map them into Python objects, right @cosminbasca?

I guess the opposite use case is also somehow supported: serialize Python object to RDF. I wonder if there is any documentation or source example covering that aspect. What do the Python classes need to provide?

For instance, for my tries I know they need to provide some kind of logic in the find() method. I could continue with a fail-and-error approach, but I guess is not very productive...

Thanks in advance.

@cosminbasca
Copy link
Owner

yes, you are correct on both points, the main design purpose behind SuRF was to offer RDF access in a pythonic manner. While the reverse is possible, it is not properly documented or explored for that matter. An interesting direction to look into though (as time permits :) )

@wikier
Copy link
Contributor Author

wikier commented Jun 17, 2016

Can you just provide me all what you have in the project (a class example, some usage with the store, etc...), and then I'm happy to help with the documentation and possible missing features.

@cosminbasca
Copy link
Owner

sounds good, will try to find some time and crop up a few examples to get you started. Thanks again!

@charbull
Copy link

Hello,
This library is very very interesting !
@cosminbasca @wikier I am interested as well in this feature as well, did you make progress on this?

Thank you :)

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

3 participants