The resource index only indexes explicit relationships: If you want the
relationships in both directions, you'll have to either maintain them in
each object or develop a custom triple generator.
I'm not sure I understand your other question: If you have a large
collection that is defined by relationships pointing from the members to
the collection, you can simply query on the #isObjectOf predicate. You are
required to have the resource index to discover the collection members, but
outside that this tends to be the more efficient way of handling collection
membership in FCRepo (the collection object doesn't become unwieldy from
the size of RELS-EXT, for example).
- Ben
On Tue, Jan 8, 2013 at 2:45 PM, Rich d'Rich <rich.d.r...@gmail.com> wrote:
> I think you should just use the relation with the subject and predicate
> swapped:
>
> select
> $object from <#ri> where
> {<info:fedora/uu:b227433b-7965-40a6-afa7-1e33a2835bbe> <
> http://myurl.com/ontologies/relationships#hasObject> $object }
>
> Should return all objects in the uu:b227... collection?
>
> On 9 January 2013 03:03, Denis Mur <smogst...@yahoo.com> wrote:
>
>> select
>> $object from <#ri> where
>> {$object <fedora-model:hasModel> <info:fedora/cmodel:ObjectA>.
>> $object <http://myurl.com/ontologies/relationships#isObjectOf>
>> <info:fedora/uu:c8e0368a-9617-42ca-830a-e397b5e8b138>}
>>
>
>
>
> ------------------------------------------------------------------------------
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users