. 5
Extending it with metadata restrictions yields:
[33] FLWORExpr ::= (ForClause |
LetClause)+ MetadataClause?
WhereClause? OrderByClause?
"return" ExprSingle
Symbol MetadataClause derives the metadata
clause by the following productions:
MetadataClause ::= “metadata”
“$” VarName (“,” “$” VarName)*
“in” SPARQLQuery
The symbol VarName belongs to the XQuery
grammar and derives a variable name. In its turn,
symbol SPARQLQuery derives a SPARQL query
using the grammar defined in (Prud’hommeaux and
Seaborn, 2006).
4 CONCLUSION
In this paper, we informally propose to integrate data
and metadata search in the same query language. We
believe this can help users to get useful information.
As future work, we intend to formalize the proposed
XPath and XQuery extensions, like the metadata
clause. This formalization will take into account
many aspects concerning metadata. For example,
intra- and inter-document links must be considered.
Once the extension is formalized, we intend to
create a prototype processing environment for the
extended XQuery. We can use existing XQuery and
SPARQL query processors integrated with editing
and results visualization. We intend, then, to test the
prototype and the usefulness of the approach using
existing document collections and respective
metadata.
REFERENCES
Amer-Yahia, S., Botev, C., buxton, S., Case, P., Doerre, J.,
Holstege, M., McBeath, D., Rys, M.,
Shanmusgasundaram, J., 2006. XQuery 1.0 and XPath
2.0 Full-Text W3C Working Draft Draft 1 May 2006,
http://www.w3.org/TR/xquery-full-text/.
Berglund, A., Boag, S., Chamberlin, D., Fernandez, M.,
Kay, M., Robie, J., Siméon, J., 2006. XML Path
Language (XPath) 2.0 W3C Proposed
Recommendation 21 November 2006,
http://www.w3c.org/TR/2006/PR-xpath20-20061121.
Boag, S., Chamberlin, D., Fernandez, M., Florescu, D.,
Robie, J., Siméon, J., 2006. XQuery 1.0: An XML
Query Language W3C Proposed Recommendation 21
November 2006, http://www.w3c.org/TR/2006/PR-
xquery-20061121/.
Corby, O., Dieng-Kuntz, R. and Faron-Zucker, C., 2004.
Querying the Semantic Web with Corese Search
Engine, 3rd Prestigious Applications Intelligent
Systems Conference (PAIS), Valencia, Spain, 2004.
Dublin Core Metadata Initiative, 2006. URL:
http://dublincore.org/ (last updated: 18 December
2006).
Finin, T., Ding, L., Pan, R., Joshi, A., Kolari, P., Java, A.
and Peng. Y., 2005. Swoogle: Searching for
knowledge on the Semantic Web, National
Conference on Artificial Intelligence (AAAI) 2005,
Intelligent Systems demo, Pittsburgh, Pennsylvania,
USA, July 2005.
Fluit, C., Sabou, M. and Harmelen, F., 2005. Ontology-
based information visualization: towards semantic web
applications. In Visualising the semantic web (2nd
edition), Valdimir Geroimenks Editor, Springer
Verlag, 2005.
Manola, F. and Miller, E., 2004. RDF Primer W3C
Recommendation 10 February 2004. URL:
http://www.w3.org/TR/rdf-primer/.
Prud’hommeaux, E. and Seaborn, A., 2006. SPARQL
Query Language for RDF W3C Working Draft, 4
October 2006. URL: http://www.w3.org/TR/rdf-
sparql-query/.
WEBIST 2007 - International Conference on Web Information Systems and Technologies
332