You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "Jakob Frank (JIRA)" <ji...@apache.org> on 2014/04/23 16:05:16 UTC

[jira] [Commented] (MARMOTTA-492) Issue With a SPARQL Query

    [ https://issues.apache.org/jira/browse/MARMOTTA-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978220#comment-13978220 ] 

Jakob Frank commented on MARMOTTA-492:
--------------------------------------

Hi [~p1001]
thanks for filing the issue!

Could you please provide some more background on your environment:
* which database backend are you using: h2, mysql or postgres?
* do you SPARQL via the marmotta-sparql webservice or directly on the sesame-api (KiWiRepositoryConnection)

Thanks!

> Issue With a SPARQL Query
> -------------------------
>
>                 Key: MARMOTTA-492
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-492
>             Project: Marmotta
>          Issue Type: Bug
>          Components: Sesame Tools
>    Affects Versions: 3.2.0
>            Reporter: Maxime Poitevineau-Millin 
>              Labels: SPARQL
>
> We are currently implementing marmotta in our system but!
> When trying this query :
> {code}
> SELECT * FROM <sesame:nil> {
>                                ?kw rdf:type Keyword . 
>                                ?kw2 rdf:type Keyword . 
>                                ?kw2 ?rel ?kw . 
> }
> {code}
> on a database containing 60 000 keywords, marmotta is creating 60 000 * 60 000 queries similar to this one : 
> {code:sql}
> SELECT id,subject,predicate,object,context,deleted,inferred,creator,createdAt,deletedAt FROM triples WHERE deleted = false AND subject = '458172920399523841' AND object = '458172732532453376' AND context = '458172711103754240'
> {code}
> Which obviously takes a long time.
> This query takes 2 sec on Virtuoso or Owlim, is there any configuration issue or something we should change?



--
This message was sent by Atlassian JIRA
(v6.2#6252)