Page MenuHomePhabricator

default wikibase-docker installation creates quantity values with invalid unit-concept-URI
Open, Needs TriagePublic

Description

  1. Start a wikibase-docker container with an unmodified docker-compose.yml from [1].
  2. Create an item "kilogram" (Q1).
  3. Create a property "mass" (P1) with datatype "quantity".
  4. Create an item "apple" (Q2).
  5. Add a statement "apple" -> "mass" -> 0.5 kilogram.
  6. In the query interface, run the query select * where {?s ?p ?o}.

Observed:

Additional information:
Trying to create a quantity-valued statement using the API (wbeditentity) fails if the "unit" entry is "http://wikibase.svc/entity/Q1".

[1] https://github.com/wmde/wikibase-docker

Event Timeline

Toni_001 created this task.Apr 10 2020, 3:30 PM
Restricted Application added a project: Wikidata. · View Herald TranscriptApr 10 2020, 3:30 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript