Predicate functions are often very simple and better off being defined using a closure.
对函数使用断言通常很简单,而且最好使用闭包定义。
RDF documents are made up of simple statements that consist of three parts each: the subject, the predicate, and the object (value).
RDF文档由一些简单的语句组成,每个语句包含三个部分:主语、谓语和宾语(值)。
Finding all the weblogs mentioned in the list is a simple matter of calling the blogs method, which performs a query for all the objects of statements with foaf: weblog as their predicate.
调用blogs方法就可以很容易地找到清单中列出的所有weblog,这个方法的谓词是查询所有foaf: weblog声明的对象。
应用推荐