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 2019/03/13 11:10:20 UTC
svn commit: r1855400 - in /jena/site/trunk/content/documentation:
fuseki2/fuseki-main.md io/rdf-output.mdtext io/rdfxml_howto.mdtext
query/faq.mdtext query/text-query.mdtext
Author: andy
Date: Wed Mar 13 11:10:20 2019
New Revision: 1855400
URL: http://svn.apache.org/viewvc?rev=1855400&view=rev
Log:
Fixes from CMS via dev@
Modified:
jena/site/trunk/content/documentation/fuseki2/fuseki-main.md
jena/site/trunk/content/documentation/io/rdf-output.mdtext
jena/site/trunk/content/documentation/io/rdfxml_howto.mdtext
jena/site/trunk/content/documentation/query/faq.mdtext
jena/site/trunk/content/documentation/query/text-query.mdtext
Modified: jena/site/trunk/content/documentation/fuseki2/fuseki-main.md
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/fuseki2/fuseki-main.md?rev=1855400&r1=1855399&r2=1855400&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/fuseki2/fuseki-main.md (original)
+++ jena/site/trunk/content/documentation/fuseki2/fuseki-main.md Wed Mar 13 11:10:20 2019
@@ -1,6 +1,6 @@
Title: Fuseki : Main Server
-Fuseki main is a packagign of Fuseki as trile store without a UI for administration.
+Fuseki main is a packaging of Fuseki as trile store without a UI for administration.
Fuseki can be run in the background by an application as an embedded server. The
Modified: jena/site/trunk/content/documentation/io/rdf-output.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/io/rdf-output.mdtext?rev=1855400&r1=1855399&r2=1855400&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/io/rdf-output.mdtext (original)
+++ jena/site/trunk/content/documentation/io/rdf-output.mdtext Wed Mar 13 11:10:20 2019
@@ -313,7 +313,7 @@ pass the "frame" in the `JSONLD_FRAME_PR
cases.
What can be done, and how it can be, is explained in the
-[sample code](https://github.com/apache/jena/tree/master/jena-arq/src-examples/arq/examples/riot/ExJsonLD.java).
+[sample code](https://github.com/apache/jena/tree/master/jena-arq/src-examples/arq/examples/riot/Ex_WriteJsonLD.java).
### RDF Binary
Modified: jena/site/trunk/content/documentation/io/rdfxml_howto.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/io/rdfxml_howto.mdtext?rev=1855400&r1=1855399&r2=1855400&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/io/rdfxml_howto.mdtext (original)
+++ jena/site/trunk/content/documentation/io/rdfxml_howto.mdtext Wed Mar 13 11:10:20 2019
@@ -52,9 +52,9 @@ applications, they are useful, see [belo
there is every intention to continue to support them. The RDF/XML
parser now checks to see if the `Model.read(Reader â¦)` calls
are being abused, and issues
-[`ERR_ENCODING_MISMATCH`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html#ERR_ENCODING_MISMATCH)
+[`ERR_ENCODING_MISMATCH`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html#ERR_ENCODING_MISMATCH)
and
-[`WARN_ENCODING_MISMATCH`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html#WARN_ENCODING_MISMATCH)
+[`WARN_ENCODING_MISMATCH`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html#WARN_ENCODING_MISMATCH)
errors. Most incorrect usage of `Reader`s for RDF/XML input will
result in such errors. Most incorrect usage of `Writer`s for RDF/XML
output will produce correct XML by using an appropriate XML
@@ -284,7 +284,7 @@ For RDF/XML and RDF/XML-ABBREV, there ar
`RDFReader` and the `RDFWriter`. N3 has options on the `RDFWriter`. These
options are detailed below. For RDF/XML they are also found in the
JavaDoc for
-`JenaReader.`[`setProperty`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/JenaReader.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`
+`JenaReader.`[`setProperty`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/JenaReader.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`
and
`RDFXMLWriterI.`[`setProperty`](/documentation/javadoc/jena/org/apache/jena/xmloutput/RDFXMLWriterI.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`.
@@ -294,7 +294,7 @@ For access to these advanced features, f
object that is an instance of an ARP parser, by using the
[`getReader`](/documentation/javadoc/jena/org/apache/jena/rdf/model/RDFReaderF.html#getReader())`()`
method on any `Model`. It is then configured using the
-[`setProperty`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/JenaReader.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`
+[`setProperty`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/JenaReader.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`
method. This changes the properties for parsing RDF/XML. Many of
the properties change the RDF parser, some change the XML parser.
(The Jena RDF/XML parser, ARP, implements the
@@ -303,7 +303,7 @@ over a [Xerces2-J](http://xml.apache.org
parser). However, changing the features and properties of the XML
parser is not likely to be useful, but was easy to implement.
-[`setProperty`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/JenaReader.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`
+[`setProperty`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/JenaReader.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`
can be used to set and get:
- ARP properties
@@ -334,9 +334,9 @@ ARP property names and string values are
Property Name | Description | Value class | Legal Values
------------- | ----------- | ----------- | ------------
`iri-rules` | Set the engine for checking and resolving. `"strict"` sets the IRI engine with rules for valid IRIs, XLink and RDF; it does not permit spaces in IRIs. `"iri"`sets the IRI engine to IRI ([RFC 3986](http://www.ietf.org/rfc/rfc3986.txt), [RFC 3987](http://www.ietf.org/rfc/rfc3987.txt)) `.` The default is `"lax"`(for backwards compatibility)`,` the rules for RDF URI references only, which does permit spaces although the use of spaces is not good practice. | String | `lax`<br />`strict`<br />`iri`
-`error-mode`| [`ARPOptions.setDefaultErrorMode()`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPOptions.html#setDefaultErrorMode()) <br />[`ARPOptions.setLaxErrorMode()`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPOptions.html#setLaxErrorMode())<br />[`ARPOptions.setStrictErrorMode()`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPOptions.html#setStrictErrorMode())<br />[`ARPOptions.setStrictErrorMode(int)`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPOptions.html#setStrictErrorMode(int))<br /> This allows a coarse-grained approach to control of error handling. Setting this property is equivalent to setting many of the fine-grained error handling properties. | `String` | `default`<br />`lax`<br />`strict`<br />`strict-ignore`<br />`strict-warning`<br />`strict-error`<br />`strict-fatal`
-`embedding` | [`ARPOptions.setEmbedding(boolean)`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPOptions.html#setEmbedding(boolean)) <br />This sets ARP to look for RDF embedded within an enclosing XML document. | `String` or `Boolean` | `true`<br />`false`
-`ERR_<XXX>` <br />`WARN_<XXX>`<br />`IGN_<XXX>` | See [`ARPErrorNumbers`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html) for a complete list of the error conditions detected. Setting one of these properties is equivalent to the method [`ARPOptions.setErrorMode(int, int)`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPOptions.html#setErrorMode(int,%20int)). Thus fine-grained control over the behaviour in response to specific error conditions is possible.| `String` or `Integer` | [`EM_IGNORE`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html#EM_IGNORE)<br />[`EM_WARNING`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html#EM_WARNING)<br />[`EM_ERROR`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html#EM_ERROR)<br />[`EM_FATAL`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html#EM_FATAL)
+`error-mode`| [`ARPOptions.setDefaultErrorMode()`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPOptions.html#setDefaultErrorMode()) <br />[`ARPOptions.setLaxErrorMode()`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPOptions.html#setLaxErrorMode())<br />[`ARPOptions.setStrictErrorMode()`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPOptions.html#setStrictErrorMode())<br />[`ARPOptions.setStrictErrorMode(int)`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPOptions.html#setStrictErrorMode(int))<br /> This allows a coarse-grained approach to control of error handling. Setting this property is equivalent to setting many of the fine-grained error handling properties. | `String` | `default`<br />`lax`<br />`strict`<br />`strict-ignore`<br />`strict-warning`<br />`strict-error`<br />`strict-fatal`
+`embedding` | [`ARPOptions.setEmbedding(boolean)`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPOptions.html#setEmbedding(boolean)) <br />This sets ARP to look for RDF embedded within an enclosing XML document. | `String` or `Boolean` | `true`<br />`false`
+`ERR_<XXX>` <br />`WARN_<XXX>`<br />`IGN_<XXX>` | See [`ARPErrorNumbers`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html) for a complete list of the error conditions detected. Setting one of these properties is equivalent to the method [`ARPOptions.setErrorMode(int, int)`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPOptions.html#setErrorMode(int,%20int)). Thus fine-grained control over the behaviour in response to specific error conditions is possible.| `String` or `Integer` | [`EM_IGNORE`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html#EM_IGNORE)<br />[`EM_WARNING`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html#EM_WARNING)<br />[`EM_ERROR`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html#EM_ERROR)<br />[`EM_FATAL`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html#EM_FATAL)
As an example, if you are working in an environment with legacy RDF
data that uses unqualified RDF attributes such as "about" instead
@@ -371,7 +371,7 @@ The other way round does not work.
â¦
This is because in strict mode
-[`IGN_DAML_COLLECTION`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html#IGN_DAML_COLLECTION)
+[`IGN_DAML_COLLECTION`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html#IGN_DAML_COLLECTION)
is treated as an error, and so the second call to `setProperty`
overwrites the effect of the first.
@@ -399,7 +399,7 @@ or other IRI rule engine from `IRIFactor
ARP can be interrupted using the `Thread.interrupt()` method. This
causes an
-[`ERR_INTERRUPTED`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/ARPErrorNumbers.html#ERR_INTERRUPTED)
+[`ERR_INTERRUPTED`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/ARPErrorNumbers.html#ERR_INTERRUPTED)
error during the parse, which is usually treated as a fatal error.
Here is an illustrative code sample:
@@ -438,7 +438,7 @@ the appropriate language, by using
or
[`getWriter`](/documentation/javadoc/jena/org/apache/jena/rdf/model/RDFWriterF.html#getWriter(java.lang.String))`("RDF/XML-ABBREV")`
on any `Model`. It is then configured using the
-[`setProperty`](/documentation/javadoc/jena/org/apache/jena/rdf/arp/JenaReader.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`
+[`setProperty`](/documentation/javadoc/jena/org/apache/jena/rdfxml/xmlinput/JenaReader.html#setProperty(java.lang.String, java.lang.Object))`(String, Object)`
method. This changes the properties for writing RDF/XML.
### Properties to Control RDF/XML Output
Modified: jena/site/trunk/content/documentation/query/faq.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/query/faq.mdtext?rev=1855400&r1=1855399&r2=1855400&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/faq.mdtext (original)
+++ jena/site/trunk/content/documentation/query/faq.mdtext Wed Mar 13 11:10:20 2019
@@ -1,11 +1,5 @@
Title: ARQ - Frequently Asked Questions
-java.lang.NoClassDefFoundError
- : The classpath is wrong. Include all the jar files in lib/. You
- need to name each one.
- See also
- "[The CLASSPATH and Environment Variables](http://www.dynamic-apps.com/tutorials/classpath.jsp)"
-
java.lang.NoClassDefFoundError : Exception in thread "main"
: The classpath is wrong. Include all the jar files in lib/
before running one of the command line applications.
Modified: jena/site/trunk/content/documentation/query/text-query.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/query/text-query.mdtext?rev=1855400&r1=1855399&r2=1855400&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/text-query.mdtext (original)
+++ jena/site/trunk/content/documentation/query/text-query.mdtext Wed Mar 13 11:10:20 2019
@@ -4,14 +4,14 @@ This extension to ARQ combines SPARQL an
[Lucene](https://lucene.apache.org) or
[ElasticSearch](https://www.elastic.co) (built on
Lucene). It gives applications the ability to perform indexed full text
-searches within SPARQL queries. Here is a compatibility table:
+searches within SPARQL queries. Here is a version compatibility table:
| Jena | Lucene | Solr | ElasticSearch |
-|------------|-------|----------------|----------------|
-| upto 3.2.0 | 5.x or 6.x | 5.x or 6.x | not supported |
-| 3.3.0 - 3.9.0 | 6.4.x | not supported | 5.2.2 - 5.2.13 |
-| 3.10.0 | 7.4.0 | not supported | 6.4.2 |
-| TBD | 7.5.x + | not supported | 6.5.x + |
+|------------------|--------------------|-------------------|----------------|
+| upto 3.2.0 | 5.x or 6.x | 5.x or 6.x | not supported |
+| 3.3.0 - 3.9.0 | 6.4.x | not supported | 5.2.2 - 5.2.13 |
+| 3.10.0 | 7.4.0 | not supported | 6.4.2 |
+| TBD | 7.5.x + | not supported | 6.5.x + |
SPARQL allows the use of
[regex](https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-regex)