Giter Site home page Giter Site logo

Comments (3)

steffen-l avatar steffen-l commented on May 29, 2024

Thanks for the feedback. However, I don't understand the issue. Could you please provide more infos?

from webvowl.

chy373 avatar chy373 commented on May 29, 2024

@steffen-l thanks for your reply, I am sorry for my bad description about my problem, but I have solved my problem. However, another problem bothered me, I will be grateful if U can give me some advice.

I noticed that WebVOWL read json with a path of json file(like '/data/foaf.json'), but I want to get json from an api that return json(like 'localhost:8000/api/'), how can I change the behaviour of getting json in ontologyMenu.js

from webvowl.

linkvt avatar linkvt commented on May 29, 2024

WebVOWL consists of a visualization and an app. The WebVOWL app allows shortcuts to a few selected visualizations like foaf (e.g. webvowl.url/#foaf).

If you dont wan't to access the preconverted and cached foaf ontology (via /data/foaf.json) you need to use another URL like webvowl.url/#iri=http://xmlns.com/foaf/0.1/.

The next step is to change the OWL2VOWL instance WebVOWL is using in ontologyMenu.js#L90.
In your example you could maybe use http://localhost:8000/api/ instead of "convert?iri=.

If its not convenient for you to use something like webvowl.url/#iri=ontology instead of webvowl.url/#ontology you need to make bigger adjustments to the ontologyMenu.js or the whole app, since its developed to meet the conditions of the official WebVOWL instance.

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.