Page MenuHomePhabricator

First simple query - input of string values only with hard-coded Property
Closed, ResolvedPublic5 Estimated Story Points

Description

As an editor I want a list of all Items with a specific Property/value pair to find duplicates. In particular I want to find Items with duplicate postal codes.

mockup

image.png (315×715 px, 20 KB)

BDD
GIVEN the query builder in empty state
THEN I can specify the value for the pre-determined Property (postal code)

Acceptance criteria:

  • It is possible to visually enter the value
  • The Property is hard-coded to postal code
  • The query builder has a very basic page skeleton with its name in the heading.

Notes:

  • Does not include generating the SPARQL code or executing the query yet.
  • Needed component: string value input

Query we want to end up with in future tickets:

select ?city where {
  ?city wdt:P281 "XXXX" .
}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I started this: https://github.com/wmde/query-builder/pull/11/files

This is the result in my pc:

image.png (276×794 px, 20 KB)

One thing: The figma mockup says the color of "Find all items" should be $font-color-base which is #222 but color of that text in the mock is black.