Improve RDF Turtle output of lists
With lutra 0.5.0-alpha-4 I get the following output from formatting a template:
<http://candidate.ottr.xyz/rdf/Type>
a ottr:Template ;
ottr:parameters ([ ottr:type ottt:IRI ;
ottr:variable <http://candidate.ottr.xyz/rdf/Type#resource>
] [ ottr:type owl:Class ;
ottr:variable <http://candidate.ottr.xyz/rdf/Type#class>
]) ;
ottr:pattern
[ ottr:arguments ([ ottr:value <http://candidate.ottr.xyz/rdf/Type#resource>
] [ ottr:value rdf:type
] [ ottr:value <http://candidate.ottr.xyz/rdf/Type#class>
]) ;
ottr:of <http://candidate.ottr.xyz/rdf/Triple>
] .
Personally, I would rather see better grouping of the blank nodes in the lists, something like (showing just a sample of the above)
ottr:parameters (
[ ottr:type ottt:IRI ; ottr:variable <http://candidate.ottr.xyz/rdf/Type#resource> ]
[ ottr:type owl:Class ; ottr:variable <http://candidate.ottr.xyz/rdf/Type#class> ]
) ;