Skip to content

site-bender/ontology-dev-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ontology Dev Server

Requirements

How to start

  1. make to start the server and load all ttl files. The default port is 3040. If you want to use 3050 instead, run make HOST_PORT=3050.
  2. Visit http://localhost:3040/#/dataset/ds/query.
  3. Query the following SPARQL, If you get http://..._news1, the dev server is running.
PREFIX main:   <https://raw.githubusercontent.com/site-bender/ontology-dev-server/main/src/main.ttl#> 
PREFIX news:   <https://raw.githubusercontent.com/site-bender/ontology-dev-server/main/src/news.ttl#> 
PREFIX places: <https://raw.githubusercontent.com/site-bender/ontology-dev-server/main/src/places.ttl#> 

SELECT ?news WHERE { places:_auckland main:mentionedIn ?news}
  1. Replace ttl files with your ontology.
  2. Have some fun.

How to reload manually

How to reload automatically

Jetbrains' IDE

  1. Go to Settings > Tools > File Watchers
  2. Import this watchers config
  3. Setup scope equal to ./src
  4. Setup working directory equal to ./

VS code

  • TODO

How to test

Edit Deno tests

For editing Deno tests in the e2e folder, you can install a Deno plugin.

Jetbrains' IDE

VS code

  • TODO

Log

All Fuseki logs will be printed to this log file.

APIs

Todo

About

Ontology development tool chain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published