Commons talk:Structured data/Modeling/Location

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

How to transfer information from template to structured data[edit]

There are more then 13. million files in Category:Media with locations we need to think about how to transfer the information now given in the Wikitext templates into structured data. If we have a bot with the standard limit of one edit per 5 seconds it would need 785 days, with one edit per second it would need 157 days. I think we should ask about a way to run a scrip doing this direct on the server or a similar way. --GPSLeo (talk) 07:42, 11 October 2019 (UTC)

I wouldn't worry too much about this. It's a big task, but we managed to do it on Wikidata too. Multiple bots can work in parallel as long as the database can keep up. Multichill (talk) 10:34, 10 November 2019 (UTC)

Types of locations[edit]

I think a basic distinction (enforced by separate prompts in the user interface) should be:

  • Depicted place (depicted location, location depicted) - the place represented in the painting or photograph
  • Location of object - where the painting or photograph is physically located (location of museum, archive, etc.)

- PKM (talk) 21:41, 29 October 2019 (UTC)

@PKM:: We actually document (at least) three things here on Commons:
  1. Location depicted
  2. Location of the point of view
  3. Location of the object
Currently that's in a nice category and template mix. Let's break it down:
What do you think of this approach? Did I miss different types of locations? Multichill (talk) 11:51, 10 November 2019 (UTC)
@Multichill: As far as I have been thinking, you are capturing it all in your nice summary. I also agree on the need for a new property for heading. I believe this approach will be both quite useful and easy enough to grasp. Ainali (talk) 12:12, 10 November 2019 (UTC)
@Multichill: Sounds good to me. - PKM (talk) 19:33, 10 November 2019 (UTC)
https://commons.wikimedia.org/wiki/Commons_talk:Structured_data/Modeling/Location
commons.wikimedia.org
crawl=CC-MAIN-2019-47
29538
application/http; msgtype=response
sha1:AYLIEVMWVYJFXCH3KUZ22GXC3QI4WGAM
<urn:uuid:0331f670-efcb-47d2-bcca-444a3f7f1400>
2019-11-14T18:38:23Z
208.80.154.224
text/html
sha1:TBOE4EEYACPUDQOV4DVWUSIQ5AQRM2Z7
<urn:uuid:14e394d9-7637-4c81-b7e7-97115dec3ef5>
https://commons.wikimedia.org/wiki/Commons_talk:Structured_data/Modeling/Location
response
<urn:uuid:26c42e31-360c-4562-b2bc-c72fc984c272>
isPartOf: CC-MAIN-2019-47
publisher: Common Crawl
description: Wide crawl of the web for November 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-221.ec2.internal
software: Apache Nutch 1.16 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/