在这个示例中,where子句的图形模式中的第一个三元组与foaf: name属性为“Jon Foobar”的节点匹配,并把它绑定到名为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.
应用推荐