wikipathways / WpVocabularies

WikiPathways vocabularies for RDF representation
https://vocabularies.wikipathways.org/
Apache License 2.0
1 stars 3 forks source link

Replacement of w3.org RDFa extractor #21

Closed ariutta closed 2 years ago

ariutta commented 2 years ago

It appears the w3.org RDFa extractor doesn’t work anymore: https://www.w3.org/2012/pyRdfa/?uri=http://vocabularies.wikipathways.org/wp BioPortal had been using that to keep our WikiPathways ontology up to date: https://bioportal.bioontology.org/ontologies/WIKIPATHWAYS Any ideas for a replacement solution, @egonw?

AlexanderPico commented 2 years ago

Maybe check with BioPortal to see if they are motivated to "fix" this for multiple sources that supply RDFa.

egonw commented 2 years ago

I used to have Bioclipse code to do this: https://www.myexperiment.org/workflows/921.html But it turns out this uses the online service. There is a Java library but this is unmaintained.

This is going to take a bit longer.

egonw commented 2 years ago

@ammar257ammar gave me a lead this morning: https://any23.apache.org/

egonw commented 2 years ago

Okay, I can now do this on the command line, see this blog post: https://chem-bla-ics.blogspot.com/2022/07/extracting-triples-from-htmlrdfa-pages.html

I will first upload the OWL files manually, but I'm considering wrapping this in a GitHub action for another project. Not sure if it makes sense here, as these vocabs don't change a lot.

egonw commented 2 years ago

I uploaded the OWL files and updated the HTML pages.