Quoting Niclas Hedhman <[email protected]>:
Very interesting question. I think we have never spent a thought on collections of collections, and I suspect that the OpenRDF implementation doesn't handle it at all, does it?
If you mean the RDF Indexing component of Qi4j, iirc it just stringifies collection and stores it as string. I'm not sure about OpenRDF itself.
I have no strong opinion, but I tend to lean on the "any leaf"... but not sure.
I am leaning on "any leaf" option also, and not only because it's easy to implement, but because things are just semantically much easier in that case (headache comes easier if we start matching collection structure) and requires less "this value most likely means this kind of behaviour" type of specifying.
I'll implement it for "any leaf" now, in addition with following constraints: 1. Value of Contains query must be non-collection 2. Value of ContainsAll query must be collection of depth of 1. If anyone disagrees, please feel free to let me know. _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

