# Internal server error with reasoning queries and slow reasoning issue

**URL:** <https://community.stardog.com/t/internal-server-error-with-reasoning-queries-and-slow-reasoning-issue/215>\
**Category:** Support\
**Created:** [March 31, 2017, 11:53am UTC](https://community.stardog.com/t/internal-server-error-with-reasoning-queries-and-slow-reasoning-issue/215 "2017-03-31T11:53:57Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [April 3, 2017, 6:10pm UTC](https://community.stardog.com/t/internal-server-error-with-reasoning-queries-and-slow-reasoning-issue/215/10 "2017-04-03T18:10:38Z")

</div>

Hi,

After looking into this issue further, it is actually a bug in our DL reasoning. Were your ontology an SL (RL, EL, QL) ontology, you wouldn’t be seeing this.

Thanks for the report! I’ve filed a bug internally, we’ll continue looking at it and report back here with any news or workarounds. As a temporary workaround for this, you could use a different predicate. For example:

```auto
INSERT {?s :myTempRdfsLabel ?o} WHERE {BIND(rdfs:label as ?p) . ?s ?p ?o}

```

This would let you query on your temp variable for the same results without having to rely specifically on `rdfs:label`.

---

_[View the full topic](https://community.stardog.com/t/internal-server-error-with-reasoning-queries-and-slow-reasoning-issue/215)._
