Manuel created this task.
Manuel added projects: Wikidata-Query-Service, Wikidata.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
As a WDQS user I want to retrieve dates with the precision in they have been
put into a Wikibase in order to .
**Problem:**
Using SPARQL I get all years such as "1749" as "1 January 1749" statements,
no matter whether the person is born that day or not. While there is a solution
(see next section) users of the Query Service will follow the recommended input
help and they do get inexplicable January 1st dates (which, if the are not
suspicious, they will accept as the new knowledge).
**Current solution:**
The current solution is to query for the property value node instead of the
property direct value. For this on Wikidata, you have to replace: "rt:" -->
"wdt:", "rp:" --> "p:", "rpsv:" --> "psv:". With the "property direct" ("rt")
you query for just the value of the property. With "property" ("rp") you query
for the node that holds the value, and more meta-information about the value.
The node contains the "node value" ("rpsv"), and that value has a precision
value ("wikibase:timePrecision"). 9 is year level, 10 is month level, 11 is day
level.
Example in ArtBase:
- https://tinyurl.com/yft9u5kg
**Screenshots/mockups:**
**BDD**
GIVEN
AND
WHEN
AND
THEN
AND
**Acceptance criteria:**
-
**Open questions:**
- What would speak against a Query helper that gives data pretty much as we
have entered them?
TASK DETAIL
https://phabricator.wikimedia.org/T285469
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Manuel
Cc: Manuel, Aklapper, Invadibot, MPhamWMF, maantietaja, CBogen, Akuckartz,
Nandana, Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic,
QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas,
Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]