OK, moving the discussion to dev@

Thanks for reporting MARMOTTA-615.

The DESCRIBE queries are implemented by GraphQuery.evaluate():

https://github.com/davidkaste/marmotta/blob/MARMOTTA-615/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/services/sparql/SparqlServiceImpl.java#L370

Going deeper,
the org.apache.marmotta.kiwi.sparql.evaluation.KiWiEvaluationStrategy is
the strategy used by the KiWi triple store to evaluate SPARQL queries:

https://github.com/davidkaste/marmotta/blob/MARMOTTA-615/libraries/kiwi/kiwi-sparql/src/main/java/org/apache/marmotta/kiwi/sparql/evaluation/KiWiEvaluationStrategy.java#L53

There all native SQL optimizations are applied. There you'll see the
typical construction is to use evaluateNative() or super.evaluate()
depending if the concrete binding has been optimized of not. Honestly I
have no idea if the DescribeOperator has been already optmized or still
relies on the default Sesame evaluation strategy
(org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl). But at
least from there you can start.

Cheers,


On Fri, Jun 5, 2015 at 11:24 AM, Sergio Fernández <[email protected]> wrote:

> maybe we should move this to dev@marmotta...
>
> On Fri, Jun 5, 2015 at 11:18 AM, David Castellà <[email protected]>
> wrote:
>
>> Ok,
>>
>> I've made a copy of the project in my GitHub account
>> (davidkaste/marmotta) and I've opened a topic branch called MARMOTTA-615
>> in reference to https://issues.apache.org/jira/browse/MARMOTTA-615 for
>> changing the DESCRIBE behaviour.
>>
>> Any help will be welcome!
>>
>> Thank you!
>>
>> El 02/06/15 a les 12:15, Sergio Fernández ha escrit:
>> > Hi David,
>> >
>> > On Mon, Jun 1, 2015 at 11:36 AM, David Castellà <
>> [email protected]
>> > <mailto:[email protected]>> wrote:
>> >
>> >     I'm developing a bridge between Marmotta and other application
>> called
>> >     Rhizomik, and I want to change the Marmotta's DESCRIBE Behaviour,
>> >     because I only want the outgoing properties, not the ingoing ones.
>> >
>> >
>> > AFAIK we currently have no way to configure such behavior... But we
>> > could try to add if; please, register in Jira a new feature request with
>> > the details. Or even better, if you feel confident enough I can help you
>> > to find the code where a patch would need to implemented to support that
>> > ;-)
>> >
>> > Cheers,
>> >
>> > --
>> > Sergio Fernández
>> > Partner Technology Manager
>> > Redlink GmbH
>> > m: +43 6602747925
>> > e: [email protected] <mailto:[email protected]>
>> > w: http://redlink.co
>>
>> --
>> David Castellà
>> Open Web Developer & Open Source activist
>> [email protected]
>> http://davidcastella.com
>>
>> You can discover more about a person in an hour of play than in a year
>> of conversation. ~Plato
>>
>
>
>
> --
> Sergio Fernández
> Partner Technology Manager
> Redlink GmbH
> m: +43 6602747925
> e: [email protected]
> w: http://redlink.co
>



-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: [email protected]
w: http://redlink.co

Reply via email to