view classical/static-rdf-server.pl @ 19:94ae77e787b8

Load tidied Turtle
author Chris Cannam
date Tue, 07 Nov 2017 15:16:26 +0000
parents 539f85ff6124
children 9e70cd92f14e
line wrap: on
line source
#!/usr/local/bin/swipl

:- assertz(file_search_path(cliopatria, '/var/www/sites/ClioPatria')).

:- use_module(library(http/http_unix_daemon)).
:- use_module(cliopatria(cliopatria)).

:- rdf_db:rdf_load('static-rdf/classicaldb-20091211-d.ttl').

:- set_setting_default(http:prefix, '/classical/cliopatria').

:- http_daemon([port(2145), fork(false)]).