Any ideas as to what would be good practices for annotating images on #wikicommons using structured data?

cf. annotations such as these, but with #wikidata items and not wikipedia links: https://commons.wikimedia.org/wiki/File:Prequile_lyon_1863.jpg

File:Prequile lyon 1863.jpg - Wikimedia Commons

maybe @abbe98 's Image annotator app? https://image-annotator.toolforge.org/

It doesn't appear to be working now, however.

Prequile lyon 1863.jpg – Wikidata Image Positions

@librerli yes, thanks, this tools does what I was looking for. UX is not entirely intuitive yet (especially in contexts of editathons with a non-specialist public)
@awinkler for the editathon purpose look at ISA tool: https://commons.wikimedia.org/wiki/Commons:ISA_Tool
Commons:ISA Tool - Wikimedia Commons

@librerli that's 'just' structured data, right? No regions, if I understand correctly.

For structured data this looks very interesting.

@awinkler exactly. ISA tool is "just" for adding the depicts statement (P180) to a file.
but if added a depicts statement to a file, it is just one step behind to add the region with the Structured Region tool afterwards.
@librerli I'm wondering if @aboutgeo 's Annotation tools could be combined with the wikicommons annotation backend?
@awinkler @librerli I'd love to hear & learn more about it. In theory, annotorious.dev is embeddable into pretty much anything. But the way JS bundling works for Wikimedia/MediaWiki works is a bit of a mystery to me.
@aboutgeo @librerli maybe @LucasWerkmeister and @abbe98 can help, I don't know enough about these things. What is needed (imho): 1) Load image from Commons, 2) select region (rectangular or polygon), 3) provide suggestions for Wikidata items in input box, 4) write selected WD-Item either as P180 or P9664 + region as P2677 (rectang) or P8276 (polygon) Qualifier to Wikicommons.
Authenticated session (after login) is required. (1/2)
@aboutgeo @librerli @LucasWerkmeister @abbe98 My usecase: Annotation of historic city map (https://commons.wikimedia.org/wiki/File:Selter_Berlin_1809.jpg). A tool with sleek ux would be great for editathons, object documentation in GLAMs and, why not, research. Storing info directly in Wikicommons would be very cool and FAIR (2/2)
File:Selter Berlin 1809.jpg - Wikimedia Commons

@awinkler @aboutgeo if I would make another annotation tool I would probably use Annotorious + Wikimedias new client side auth rather than bother with userscripts/gadgets.

@librerli @LucasWerkmeister

@awinkler @aboutgeo @librerli @abbe98 @stk (this, combined with the missing indication on the property page what the syntax is supposed to look like, makes it tricky to add support for this property to Wikidata Image Positions ^^)

@LucasWerkmeister I think the documentation for this and the other(proposed?) geroreferencing related properties lives somewhere on Commons. Can't remember what happened to the situation but quite a lot of work went into this over quite a few hackathons.

@awinkler @aboutgeo @librerli @stk

@aboutgeo @librerli @stk are you referring to this ticket, @abbe98? https://phabricator.wikimedia.org/T227036 (linked here: https://commons.wikimedia.org/wiki/User:Bertspaan/maps)

I agree with @LucasWerkmeister. The syntax for P8276 is insufficiently defined. The JSON suggested in the proposal seems a bit odd. Following https://www.mediawiki.org/wiki/Extension:ImageMap one would rather expect a list of vertices. Polygons would be very useful, so I hope there will be a solution at some point.

T227036 Wikimania Hackathon 2019 proposal: metadata standard for map georectification

See https://observablehq.com/@bertspaan/proposal-for-wikimania-2019-hackathon

Phabricator

@awinkler No, this set of properties and initial JSON format was developed at the Wikimedia Hackathon in Stockholm but since it has gotten lots of work and greater community support.

Sorry I can't look all of this up right now but since Stockholm User:Multichill and User:Jheald has championed the effort I think.

@aboutgeo @librerli @stk @LucasWerkmeister

Thanks, @abbe98 ! I opened a discussion on this on the property talk page (https://www.wikidata.org/wiki/Property_talk:P8276#Specification_of_Syntax)

@aboutgeo @librerli @stk @LucasWerkmeister Thanks

Property talk:P8276 - Wikidata