# Insert current date

**URL:** <https://community.stardog.com/t/insert-current-date/834>\
**Category:** Support\
**Created:** [February 25, 2018, 10:27pm UTC](https://community.stardog.com/t/insert-current-date/834 "2018-02-25T22:27:38Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [March 13, 2018, 1:37pm UTC](https://community.stardog.com/t/insert-current-date/834/21 "2018-03-13T13:37:12Z")

</div>

I’m seeing the same behavior with nothing to note in the logs.

On a side note I did notice a small error in the help page for queries

stardog help query execute

The third query under “EXAMPLES” has the --reasoning flag after the database name

`stardog query myDb --reasoning "select ?type where { <urn:an:individual> rdf:type ?type }"`

which I believe should be before the database name

`stardog query --reasoning myDb "select ?type where { <urn:an:individual> rdf:type ?type }"`

No biggie but I thought id mention it.

I also tried the query by specifying a connection string instead of the database name but that did not work either

`stardog query execute http://localhost:5820/test;reasoning=true "select ...."`

---

<div class="post-metadata">

**Author:** ![cannata](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@cannata](https://community.stardog.com/u/cannata)\
**Post date:** [March 13, 2018, 1:42pm UTC](https://community.stardog.com/t/insert-current-date/834/22 "2018-03-13T13:42:20Z")

</div>

I assume this is a bug then, yes?

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [March 14, 2018, 1:00pm UTC](https://community.stardog.com/t/insert-current-date/834/23 "2018-03-14T13:00:15Z")

</div>

Someone from Stardog would have to confirm but I think that’s a reasonable assumption at this time.

---

<div class="post-metadata">

**Author:** ![cannata](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@cannata](https://community.stardog.com/u/cannata)\
**Post date:** [March 14, 2018, 4:07pm UTC](https://community.stardog.com/t/insert-current-date/834/24 "2018-03-14T16:07:44Z")

</div>

It appears that the --reasoning flag is not being recognized for the stardog query command.  
I hope this is a bug and not intended.

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [March 14, 2018, 4:21pm UTC](https://community.stardog.com/t/insert-current-date/834/25 "2018-03-14T16:21:18Z")

</div>

I thought that this sounded familiar so I searched old posts and found this which includes a possible workaround.

> [@Infer when updating, possible?](https://community.stardog.com/t/infer-when-updating-possible/529/3):
>
> Thank you! I used SPARQL Update to update my graph but I do not know how to use it with reasoning. Is there any way to enable it in SPARQL or any other way?

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [March 14, 2018, 9:08pm UTC](https://community.stardog.com/t/insert-current-date/834/26 "2018-03-14T21:08:43Z")

</div>

We have verified this bug and created issue #4173 to track it’s status.

Jess

---

<div class="post-metadata">

**Author:** ![cannata](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@cannata](https://community.stardog.com/u/cannata)\
**Post date:** [March 15, 2018, 2:29pm UTC](https://community.stardog.com/t/insert-current-date/834/27 "2018-03-15T14:29:25Z")

</div>

Thanks Jess, is there a way for me to track this and know when it’s fixed?

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [March 15, 2018, 3:55pm UTC](https://community.stardog.com/t/insert-current-date/834/28 "2018-03-15T15:55:33Z")

</div>

Hey Phil,  
We publish the list of issues implemented in each release in the [release notes](https://www.stardog.com/docs/release-notes/). This particular issue is not scheduled to be fixed in the next release. Please consider the workaround mentioned in the thread that Zachary posted.

Jess

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [March 29, 2018, 3:55pm UTC](https://community.stardog.com/t/insert-current-date/834/29 "2018-03-29T15:55:34Z")

</div>

Closed on March 29, 2018, 3:55pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://community.stardog.com/t/insert-current-date/834.md?page=1)
