Re: Lists in Turtle, embed object directly

Victor ,

Yes it parses !

Please do me a favor:
install CWM , a command line tool :
http://www.w3.org/2000/10/swap/doc/CwmInstall

Or you can try my EulerGUI (Java) tool:
http://svn.code.sf.net/p/eulergui/code/trunk/eulergui/html/documentation.html#L931



2014-10-20 17:23 GMT+02:00 Victor Porton <porton@narod.ru>:

> The following Turtle file describes a workflow of two steps.
>
> @prefix : <http://example.org/stuff/1.0/> .
>
> :step1 :file <http://example.org1> ;
>        :obj  <http://example.org1> .
>
> :step2 :file <http://example.org2> ;
>        :obj  <http://example.org2> .
>
> :flow :list (:step1 :step2) .
>
> My question:
>
> Can it be rewritten without explicit definition of identifiers :step1 and
> :step2 but embed their defining properties directly in the list?
>
> Something like that (not sure whether it parses):
>
> :flow :list (
>   [:file <http://example.org1> ; :obj  <http://example.org1>]
>   [:file <http://example.org2> ; :obj  <http://example.org2>]
> ) .
>
> If it cannot be done in Turtle, then I prefer to switch to plain XML
> instead of RDF for this particular task.
>
> --
> Victor Porton - http://portonvictor.org
>
>


-- 
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 Monday, 20 October 2014 15:46:00 UTC