Fwd: RDF Template

Bonjour Stéphane

Depending on on your software environment,
you can choose one of the so called "template engines" ;
in Java there is freemarker and others :
http://java-source.net/open-source/template-engines


2014-05-10 14:54 GMT+02:00 Stéphane Campinas <stephane.campinas@deri.org>:

 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
>
>


-- 
Jean-Marc Vanel
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
http://deductions-software.com/
+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui



-- 
Jean-Marc Vanel
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
http://deductions-software.com/
+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui

Received on Saturday, 10 May 2014 13:14:09 UTC