PHP 使用三元操作符(foo?bar:baz)和冗长的函数名列表,而命名约定更是无所不有;相反,您会发现Python 要简洁多了。
PHP has the ternary operator (foo?bar:baz) and an enormous (and unwieldy) list of function names, with all kinds of naming conventions; you'll find Python a lot cleaner.
注意,上例中的键映射使用了一个包含类似c的“三元表达式”的表达式。
Note that the key-mapping in the previous example USES an expression containing a C-like "ternary expression".
其语法类似于SQL,SPARQL查询包括一系列的三元组范型和修饰符。
Its syntax is similar to that of SQL, and SPARQL queries consist of a series of triple patterns and modifiers.
SOP是一种安全性约束,它实际上禁止从某个源(即URL的协议/主机/端口三元组)装载的页面访问来自不同源的数据。
The SOP is a security restriction that basically forbids a page loaded from a certain origin (meaning the protocol/host/port trio of the URL) to access data from a different origin.
清单2 中的RDF三元组用谓词表达了author关系,虽然对您来说含义可能非常明显,但是计算机理解起来仍然困难。
The RDF triple in Listing 2 expressed an author relationship in the predicate, and while the meaning might seem obvious to you, computers still need some help.
以此三元系统为基础,有望开发出一类具有实用前景的透红外玻璃材料。
It is hopeful that the multicomponent glasses based on the ternary system can be developed as a kind of practicable materials for IR transmission.
除了理想的地理位置之外,北京诺富特三元酒店配备有高科技设施,致力于打造舒适而无忧的商务之旅。
In addition to its ideal location, Novotel Beijing Sanyuan is equipped with hi-tech facilities designed to make each business trip comfortable and hassle-free.
处理RDF然后存储它的应用程序使用三元组存储(triple store)来做到这一点。
Applications that process RDF and then store it use triple stores to do this.
在RDF处理器将这一部分解析成三元组时,我获得了清单2中显示的数据。
When this is parsed into triples by an RDF processor, I obtain the data shown in Listing 2.
在阿尔·布莱顿绊倒约翰逊后巴洛特利用一粒点球完成了自己的大三元,但是结束哨响后他径直走出了球场,既没有带比赛用球也没有鼓掌。
Balotelli wrapped up the hat-trick with a penalty, awarded after Marc Albrighton upended Johnson, but on the final whistle he walked straight from the field without taking the match ball or applause.
经过多年的室内研究及矿场试验攻关,大庆油田已先后成功地进行了5个三元复合驱矿场试验。
After dozens of years of laboratory study and pilot test, 5 ASP flooding pilot tests have been successfully performed in Daqing Oil Field.
如果您想要在异构源之间交叉引用,或者用另一个源的数据增强某个源的数据,那么到三元组的临时转换是进行特定数据集成的优秀方式。
Temporary conversion to triples is a great way to do ad-hoc data integration if you want to cross-reference between disparate sources or enhance data from one source with data from another.
有开源和商业工具可用于将这些格式的数据转换成三元组,从而让您可以轻松组合多个来源、不同格式的数据。
Open source and commercial tools are available to convert data in these formats to triples, giving you an easy way to combine data from multiple sources using different formats.
并且我们已经做过两次了,一次是关于二元函数的,另一次关于三元函数的。
And we have seen them twice. We have seen them once for functions of two variables, once for functions of three variables.
还应该记住,RDF 三元组的组件通常是URI。
You should also remember that the components of an RDF triple are usually URIs.
合并数据(不同的图)是一项简单操作,只需要建立包含图中所有三元组的集合。
Merging data (different graphs) is a simple operation that involves constructing a set of triples that includes all of the triples from the graphs.
图2:治理三元组的每个组件都供给另一个组件。
Figure 2: Each component of the governance triad feeds another component.
这个查询试图把图形模式的三元模式和模型进行匹配。
The query attempts to match the triples of the graph pattern to the model.
然后后续处理就是操作和查询存储中的三元组。
Subsequent processing then takes the form of manipulating and querying the triples in the store.
随后rdf应用程序所要操作的就是清单2中显示的这列三元组了。
It is the list of triples shown in Listing 2 that is then acted on by RDF applications.
现在,剩下的就是存储四元组,而不是存储三元组。
例如,如果一个关系数据库或电子表格说雇员94321的雇佣日期是2007-10-14,那么很容易表达为三元组。
For example, if a relational database or spreadsheet says that employee 94321 has a hire-date value of 2007-10-14, it would be easy to express this as a triple.
科学、技术、工程“三元论”的提出,为工程哲学的建立奠定了逻辑前提和基础。
"The trialism of science, technology and engineering" puts forward, provides the logic premise and foundation for establishing the philosophy of engineering.
免费的LingfoPython库完成了读取二进制Excel文件这项困难的工作,所以我只费很少的精力编写了一个简短的 Python脚本,为读入的每个单元格产生 RDF三元组。
The free Lingfo Python library does the difficult job of reading binary Excel files, so with little effort I wrote a short Python script that produces an RDF triple for each cell read in.
Registry andRepository中的每个文档都是使用名称、命名空间和版本的三元组唯一地定义的。
Each document in Registry and Repository is uniquely defined using a triple of name, namespace, and version.
为了便于以后提供这种功能,将EIDB中的共同提及数据转换为一个面向三元组的模式,实现的方法是在数据库上定义一个具有这种结构的视图。
To accommodate this future possibility, the co-mention data in the EIDB is cast into a triples-oriented schema by defining a view on the database that has this structure.
其中最重要的选择是确定三元模型是什么。
最后,where子句由一组三元模式组成,用基于Turtle的语法表示。
Finally, the WHERE clause consists of a series of triple patterns, expressed using Turtle-based syntax.
最后,where子句由一组三元模式组成,用基于Turtle的语法表示。
Finally, the WHERE clause consists of a series of triple patterns, expressed using Turtle-based syntax.
应用推荐