JP2005322025A - Device and method for converting structure description data into semantic description data - Google Patents
Device and method for converting structure description data into semantic description data Download PDFInfo
- Publication number
- JP2005322025A JP2005322025A JP2004139580A JP2004139580A JP2005322025A JP 2005322025 A JP2005322025 A JP 2005322025A JP 2004139580 A JP2004139580 A JP 2004139580A JP 2004139580 A JP2004139580 A JP 2004139580A JP 2005322025 A JP2005322025 A JP 2005322025A
- Authority
- JP
- Japan
- Prior art keywords
- schema
- data
- conversion
- description data
- rdf
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、構造記述データを意味記述データに変換するための装置および方法に関し、特に、XML形式で記述されたメタデータをRDF形式に変換を行う装置に関する。 The present invention relates to an apparatus and method for converting structure description data into semantic description data, and more particularly to an apparatus that converts metadata described in XML format into RDF format.
現在、インターネットの普及から、ユーザはWeb上でキーワードを入力することで欲しい情報を検索し、得ることができるようになった。 Nowadays, with the spread of the Internet, users can search and obtain desired information by inputting keywords on the Web.
しかしながら、Webページの増加に伴い、検索によってユーザの意図しない情報が提示されることが多くなり、作業効率が下がるということも多くなってきた。 However, as the number of Web pages increases, information unintended by the user is often presented by search, and the work efficiency is often lowered.
そこで、Webページでの検索の利便性、検索効率を向上させるべく、W3C(World Wide Web Consortium)では、セマンティックWebが検討されており、将来、Webなどで高度意味的検索、類推検索が利用できるようになると考えられる。 Therefore, in order to improve the convenience of web page search and search efficiency, the W3C (World Wide Web Consortium) is studying the Semantic Web, and in the future, advanced semantic search and analogy search can be used on the Web. It is thought that it will become.
セマンティックWebでの高度意味的検索を実現するデータのフォーマットとして、意味的な記述が可能なRDF(Resource Description Framework)、RDF SchemaおよびOWL (Web Ontology Language)が採用されている。RDF文書は、ある情報を主語(Subject)、述語(Predicate)、目的語(Object)として記述し、RDFと、RDF SchemaもしくはOWLでの、要素間の関係を記述することにより、高度意味的検索や類推検索の実現を可能とする。 RDF (Resource Description Framework), RDF Schema, and OWL (Web Ontology Language) capable of semantic description are adopted as a data format for realizing high-level semantic search on the Semantic Web. An RDF document describes certain information as a subject, a predicate, and an object and describes the relationship between elements in RDF and RDF Schema or OWL. It also makes it possible to realize analogical search.
したがって、上記、高度意味的検索を実現し、より多くデータを利用するためには、既存の構造記述データであるXMLフォーマットで記述されたデータを意味記述データであるRDFフォーマットに変換し、利用することが考えられる。 Therefore, in order to realize the above-described advanced semantic search and use more data, the data described in the XML format, which is the existing structure description data, is converted into the RDF format, which is the semantic description data, and used. It is possible.
従来のデータの変換方法としては、XML文書同士の変換を行う方法として、XMLで記述された文書を別のXMLに変換する際、オントロジーを用いて2つのXML Schemaの相違関係や依存関係を導出し、XML文書を変換する方法があった(例えば、特許文献1を参照のこと)。 As a conventional data conversion method, as a method of converting between XML documents, when converting a document described in XML into another XML, an ontology is used to derive a difference or dependency between two XML Schemas. However, there is a method for converting an XML document (see, for example, Patent Document 1).
また、異なるフォーマット間の変換方法の例としては、XML文書からRDF文書へ、XML Schemaの情報を考慮せずに、XML文書のみをRDF文書へ変換する方法があった(例えば、非特許文献1を参照のこと)。
しかしながら、上記特許文献1で示されるような変換方法は、構造記述データ同士の変換に用いられる方法であり、これは、異なるフォーマット間での変換、つまり、構造記述データから意味記述データへの変換、スキーマ構造が異なるフォーマット同士の変換には適用できないという問題がある。また、上記非特許文献1の方法は、スキーマ構造が異なるフォーマット同士の変換の例ではあるが、構造記述データの文書を意味構造データの文書に書き直すのみで、構造記述データのスキーマ、例えば、XML Schemaの持つ情報を考慮していないので、変換の際に構造記述データのスキーマの持つ情報が全て欠落してしまう、という問題がある。
However, the conversion method shown in
例えば、構造記述データがXMLデータであり、意味記述データがRDFデータであり、XML文書に加え、XML文書のスキーマを考慮してRDFデータに変換する場合を考察すると、XML文書のスキーマが持つ要素、属性と、RDF文書のスキーマと持つ要素、属性とが1対1に対応していないので、XML文書のスキーマが持つ情報を、RDF文書のスキーマへと全て変換することができず、XML文書のスキーマの持つ情報に欠落が生じる、という問題がある。 For example, when the structure description data is XML data, the semantic description data is RDF data, and the XML document is converted into RDF data in consideration of the XML document schema, the elements of the XML document schema are considered. Since the attributes and the elements and attributes of the RDF document schema do not correspond one-to-one, all the information of the XML document schema cannot be converted into the RDF document schema. There is a problem that information in the schema of the system is missing.
そこで、本発明は、上記のような問題点を鑑みてなされたものであり、構造記述(Syntax)データを意味記述(Semantics)データに変換するような、スキーマ構造が異なるフォーマット同士の変換において、変換前のデータのスキーマが持つ情報を欠落させることなく、変換後のデータに変換できる装置および方法を提供することを目的とする。 Therefore, the present invention has been made in view of the above-described problems, and in conversion between formats having different schema structures, such as converting structure description data into semantic description data, It is an object of the present invention to provide an apparatus and a method capable of converting into data after conversion without losing information held in the schema of the data before conversion.
また、詳細には、XMLデータをRDFデータに変換する場合、XMLスキーマの持つ情報を欠落させることなく、XMLデータをRDFデータに変換することを目的とする。 More specifically, when XML data is converted into RDF data, the object is to convert the XML data into RDF data without losing information of the XML schema.
上記従来の課題を解決するために、本発明は、構造記述データを意味記述データに変換するデータ変換方法において用いられる、スキーマ部変換装置であって、前記構造記述データのスキーマが、前記意味記述データのスキーマと文書とに分けて変換されることを特徴とする、スキーマ部変換装置を提供する。 In order to solve the above-described conventional problems, the present invention provides a schema part conversion device used in a data conversion method for converting structure description data into semantic description data, wherein the schema of the structure description data includes the semantic description Provided is a schema part conversion device characterized by being converted into a data schema and a document.
本発明の一実施の形態において、前記構造記述データのスキーマの要素が、前記意味記述データのスキーマに対する互換性を有するか否かを判定する、スキーマ互換性判定手段を備えることを特徴とする。 In one embodiment of the present invention, there is provided schema compatibility determining means for determining whether or not the schema element of the structure description data has compatibility with the schema of the semantic description data.
本発明の一実施の形態において、前記スキーマ互換性判定手段によって、互換性があると判定された要素と、互換性がないと判定された要素とに要素を分ける、要素分割手段と、前記互換性があると判定された要素を、前記意味記述データのスキーマに変換するための第1の記述方式変換手段と、前記互換性がないと判断された要素を、前記意味記述データの文書に変換するための第2の記述方式変換手段とを備えることを特徴とする。 In one embodiment of the present invention, an element dividing unit that divides an element into an element determined to be compatible and an element determined to be incompatible by the schema compatibility determining unit, and the compatibility A first description method conversion means for converting an element determined to be compatible into a schema of the semantic description data, and an element determined to be incompatible is converted into a document of the semantic description data And a second description method conversion means.
本発明の一実施の形態において、前記互換性がないと判断された要素に、意味記述を補完して前記意味記述データの文書として成立させる、プロパティ補完手段を備えることを特徴とする。 In one embodiment of the present invention, it is characterized by comprising property complementing means for complementing the semantic description to the element determined to be incompatible and establishing it as a document of the semantic description data.
本発明の一実施の形態において、前記第1の記述方式変換手段によって変換された意味記述データのスキーマと、前記第2の記述方式変換手段によって変換された意味記述データの文書とを含めて、前記意味記述データにおけるスキーマ部として扱うことを特徴とする。 In one embodiment of the present invention, including the schema of the semantic description data converted by the first description method conversion means and the semantic description data document converted by the second description method conversion means, It is treated as a schema part in the semantic description data.
本発明の一実施の形態において、前記構造記述データが、XMLデータであり、前記意味記述データが、RDFデータであることを特徴とする。 In one embodiment of the present invention, the structure description data is XML data, and the semantic description data is RDF data.
本発明はまた、構造記述データを意味記述データに変換するデータ変換方法において用いられる、スキーマ部変換方法であって、前記構造記述データのスキーマの要素が、前記意味記述データのスキーマに対し、互換性を有するが否かを判定する、スキーマ互換性判定ステップと、前記スキーマ互換性判定ステップによって、互換性があると判定された要素と、互換性がないと判定された要素とに要素を分ける、要素分割ステップと、前記互換性があると判断された要素を、意味記述データのスキーマに変換するための第1の記述方式変換ステップと、前記互換性がないと判断された要素を、意味記述データの文書に変換するための第2の記述方式変換ステップと、を備えることを特徴とする、スキーマ部変換方法を提供する。 The present invention is also a schema part conversion method used in a data conversion method for converting structure description data to semantic description data, wherein the schema element of the structure description data is compatible with the schema of the semantic description data. A schema compatibility determination step for determining whether or not the device has compatibility, and an element determined to be compatible by the schema compatibility determination step and an element determined to be incompatible An element division step, a first description method conversion step for converting the element determined to be compatible into a schema of semantic description data, and an element determined to be incompatible There is provided a schema part conversion method comprising: a second description method conversion step for converting a description data into a document.
本発明は、上記スキーマ部変換装置を備えたデータ変換装置、およびこれを含むシステム、ならびに上記スキーマ部変換方法を実行するためのプログラム、およびこれを記録した記録媒体もまた包含する。 The present invention also includes a data conversion apparatus including the schema part conversion apparatus, a system including the data conversion apparatus, a program for executing the schema part conversion method, and a recording medium on which the program is recorded.
本構成によって、構造記述データのスキーマ情報を欠落させることなく、意味記述データのスキーマへと変換することができる。 With this configuration, the schema information of the structure description data can be converted into the schema of the semantic description data without being lost.
本発明は、上記のように構成されるため、構造記述(Syntax)データを意味記述(Semantics)データに変換するような、スキーマ構造が異なるフォーマット同士の変換において、変換前のデータのスキーマが持つ情報を欠落させることなく、変換後のデータに変換することが可能になる。 Since the present invention is configured as described above, in the conversion between formats having different schema structures, such as converting structure description (Syntax) data into semantic description (Semantics) data, the schema of the data before conversion has It is possible to convert to converted data without losing information.
本発明は、以下の実施の形態および図面を用いて説明されるが、これは例示を目的とするのみであって、本発明はこれらに限定されることを意図しない。 The present invention will be described with reference to the following embodiments and drawings, which are for illustrative purposes only and are not intended to limit the present invention.
以下、本発明の実施の形態について、図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(実施の形態1)
図1は、本発明におけるデータ変換装置のブロック図を示す。本実施の形態では、放送局のデータ変換装置において、XMLで記述されたTV Anytimeのデータと、TV AnytimeのXML Schemaとを、RDFで記述されたデータと、スキーマとに、変換を行う場合を例にとり、説明を行う。また、本実施の形態では、データはメタデータである。
(Embodiment 1)
FIG. 1 shows a block diagram of a data conversion apparatus according to the present invention. In the present embodiment, the broadcast station data conversion device converts TV Anytime data described in XML and TV Anytime XML Schema into data and schema described in RDF. Take an example for explanation. In the present embodiment, the data is metadata.
まず、データ変換装置100は、スキーマ部変換装置101とインスタンス部変換装置102を備える。XML Schema103をRDFで記述されたスキーマ部108に変換するためにスキーマ部変換装置101を用い、XML Schemaの変換を行う。また、スキーマ部変換装置101は、RDF SchemaもしくはOWL105として記述できないXML Schemaの要素と、RDF SchemaもしくはOWL105として記述できるXML Schemaの要素とを判定、分離する手段を備え、RDF SchemaもしくはOWL105として記述できないXML Schemaの要素はRDF文書106として記述し直すことにより、データ変換を行う。
First, the
また、XML文書104をRDF文書107に変換するために、インスタンス部変換装置102を用いて、XML文書104をRDF文書107へと変換を行う。
Further, in order to convert the XML
図2に、本実施の形態におけるスキーマ部変換装置101の構成のブロック図を示す。
FIG. 2 shows a block diagram of the configuration of the schema
スキーマ部変換装置200は、スキーマ互換性判定手段201と、要素分割手段202と、第1の記述方式変換手段203と、第2の記述方式変換手段204と、プロパティ補完手段205と、クラス・プロパティ情報付与手段206とを備える。
The schema
スキーマ互換性判定手段201は、XML Schema103に記述されている要素がRDF SchemaもしくはOWL105として記述可能か、記述不可能かを判定する。要素分割手段202は、RDF SchemaもしくはOWL105として記述可能な要素と、記述不可能な要素とを分離する。第1の記述方式変換手段203は、RDF SchemaもしくはOWL105に記述可能であるXML Schemaの要素を、RDF SchemaもしくはOWL105として記述し直す。第2の記述方式変換手段204は、RDF SchemaもしくはOWL105として記述不可能なXML Schemaの要素をRDF文書106として記述し直す。プロパティ補完手段205は、前記第2の記述変換手段204において、XML Schemaに記述されていた要素にスキーマとしての意味を補完する。クラス・プロパティ情報付与手段206は、前記プロパティ補完手段205によって補完されたプロパティの定義をRDF SchemaもしくはOWL105に追記する。さらに、前記スキーマ互換性判定手段201において、XML SchemaとRDF Schemaとの変換関係を記述した変換テーブル208を用いて、記述不可要素の判定を自動で行うことも可能である。また、前記第1の記述方式変換手段203において、XML Schema103をRDF Schema105として記述し直す場合に、XML Schemaの要素間に、新たに、ユーザもしくはメタデータ作成者が意図する意味的な情報を付与する付加的意味情報付与手段207を有することを特徴とする。これにより、要素間に新たな意味が見出される。
The schema
本実施の形態で使用する、XML Schema103の例を図5に、RDF SchemaもしくはOWL105の例を図6に、XML Schemaのスキーマ情報を保持したRDF文書106を図7に示す。
FIG. 5 shows an example of
図3に、インスタンス部変換装置300の構成のブロック図を示す。インスタンス部変換装置300は、意味補完判定手段301と、第3の記述方式変更手段302とプロパティ補完手段303とを備える。
FIG. 3 shows a block diagram of the configuration of the instance
意味補完判定手段301は、XML文書104の要素間に意味的内容があるかを判定する。プロパティ補完手段303は、前記意味補完判定手段301の判定結果を受けてプロパティを補完する。第3の記述方式変換手段302は、前記プロパティ補完手段303でのプロパティ補完を受けて、XML文書104をRDF文書107として記述し直す。
The semantic
本実施の形態で使用するXML文書104の例を図8に、RDF文書107の例を図9に示す。
An example of the
スキーマ部変換装置101を利用して、XML Schema103をRDF SchemaもしくはOWL105と、RDF文書106とに変換し、インスタンス部変換装置102を用いてXML文書104をRDF文書107に変換する。変換の流れを図4に示す。
The schema
はじめに、XML文書104から、RDF文書107への変換の流れを示す。
First, the flow of conversion from the
入力されたXML文書104は、意味補完判定手段301にて、要素間に意味的補完の必要性があるか、ないかを判断される(S01)。この処理では、XML文書104に記述されている要素と要素の間に主語と述語の関係が見出せない場合に、プロパティ(述語)の補完の必要性が生じる。補完の必要性が生じる場合には、プロパティ補完手段303によって、プロパティ補完を行う(S02)。具体的には、TVAMainいう要素とProgramDescriptionという要素の間に主語と述語の関係が見出せないので、「TVAMainはProgramDescriptionという要素を持つ」というプロパティhasElementを補完する。一方、補完の必要性が無い場合には、第3の記述方式変換手段302によって、RDF:ID等のRDF文書に必要な記述を加え、XML文書をRDF文書として記述し直す(S03)。
In the
図8のXML文書104と、図9のRDF文書107とを例にとり、XML文書104からRDF文書107への変換を説明する。まず、L801にて要素TVAMainが、XML文書中に宣言されている。意味補完判定手段301によって、L801とL802との間の意味的関係を抽出する。L801のTVAMainの子要素であるL802のProgramDescriptionはインスタンスもしくはリソースを持たない。つまり、「TVAMainのProgramDescriptionはインスタンスである」、というRDF特有の主語、述語、目的語の記述が不可能である。よって、L801とL802との要素間に、プロパティ補完手段303によりプロパティhasElement(L902)が第3の記述方式変更手段302に送られ、補完される。これにより、L801とL802との要素間に「TVAMainのhasElementはProgramDescriptionである」、という意味が成立する。L802とL803との要素間と、L803とL804との要素間も、また、上記プロパティ補完手段303によって、同様にプロパティが補完される(L903、L904)。また、L804ではprogramIdがProgramInformationの属性として存在し、インスタンス“crid://sample/main”を持つ。このとき、L804は「ProgramInformationのProgramIdは“crid://sample/main”である」と、主語、述語、目的語としての意味が成立する。したがって、ProgramIdはProgramInformationのプロパティとして用いることができる。しかしながら、L804のProgramInformationは、同時に、L805にて子要素BasicDescriptionも保持しているので、L804はL805という要素を持つ、というプロパティ(L906)がプロパティ補完手段303より補完される。よって、L905において、属性ProgramIdは、プロパティとして要素の中に記述され、子要素を持つというプロパティは、L906にてhasElementを用いて補完される。これら、変換した要素は、図9で示すRDF文書107として出力される。
The conversion from the
次に、XML Schema103から、RDFのスキーマ108への変換の流れを示す。データ変換装置100に入力されたXML Schema103は、スキーマ互換性判定手段201において、RDF SchemaもしくはOWL105として記述できるか、記述できないかの判定を受ける。前記スキーマ互換性判定手段201による判定結果は、要素分割手段202に送信され、要素分割手段202は判定結果に基づき、XML Schema103をRDF SchemaもしくはOWL105として記述し直す要素と、XML Schema103をRDF文書106として記述し直す要素とに分離する(S04)。RDF SchemaもしくはOWL105として記述し直すと判定され、分離された要素は、第1の記述方式変換手段203によって、XML Schema103からRDF SchemaもしくはOWL105へと記述し直される(S05)。前記第1の記述方式変換手段203によって、RDF SchemaもしくはOWL105として記述し直されたXML SchemaはRDF SchemaもしくはOWL105として出力される。前記スキーマ互換性判定手段201によりRDF SchemaもしくはOWL105として記述不可能と判定され、分離されたXML Schemaの要素は、RDF文書として記述し直されるために、第2の記述方式変換手段204へと送られる(S06)。そして、XML Schemaの要素をRDF文書として意味を成立させ、記述し直すために必要なプロパティを、プロパティ補完手段205より補完する。具体的には、ある要素がスキーマ情報を持つというプロパティhasSchemaを用意し、要素にスキーマとしての意味を持たせる(S07)。ここで、プロパティ補完手段205からRDF文書に補完されたプロパティの定義を、クラス・プロパティ情報付与手段206を用いて、RDF SchemaもしくはOWL105に追記する(S08)。同様に、前記、インスタンス部変換装置102によって、XML文書からRDF文書への変換の際に、プロパティ補完手段303によってRDF文書に補完されたプロパティの定義も、またクラス・プロパティ情報付与手段205によってRDF SchemaもしくはOWL105に追記される(S08)。前記プロパティ補完手段205によってプロパティが補完され、第2の記述方式変換手段204によって、XML SchemaはRDF文書へと記述し直され、XML Schemaの情報を持つRDF文書106として出力される。
Next, the flow of conversion from the
図5のXML Schema103と図6のRDF SchemaもしくはOWL105と図7のRDF文書106を例にとり、XML Schema103からRDF SchemaもしくはOWL105と、RDF文書106とへの変換の説明を行う。まず、図5のL501において、XMLのスキーマ宣言がなされている。L502において、TVAMainTypeの型はComplexTypeであることが分かる。TVAMainTypeはComplexTypeのサブクラスであると、RDF SchemaもしくはOWL105を用いて表現することができるので、スキーマ互換性判定手段201は、記述可能であるという判定結果を要素分割手段202に送信する。要素分割手段202は、RDF SchemaもしくはOWL105として記述可能と判定されたXML Schemaの要素(L501)を分離し、第1の記述方式変換手段203に送信する。第1の記述方式変更手段203では、分離されたXML Schemaの要素(L501)をRDF SchemaもしくはOWL105として記述し直す。本実施の形態の例では、図9のXML SchemaをRDF Schema(図6)に変換する。したがって、第1の記述方式変換手段203により、XML Schemaの要素(L502)はRDF Schema(L601)として記述し直される。
The
図5のL503において、TVAMainTypeの持つ要素として、出現順序指定(sequence)があり、要素が列挙されている。この出現順序指定要素は、スキーマ互換性判定手段201によりRDF Schemaとして記述不可と判定され、判定結果が要素分割手段202に送信される。RDF Schemaとして記述不可とされたXML Schemaの要素(L503)は分離され、第2の記述方式変換手段204に送信される。第2の記述方式変換手段204で、RDF文書での出現順序の指定(RDF:Seq)を用いてXML Schemaの要素(L503)がRDF文書として記述し直される。ここで、XML Schemaの要素(L503)をRDF文書(L701)として記述し直すために、プロパティ補完手段205によって、プロパティが補完される。具体的にはhasElement(L700)というプロパティを用いて、要素を持つという意味を追記した。
In L503 of FIG. 5, there is an appearance order specification (element) as an element of TVAMainType, and elements are listed. The appearance order designation element is determined not to be described as RDF Schema by the schema
L504にはTVAMainTypeの属性項(attribute)が列挙されている。この属性項も、また、スキーマ互換性判定手段201によって、RDF Schemaへの記述は不可能として判定され、判定結果が要素分離手段202に送信される。分離されたXML Schemaの要素(L504)は、第2の記述方式変換手段204を用いて、RDF文書(L703)へと記述し直される。このとき、スキーマ情報を持つというプロパティhasSchema(L702)をプロパティ補完手段205より補完し、RDF文書として成り立たせる。前記プロパティ補完手段205によって補完されたプロパティは、クラス・プロパティ情報付与手段206によって、RDF Schema105に追記される。上記第2の記述方式変換手段204によって、RDF文書(図6)に記述したXML Schema(図5)の要素(L503)の中で、出現回数の指定(minOccurs)を述語(プロパティ)として用いている。このプロパティの情報をRDF Schema(図6)にクラス・プロパティ情報付与手段206を用いて、RDF Schema(L602)として追記する。これらに示した手段により、図5のXML Schemaを図6のRDF Schemaと図7のRDF文書とに分離し、変換することが可能となる。
In L504, attribute items (attributes) of TVAMAinType are listed. This attribute term is also determined by the schema
以上述べた手順により、情報の欠落を生じさせることなくXML Schema103を、RDF SchemaもしくはOWL105とRDF文書106とに変換し、XML文書104をRDF文書107に変換することができる。
According to the procedure described above, the
尚、本実施の形態で用いたXML文書の構造を示すスキーマはXML Schemaを用いたが、同様のデータ変換装置を用いて、XML文書のスキーマであるDTD(Document Type Definition)を用いることも可能である。 Although XML Schema is used as the schema indicating the structure of the XML document used in the present embodiment, DTD (Document Type Definition), which is the schema of the XML document, can be used by using a similar data conversion device. It is.
尚、本実施の形態で用いたXML文書、XML SchemaはTV Anytimeの文書の一部であるが、同様のデータ変換装置を用いて、全ての内容を変換することも可能である。 Note that the XML document and XML Schema used in this embodiment are part of the TV Anytime document, but it is also possible to convert all the contents using a similar data conversion device.
尚、本実施の形態では、スキーマ互換性判定手段201のみでXML SchemaをRDF SchemaもしくはOWL105用いて、XML Schema103がRDF SchemaもしくはOWL105として記述できるか、記述できないかの情報を前記変換テーブル208が保持し、スキーマ互換性判定手段201からの要求に応じて、対応関係の情報を前記変換テーブル208が返信し、自動的に記述の可、不可を判定することも可能である。
In this embodiment, the conversion table 208 holds information about whether or not the
尚、本実施の形態では、XML Schemaの持つ情報を欠落させることなくRDF Schemaへの変換を行う場合について説明したが、付加的意味情報付与手段207を用いることによって、第1の記述方式変換手段203において、XML Schema103をRDF SchemaもしくはOWL105として記述し直す場合に、XML Schemaの要素間にユーザの意図する情報や、メタデータ作成者の意図する情報をRDF Schemaに新たに付与することが可能となる。具体的には、「TVAMainの要素であるSynopsisは番組のシーンを表現するコメントである」といる記述を、付加的意味情報付与手段207を用いて付与することによって、新たな意味情報をRDF SchemaもしくはOWL105に追記することが可能となる。ユーザもしくはメタデータ作成者の意図する情報を、XML Schemaに記述される要素間の意味的情報として、新たに追記することによって、メタデータ制作時におけるRDF文書内の意味的検索の利用価値が向上するという別の効果も発揮でき有効である。
In this embodiment, the case where the conversion to the RDF Schema is performed without losing the information held by the XML Schema has been described. However, the first description method conversion means is obtained by using the additional semantic
尚、本実施の形態では、データ変換装置に入力されるXML文書104およびXML Schema103としてTV Anytimeの文書およびXML Schemaを用いたが、同様のデータ変換装置を用いて、任意のXML文書、例えば、MPEG−7、および前記XML文書のXML Schemaであっても変換可能である。
In this embodiment, the TV Anytime document and the XML Schema are used as the
尚、本実施の形態では、XML Schemaの情報を保持するRDF文書106と、XML文書から変換されたRDF文書107とを、異なるファイルとして扱ったが、一つのファイルとして扱うことも可能である。具体的な例を図10に示す。RDF文書をトリプルの形式で示した図10において、一つのRDF文書の中に、インスタンス部とスキーマ部が混在する。
In this embodiment, the
2つのRDF文書を一つのファイルとして扱うことにより、ファイルの管理が容易になるという別の効果も発揮でき有効である。いずれも、この実施の形態に限定されるものではない。 By handling two RDF documents as one file, it is effective because another effect that file management becomes easy can be exhibited. Neither is limited to this embodiment.
本発明に係る、構造記述データを意味記述データに変換するデータ変換方法は、スキーマ構造が異なるフォーマット同士の変換に有用である。 The data conversion method for converting structure description data into semantic description data according to the present invention is useful for conversion between formats having different schema structures.
100 データ変換装置
101 スキーマ部変換装置
102 インスタンス部変換装置
103 XML Schema
104 XML文書
105 RDF SchemaもしくはOWL
106 RDF文書(スキーマ情報)
107 RDF文書(インスタンス情報)
108 スキーマ部
109 インスタンス部
200 スキーマ部変換装置
201 スキーマ互換性判定手段
202 要素分割手段
203 第1の記述方式変換手段
204 第2の記述方式変換手段
205 プロパティ補完手段
206 クラス・プロパティ情報付与手段
207 付加的意味情報付与手段
208 変換テーブル
300 インスタンス部変換装置
301 意味補完判定手段
302 第3の記述方式変換手段
303 プロパティ補完手段
DESCRIPTION OF
104
106 RDF document (schema information)
107 RDF document (instance information)
DESCRIPTION OF
Claims (7)
前記構造記述データのスキーマが、前記意味記述データのスキーマと文書とに分けて変換されることを特徴とする、スキーマ部変換装置。 A schema part conversion device used in a data conversion method for converting structure description data into semantic description data,
The schema part conversion apparatus, wherein the schema of the structure description data is converted separately into a schema of the semantic description data and a document.
前記互換性があると判定された要素を、前記意味記述データのスキーマに変換するための第1の記述方式変換手段と、
前記互換性がないと判断された要素を、前記意味記述データの文書に変換するための第2の記述方式変換手段と、
をさらに備えることを特徴とする、請求項2に記載のスキーマ部変換装置。 An element dividing unit that divides the element into an element determined to be compatible and an element determined to be incompatible by the schema compatibility determining unit;
First description method conversion means for converting the element determined to be compatible into a schema of the semantic description data;
A second description method conversion means for converting the element determined to be incompatible into a document of the semantic description data;
The schema part conversion device according to claim 2, further comprising:
前記意味記述データが、RDFデータであることを特徴とする、請求項1〜5のいずれか一項に記載のスキーマ部変換装置。 The structure description data is XML data;
The schema part conversion apparatus according to claim 1, wherein the semantic description data is RDF data.
前記構造記述データのスキーマの要素が、前記意味記述データのスキーマに対し、互換性を有するが否かを判定する、スキーマ互換性判定ステップと、
前記スキーマ互換性判定ステップによって、互換性があると判定された要素と、互換性がないと判定された要素とに要素を分ける、要素分割ステップと、
前記互換性があると判断された要素を、意味記述データのスキーマに変換するための第1の記述方式変換ステップと、
前記互換性がないと判断された要素を、意味記述データの文書に変換するための第2の記述方式変換ステップと、
を備えることを特徴とする、スキーマ部変換方法。 A schema part conversion method used in a data conversion method for converting structure description data into semantic description data,
A schema compatibility determination step for determining whether or not the schema element of the structure description data is compatible with the schema of the semantic description data;
An element dividing step of dividing the element into an element determined to be compatible and an element determined to be incompatible by the schema compatibility determining step;
A first description method conversion step for converting the element determined to be compatible into a schema of semantic description data;
A second description method conversion step for converting the element determined to be incompatible into a document of semantic description data;
A schema part conversion method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004139580A JP2005322025A (en) | 2004-05-10 | 2004-05-10 | Device and method for converting structure description data into semantic description data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004139580A JP2005322025A (en) | 2004-05-10 | 2004-05-10 | Device and method for converting structure description data into semantic description data |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005322025A true JP2005322025A (en) | 2005-11-17 |
Family
ID=35469263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004139580A Pending JP2005322025A (en) | 2004-05-10 | 2004-05-10 | Device and method for converting structure description data into semantic description data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005322025A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009087339A (en) * | 2007-09-27 | 2009-04-23 | Nec (China) Co Ltd | Method and device for importing/exporting ontology data |
JP2010237867A (en) * | 2009-03-30 | 2010-10-21 | Nomura Research Institute Ltd | Metadata automatic imparting system and method |
WO2023188049A1 (en) * | 2022-03-30 | 2023-10-05 | 株式会社Robon | Metadata management system, metadata management method, and program |
-
2004
- 2004-05-10 JP JP2004139580A patent/JP2005322025A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009087339A (en) * | 2007-09-27 | 2009-04-23 | Nec (China) Co Ltd | Method and device for importing/exporting ontology data |
JP2010237867A (en) * | 2009-03-30 | 2010-10-21 | Nomura Research Institute Ltd | Metadata automatic imparting system and method |
WO2023188049A1 (en) * | 2022-03-30 | 2023-10-05 | 株式会社Robon | Metadata management system, metadata management method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7346598B2 (en) | Schemaless dataflow within an XML storage solution | |
US8903862B2 (en) | Apparatus, method and computer program product for processing resource description framework statements | |
US20060031749A1 (en) | Adaptive multimedia integration language (amil) for adaptive multimedia applications and presentations | |
US20060129745A1 (en) | Process and appliance for data processing and computer program product | |
KR100765745B1 (en) | Method and apparatus for creating MPV file, and storing media therefor | |
US20170139936A1 (en) | Exporting data to web-based applications | |
JP5536790B2 (en) | Conditional processing method and apparatus | |
Kawanaka et al. | Accessibility commons: a metadata infrastructure for web accessibility | |
Käbisch et al. | Standardized and efficient RDF encoding for constrained embedded networks | |
Lefrançois | RDF presentation and correct content conveyance for legacy services and the web of things | |
JP2005322025A (en) | Device and method for converting structure description data into semantic description data | |
Asadi et al. | Context-aware semantic adaptation of multimedia presentations | |
JP5426533B2 (en) | Method and apparatus for searching multimedia content | |
Bilasco et al. | Semantics for intelligent delivery of multimedia content | |
US10095801B2 (en) | Providing interaction between a first content set and a second content set in a computer system | |
JP5264905B2 (en) | Query expression apparatus and method for multimedia search | |
KR100765784B1 (en) | Method and apparatus for searching entity | |
JP2010237867A (en) | Metadata automatic imparting system and method | |
McCrae | Yuzu: Publishing Any Data as Linked Data. | |
KR100443176B1 (en) | An XSLT-Based Method and Apparatus for Implementing Dynamic Update of TeM Metadata | |
Signer et al. | Back to the Future: Bringing Original Hypermedia and Cross-Media Concepts to Modern Desktop Environments | |
Rodighiero | Hexagons, Satellites and Semantic Background | |
Toman | XProc: Beyond application/xml | |
Kumar et al. | Creating Pagelet Producer | |
Tous et al. | An architecture for TV content distributed search and retrieval using the MPEG query format (MPQF) |