Thanks !

2008/5/15 Anahide Tchertchian <[EMAIL PROTECTED]>:

> Hi,
>
> Nel Taurisson a écrit :
>
>> Hi,
>>
>> I have some questions related to using SparQL with nuxeo :
>>
>> 1) is it possible to use sparql to query relations ? is there any examples
>> of such ?
>>
>
> Yes. There's a very basic example in tests: see testQuery() method in:
>
> http://hg.nuxeo.org/nuxeo/nuxeo-platform/file/152c724567ff/nuxeo-platform-relations-jena-plugin/src/test/java/org/nuxeo/ecm/platform/relations/jena/TestJenaGraph.java
>
> Basically you can pass the sparql query as a String via relationService
> API.
>
>  2) is it possible to use sparql with the results providers cache mechanism
>> ?
>>
>
> Sparql queries can return a variety of results, some result nodes do not
> necessarily represent documents. Writing a result provider would require to
> make some assumptions on the query structure, and it hasn't been done.
> Writing a provider for some specific sparql queries would not be too
> difficult though.
>
> Regards,
>
> --
> Anahide Tchertchian, Nuxeo
> Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 87
> http://www.nuxeo.com - http://www.nuxeo.org
>
>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to