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:48:05 UTC
svn commit: r1414120 -
/jena/site/trunk/content/documentation/query/property_paths.mdtext
Author: andy
Date: Tue Nov 27 10:48:05 2012
New Revision: 1414120
URL: http://svn.apache.org/viewvc?rev=1414120&view=rev
Log:
Fix formatting - use HTML markup because nesting confuses the md processor.
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=1414120&r1=1414119&r2=1414120&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:48:05 2012
@@ -19,32 +19,36 @@ pattern, then this duplication is preser
Path example | Meaning
------------ | -------
-<tt>dc:title | rdfs:label</tt> | Dublin Core title or an RDFS label.
+<tt>dc:title | rdfs:label</tt> | Dublin Core title or an RDFS label.
`foaf:knows/foaf:name` | Name of people one "knows" steps away.
`foaf:knows/foaf:knows/foaf:name` | Name of people two "knows" steps away.
In the description below, *`uri`* is either a URI or a prefixed
name.
+Syntax Form | Matches
+----------- | -------
+<i><tt>uri</tt></i> | 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>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
----------- | -------
-*`uri`* | A URI or a prefixed name. A path of length one.
-*`^elt`* | Reverse path (object to subject).
-*`(elt)`* | A group path *`elt`*, brackets control precedence.
-*`elt1 / elt2`* | A sequence path of *`elt1`*, followed by *`elt2`*
-*`elt1 ^ elt2`* | Shorthand for `<i>elt1 / ^elt2</i>`, that is *`elt1`* followed by reverse *`elt2`*.
-*<tt>elt1 | elt2</tt>* | A alternative path of *`elt1`*, or `<i>elt2</i>` (all possibilities are tried)
-*`elt*`* | A path of zero or more occurrences of *`elt`*.
-*`elt+`* | A path of one or more occurrences of *`elt`*.
-*`elt?`* | A path of zero or one *`elt`*.
-*`elt{n,m}`* | A path between n and m occurrences of *`elt`*.
-*`elt{n}`* | Exactly *`n`* occurrences of *`elt`*. A fixed length path.
-*`elt{n,}`* | *`n`* or more occurrences of *`elt`*.
-*`elt{,n}`* | Between 0 and *`n`* occurrences of *`elt`*.
-*`!uri</i>`* | A path matching a property which isn't `<i>uri</i>` (negated property set)
-*<tt>!(uri1|...|uriN)</tt>* | A path matching a property which isn't any of `uri1 ... uri` (negated property set)
-Most of these forms are legal SPARQL 1.1, the only exceptions are the `elt{}` forms. To use these you must use `Syntax.syntaxARQ`
+<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`*.
+<i><tt>elt</tt></i>`{,n}` | Between 0 and `n` occurrences of *`elt`*.
Precedence: