在这个示例中,where子句的图形模式中的第一个三元组与foaf:name属性为“JonFoobar”的节点匹配,并把它绑定到名为contributor的变量。
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子句引入第二个变量concept并定义与图形匹配的三元组。
The WHERE clause introduces a second variable, concept, and defines triples that are matched against the graph.
您不仅能够将序列直接传递给构造函数,还可以将拥有元组或字符串的变量传递给list 构造函数。
You aren't limited to passing a sequence directly into the constructor; you can also pass a variable that holds a tuple or a string into the list constructor.
例子里的第二个case,我们已经解出了元组里的值并且附给了局部变量,然后在结果表达式中使用了这些变量。
In the second case in this example, we've extracted the values inside the tuple to scoped variables, then reused these variables in the resulting expression.
元组赋值:一种赋值语句,等号右侧用一个序列,左侧为一个变量构成的元组。
An assignment with a sequence on the right side and a tuple of variables on the left.
下面的示例演示如何循环一个序列,以及如何使用元组模式来代替简单变量。
The following example shows how to loop over a sequence, and how to use a tuple pattern instead of a simple variable.
探讨了不同变量组合的各方程的相关性,证明三元组合为最佳;
The study on the correlativity among equations of different variable combinations suggests that ternary combination is the optimal one.
探讨了不同变量组合的各方程的相关性,证明三元组合为最佳;
The study on the correlativity among equations of different variable combinations suggests that ternary combination is the optimal one.
应用推荐