|
From: Max - M. <ma...@mi...> - 2015-05-22 21:37:35
|
Hi Rob and all,
Glad to see you merged the PR for the CORE-445 issue.
While still working on the pending SPIN PR merge and new features, I need
adding a presentation layer (i.e. template engine) to the library. It may
be most possibly SWP-based (to stay in scope), but it depends on potential
licencing issues (any opinion welcome here).
Regardless of the technology, there are some issues due to SPARQL caveats
and simple performance considerations relating to the workings and classic
use-cases of template engines :
- most templates involve hierarchical data presentation which would
require sub queries
- nested subsequent query evaluation tends to become expensive the more
data you get to display
- event when limiting results, subsequent queries requiring variable
restrictions involving blank nodes are node possible in SPARQL
After analysis, I believe it is possible to build an efficient template
engine under the following conditions:
- templates must be pre-compiled to discover any possible subsequent
fetching requirements (dependencies on blank nodes, expressions/variables
output...)
- subsequent queries involved in the template must be merged into a
single query while the results must be dispatched to the relevant display
and flow control
- templates must be converted into an .NET processable form (either
using legacy .NET databound controls or using any template engine like
razor, mustache... that can feed on the result
My questions are:
does anyone know of an accessible (licence-wise) and
simple/elegant/easy/whatever template syntax that can be used with semantic
data ?
Subsequently, does anyone know where SWP stands since TopBraid's
vocabularies are public but with no explicit licence/copyright attached ?
And last but not least : would anyone be game to work on this with me ?
Thanks for any help/proposition/advice/reference.
Cheers,
Max.
|