但是,根据用图5的定制文档模型定义的索引,执行以下查询却不返回结果,尽管引用了文档的相同部分。
However, issuing the following query, based on an index defined with the custom document model in Figure 5, will return no results, although the same part of the document is referenced.
例如,以下查询将搜索限制到图5的文档模型中名称“description”所标识的文档部分,从而返回一个结果。
For example, the following query returns a result by limiting search to the document part identified by name "description" in the document model of Figure 5.
在使用Jena的API时,通过某个查询的FROM子句、sparql命令的——data开关或者通过向QueryExecutionFactory . create传递一个模型来指定的图。
The background graph is what is specified by a query's FROM clause, by the sparql command's — data switch, or by passing a model to QueryExecutionFactory.create when using Jena's API.
应用推荐