Doc additions
This commit is contained in:
parent
955a1473fc
commit
fc3c288472
1 changed files with 6 additions and 3 deletions
|
@ -19,6 +19,7 @@ Example of registering a new association in a file named newListViews.n3:
|
||||||
Place this file in /vivo/productMods/WEB-INF/ontologies/app/loadedAtStartup,
|
Place this file in /vivo/productMods/WEB-INF/ontologies/app/loadedAtStartup,
|
||||||
redeploy and restart tomcat to put the new custom list view in effect.
|
redeploy and restart tomcat to put the new custom list view in effect.
|
||||||
|
|
||||||
|
|
||||||
-----------------
|
-----------------
|
||||||
REQUIRED ELEMENTS
|
REQUIRED ELEMENTS
|
||||||
-----------------
|
-----------------
|
||||||
|
@ -27,6 +28,7 @@ REQUIRED ELEMENTS
|
||||||
- query-select: sparql query used to retrieve data
|
- query-select: sparql query used to retrieve data
|
||||||
- template: the name of the template used to display a single property statement
|
- template: the name of the template used to display a single property statement
|
||||||
|
|
||||||
|
|
||||||
-----------------
|
-----------------
|
||||||
OPTIONAL ELEMENTS
|
OPTIONAL ELEMENTS
|
||||||
-----------------
|
-----------------
|
||||||
|
@ -37,14 +39,15 @@ OPTIONAL ELEMENTS
|
||||||
sending it to the template. If no postprocessor is specified, the default
|
sending it to the template. If no postprocessor is specified, the default
|
||||||
postprocessor will be invoked.
|
postprocessor will be invoked.
|
||||||
|
|
||||||
|
|
||||||
-----------------
|
-----------------
|
||||||
CONSTRUCT QUERIES
|
CONSTRUCT QUERIES
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
- Because SPARQL queries with multiple OPTIONAL clauses are converted to highly inefficient
|
- Because SPARQL queries with multiple OPTIONAL clauses are converted to highly inefficient
|
||||||
SQL by the Jena API, one or more construct queries should be included to improve query
|
SQL by the Jena API, one or more construct queries should be included to improve query
|
||||||
performance. They are used to construct a model that the select query is
|
performance. They are used to construct a model significantly smaller than the entire
|
||||||
run against.
|
dataset that the select query can be run against with reasonable performance.
|
||||||
|
|
||||||
- The construct queries themselves should not contain multiple OPTIONAL clauses, to prevent
|
- The construct queries themselves should not contain multiple OPTIONAL clauses, to prevent
|
||||||
the same type of inefficiency. Instead, use multiple construct queries to construct a
|
the same type of inefficiency. Instead, use multiple construct queries to construct a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue