anukat2015 / elda

Automatically exported from code.google.com/p/elda
0 stars 0 forks source link

Need to define variable length lists in views #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
There is currently no mechanism that allows a view to include arbitrary length 
RDF list.  This is essential functionality for my current application.

I have currently working around it by including in my view the property paths:

  foo.first,foo.rest.first,foo.rest.rest.first,...

This only supports a list upto a  maximum length and is horribly cumbersome if 
one wishes to define a set of property paths from the elements of the list to 
be included in the view.

I would like to be able to express:

  foo.rest*.first

which would do what I want quite nicely.

I noticed that I can put an api:template property on a view that specifies the 
construct part of query.  This mechanism only allows one to specify a view 
using graph patterns that can appear in both the select and construct part of 
query.  This does not include, for example, variable length property paths.  If 
it were possible to specifiy the construct clause and select clause 
independently, that would I think be a sufficient, though inelegant way of 
addressing my need to arbitrary length lists in views.

Original issue reported on code.google.com by br...@epimorphics.com on 29 Jan 2013 at 1:06