Page MenuHomePhabricator

Create a Structured Data on Commons search prototype (and create a Vue-based component library in the process)
Closed, ResolvedPublic

Description

The tool can be tried here: tools.wmflabs.org/hay/sdsearch

There is currently no user-friendly way to search for SDoC media, because there is not a SPARQL endpoint like the one for Wikidata. However, there is an option to use the 'haswbstatement' action in the search engine, but this is pretty cumbersome because you need to know property and item ID's. So this will be a visual way to search for SDoC media.

A video of the prototype demoed during the 2020 Hackathon is available on YouTube.

In the process, i'll also create a Vue-based UX library with components that can easily query Wikidata and other Wikimedia projects.

Event Timeline

Husky renamed this task from Refactor Hay's tools and create a Vue-based component library in the process to Create a Structured Data on Commons search prototype (and create a Vue-based component library in the process).May 10 2020, 3:44 PM
Husky added a project: StructuredDataOnCommons.
Husky updated the task description. (Show Details)

Hello @Husky . Interesting work! FYI, the WMF Structured Data time is working on a couple of enhancements for search:

  1. A while ago, we updated the suggested search dropdown to include an easier way to do haswbstatement:P180 searches. Try any search on Commons using the default search box and you'll see the "Files depicting..." section at the bottom of the suggestion list.
  2. Also, we're researching an overhaul of the Commons search results UI that will include additional easy ways to search with statements. We hope to share the results of the early work soon.
  1. A while ago, we updated the suggested search dropdown to include an easier way to do haswbstatement:P180 searches. Try any search on Commons using the default search box and you'll see the "Files depicting..." section at the bottom of the suggestion list.

Yeah, i noticed that. Seems like a small but interesting step!

  1. Also, we're researching an overhaul of the Commons search results UI that will include additional easy ways to search with statements. We hope to share the results of the early work soon.

Obviously, i'm really curious to see this.

The tool is now live at https://tools.wmflabs.org/hay/sdsearch/

@Ramsey-WMF you might want to take a look at the prototype again, i've improved it quite a bit with a couple of new things:

  • Translated versions of the user interface in different languages
  • An option to search for categories
  • An option to export a query to Petscan

Nice work! We're exploring some of these features on our side as well, but I think our approach will ultimately end up diverging in a few key ways. That's okay though 😄 We're in the process of doing research with various demographic groups now and should have more info up relatively soon. For now, you can use our very early work-in-progress prototype here (https://commons.wikimedia.org/wiki/Special:MediaSearch)

If you try a test search with "new york" or "redwood" or "van gogh" you can also try out our suggested search UI experiment.

@Ramsey-WMF you might want to take a look at the prototype again, i've improved it quite a bit with a couple of new things:

  • Translated versions of the user interface in different languages
  • An option to search for categories
  • An option to export a query to Petscan