Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change name of class of rdfs:literal #43

Closed
chy373 opened this issue Mar 11, 2016 · 3 comments
Closed

how to change name of class of rdfs:literal #43

chy373 opened this issue Mar 11, 2016 · 3 comments
Labels

Comments

@chy373
Copy link

chy373 commented Mar 11, 2016

I change the label, but it doesn't work

@steffen-l
Copy link
Contributor

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

@chy373
Copy link
Author

chy373 commented Mar 11, 2016

@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

@linkvt
Copy link
Member

linkvt commented Mar 11, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants