Hi Boris,

On 2021-05-13 10:33 am, Boris Pelakh wrote:
I am in the process of migrating some taxonomies from PoolParty into TopBraid EDG. The simple path is an RDF export of the taxonomy (which is SKOS and dcterms-compliant), and then import the RDF after creating the taxonomy in EDG. I have a couple of questions:

 1. Is there an API endpoint to create a new taxonomy from RDF
    content, i.e. without manual interaction, so I can automate the
    process?

Yes there are various options, depending on what input file(s) you have and whether the taxonomies already exist and you just want to replace the content. Basically if you click through the UI with a network monitor you can see which web services are called. For example you could use teamwork:ImportTrigFileService which is the service behind the + > Create Multiple Asset Collections from TriG FileĀ  button. You can also write SWP or ADS scripts that actively pull content from external web services. Or you could call a combination of the teamwork:createProject service and tbl/importFileUpload.

What is your starting point: individual Turtle files but no existing Taxonomy yet?

 1. I have a way of exporting revision history from PoolParty either
    as JSON or RDF. Is there a way for me to import this history into
    EDG (I can transform it into any schema required)

The change history of EDG graphs is stored in so-called .tch graphs using RDF. For example you could create instances of teamwork:Change using SPARQL. If the PP history is already in RDF, I guess you could do an INSERT { ... } WHERE { ... } update using SPARQL.

Holger


--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/208e6875-1f59-7fe9-0157-5c0b4095ced6%40topquadrant.com.

Reply via email to