arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1311.3879cs.DB
收藏

查询SPARQL查询带路径的模RDF模式

Answering SPARQL queries modulo RDF Schema with paths

Faisal Alkhateeb, Jérôme Euzenat

摘要:

SPARQL是RDF图的标准查询语言。在其严格的实例化中,它只提供根据RDF语义的查询,因此会忽略相对于(RDF)模式或(OWL)本体表达的数据的语义。已经提出了对SPARQL的几个扩展来查询RDF数据模RDFS,即,用RDFS语义解释查询和/或考虑外部本体。我们介绍了一个通用的框架,它允许表示查询回答模一个特定的语义在一个同质的方式。在本文中,我们讨论了扩展SPARQL,使用正则表达式来导航RDF图,并可用于回答查询考虑RDFS语义。我们也认为他们的嵌入作为SPARQL的扩展。这些SPARQL扩展解释建议的框架内,他们的缺点。特别是,我们表明,PSPARQL查询语言,一个严格的扩展SPARQL提供传递闭包,允许回答SPARQL查询模RDFS图与SPARQL通过一个简单的转换查询相同的复杂性。我们也考虑语言,除了路径,提供约束。特别是,我们提出并比较nSPARQL和我们的建议CPSPARQL。我们表明,CPSPARQL是足够的表达,以回答完整的SPARQL查询模RDFS。最后,我们比较了nSPARQL和相应的CPSPARQL片段的表达能力和复杂性,我们称之为cpSPARQL。我们表明,这两种语言具有相同的复杂性,通过cpSPARQL,作为一个适当的扩展SPARQL图形模式,是更有表现力比nSPARQL。

英文摘要:

SPARQL is the standard query language for RDF graphs. In its strict instantiation, it only offers querying according to the RDF semantics and would thus ignore the semantics of data expressed with respect to (RDF) schemas or (OWL) ontologies. Several extensions to SPARQL have been proposed to query RDF data modulo RDFS, i.e., interpreting the query with RDFS semantics and/or considering external ontologies. We introduce a general framework which allows for expressing query answering modulo a particular semantics in an homogeneous way. In this paper, we discuss extensions of SPARQL that use regular expressions to navigate RDF graphs and may be used to answer queries considering RDFS semantics. We also consider their embedding as extensions of SPARQL. These SPARQL extensions are interpreted within the proposed framework and their drawbacks are presented. In particular, we show that the PSPARQL query language, a strict extension of SPARQL offering transitive closure, allows for answering SPARQL queries modulo RDFS graphs with the same complexity as SPARQL through a simple transformation of the queries. We also consider languages which, in addition to paths, provide constraints. In particular, we present and compare nSPARQL and our proposal CPSPARQL. We show that CPSPARQL is expressive enough to answer full SPARQL queries modulo RDFS. Finally, we compare the expressiveness and complexity of both nSPARQL and the corresponding fragment of CPSPARQL, that we call cpSPARQL. We show that both languages have the same complexity through cpSPARQL, being a proper extension of SPARQL graph patterns, is more expressive than nSPARQL.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑