Are there examples of such macros and scripts? Jon https://delicious.com/jon80
On 20 December 2015 at 13:02, Andy Seaborne <[email protected]> wrote: > In assemblers, URIs are just names. They are not dereferenced, nor is > there an include mechanism. > > One way around this, for some situations, is to build the configurations > files as the service starts with a macro processor/templating solution of > your choice. > > Andy > > > > On 20/12/15 09:02, Neubert, Joachim wrote: > >> Thanks for looking into this! The URI was supposed to be just a name, not >> to be dereferenced. Your question triggered the idea of a more simple >> solution (omitting an additional namespace and referencing the according >> definition in config.ttl directly): >> >> <#swdskosIndex> a text:TextIndexLucene ; >> text:entityMap <file:///opt/fuseki/run/config.ttl#entMap> . >> >> However, that resulted in the same error: >> >> [2015-12-20 09:52:40] Server ERROR Exception in initialization: the >> root file:///opt/fuseki/run/config.ttl#entMap has no most specific type >> that is a subclass of ja:Object >> >> I've double checked that /opt/fuseki/run/config.ttl#entMap exists, so >> that doesn't seem to work either. >> >> Cheers, Joachim >> >> -----Original Message----- >>> From: Jonathan Camilleri [mailto:[email protected]] >>> Sent: Sunday, December 20, 2015 8:55 AM >>> To: [email protected] >>> Subject: Re: Fuseki 2 text: how to factor out entMap in configuration >>> >>> The page you quoted isn't loading is this a temporary problem? >>> http://zbw.eu/namespaces/fuseki/entMap >>> >>> On 20 December 2015 at 07:50, Neubert, Joachim <[email protected]> >>> wrote: >>> >>> I have about a dozend services which share a common text:entityMap >>>> definition for their text indexes. When moving to Fuseki 2 style >>>> config, I've tried to define entMap in config.ttl (with an absolute >>>> URI) and to reference this URI in the config files of the services. >>>> >>>> When fuseki starts up and loads the services' .ttl, I get: >>>> >>>> [2015-12-20 07:45:03] Server ERROR Exception in initialization: the >>>> root http://zbw.eu/namespaces/fuseki/entMap has no most specific type >>>> that is a subclass of ja:Object >>>> >>>> Now I'm not sure if such a sharing of definitions supposed to work, or >>>> if perhaps another approach should be followed. >>>> >>>> >>> >>> >>> -- >>> Jonathan Camilleri >>> >>> Mobile (MT): ++356 7982 7113 >>> E-mail: [email protected] >>> Please consider your environmental responsibility before printing this e- >>> mail. >>> >>> I usually reply to emails within 2 business days. If it's urgent, give >>> me a call. >>> >> > -- Jonathan Camilleri Mobile (MT): ++356 7982 7113 E-mail: [email protected] Please consider your environmental responsibility before printing this e-mail. I usually reply to emails within 2 business days. If it's urgent, give me a call.
