-
Notifications
You must be signed in to change notification settings - Fork 22
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
Comments
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 :) ) |
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. |
sounds good, will try to find some time and crop up a few examples to get you started. Thanks again! |
Hello, Thank you :) |
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.
The text was updated successfully, but these errors were encountered: