You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2012/11/27 11:54:38 UTC
svn commit: r1414124 -
/jena/site/trunk/content/documentation/query/property_paths.mdtext
Author: andy
Date: Tue Nov 27 10:54:37 2012
New Revision: 1414124
URL: http://svn.apache.org/viewvc?rev=1414124&view=rev
Log:
More fixing formatting.
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=1414124&r1=1414123&r2=1414124&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/property_paths.mdtext (original)
+++ jena/site/trunk/content/documentation/query/property_paths.mdtext Tue Nov 27 10:54:37 2012
@@ -28,23 +28,22 @@ name.
Syntax Form | Matches
----------- | -------
-<i><tt>uri</tt></i> | A URI or a prefixed name. A path of length one.
+<tt><i>uri</i></tt> | A URI or a prefixed name. A path of length one.
<tt>^<i>elt</i></tt> | Reverse path (object to subject)
-<tt>(<i>elt</i>)</tt> | A group path *`elt`*, brackets control precedence.
-<tt><i>elt1</i> / <i>elt2</i></tt> | A sequence path of *`elt1`*, followed by *`elt2`*
-<tt><i>elt1</i> ^ <i>elt2</i></tt> | Shorthand for `<i>elt1 / ^elt2</i>`, that is *`elt1`* followed by reverse *`elt2`*.
-<tt><i>elt1</i> | <i>elt2</i></tt> | A alternative path of *`elt1`*, or `<i>elt2</i>` (all possibilities are tried)
-<tt><i>elt</i>*</tt> | A path of zero or more occurrences of *`elt`*.
-<tt><i>elt</i>+</tt> | A path of one or more occurrences of *`elt`*.
-<tt><i>elt</i>?</tt> | A path of zero or one *`elt`*.
-<tt>!<i>uri</i></tt> | A path matching a property which isn't `<i>uri</i>` (negated property set)
+<tt>(<i>elt</i>)</tt> | A group path *`elt`*, brackets control precedence.
+<tt><i>elt1</i> / <i>elt2</i></tt> | A sequence path of *`elt1`*, followed by *`elt2`*
+<tt><i>elt1</i> `|` <i>elt2</i></tt> | A alternative path of <tt><i>elt1</i></tt>, or <tt><i>elt2</i></tt> (both possibilities are tried)
+<tt><i>elt</i>*</tt> | A path of zero or more occurrences of *`elt`*.
+<tt><i>elt</i>+</tt> | A path of one or more occurrences of *`elt`*.
+<tt><i>elt</i>?</tt> | A path of zero or one *`elt`*.
+<tt>!<i>uri</i></tt> | A path matching a property which isn't <tt><i>uri</i></tt> (negated property set)
<tt>!(<i>uri1</i>|...|<i>uriN</i>)</tt>* | A path matching a property which isn't any of `uri1 ... uri` (negated property set)
ARQ extensions: to use these you must use `Syntax.syntaxARQ`
Syntax Form | Matches
----------- | -------
-
+<tt><i>elt1</i> ^ <i>elt2</i></tt> | Shorthand for <tt><i>elt1 / ^elt2</i></tt>, that is *`elt1`* followed by reverse *`elt2`*.
<i><tt>elt</tt></i>`{n,m}` | A path between n and m occurrences of *`elt`*.
<i><tt>elt</tt></i>`{n}` | Exactly `n` occurrences of `elt`. A fixed length path.
<i><tt>elt</tt></i>`{n,}` | `n` or more occurrences of *`elt`*.