About syntax interface (URL - Predicates - Semantic - RESTFul and so
on)
I search - I found ()
http://www.w3.org/DesignIssues/Notation3 ()
I read this document some months ago - I am happy because I lost the
reference
Citation [Tim Berners-Lee, Editor
First version date: 1998,
Last change: $Id: Notation3.html,v 1.135 2006/03/09 02:59:33 timbl Exp
$]
N3 RDFa OWL are in some family but can we Transform one of these
syntax to Another ? (XSLT - Rewriting)
According to the drawing: NO - Theoretically saying == Not isomorph
Anyway. That is very important is: these languages are imperative (as
Prolog)
The underlying rule is: be imperative when you can - If you cannot try
again - Then call a function
I prefer N3 but too formal, not easily understandable (too compact)
Some timbl pages are like that
[difficult to find,but they are very clear if we think before for
other things]
I found another design issue
http://www.w3.org/DesignIssues/N3QL.html
Anyway XOrion - XML must goes on - We cannot solve all theory issues -
Bur we must be aware
Dominique Rabeuf XRX/NXD Member
On 8 oct, 01:33, Kurt Cagle <
kurt.ca...@gmail.com> wrote:
> To help get things kicked off, I thought it might be worth laying out a few
> ideas I have on core architecture.
>
> The examples given here are built with an eye towards eXist usage, but at
> the same time I'm trying to keep this sufficiently generic that porting to
> different XML database systems should be relatively simple.
>
> In general, nearly every transaction that takes place makes use of a RESTful
> interface, broken out in the following way (this assumes URL rewriting
> capability in the system):
>
> 1)http://server.com:port/xorion/collection[/subcollections][//key].presentation[?[q=queryexpr;][s=sortexpr;][p=page;] [pg=pagesize;]]
>
> where [ ] indicates optional content.
>
> Thus, if you wanted to access the second page of blogs written by Kurt Cagle
> as an HTML table, in descending order, which features the category term
> "xml", then the full expression may look something like:
>
> 2)
http://server.com:8100/xorion/blogs.blocktable.html?q=author:Kurt+Cag...
>
> while an individual blog (say the one with title "Xorion Does and Don'ts"
> might be given as:
>
> 3)
http://server.com:8100/xorion/blogs//xorion+does+and+donts.page.html
>
> Everything that presents content has a URL - blocks, panels, and pages.
>
> Every page directed to the website is actually sent to one internal URL:
>
> 4)
http://server.com:8100/rest/xorion/dispatch.xq,
>
> which parses the given URL to determine the underlying collection, key,
> presentation, query string, sort string, page and page size. I believe that
> in a restful system these are ultimately just about all of the variables
> that are needed for determining sufficient state for the application.
>
> Now, given this, one point that can (and should) be asked, is why the URL in
> #2 doesn't look like:
>
> 5)
http://server.com:8100/xorion/blogs/Kurt+Cagle/xml/.blocktable.html?s...
>
> The reason for the differentiation here is that internally, a collection
> (such as blogs) is bound to a specific query (usually in XQuery) through
> what I call a services contract (in a file called services.xml). Collections
> are essentially just names that may or may not correspond to an actual set
> of resources, though in most cases it makes a great deal of sense to do so
> (these resources are usually contained internally in a collection
> /db/../site/resources/*resourceName*/data). Thus, if Xorion kept all of the
> blog entries in the resource folder "blogs" then the collection would be in
> /db/../site/reources/blogs/data (where the ellision indicates that there may
> be some unknown set of intermediate database collections between the root
> and site.
>
> Sub-collections are collections that start with the primary collection name
> (such as /blogs) but then add qualifiers (/blogs/published). These
> subcollections use the same resource data as the primary collections, but
> point to a different pipeline for processing. The query string parameter
> contained in the q parameter (assuming semi-colon rather than ampersand
> based delimiters) provides a set of parameters for the query being invoked,
> and these parameters may change depending upon the given script.
>
> Now, there are two possibilities for interpreting a given URL. One is to use
> the approach in #5, but that assumes that these are the only constraints
> acting on the blogs set, and that there are no possibilities for
> subcollections. If you had a thousand bloggers, this act could be quite
> expensive. On the other hand, if you go:
http://server.com:8100/xorion/blogs.block_table.html?q=author:Kurt+Ca...
> the search for the
> */blogs* collection involves a much smaller subset of possibilities in the
> services.xml document for the appropriate query. Significantly, one
> subcollection could be */blogs/authors* which would then simplify the
> expected query string parameter:
>
> 6)
http://server.com:8100/xorion/blogs/authors.blocktable.html?q=Kurt+Cagle