- From: Thomas Francart <thomas.francart@sparna.fr>
- Date: Tue, 13 May 2014 09:45:33 +0200
- To: Stéphane Campinas <stephane.campinas@deri.org>
- Cc: semantic-web@w3.org
- Message-ID: <CAPugn7U8oNvR6eOAj=3s1C-1fhdpHxq91gH-8wMN==ytT7E7YA@mail.gmail.com>
Note that Sesame itself uses a kind of Turtle template mechanism to configure its repositories, in which user-provided values are inserted. See [1] for these template files, [2] for some explanations. You may find reusable code for your purpose. Cheers [1] : https://bitbucket.org/openrdf/sesame/src/397b90f9552b82d3a814ecc8c2534e56b3fa3115/core/repository/api/src/main/resources/org/openrdf/repository/config/?at=2.7.9 [2] : http://answers.semanticweb.com/questions/16108/createdelete-a-sesame-repository-via-http 2014-05-13 0:23 GMT+02:00 Stéphane Campinas <stephane.campinas@deri.org>: > Hi Bernadette, > > For the task I have, a simple tool such as freemaker or mustache is > enough. I just needed to be flexible regarding the schema of the generated > rdf data. > However, I checked Callimachus and it does seem interesting for some other > projects I have. Thanks for sharing! > > Cheers, > > On 12/05/14 16:23, Bernadette Hyland wrote: > > Hi Stephane, > Have you had a look at Callimachus as a possible tool? It is a template > driven data platform based on Linked Data. The open source version of > Callimachus uses Sesame as the persistent store.[1] > > Callimachus Open Source allows you create templates in a Web browser > using JavaScript, HTML & CSS3 to create a nicely themed (using Bootstrap 3) > data driven app. There is an intro video, some newly updated developer > tutorials and a active open source community supporting it. You may find > Callimachus Open Source useful for what you described. > > For example, we have a site running that serves about 500M web pages > that uses only 9 XHTML+RDFa templates to create the pages. > > > Cheers, > > Bernadette Hyland > CEO, 3 Round Stones, Inc. > > http://3roundstones.com > http://about.me/bernadettehyland > > > [1] http://callimachusproject.org > > > On May 10, 2014, at 8:54 AM, Stéphane Campinas < > stephane.campinas@deri.org> wrote: > > Hi, > > Do you know of any tool that creates RDF statements based on some template > ? > > For example, let's imagine I have the following template: > > <http://acme.org/${id}> <http://acme.org/$%7Bid%7D> > <http://acme.org/predicate1> <http://acme.org/predicate1> "${something}" . > <http://acme.org/${id}> <http://acme.org/$%7Bid%7D> > <http://acme.org/predicate2> <http://acme.org/predicate2> > <http://acme.org/${person}> <http://acme.org/$%7Bperson%7D> . > > > where *${...}* are variables. Then, by providing values for these > variables, the following statements would be created: > > ${id} = e1 ${something} = blabla ${person} = john > > <http://acme.org/e1> <http://acme.org/e1> <http://acme.org/predicate1><http://acme.org/predicate1>"blabla" . > <http://acme.org/e1> <http://acme.org/e1> <http://acme.org/predicate2><http://acme.org/predicate2> > <http://acme.org/john> <http://acme.org/john> . > > Have you seen any such tool ? > > Thanks > > -- > Stephane Campinas > > > > -- > Stephane Campinas > > -- *Thomas Francart* - Sparna Consultant Indépendant Data, Sémantique, Contenus, Connaissances web : http://sparna.fr, blog : http://francart.fr Tel : +33 (0)6.71.11.25.97 Fax : +33 (0)9.58.16.17.14 Skype : francartthomas
Received on Tuesday, 13 May 2014 07:46:22 UTC