- From: David Booth <david@dbooth.org>
- Date: Fri, 23 Feb 2018 17:00:10 -0500
- To: semantic-web@w3.org
- Cc: Victor Porton <porton@narod.ru>
On 02/15/2018 11:45 AM, Victor Porton wrote: [ . . . ] > I may also propose to produce new version of Turtle format which would > allow to add "labeled" objects to a list? Let us discuss the exact > details of this possible new extension to Turtle syntax. It seems to me that what you want would not be a variant of the list syntax, but a variant of the anonymous node syntax (square brackets), which would allow an IRI to be specified for the node. For example, Turtle could be extended to allow the "[=" symbol to name a node inline, but otherwise act as the "[" symbol, in allowing properties to be provided inline: ############################################### @prefix : <http://portonvictor.org/ns/trans/internal/> . @prefix lang: <http://portonvictor.org/ns/trans/scripts/#> . :boiler :interpretersList ( [= lang:xsltproc :langMinVersion "1.0" ; :langMaxVersion "1.0" ; :command ("xsltproc" [ :params ("--param" :name :value) ] :script) ; :debianPackage "xsltproc" ] #... ) . ############################################### I could see a Turtle extension like that being convenient and useful. I don't know if it would add enough value to be worth the cost though, but I think it is worth considering. David Booth
Received on Friday, 23 February 2018 22:00:34 UTC