Add context support to RDFS::Resource finders

Bug #107280 reported by michael
2
Affects Status Importance Assigned to Milestone
ActiveRDF
Fix Released
Medium
Eyal Oren

Bug Description

Add the ability to specify context when using RDFS::Resource finders.

ex:
context = RDFS::Resource.new("file:filename.nt")
SIOC::Post.find(:all, :limit => 10, :offset => 20, :order => DC::created, :where => { SIOC::has_container => forum, DC::author => author_id }, :context => context )
SIOC::Post.find_by_SIOC::has_container_and_DC::author(forum, author_id, { :context => context, :limit => 10 })

For the /find_by_/ form, take an optional hash which accepts all the options that RDFS::Resource.find accepts

description: updated
Revision history for this message
Eyal Oren (ikbeneyal) wrote :

Thanks. the hash with all the options is a good idea, I'll try do implement it soon (it's not much work, I just need to find the time).

Changed in activerdf:
assignee: nobody → ikbeneyal
status: Unconfirmed → Confirmed
importance: Undecided → Medium
Revision history for this message
Eyal Oren (ikbeneyal) wrote :

fixed in revision 407

Changed in activerdf:
status: Confirmed → Fix Committed
Eyal Oren (ikbeneyal)
Changed in activerdf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.