Page MenuHomePhabricator

Wikidata free image search tool
Closed, ResolvedPublic

Description

The Wikidata free image search tool is a useful tool that allows you to search for images that are freely available from different sources

Accessing the WikiData Free Image Search Tool

Go to the WikiData website (www.wikidata.org) using your preferred web browser.

Navigating to the Query Service

At the top of the WikiData website, click on the "Query Service" link. This will open the WikiData Query Service interface.

Writing the Query

In the Query Service interface, you'll see a text box where you can write your query. Here's an example query to search for free images:

ruby

Copy code

SELECT ?item ?itemLabel ?image WHERE { ?item wdt:P18 ?image. FILTER NOT EXISTS { ?item wdt:P642 ?statement. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

This query selects items (?item) that have an image (?image) associated with them and filters out items that have a "copyright status" (wdt:P642) statement. The SERVICE wikibase:label part ensures that the labels for the items are displayed in English.

**Running the Query

Copy the query from Step 3 and paste it into the text box in the Query Service interface. Then, click on the "Run" button to execute the query.

Viewing the Results

Once the query has finished executing, the results will be displayed below the query box. Each result row represents an item with an associated image. The image URL can be found in the ?image column, and the item's label is displayed in the ?itemLabel column.

Accessing the Image

To access the image, you can click on the image URL in the ?image column. This will open the image in a new tab or window. From there, you can save the image to your computer or use it as needed.

Here is a link to the tutorial

Event Timeline

Hi, https://meta.wikimedia.org/wiki/Wikidata_free_image_search needs some more editing, such as proper heading sections and formatting. Do you plan to work on this? Thanks.

@Knowledge_and_philosophy: Thanks for participating in the Hackathon! We hope you had a great time.

  • If this task was being worked on and resolved at the Hackathon: Please change the task status to resolved via the Add Action...Change Status dropdown, and make sure that this task has a link to the public codebase.
  • If this task is still valid and should stay open: Please add another active project tag to this task, so others can find this task (as likely nobody in the future will look back at the Hackathon workboard when trying to find something they are interested in).
  • In case there is nothing else to do for this task, or nobody plans to work on this task anymore: Please set the task status to declined.

Thank you,
Phabricator housekeeping service