You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2012/11/26 21:45:30 UTC
svn commit: r1413822 -
/jena/site/trunk/content/documentation/query/property_paths.mdtext
Author: rvesse
Date: Mon Nov 26 20:45:29 2012
New Revision: 1413822
URL: http://svn.apache.org/viewvc?rev=1413822&view=rev
Log:
Add notes on which forms are legal SPARQL 1.1
Modified:
jena/site/trunk/content/documentation/query/property_paths.mdtext
Modified: jena/site/trunk/content/documentation/query/property_paths.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/query/property_paths.mdtext?rev=1413822&r1=1413821&r2=1413822&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/property_paths.mdtext (original)
+++ jena/site/trunk/content/documentation/query/property_paths.mdtext Mon Nov 26 20:45:29 2012
@@ -1,11 +1,12 @@
+ARQ - Property Paths
# ARQ - Property Paths
A property path is a possible route through a graph between two
graph nodes. A trivial case if a property path of length exactly
one, which is a triple pattern.
-Property paths involve syntactic extension and are available if the
-query is parsed with language `Syntax.syntaxARQ`.
+Most property paths are now legal SPARQL 1.1 syntax, there are some advanced property
+paths which are syntactic extensions and are only available if the query is parsed with language `Syntax.syntaxARQ`.
## Path Language
@@ -45,6 +46,8 @@ Syntax Form | Matches
`<i>!(uri1|...|uriN)</i>` | A path matching a property which isn't
`<i>any of uri1 ... uriN</i>` (negated property set) | A zero occurrence of an path element always matches.
+Most of these forms are legal SPARQL 1.1, the only exceptions are the `elt{}` forms. To use these you must use `Syntax.syntaxARQ`
+
Precedence:
1. URI, prefixed names
@@ -229,4 +232,4 @@ so the property function for `rdf:type`
PathLib.install(RDF.type.getURI(), path) ;
-[ARQ documentation index](index.html)
+[ARQ documentation index](index.html)
\ No newline at end of file