Page MenuHomePhabricator

Improve display of extracted data
Closed, ResolvedPublic

Description

Currently raw data is shown to the user in a variety of formats:
e.g.

Values given in the reference:
* {"http:\/\/schema.org\/name":["Discret. Math."]}
* {"http:\/\/schema.org\/volumeNumber":["200"]}
* {"http:\/\/schema.org\/issueNumber":["1-3"]}

OR

Values given in the reference:
* {"http:\/\/schema.org\/additionalName":["\u00c3\u0084gyptische Staatsammlung Munich, Allemagne","Bavaria (Germany) Staatliche Sammlung \u00c3\u0084gyptischer Kunst","\u00c3\u0084gyptische Sammlung M\u00c3\u00bcnchen, Staatliche Sammlung \u00c3\u0084gyptischer Kunst","Sammlung \u00c3\u0084gyptischer Kunst M\u00c3\u00bcnchen","\u00c3\u0084gyptische Staatssammlung in M\u00c3\u00bcnchen","\u00c3\u0084gyptische Sammlung des Bayerischen Staates Munich, Allemagne","\u00c3\u0084gyptische Staatsammlung","\u00c3\u0084gyptische Sammlung des Bayerischen Staates","Munich (Allemagne)"],"http:\/\/schema.org\/knows":["http:\/\/worldcat.org\/identities\/lccn-n83236308","http:\/\/worldcat.org\/identities\/lccn-n93057852","http:\/\/worldcat.org\/identities\/lccn-n50054183","http:\/\/worldcat.org\/identities\/lccn-n88651566","http:\/\/worldcat.org\/identities\/lccn-n84222418","http:\/\/worldcat.org\/identities\/lccn-n93055501","http:\/\/worldcat.org\/identities\/lccn-n85117901","http:\/\/worldcat.org\/identities\/viaf-68963496","http:\/\/worldcat.org\/identities\/lccn-n81075324","http:\/\/worldcat.org\/identities\/lccn-n85109490"],"http:\/\/schema.org\/name":["Staatliche Sammlung A\u00cc\u0088gyptischer Kunst (Bavaria, Germany) "],"http:\/\/schema.org\/sameAs":["http:\/\/id.loc.gov\/authorities\/names\/n83236307","http:\/\/viaf.org\/viaf\/152110925"]}

Displaying this is rather tricky. How should we display object?
Intuition is parse and then list for example.

Event Timeline

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

Blocked by T252854 (Will create a pull request based on the branch resolving that task)

Love it! :)

One tiny detail: The s in "Wikidata statement" is not capitalized while similar parts are. Should be capitalized as well then.