# Is it possible to get the date precision from Wikibase?

**URL:** <https://forum.openrefine.org/t/is-it-possible-to-get-the-date-precision-from-wikibase/1554>\
**Category:** Support and Helpdesk\
**Tags:** wikidata, reconciliation\
**Created:** [May 30, 2024, 8:03am UTC](https://forum.openrefine.org/t/is-it-possible-to-get-the-date-precision-from-wikibase/1554 "2024-05-30T08:03:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gnoeee](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/gnoeee/32/429_2.png) [@Gnoeee](https://forum.openrefine.org/u/Gnoeee)\
**Post date:** [May 30, 2024, 8:03am UTC](https://forum.openrefine.org/t/is-it-possible-to-get-the-date-precision-from-wikibase/1554/1 "2024-05-30T08:03:14Z")

</div>

While adding the data from the reconciled columns we can get directly the date value when a property related to dates are selected.

But these values doesn't have the precision of the added dates.

Is it possible to get the date precision from Wikibase as listed in this [page](https://www.wikidata.org/wiki/Help:Dates)

---

<div class="post-metadata">

**Author:** ![ostephens](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/ostephens/32/8_2.png) [@ostephens](https://forum.openrefine.org/u/ostephens)\
**Post date:** [June 3, 2024, 12:44pm UTC](https://forum.openrefine.org/t/is-it-possible-to-get-the-date-precision-from-wikibase/1554/2 "2024-06-03T12:44:56Z")

</div>

As far as I know that's not currently possible. @antonin_d may be able to confirm

---

<div class="post-metadata">

**Author:** ![antonin\_d](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/antonin_d/32/32_2.png) [@antonin\_d](https://forum.openrefine.org/u/antonin_d)\
**Post date:** [June 3, 2024, 1:12pm UTC](https://forum.openrefine.org/t/is-it-possible-to-get-the-date-precision-from-wikibase/1554/3 "2024-06-03T13:12:01Z")

</div>

Indeed not, that's a feature that would need adding to the reconciliation service:

> **[Issues · NFDI4Culture / TA1 data enrichment / OpenRefine Wikibase · GitLab](https://gitlab.com/nfdi4culture/ta1-data-enrichment/openrefine-wikibase/-/issues)**
>
> Wikibase reconciliation interface for OpenRefine.

---

<div class="post-metadata">

**Author:** ![Nicolas\_VIGNERON](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/nicolas_vigneron/32/158_2.png) [@Nicolas\_VIGNERON](https://forum.openrefine.org/u/Nicolas_VIGNERON)\
**Post date:** [June 3, 2024, 1:29pm UTC](https://forum.openrefine.org/t/is-it-possible-to-get-the-date-precision-from-wikibase/1554/4 "2024-06-03T13:29:03Z")

</div>

It would be less direct or easy, but couldn't it be done by fetching the API or a SPARQL query?

---

<div class="post-metadata">

**Author:** ![ostephens](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openrefine.org/ostephens/32/8_2.png) [@ostephens](https://forum.openrefine.org/u/ostephens)\
**Post date:** [June 5, 2024, 9:17am UTC](https://forum.openrefine.org/t/is-it-possible-to-get-the-date-precision-from-wikibase/1554/5 "2024-06-05T09:17:16Z")

</div>

Almost certainly yes - I'm a bit rusty on the Wikibase API/SPARQL but if anyone wants to give it a go it is almost certainly possible to do that way
