semtags
Tag store-result


To store the result of a SPARQL query into the context or write it in an xml external file. The query is specified either in attribute "query" or in the body of the tag. Namespaces declared at initialization may be used directly with out PREFIX declaration.


Tag Information
Tag Classfr.inria.semtags.query.StoreResultTag
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
queryfalsetruejava.lang.StringThe SPARQL query. Instead of setting the query with this attribute, the tag body content can be used.
varfalsetruejava.lang.StringThe variable name that will contain the query result (an fr.inria.acacia.corese.api.IResults object). Use it to save the result into the context. Default variable is named "result".
scopefalsetruejava.lang.StringThe scope of the variable that will contain the query result. Use it to save the result into the context. One of 'page', 'request', 'session' or 'application'. Default is 'page'.
filefalsetruejava.lang.StringTo save the result (in an xml syntax) into this given file instead of storing it (as an object) into the context.
xslfalsetruejava.lang.StringThe optional xsl stylesheet to customize the xml syntax of the result in case of a file storage.
enginefalsetruefr.inria.semtags.EngineWrapperThe engine instance to query ; default is "defaultEngineWrapper".

Variables
NameTypeDeclareScopeDescription
resultfr.inria.acacia.corese.api.IResultstrueAT_ENDIn case the result is stored into the default's variable.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.