Andrawaag added subscribers: Jelabra, Andrawaag.
Andrawaag added a comment.


  Yes, batch parsing of EntitySchema's is still difficult. There are however 
some tricks one could use to not having to parse the HTML. There is the option 
under SpecialPages <https://www.wikidata.org/wiki/Special:SpecialPages>: 
EntitySchemaText <https://www.wikidata.org/wiki/Special:EntitySchemaText>. 
You'll need to add an EntitySchema number to get the EntitySchema in ShExC 
(e.g. E42 <https://www.wikidata.org/wiki/Special:EntitySchemaText/E42>).  
Subsequently json renderings of those ShExC can be obtained with parsers like 
shex-to-json 
<https://github.com/shexSpec/shex.js/blob/master/packages/shex-cli/bin/shex-to-json>
 can help in getting json of the schemas.
  
  There is also wikishape <http://wikishape.weso.es/> that brings some GUI to 
the process. I am not sure how to get JSON here though maybe @Jelabra knows?

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

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

To: Andrawaag
Cc: Andrawaag, Jelabra, Aklapper, SCIdude, Akuckartz, pdehaye, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, Salgo60, 
_jensen, rosalieper, Scott_WUaS, MisterSynergy, abian, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to