In addition to the background graph, SPARQL can query any number of named graphs.
除了后台图,SPARQL还能查询任意数量的命名图。
In such a case, the graph pattern is applied to each of the named graphs available to the query.
在这种情况下,图形模式被应用到查询可以使用的每个命名图中。
Named graphs are used within a SPARQL query with the graph keyword, in conjunction with either a graph URI or a variable name.
在SPARQL查询内部用GRAPH关键字调用命名图,后面是图的URI或变量名。
Alternatively, named graphs can be provided to the sparql command with — named URL, with the URL giving the location of the graph.
另外,也可以用——namedURL把命名图提供给sparql命令,URL用于指定图的位置。
As with the background graph, named graphs can be specified within the query itself, using FROM named, where URI specifies the graph.
与后台图一样,命名图可以在查询内部用FROMNAMED指定,在这里,是通过uri来指定图。
Each matching binding of the graph pattern's variables to the model's nodes becomes a query solution, and the values of the variables named in the SELECT clause become part of the query results.
将每个图形模式变量的绑定与模型节点进行匹配就成为一种查询解决方案,而select子句中指定的变量值则成为查询结果的一部分。
Listing 11's graph clause matches on each person node in the named FOAF graphs given to the query.
清单11的graph子句和提供给查询的命名图中的每个人员节点匹配。
Adding two vertices to a graph and connecting them through an edge named "related_to" is done as following.
向一个图片添加两个顶点并将它们通过边连接起来的动作称之为“related _ to”,它是这么实现的。
In this example, the first triple in the WHERE clause's graph pattern matches a node with a foaf: name property of "Jon Foobar," and binds it to the variable named contributor.
在这个示例中,where子句的图形模式中的第一个三元组与foaf:name属性为“JonFoobar”的节点匹配,并把它绑定到名为contributor的变量。
The next three lines create the nodes of the graph, named node1, node2, and node3.
接下来的三行代码用于创建该图的节点,这些节点分别名为node1、node2和node3。
In this paper, a new method named "logic redecomposition" is presented, which aims at the delay of the subject graph.
针对主题图中的延时问题,提出了“再分解”这一新设计方法。
This paper presents a new method named "multilevel logic optimization for area" which aims at the area of the subject-graph.
该文针对主题图面积的优化问题,提出了“多级逻辑面积优化”设计方法。
This paper presents a new method named "multilevel logic optimization for area" which aims at the area of the subject-graph.
该文针对主题图面积的优化问题,提出了“多级逻辑面积优化”设计方法。
应用推荐