[Wikidata-bugs] [Maniphest] [Commented On] T238443: Add P180 (Depicts) and P6243 (Digital representation of) structured data to Commons files representing artworks by Jakob Smits

2019-11-22 Thread Spinster
Spinster added a comment.


  And thanks to the Minefield tool, I have successfully added structured data 
to the files in that category now! \o/
  
  https://tools.wmflabs.org/quickstatements/#/batch/22170
  https://tools.wmflabs.org/quickstatements/#/batch/22157

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

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

To: Spinster
Cc: Husky, SandraF_WMF, Salgo60, Magnus, LucasWerkmeister, Spinster, MxLucy, 
Dat_doris, Phofx, darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, 
Gq86, E1presidente, Ramsey-WMF, Cparle, Anooprao, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Silverfish, _jensen, rosalieper, Scott_WUaS, 
Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, 
Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331, 
Ainali
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T238443: Add P180 (Depicts) and P6243 (Digital representation of) structured data to Commons files representing artworks by Jakob Smits

2019-11-22 Thread Husky
Husky added a comment.


  Well, the tool is done and working:
  
  https://tools.wmflabs.org/hay/minefield/

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

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

To: Husky
Cc: Husky, SandraF_WMF, Salgo60, Magnus, LucasWerkmeister, Spinster, MxLucy, 
Dat_doris, Phofx, darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, 
Gq86, E1presidente, Ramsey-WMF, Cparle, Anooprao, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Silverfish, _jensen, rosalieper, Scott_WUaS, 
Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, 
Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331, 
Ainali
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T238443: Add P180 (Depicts) and P6243 (Digital representation of) structured data to Commons files representing artworks by Jakob Smits

2019-11-16 Thread Spinster
Spinster added a comment.


  In T238443#5668475 , 
@LucasWerkmeister wrote:
  
  > My best idea so far is to make the SPARQL query concatenate all the image 
titles, separated by pipe characters –
  >
  >   SELECT (GROUP_CONCAT(wikibase:decodeUri(STRAFTER(STR(?image), 
"http://commons.wikimedia.org/wiki/Special:FilePath/;)); separator = " | ") AS 
?images) WHERE {
  > ?item wdt:P170 wd:Q3157590.
  > ?item wdt:P18 ?image.
  >   }
  >
  > – and then copy+paste the result  into ACDC 
 (it 
will split the list into individual files again).
  
  That's indeed a way to get the files into AC/DC, thanks! However, then I need 
to give each file an other SDC statement (i.e. make each image point to another 
Q item), which is the tricky part of my request and which is something AC/DC 
can't do...
  
  > I can’t think of a way to do it with QuickStatements, because as far as I 
know for that we need to turn the titles into M-IDs;
  
  Yes, I suspected this would be the blocker... Any idea if there's any 
progress in finding a solution for this? Anything that can be done by the 
#structured-data-backlog 
 team to help?
  
  > and I don’t know a way to turn the files from the query results into a 
PagePile either (which would be easier to add to ACDC than this copy+pasted 
list).
  
  I think the approach you proposed above is already great, thanks!

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

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

To: Spinster
Cc: SandraF_WMF, Salgo60, Magnus, LucasWerkmeister, Spinster, Dat_doris, Phofx, 
darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Cparle, Anooprao, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Silverfish, _jensen, rosalieper, Scott_WUaS, 
Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, 
Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331, 
Ainali
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T238443: Add P180 (Depicts) and P6243 (Digital representation of) structured data to Commons files representing artworks by Jakob Smits

2019-11-16 Thread Spinster
Spinster added a comment.


  In T238443#5668132 , 
@Salgo60 wrote:
  
  > Have you seen Magnus Manske sdc_tool.
  >
  > - tweet 
  > - User:Magnus_Manske/sdc_tool.js 

  
  Yes, I have, but that can't do this specific thing I want to (which is to 
assign different structured data to each image individually).

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

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

To: SandraF_WMF, Spinster
Cc: Salgo60, Magnus, LucasWerkmeister, Spinster, Dat_doris, Phofx, 
darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, 
QZanden, Tramullas, Acer, LawExplorer, Silverfish, _jensen, rosalieper, 
Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, 
Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Steinsplitter, Mbch331, Ainali
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T238443: Add P180 (Depicts) and P6243 (Digital representation of) structured data to Commons files representing artworks by Jakob Smits

2019-11-15 Thread LucasWerkmeister
LucasWerkmeister added a comment.


  My best idea so far is to make the SPARQL query concatenate all the image 
titles, separated by pipe characters –
  
SELECT (GROUP_CONCAT(wikibase:decodeUri(STRAFTER(STR(?image), 
"http://commons.wikimedia.org/wiki/Special:FilePath/;)); separator = " | ") AS 
?images) WHERE {
  ?item wdt:P170 wd:Q3157590.
  ?item wdt:P18 ?image.
}
  
  – and then paste the result  into ACDC 
 (it 
will split the list into individual files again).
  
  I can’t think of a way to do it with QuickStatements, because as far as I 
know for that we need to turn the titles into M-IDs; and I don’t know a way to 
turn the files from the query results into a PagePile either (which would be 
easier to add to ACDC than this copy+pasted list).

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

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

To: SandraF_WMF, LucasWerkmeister
Cc: Salgo60, Magnus, LucasWerkmeister, Spinster, Dat_doris, Phofx, 
darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, 
QZanden, Tramullas, Acer, LawExplorer, Silverfish, _jensen, rosalieper, 
Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, 
Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Steinsplitter, Mbch331, Ainali
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T238443: Add P180 (Depicts) and P6243 (Digital representation of) structured data to Commons files representing artworks by Jakob Smits

2019-11-15 Thread Salgo60
Salgo60 added a comment.


  Gave you seen Magnus Manske sdc_tool.
  
  - tweet 
  - User:Magnus_Manske/sdc_tool.js 


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

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

To: SandraF_WMF, Salgo60
Cc: Salgo60, Magnus, LucasWerkmeister, Spinster, Dat_doris, Phofx, 
darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, 
QZanden, Tramullas, Acer, LawExplorer, Silverfish, _jensen, rosalieper, 
Scott_WUaS, Susannaanas, Jane023, Wikidata-bugs, Base, matthiasmullie, aude, 
Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Steinsplitter, Mbch331, Ainali
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs