RDF metadata should be considered to support
metadata manipulation operations, as well as the
similar functions are supported by SQL in a
relational database system.
z Lack of Result Format Declaration
The existing RDF query languages retrieve the
search result in an unordered and ambiguous way.
It takes more time for machine to understand and
process the retrieval results. It will be effective
and powerful if an expected result format is
declared in the RDF query language.
As a solution to the above problems, we have
proposed an XML-based RDF query language,
named xRQL, to manipulate RDF resource
description and RDF schemas. It relies on the RDF
graph data model that captures the RDF modeling
primitives and permits the interpretation of
superimposed resource description. xRQL adopts the
functionality of an XML query language (D.
Chamberlin, 2001), several object-oriented query
languages (ODMG,1998, Serge, 1989, Zeki, 1996,
Flavius, 2002) and a graph query language
(Jeonghee, 1999, R.Fikes, 2001). So it’s expected to
be a standard query language for manipulation of
RDF resource description stored in the distributed
RDF repositories.
Section 2 summarizes the requirements that an
RDF query language should satisfy. In Section 3, we
depict xRQL design concepts and xRQL syntax in
details, and give some typical examples. In Section
4, a native RDF management system that supports
xRQL is briefly introduced. Finally, we summarize
our contributions and show our considerations in the
future research in Section 5.
2 REQUIREMENTS OF AN RDF
QUERY LANGUAGE
We summarize the general requirements of an RDF
query language as follows.
z Machine Readability: RDF query language
syntax should be human readable and
machine understandable for processing RDF
metadata easily and efficiently between the
distributed heterogeneous metadata
repositories.
z Support for RDF Data Model: RDF query
language should support the RDF data
model (e.g. resources, properties, values),
which is similar to the object-oriented data
model. This means RDF query language
should support concepts in the object-
oriented data model, such as class
hierarchies and inheritance.
z RDF Schema Query: Besides the
manipulation functions of the distributed
heterogeneous metadata represented in RDF,
the retrieval function of schema definitions
for the vocabularies used in any given block
of RDF data is needed. Since schema
definitions are defined by using the RDF
Schema (RDFS) Specification, which
provide information about relationships
between classes and properties which might
be used in queries, RDF query language
should be able to query RDF schemas which
are implicit in any RDF data model.
z Inference: Because of the hierarchical
vocabularies defined in RDFS specification,
such as subClassof and subPropertyof, an
RDF query language should support the
operations of inferring “implicit”
relationships between classes and properties.
z RDF Metadata Manipulation: In addition
to basic search functions, RDF query
language should support the operations of
creation, modification and deletion of RDF
metadata. These operations, not yet
supported by the current query languages,
will be attractive to the clients who want to
construct their own RDF metadata
repositories based on given RDF schemas.
z Definition of Search Result Format: In
order to achieve the efficient processing of
search results, the capability of defining
search result format should be available in
RDF query language. That will help the
clients to retrieve the search results in their
favorite formats.
3 XML-BASED RDF QUERY
LANGUAGE: xRQL
xRQL is a logic language relying on a functional
approach. It consists of an operator declaration, a
RDF data description and a result description. Based
on RDF graph data model, xRQL defines a graphical
path expression with variables, in the same way as
Graphical Object-Oriented Query Language (GOQL)
(L.Sheng, 1999) for describing RDF data. It also
adopts the object-oriented model (D.Chamberlin,
2001) for creation, modification and deletion
operations of RDF data. Users can define their
favorite XML-compliant result formats by
themselves, in the same way as XQuery (ODMG,
1998). In addition, a set of RDF schema operations
is defined to manipulate the class and property
hierarchies.
WEBIST 2005 - WEB INTERFACES AND APPLICATIONS
320