[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2021-08-09 Thread So9q
So9q added a comment.


  In T258776#6874936 , 
@Multichill wrote:
  
  > The URI for the image is https://commons.wikimedia.org/entity/M6919529 
(yes, https, not http, that got messed up, see T258590 
). You can see an RDF representation 
of that at https://commons.wikimedia.org/entity/M6919529.rdf . We should 
someone include this URI on Wikidata too. The royal way would be to update the 
image data type which accepts the Mediainfo ID and does all the logic like the 
current image data type.
  >
  > Currently it something like this:
  >
  >   {"snaktype":"value","property":"P18","datavalue":{"value":"Woman Mending 
Stockings f888r jh68.jpg","type":"string"},"datatype":"commonsMedia"},
  >
  > Would be something like:
  >
  >   
{"snaktype":"value","property":"P18","datavalue":{"value":{"entity-type":"mediainfo","numeric-id":82541649,"id":"M82541649"},"type":"wikibase-entityid"},"datatype":"commonsMedia"},
  
  I wholeheartedly agree with this.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: So9q
Cc: So9q, CBogen, Fuzheado, Jane023, Multichill, Lydia_Pintscher, Spinster, 
FRomeo_WMF, GFontenelle_WMF, dcausse, Jarekt, Librarian_lena, 
Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, Invadibot, MPhamWMF, 
maantietaja, Nintendofan885, Akuckartz, Nandana, JKSTNK, Namenlos314, Lahi, 
Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2021-03-18 Thread CBogen
CBogen added a comment.


  In T258776#6923015 , 
@Multichill wrote:
  
  > In T258776#6921752 , 
@CBogen wrote:
  >
  >> I'm going to close this as a duplicate of T277665 
 as that is what we see as the 
practical solution to this problem. Please re-open if you don't think that will 
solve your use case.
  >
  > This is clearly not a duplicate because this task is about the Wikidata RDF 
and T277665  is about Commons RDF.
  
  While it's a different solution, it seems like T277665 
 would solve the same problem that 
this task would solve, in a more practical way that is simpler to implement. If 
you have a problem that changing the Wikidata RDF would solve that T277665 
 (changing the Commons RDF) 
wouldn't, please let us know here so we can understand why this should stay 
open. Thanks!

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: CBogen
Cc: CBogen, Fuzheado, Jane023, Multichill, Lydia_Pintscher, Spinster, 
FRomeo_WMF, GFontenelle_WMF, dcausse, Jarekt, Librarian_lena, 
Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, MPhamWMF, maantietaja, 
Nintendofan885, Akuckartz, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, abian, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2021-03-17 Thread Multichill
Multichill reopened this task as "Open".
Multichill added a comment.


  In T258776#6921752 , 
@CBogen wrote:
  
  > I'm going to close this as a duplicate of T277665 
 as that is what we see as the 
practical solution to this problem. Please re-open if you don't think that will 
solve your use case.
  
  This is clearly not a duplicate because this task is about the Wikidata RDF 
and T277665  is about Commons RDF.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill
Cc: CBogen, Fuzheado, Jane023, Multichill, Lydia_Pintscher, Spinster, 
FRomeo_WMF, GFontenelle_WMF, dcausse, Jarekt, Librarian_lena, 
Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, MPhamWMF, maantietaja, 
Nintendofan885, Akuckartz, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, abian, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2021-03-17 Thread CBogen
CBogen closed this task as a duplicate of T277665: Determine an IRI to join 
commons mediainfo entities and wikidata properties referencing commons images.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: CBogen
Cc: CBogen, Fuzheado, Jane023, Multichill, Lydia_Pintscher, Spinster, 
FRomeo_WMF, GFontenelle_WMF, dcausse, Jarekt, Librarian_lena, 
Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, MPhamWMF, maantietaja, 
Nintendofan885, Akuckartz, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, abian, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2021-03-17 Thread CBogen
CBogen added a comment.


  I'm going to close this as a duplicate of T277665 
 as that is what we see as the 
practical solution to this problem. Please re-open if you don't think that will 
solve your use case.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: CBogen
Cc: CBogen, Fuzheado, Jane023, Multichill, Lydia_Pintscher, Spinster, 
FRomeo_WMF, GFontenelle_WMF, dcausse, Jarekt, Librarian_lena, 
Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, MPhamWMF, maantietaja, 
Nintendofan885, Akuckartz, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, abian, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2021-03-17 Thread dcausse
dcausse added a comment.


  Note: in an attempt to unblock the status quo I created T277665 
 with some practical solution (esp 
the first one suggested in T258769#6332430 
)

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dcausse
Cc: Fuzheado, Jane023, Multichill, Lydia_Pintscher, Spinster, FRomeo_WMF, 
GFontenelle_WMF, dcausse, Jarekt, Librarian_lena, Lucas_Werkmeister_WMDE, 
Jheald, Aklapper, Tpt, MPhamWMF, maantietaja, CBogen, Nintendofan885, 
Akuckartz, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, GoranSMilovanovic, 
QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
Xmlizer, abian, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2021-03-02 Thread Jane023
Jane023 added a comment.


  In T258776#6334164 , 
@Jarekt wrote:
  
  > I think Wikidata and SDC has an issue with representation of Wikimedia 
pages. Sometimes thy are stored as URLs (see Property:P1957 
), sometimes as strings (see 
Property:P1472 ), images are 
stored using data type just for images (see Property:P18 
) and in SDC they are stored as 
M-ids based on page ID. Some years ago there was a proposal to have a property 
data type just for Wikimedia pages, which would allow the links to stay valid 
when the original page was renamed, or would allow comparison of links saved in 
different formats, like compare Property:P1472 
 with a sitelink to Commons. If 
we add SDoC M-IDs to WDQS, maybe we could also find some way of representing 
other links to Wikimedia pages in some unified way as right now it is kind of a 
mess.
  
  This!! Filenames are not useful data at all and are completely messy 
especially when the only difference is capitalized vs non-capitalized letters. 
More problematic are the letters I cannot even recreate on my keyboard without 
doing some kind of lookup. As a misspeller I beg you not to use the Filenames 
as reliable interwiki connectors.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jane023
Cc: Jane023, Multichill, Lydia_Pintscher, Spinster, FRomeo_WMF, 
GFontenelle_WMF, dcausse, Jarekt, Librarian_lena, Lucas_Werkmeister_WMDE, 
Jheald, Aklapper, Tpt, MPhamWMF, CBogen, Nintendofan885, Akuckartz, Nandana, 
JKSTNK, Namenlos314, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, abian, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2021-03-02 Thread Multichill
Multichill added subscribers: Lydia_Pintscher, Multichill.
Multichill added a comment.


  The URI for the image is https://commons.wikimedia.org/entity/M6919529 (yes, 
https, not http, that got messed up, see T258590 
). You can see an RDF representation 
of that at https://commons.wikimedia.org/entity/M6919529.rdf . We should 
someone include this URI on Wikidata too. The royal way would be to update the 
image data type which accepts the Mediainfo ID and does all the logic like the 
current image data type.
  
  Currently it something like this:
  
{"snaktype":"value","property":"P18","datavalue":{"value":"Woman Mending 
Stockings f888r jh68.jpg","type":"string"},"datatype":"commonsMedia"},
  
  Would be something like:
  

{"snaktype":"value","property":"P18","datavalue":{"value":{"entity-type":"mediainfo","numeric-id":82541649,"id":"M82541649"},"type":"wikibase-entityid"},"datatype":"commonsMedia"},

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill
Cc: Multichill, Lydia_Pintscher, Spinster, FRomeo_WMF, GFontenelle_WMF, 
dcausse, Jarekt, Librarian_lena, Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, 
MPhamWMF, CBogen, Nintendofan885, Akuckartz, Nandana, JKSTNK, Namenlos314, 
Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Xmlizer, abian, jkroll, Wikidata-bugs, Jdouglas, 
aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-09-15 Thread Gehel
Gehel triaged this task as "High" priority.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Gehel
Cc: dcausse, Jarekt, Librarian_lena, Lucas_Werkmeister_WMDE, Jheald, Aklapper, 
Tpt, CBogen, Akuckartz, darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, 
Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-08-03 Thread dcausse
dcausse moved this task from All WDQS-related tasks to RDF Model on the 
Wikidata-Query-Service board.
dcausse added a comment.


  I agree with @Lucas_Werkmeister_WMDE it seems hard and very costly to it this 
way, I'd be in favor of changing the way we encode the file URL from the 
commons side.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

WORKBOARD
  https://phabricator.wikimedia.org/project/board/891/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dcausse
Cc: dcausse, Jarekt, Librarian_lena, Lucas_Werkmeister_WMDE, Jheald, Aklapper, 
Tpt, CBogen, Akuckartz, darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, 
Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Jarekt
Jarekt added a comment.


  I think Wikidata and SDC has an issue with representation of Wikimedia pages. 
Sometimes thy are stored as URLs (see Property:P1957 
), sometimes as strings (see 
Property:P1472 ), images are 
stored using data type just for images (see Property:P18 
) and in SDC they are stored as 
M-ids based on page ID. Some years ago there was a proposal to have a property 
data type just for Wikimedia pages, which would allow the links to stay valid 
when the original page was renamed, or would allow comparison of links saved in 
different formats, like compare Property:P1472 
 with a sitelink to Commons. If 
we add SDoC M-IDs to WDQS, maybe we could also find some way of representing 
other links to Wikimedia pages in some unified way as right now it is kind of a 
mess.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jarekt
Cc: Jarekt, Librarian_lena, Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, 
CBogen, Akuckartz, darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, 
Manybubbles, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Tpt
Tpt added a comment.


  > As far as I’m aware, the real URL in RDF is more like 
http://commons.wikimedia.org/wiki/Special:FilePath/Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg
 – the query service UI rewrites it to the file description URL (/wiki/File:) 
on display.
  >  I also don’t understand your first example – is sdoc:P18 
 meant to be something like sdoc:M123 
 instead?
  
  Yes, Indeed, sorry. I should have proofread myself more carefully.
  
  > And finally, I’m not sure this will be doable, since it would require 
looking up the page ID for every Commons file mentioned in a dump, and also 
sending updates to the query service when that page ID change due to page moves…
  >  I think it would be more feasible to add the Special:FilePath URL to the 
WikibaseMediaInfo RDF, and combine WDQS and WCQS that way.
  
  Thant's a very good point. Changing `schema:contentUrl` to use 
`Special:FilePath` is indeed an easier way to do.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tpt
Cc: Librarian_lena, Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, CBogen, 
Akuckartz, darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, 
Manybubbles, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Tpt
Tpt updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tpt
Cc: Librarian_lena, Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, CBogen, 
Akuckartz, darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, 
Manybubbles, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Tpt
Tpt updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tpt
Cc: Librarian_lena, Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, CBogen, 
Akuckartz, darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, 
Manybubbles, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Jheald
Jheald added a comment.


  @Lucas_Werkmeister_WMDE : //I think it would be more feasible to add the 
Special:FilePath URL to the WikibaseMediaInfo RDF, and combine WDQS and WCQS 
that way//
  
  this has been suggested at T258769 

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jheald
Cc: Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, CBogen, Akuckartz, 
darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, GoranSMilovanovic, 
QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Jheald
Jheald added a comment.


  PS.  It's also stupidly hard to find the M-ID from a WikiCommons file page at 
the moment.  This would be a good thing to display in the "structured data" tab 
there, I think.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jheald
Cc: Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, CBogen, Akuckartz, 
darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, GoranSMilovanovic, 
QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  > The value of the "image" property in Wikidata RDF dumps is an URL like 
https://commons.wikimedia.org/wiki/File:Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg
  
  As far as I’m aware, the real URL in RDF is more like 
http://commons.wikimedia.org/wiki/Special:FilePath/Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg
 – the query service UI rewrites it to the file description URL (/wiki/File:) 
on display.
  
  I also don’t understand your first example – is `sdoc:P18` meant to be 
something like `sdoc:M123` instead?
  
  And finally, I’m not sure this will be doable, since it would require looking 
up the page ID for every Commons file mentioned in a dump, and also sending 
updates to the query service when that page ID change due to page moves… I 
think it would be more feasible to add the Special:FilePath URL to the 
WikibaseMediaInfo RDF, and combine WDQS and WCQS that way.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Jheald, Aklapper, Tpt, CBogen, Akuckartz, 
darthmon_wmde, Nandana, JKSTNK, Namenlos314, Lahi, Gq86, GoranSMilovanovic, 
QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Jheald
Jheald added a comment.


  I think you meant
  
wd:Q123  wdtn:P18  sdoc:M6919529
  
  in that second line ?

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jheald
Cc: Jheald, Aklapper, Tpt, CBogen, Akuckartz, darthmon_wmde, Nandana, JKSTNK, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T258776: Add Structured Data on Commons M-ID to Wikidata dumps

2020-07-24 Thread Tpt
Tpt created this task.
Tpt added projects: Wikidata, Wikidata-Query-Service, StructuredDataOnCommons.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Currently, there is no easy way to fetch the Structured Data on Commons 
(SDOC) M-ID for e.g. the value of the "image" property on Wikidata.
  
  The value of the "image" property in Wikidata RDF dumps is an URL like 
https://commons.wikimedia.org/wiki/File:Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg
  However, this is the URL of the file itself, and not of the SDOC MediaInfo 
entity.
  This requires people to write SPARQL queries between Wikidata and SDOC to 
"hack" in order to fetch the M-ID for a given "Commons File" value on Wikidata.
  
  It would be nice to provide the M-IDs in Wikidata dumps using the same 
"normalized value" system that is already used for RDF URIs for some "external 
id" properties. For example, we could have:
  
wd:Q123 wdt:P18 

 .
wd:Q123 wdtn:P234 sdoc:P18
  
  instead of just
  
wd:Q123 wdt:P18 

 .
  
  The "normalized value" system is not used already for "commons files" and so, 
allows to keep RDF backward compatibility.

TASK DETAIL
  https://phabricator.wikimedia.org/T258776

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tpt
Cc: Aklapper, Tpt, CBogen, Akuckartz, darthmon_wmde, Nandana, JKSTNK, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs