Giter Site home page Giter Site logo

Comments (9)

linkvt avatar linkvt commented on June 5, 2024

Hi,
as you already noticed, we didn't include the php file. This is intended, because it doesn't really belong to WebVOWL. We should put this info into the README file.

The php file doesn't do really much: It checks whether the passed IRI seems to be OK, passes it then to an executable jar of OWL2VOWL and returns the output.

We will fix the issues and a few more bugs we collected soon.

from webvowl.

iulia-codes avatar iulia-codes commented on June 5, 2024

Hi @linkvt

thanks for your answer, really appreciate it.

That makes sense, so in order to have the .json files in the VOWL format ( like this https://github.com/VisualDataWeb/WebVOWL/blob/master/src/js/data/foaf.json ) , the Java OWL2VOWL convertor is used.

Is there by any chance any restriction of the input file to feed into the convertor - I see OWL files are accepted but could I also upload OWL in RDF/XML format, for example?

Would there be any way to do this using NodeJS ? (I am currently developing an academic project and would require the metrics that are in the VOWL file).

Thanks again and thumbs up on the effort invested in this project. 👍

from webvowl.

iulia-codes avatar iulia-codes commented on June 5, 2024

Allright I found a way to call the .jar file from nodeJS, by following this suggestion.

http://stackoverflow.com/questions/12892195/how-to-run-a-jar-file-with-node-js-child-process-api

Thanks,
i.

from webvowl.

steffen-l avatar steffen-l commented on June 5, 2024

Thanks for your interest in WebVOWL. Hope it will run fine on your nodeJS instance (usually, it should). Regarding the input formats, you can feed the converter with a couple of formats. Basically, any format that is valid OWL and can be read by the OWL API should work: http://owlapi.sourceforge.net/

from webvowl.

iulia-codes avatar iulia-codes commented on June 5, 2024

Thank you @steffen-l and @linkvt for the support. I have successfully integrated the Java convertor into the NodeJS app. With it I was able to deserialize an ontology into a JSON file of type VOWL. Would it be possible to do the serialization of a VOWL JSON file into an ontology too? (Need to reconstruct an ontology after "partitioning it" for example to remove certain nodes and so on)

from webvowl.

steffen-l avatar steffen-l commented on June 5, 2024

I'm glad to hear that you managed to integrate VOWL into your NodeJS app. Currently, the converter works only in one direction (i.e., from OWL to VOWL), but doesn't support a conversion the other way round. For that reason, it currently only supports the case of ontology visualization but not the case of visual ontology editing, which would require to convert the edited VOWL visualization back into OWL. I'm sorry to tell you.

from webvowl.

iulia-codes avatar iulia-codes commented on June 5, 2024

Understood, @steffen-l . Not sure also that there exist such tools that do this kind of transformation (for example to transform an ontology from JSON to OWL). By the way, is VOWL based on OWL API or is it an independent effort? I would like to know in order to see if I can use any of the functions from OWL API.

Regards,
Iulia

from webvowl.

steffen-l avatar steffen-l commented on June 5, 2024

There might be such tools for RDF/JSON or JSON-LD. Please note that the VOWL-JSON schema is not a proper OWL serialization, i.e., it has been designed to enable an efficient generation of the VOWL graph visualization and is not intended to be a representation of OWL itself.

Regarding your second question: Yes, the VOWL converter is based on the OWL API, so you may use those functions if you add them in the code - see https://github.com/VisualDataWeb/OWL2VOWL

from webvowl.

iulia-codes avatar iulia-codes commented on June 5, 2024

Allright, understood, thanks for the fast reply @steffen-l . 👍

from webvowl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.