Wikidata:Property proposal/url namespace

From Wikidata
Jump to navigation Jump to search

URL prefix for search engines[edit]

Originally proposed at Wikidata:Property proposal/Authority control

   Withdrawn
DescriptionURL prefix behind which values of this property can be found using a search engine
Data typeURL
Domainexternal id properties without search formatter URL (P4354)
Example 1Goodreads series ID (P6947)https://www.goodreads.com/series/
Example 2TV Maze person ID (P11449)https://www.tvmaze.com/people/
Example 3Pocket Casts ID (P9006)https://pca.st/
Single-value constraintno
Distinct-values constraintno

Motivation[edit]

Wikidata for Web (Q99894727) offers a feature (find ids) that allows users to search the web for external ids of a given item using search formatter URL (P4354).

This is how it works: Let's say the item you want to find external ids for is Dexter (Q23577). Because this is a television series (Q5398426), the extention assumes it should have a NientePopCorn series ID (P12348) statment. And because this property has a search formatter url it is able to search for the italian label of Dexter (Q23577). Ergo it will open the following link:

https://www.nientepopcorn.it/cerca-un-film/?titolo=Dexter

In the next step the user is able to match the result on the website to the item:

et voila

Why we need this property[edit]

This works fairly well for properties that have search formatter URL (P4354) but for those that don't have it I can still use the search engine of the users choice like google or duckduckgo or bing.

John Lennon: Murder Without a Trial (Q123594093) should have a Apple TV show ID (P9751) statement but apple doesn't offer a search on their website. But we actually don't need it because all we need is the url namespace in which the id can be found (https://tv.apple.com/show/) in order to run a query like this in this:

https://duckduckgo.com/?q=John+Lennon%3A+Murder+Without+a+Trial+site%3Ahttps%3A%2F%2Ftv.apple.com%2Fshow%2F&t=ffab&ia=web

In the next step the user is able to match the result on the website to the item:

et voila

The url doesn't actually have to point to anything and often contains a redirect or 404, but for our purpose that doesn't matter.

I am currently misusing URL (P2699) property for this purpose. If you have better suggestions for the name of this property, let me know.  – The preceding unsigned comment was added by Shisma (talk • contribs) at 19:12, 1 February 2024 (UTC).[reply]

Discussion[edit]

@Back ache, Lucamauri: (recent users of wikidata for web/firefox) –Shisma (talk) 19:15, 1 February 2024 (UTC)[reply]

Courtesy ping @Shisma. Regards Kirilloparma (talk) 13:11, 15 February 2024 (UTC)[reply]
I don't understand. it has to be a resolveable url but it may return a redirect or not found. – Shisma (talk) 19:03, 15 February 2024 (UTC)[reply]