schema是什么意思,schema中文翻譯,schema發(fā)音、用法及例句
?schema
schema發(fā)音
英:[?ski:m?] 美:[?skim?]
英: 美:
schema中文意思翻譯
n. 圖解, 計劃, 模式, 綱要
schema詞形變化
名詞復數: schemata |
schema常見(jiàn)例句
1 、The ORM should seperate the Object Schema from Object Data.───ORM應該分離業(yè)務(wù)實(shí)體結構元數據和業(yè)務(wù)實(shí)體數據。
2 、Team Foundation work item tracking schema defines a specific work item type.───Team Foundation工作項跟蹤架構用于定義一種特定的工作項類(lèi)型。
3 、Write the schema of the current table and all its descendants.───將寫(xiě)入當前表及其所有子代的架構。
4 、The IXmlSerializable interface supports custom schema generation.───IXmlSerializable接口支持自定義架構生成。
5 、Refreshes the schema cache on the client computer.───在客戶(hù)端計算機上刷新架構緩存。
6 、How do I find all the owners of entities contained in a specified schema?───如何找到指定架構中包含的實(shí)體的全部所有者?
7 、Allows you to extend the configuration schema.───允許您擴展配置架構。
8 、Schema theory is one of the important theories of Cognitive Linguistics.───圖式理論是認知語(yǔ)言的重要理論之一。
9 、XML Schema validation is a relatively complex process.───XML Schema驗證是一個(gè)比較復雜的過(guò)程。
10 、A schema change will fail if the table is being used by another process.───如果其他進(jìn)程也使用了此表,就將無(wú)法進(jìn)行架構更改。
11 、You should use the edge table format to specify a rowset schema.───應使用邊緣表格式來(lái)指定行集架構。
12 、Saves output to the specified XML schema file.───將輸出保存到指定的XML架構文件。
13 、Define the types that will be used in your schema.───定義將用于架構的類(lèi)型。
14 、Where path is the path to the schema map file.───其中“路徑”是架構映射文件的路徑。
15 、Allow ads, except pyramid schema.───允許**,除了老鼠會(huì )。
16 、Therefore, deferring the schema validation may improve performance.───因此,延遲架構驗證可能會(huì )改善性能。
17 、The Oracle9iAS Wireless XML schema defines the basic structures that exist in WML.───Oracle9iAS Wireless XML 模式定義了存在于WML 中的基本結構。
18 、Objects that represent all XML elements unknown to the schema.───對象填充該數組,這些對象表示架構未知的所有XML元素。
19 、The following table describes the elements in the log schema.───下表介紹了日志架構中的元素
20 、Another editor window containing the schema.───包含架構的另一個(gè)編輯器窗口。
21 、Yeah, your algorithm is solid. It's a really good schema.─── 你的算法很不錯 架構相當完美
22 、If the schema contains objects, the DROP statement fails.───如果架構包含對象,則DROP語(yǔ)句將失敗。
23 、XML Schema is presented and compared with XML DTD.───介紹了XML Schema的特點(diǎn),比較了XML DTD和XML Schema。
24 、This schema lock can be acquired in shared (S) or exclusive (E) mode.───在共享(S)或排它(E)模式下可獲得此模式鎖。
25 、Setup was not able to upgrade the report server database schema.───安裝程序無(wú)法升級報表服務(wù)器數據庫架構。
26 、The merge process could not enumerate schema information at the Publisher.───合并進(jìn)程未能枚舉發(fā)布服務(wù)器上的架構信息。
27 、Why do the subclasses not appear in the schema?───為何模式中沒(méi)有子類(lèi)?
28 、Use the specified schema file to define the database schema.───使用指定的模式文件定義數據庫模式。
29 、This schema is no longer supported.───不再支持此架構。
30 、Deploy the schema file to your device.───將模式文件部署到設備上。
31 、The significance of their schema has been exaggerated.───他們的設想的意義被夸大了。
32 、XML applications request both data and schema information from directories and consolidate them into one document.───XML應用程序從目錄中請求數據和模式信息,把它們合并到一個(gè)文檔中。
33 、The stream to which the XML schema will be written.───XML架構將寫(xiě)入的流。
34 、If not, you can hack up your own schema using a plain text editor.───如果沒(méi)有,您可以使用純文本編輯器創(chuàng )建自己的模式。
35 、The attribute schema has bad syntax.───屬性架構語(yǔ)法不對。
36 、A complete RFT SQL schema listing follows.───一個(gè)完整的RFT SQL模式如下所示
37 、You're not going to have one standard schema for all these things.───你不將為所有的這些事物有一標準輪廓。
38 、If you add an XML Schema item, the output will be only a schema file.───如果添加X(jué)ML架構項,則輸出將只有一個(gè)架構文件。
39 、Any data that does not correspond to the existing schema will be ignored.───將忽略不與現有架構對應的任何數據。
40 、On the next layer sits a schema that validates the structure and typing.───上一層用模式驗證文檔的結構和類(lèi)型。
41 、Applies only to the xml data type for associating an XML schema with the type.───僅應用于xml數據類(lèi)型,以便將XML架構與類(lèi)型相關(guān)聯(lián)。
42 、Replication supports a wide range of schema changes to published objects.───復制支持對已發(fā)布對象進(jìn)行多種架構更改。
43 、To solve this problem, we could define a substitutionGroup in the XML schema.───假設有兩個(gè)分別來(lái)自英國和挪威的使用者,我們很希望有能力能讓他或她進(jìn)行選擇,在XML文檔里的元素名稱(chēng)中選擇他們所擅長(cháng)的語(yǔ)言,是英文呢?
44 、Why is basing your object model on an existing data schema a bad idea?───為什么以已有的數據模式作為對象模型的基礎不是一個(gè)好主意?
45 、Cannot read the governs class identifier for the schema record.───不能讀取架構記錄管理類(lèi)別識別符。
46 、A RELAX NG schema itself is validated during the process, as well.───在這個(gè)過(guò)程中,還驗證RELAX NG模式本身。
47 、XML uses DTD or Schema to define grammar.───XML通過(guò)DTD或Schema定義文法。
48 、Object that represents the directory entry for the schema property.───對象,它表示架構屬性的目錄項。
49 、The merge process could not enumerate schema information at the Subscriber.───合并進(jìn)程無(wú)法列舉訂閱上的方案信息。
50 、Root element of the code snippet XML schema.───代碼段XML架構的根元素。
51 、Second, the message schema should be extensible.───其次,消息格式應該可以擴展。
52 、Objects that represent all XML attributes unknown to the schema.───對象填充該數組,這些對象表示架構未知的所有XML屬性。
53 、Element provides support for redefining schema components.───元素為重新定義架構組件提供支持。
54 、XML schema is used for type checking of typed XML.───XML架構用于對類(lèi)型化的XML進(jìn)行類(lèi)型檢查。
55 、Is the name of the schema to which the alias or user-defined type belongs.───別名或用戶(hù)定義的類(lèi)型所屬的架構名。
56 、Click Upgrade to migrate the tables to the new database schema.───單擊“升級”可以將表遷移到新的數據庫架構。
57 、Object that contains the schema information for the current node.───對象,包含當前節點(diǎn)的架構信息。
58 、From their work emerged the axiom schema of replacement.───從他們的工作促成了替代公理。
59 、When you use four-part names, always specify the schema name.───使用四部分名稱(chēng)時(shí),需始終指定架構名稱(chēng)。
60 、The XML mapping file must be valid against the XML schema definition file.───XML映射文件必須能夠通過(guò)XML架構定義文件的驗證。
61 、The following example starts with a single CREATE SCHEMA statement.───以下示例從單個(gè)CREATE SCHEMA語(yǔ)句開(kāi)始。
62 、When your backend database table/column schema names change.───當原來(lái)的數據庫中的表/列名變化時(shí)。
63 、THE NEXT STEP IS TO PASS THIS SCHEMA FILE TO THE MDB MANAGER.───下一步是把這個(gè)SCHEMA文件傳遞給MDB管理器。
64 、Qualifier of a namespace must be unique in a schema file.───命名空間的限定符在架構文件中必須是唯一的。
65 、The schema was only partially loaded because there was not enough memory.───內存不足,架構只有部分被加載。
66 、The XML schema should look something like the code sample below.───XML模式應該類(lèi)似于下面的代碼示例。
67 、Attribute makes this schema noncompliant with Section 5 encoding.───屬性使得這個(gè)模式不遵循Section 5編碼。
68 、DDL triggers can be used to audit or regulate changes to a database schema.───DDL觸發(fā)器可用于審核或控制對數據庫架構的更改。
69 、A data schema, especially a data subschema in a relational data system.───關(guān)系數據系統中的數據模式,特別是子模式。
70 、Hopefully the XML schema can be established soon.───希望這份格式能盡快發(fā)布。
71 、In this schema, you know that you only need one address.───在該架構中,您知道只需要一個(gè)地址。
72 、Use of a star or snowflake schema to organize the data within the database.───使用星型架構或雪花架構來(lái)組織數據庫內的數據。
73 、Schema based collections need a well-defined XML Schema to begin with.───基于模式的集合需要以良好定義的XML Schema作為開(kāi)始。
74 、A regular,standard,or simplified form of an expression or schema.───(數據的)一個(gè)表達式或模式的規則的標準的或簡(jiǎn)化的形式。
75 、Failed to allow the schema to be modified on the current operations master.───允許架構在當前的操作主機上做修改失敗。
76 、The following are elements that appear at the top level of a schema document.───下列元素出現在架構文檔的頂級。
77 、Schema changes are always processed before data synchronization occurs.───在數據同步發(fā)生之前,總會(huì )首先處理架構更改。
78 、A null value if the base schema name cannot be determined.───如果無(wú)法確定基架構名稱(chēng),則為空值。
79 、Move operations on objects in the schema naming context are not allowed.───不允許在架構命名上下文里的對象上移動(dòng)操作。
80 、The core benefit is the migration of both data and schema.───關(guān)鍵的好處是既可以遷移方案也可以遷移數據。
81 、The Document Information Panel for the content type schema opens.───將打開(kāi)內容類(lèi)型架構的文檔信息面板。
oracle中schema指的是什么
官方文檔中關(guān)于schema是這樣解釋的:
“A schema is a collection of database objects. A schema is owned by a database user and has the same name as that user. Schema objects are the logical structures that directly refer to the database's data. Schema objects include structures like tables, views, and indexes.(There is no relationship between a tablespace and a schema. Objects in the same schema can be in different tablespaces, and a tablespace can hold objects from different schemas.)”
官方文檔里面說(shuō)得比較明白,schema是數據對象的集合,包括像表、視圖、索引、同義詞等等都可以說(shuō)是schema的對象。
下面通過(guò)具體的例子來(lái)加深對user和schema兩者區別的認識:
第一步,以sys用戶(hù)登陸SQL并建立普通用戶(hù)storm和penguin:
$ sqlplus / as sysdba
SQL> create user storm identified by storm;
User created.
SQL> create user penguin identified by penguin;
User created.
第二步,賦予一些基本的權限給新建的用戶(hù)storm和penguin:
SQL> grant connect,create table,resource to storm,penguin;
Grant succeeded.
第三步,以storm用戶(hù)登陸,創(chuàng )建一張表并**入數據:
SQL> conn storm/storm
Connected.
SQL> create table t (id int);
Table created.
SQL> insert into t values(1);
1 row created.
SQL> commit;
Commit complete.
第四步,以penguin用戶(hù)登陸,看能否查詢(xún)storm用戶(hù)所建表里面的數據:
SQL> conn penguin/penguin
Connected.
SQL> select table_name from user_tables;
no rows selected
SQL> show user;
USER is "PENGUIN"
SQL> select * from storm.t;
select * from storm.t
*
ERROR at line 1:
ORA-00942: table or view does not exist
從以上結果可以看出,用戶(hù) penguin無(wú)法查看用戶(hù)storm所建表里面的內容,甚至被告知沒(méi)有這張表。
第五步,修改當前schema為storm,并繼續查詢(xún):
SQL> alter session set current_schema=storm;
Session altered.
SQL> show user;
USER is "PENGUIN"
SQL> select * from storm.t;
select * from storm.t
*
ERROR at line 1:
ORA-00942: table or view does not exist
仍然不能查看。
第六步,以storm用戶(hù)登陸,賦予penguin用戶(hù)查看t表的權限:
SQL> conn storm/storm
Connected.
SQL> grant select on t to penguin;
Grant succeeded.
第七步,以penguin用戶(hù)登陸,查看storm用戶(hù)的t表:
SQL> conn penguin/penguin
Connected.
SQL> select * from storm.t;
ID
----------
1
更簡(jiǎn)單的,將當前schema更改為storm,可以簡(jiǎn)化查詢(xún)過(guò)程:
SQL> alter session set current_schema=storm;
Session altered.
SQL> select * from t;
ID
----------
1
知識譜基礎(三)-schema的構建
在前面一篇文章《知識圖譜基礎(二)-知識表達系統》中介紹了知識圖譜的基礎知識表達系統,什么是entity,什么是relation,什么是domain,什么是type等等。本篇文章主要從應用角度來(lái)聊一聊如何構建schema以及shcema構建中需要考慮的問(wèn)題。以下所講的schema構建主要是基于common sense進(jìn)行構建的,弱關(guān)系圖譜構建會(huì )在應用中講到。
簡(jiǎn)單來(lái)說(shuō),一個(gè)知識圖譜的schema就是相當于一個(gè)領(lǐng)域內的數據模型,包含了這個(gè)領(lǐng)域里面有意義的概念類(lèi)型以及這些類(lèi)型的屬性。任何一個(gè)域的schema主要由類(lèi)型(type)和屬性(property)來(lái)表達。圖1是plantdata內的創(chuàng )投schema,主要是為了發(fā)掘一級市場(chǎng)的投資和融資構建的schema。該schema主要是去定義需求,哪些數據對創(chuàng )投有用,才往上構建,例如:人物都有身高 體重,但是這些數據對創(chuàng )投來(lái)說(shuō)意義不大,在schema中就不用構建了。關(guān)注創(chuàng )投的人會(huì )關(guān)注這些基金與人物投資了哪些公司,投資的公司所屬行業(yè),投資的公司屬于哪一類(lèi)企業(yè),在該schema中就需要詳細構建。
1.如何構建域(domain)
域(domain)的概念是凌駕于所有類(lèi)型之上,對于域的定義應該盡量的抽象,不應該具體,同時(shí)域與域之間應盡量做到相互獨立,不交叉。例如,省份就不應該是一個(gè)域的概念,在思考是否應該把一個(gè)概念當做域時(shí),需要考慮到該概念是否能夠繼續向上抽象,例如:省份;城市;國家;縣等等,他們同屬于地理位置域。在明確域的概念時(shí),應該定義好域的邊界,這樣比較容易區分不同域之間的區域劃分。
2.如何確定一個(gè)域的類(lèi)型(type)
這里需要產(chǎn)品經(jīng)理去思考,構建這個(gè)schema的核心需求是什么,到底需要解決用戶(hù)什么問(wèn)題。為了滿(mǎn)足這些核心需求,我們需要創(chuàng )造出哪些概念?
舉個(gè)例子,在汽車(chē)領(lǐng)域,用戶(hù)主要關(guān)心什么問(wèn)題,例如:汽車(chē)的品牌、車(chē)系、發(fā)動(dòng)機。
在NBA領(lǐng)域,用戶(hù)主要關(guān)心球隊、所屬聯(lián)盟、教練、球員等等。
針對不同的需求,需要在域下面構建不同的類(lèi)型來(lái)滿(mǎn)足用戶(hù)的需求。
3.如何確定屬性(property)
思考的角度如下:
1.以用戶(hù)需求為出發(fā)點(diǎn)
2.以數據統計為證據
比如在構建完足球領(lǐng)域中的球隊類(lèi)型后,該類(lèi)型集合了所有的球隊實(shí)體,站在用戶(hù)角度觸發(fā),用戶(hù)會(huì )關(guān)注球隊的哪些關(guān)系?
圖2是我簡(jiǎn)單的針對足球領(lǐng)域構建的一個(gè)圖譜,上面包含了梅西(球隊的球員), 埃內斯托·巴爾韋德 (球隊的教練),西甲(球隊的所屬聯(lián)賽),其中梅西、西甲、埃內斯托.巴爾韋德又分屬于不同的類(lèi)型:足球球員,足球聯(lián)賽,足球教練,這些所有的類(lèi)型構成了足球域。
從上圖的common sense配合圖查詢(xún)和自然語(yǔ)言處理技術(shù)已經(jīng)可以支持基礎的問(wèn)答了,例如,梅西是哪個(gè)球隊的?埃內斯托巴爾韋德是哪些球員的教練?西甲有哪些球隊在踢球?等等
schema的應用是產(chǎn)品經(jīng)理需要重點(diǎn)考慮的內容,因為產(chǎn)品需求決定了schema應該怎么構建,構建的是否完備。而產(chǎn)品的具體應用則主導了schema的整體構建方式,如果不仔細考慮產(chǎn)品應用的話(huà),最慘的情況可能構建了很久的schema會(huì )因為一個(gè)邏輯坑而徹底報廢掉,由于知識圖譜又是一個(gè)牽一發(fā)而動(dòng)全身的工程,根據實(shí)際經(jīng)驗來(lái)說(shuō),如果圖譜構建和應用有部分脫節,可能修改圖譜schema比重新構建圖譜schema的成本還要高。所以,首先確認好具體的應用場(chǎng)景對于一個(gè)schema構建的成功與否是至關(guān)重要的。
筆者寫(xiě)一套曾經(jīng)用過(guò)的確認schema的流程
先將應用根據需求的強弱劃分,分為基礎核心需求,schema特色需求,錦上添花需求,未來(lái)擴展性需求。
基礎核心需求:是經(jīng)過(guò)需求分析后,構建這個(gè)schema需要完成最核心的需求,該需求優(yōu)先級最高
schema特色需求:構建圖譜時(shí)可能會(huì )經(jīng)常遇到圖譜可以實(shí)現而其他方法實(shí)現比較困難的特色需求,這類(lèi)需求可能需求強度不是很高,但是由于能夠實(shí)現一定的差異性,經(jīng)常會(huì )有意想不到的效果。
錦上添花需求:非基礎核心需求,做了更好,不做也可以接受
未來(lái)擴展性的需求:確認schema的時(shí)候要充分考慮到未來(lái)的擴展性,因為這類(lèi)需求有可能會(huì )大改圖譜的schema結構
在構建schema的時(shí)候,根據上述分類(lèi),需要去考慮該schema一期需要滿(mǎn)足哪些具體的功能,將功能一一列下來(lái),哪些功能是需要放在第二期、第三期完成的,未來(lái)的擴展性需求需要在構建的哪一塊區域留下可擴展的內容。
常用的方法可以使用excel去列出一、二、三期所需要的功能點(diǎn)。
列出上述的功能點(diǎn)后,針對每一個(gè)功能點(diǎn)在后面備注好該功能的構建要點(diǎn)(注:這個(gè)非常重要),通常需求只需要將產(chǎn)品需求轉化成一定的查詢(xún)結構即可,筆者原來(lái)用的是cypher查詢(xún)語(yǔ)法。以圖2為例,我要支持某個(gè)教練教了哪些球員?轉化成查詢(xún)語(yǔ)言就是(a:足球教練)<-{b:教練}-(c:球隊)-{d:球員}-(e:足球球員) return e。將a變成參數,輸入a即可返回所有的e,即輸入埃內斯托巴爾韋德,返回就是梅西。
流程如下:query:埃內斯托巴爾韋德帶了哪些球員?→語(yǔ)義解析→轉化成上述查詢(xún),將埃內斯托巴爾韋德作為參數a代入查詢(xún)→返回結果→前端包裝展示
注:上面在每個(gè)功能點(diǎn)后面備注了構建要點(diǎn),當大部分功能點(diǎn)的構建要點(diǎn)都寫(xiě)完的時(shí)候,需要集中查看構建要點(diǎn),因為如果需求本身比較大的話(huà),不同的需求很容易造成schema的構建沖突,正如前面所講,schema盡量要保證少出錯。這個(gè)時(shí)候由于備注了構建要點(diǎn),可以全局的來(lái)審視這個(gè)schema中間有沒(méi)有邏輯黑洞。常出現的問(wèn)題主要是在屬性的設計,以及知識融合上。
拿著(zhù)上述文件去找開(kāi)發(fā),確認一下哪些是比較好實(shí)現的,一般來(lái)說(shuō)做到這種程度大多數需求開(kāi)發(fā)都是會(huì )接的。如果開(kāi)發(fā)同學(xué)足夠專(zhuān)業(yè)的話(huà),他會(huì )從他的視角去給你提出他的寶貴意見(jiàn)。通常產(chǎn)品經(jīng)理在思考schema這一塊更傾向于思考這個(gè)schema的作用,而開(kāi)發(fā)同學(xué)會(huì )思考工程實(shí)現、實(shí)現效率、運行效率、計算量等問(wèn)題。
大規模構建schema的時(shí)候需要認真考慮數據源的情況,由于不同公司掌握的數據不同,所應用的對策也不同。
通常筆者會(huì )將數據源分為如下幾種:
1.已經(jīng)清洗好的結構化數據:這部分數據一般是公司的核心數據,或者其他公司的核心數據,構建的時(shí)候應該優(yōu)先考慮這類(lèi)數據。這部分數據通常只需要改變數據格式即可入圖譜。
2.清洗好的結構化數據,但數據殘缺:這部分數據通常需要數據挖掘,知識融合。清洗難度是由殘缺比例決定的。
3.無(wú)數據:沒(méi)有這部分數據,但是又需要這部分數據,通常只能去選擇讓BD去購買(mǎi)數據,或者讓爬蟲(chóng)組去專(zhuān)業(yè)網(wǎng)站爬取,例如:企業(yè)數據可以去企查查,**的數據可以去貓眼,產(chǎn)業(yè)的數據可以去產(chǎn)業(yè)信息網(wǎng)等等。
假設需要構建的圖譜entity數量在千萬(wàn)級別,開(kāi)發(fā)力量不夠強大的時(shí)候,慎用純數據挖掘方案,有條件的話(huà)筆者建議直接去買(mǎi)結構化數據,因為可能挖掘和知識融合在經(jīng)濟上的成本比直接買(mǎi)數據要高,而且時(shí)間周期也會(huì )很長(cháng)。
個(gè)人認為,大規模構建schema最難的地方就在于挖掘數據的知識融合上,舉個(gè)例子:全國有10000個(gè)叫王剛的人,爬蟲(chóng)從A網(wǎng)站挖下來(lái)5000個(gè)“王剛”,從B網(wǎng)站挖下來(lái)7000個(gè)“王剛”,那么這5000個(gè)王剛和那7000個(gè)王剛到底是不是一個(gè)人?在沒(méi)有身份證號碼的情況下如何確定哪些王剛是一個(gè)人呢?常規的做法是去挖掘出“王剛”的其他信息,例如出生年月,任職信息,籍貫等等,然后通過(guò)一定的算法進(jìn)行知識融合。通常,網(wǎng)站的數據不一定全面,即使經(jīng)過(guò)知識融合后,挖掘的數據中一定會(huì )有大量的噪音,不同的需求對噪音的承受能力是不同的,構建schema的時(shí)候需要充分考慮數據出現噪音的可能性,去評價(jià)這部分需求對噪音的承受能力。
如果知識融合完成了話(huà),大規模構建其實(shí)就是一個(gè)導數據的過(guò)程,由于圖譜數據結構的關(guān)系,一般存2張表(點(diǎn)、邊)或者使用RDFs存儲,在entity數量上千萬(wàn)以后,圖譜的查詢(xún)壓力會(huì )比較大,單機查詢(xún)可能會(huì )直接跪掉,開(kāi)發(fā)一般會(huì )采用graphX的分布式的存儲,不過(guò)由于點(diǎn)和邊的切割方式的問(wèn)題,會(huì )有一定的副作用。
版權聲明: 本站僅提供信息存儲空間服務(wù),旨在傳遞更多信息,不擁有所有權,不承擔相關(guān)法律責任,不代表本網(wǎng)贊同其觀(guān)點(diǎn)和對其真實(shí)性負責。如因作品內容、版權和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請發(fā)送郵件至 舉報,一經(jīng)查實(shí),本站將立刻刪除。