idlabresearch / owlturtle2http Goto Github PK
View Code? Open in Web Editor NEWA node server application which can be configured with a owl ttl file into a nice interface
A node server application which can be configured with a owl ttl file into a nice interface
When an ontology is served through the owlturtle2http server, all underlying classes and properties get the right response (303):
$ curl -I -H "Accept: text/turtle" http://semweb.datasciencelab.be/ns/up/assertionConfidence
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 303 See Other
Date: Tue, 27 Sep 2016 12:47:19 GMT
Server: Apache
X-Powered-By: Express
Location: http://semweb.datasciencelab.be/ns/up
Vary: Accept
Content-Type: text/plain
However, when generating the .htaccess file with ./serve to handle the content negotation while still allowing the hosting of other files in the ontology directory (e.g., supporting files, previous versions, etc.), you get a 404 for these classes/properties:
curl -I -H "Accept: text/turtle" http://semweb.datasciencelab.be/ns/prov-said/Message
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 404 Not Found
Date: Tue, 27 Sep 2016 12:46:37 GMT
Server: Apache/2.2.14 (Ubuntu)
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1
It looks like 3d02ce5 broke asset locations, as can be seen here: http://semweb.datasciencelab.be/ns/multidimensional-interface/
If I'm correct, this tool generates the assets folder next to the ontology folder, and since the ontology folder contains the desired index file, the path should first go to the parent folder before going to the assets.
So I think this commit should be reverted (except for the copyright statement probably ;-) ).
Apparently, this new version doesn't support special characters properly.
For example:
...Range Fragments whose interval overlap with the Range Gate’s interval.
should be
...Range Fragments whose interval overlap with the Range Gate's interval.
HTML: http://semweb.datasciencelab.be/ns/multidimensional-interface
OWL: https://git.datasciencelab.ugent.be/rtaelman/vocabulary-multidimensional-interface/blob/master/multidimensional-interface.owl
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.