SlideShare uma empresa Scribd logo
1 de 43
オントロジー検索エンジンを用いた
領域オントロジー構築支援環境
DODDLE-OWLの拡張
森田 武史1,和泉 憲明2 ,山口 高平1
1慶應義塾大学
2産業技術総合研究所
目次
• 背景
• 目的
• 提案
– 既存オントロジーの獲得およびランキング
– OWLオントロジーの要素抽出
• ケーススタディ
• まとめと今後の課題
目次
• 背景
• 目的
• 提案
– 既存オントロジーの獲得およびランキング
– OWLオントロジーの要素抽出
• ケーススタディ
• まとめと今後の課題
背景
• テキストと汎用オントロジーを活用した
領域オントロジー構築支援環境 DODDLE-OWL
• 最新概念を含むオントロジーの構築
• 既存OWLオントロジーの再利用
• プロパティの獲得
問題点
新たな既存情報資源
• Wikipediaとフォークソノミータグ
– 最新概念への対応
– Wikipediaのページ間の関連度を用いた概念定
義支援
– Wikipediaカテゴリを用いた階層構築支援
• オントロジー検索エンジン
– 既存OWLオントロジーの再利用
– プロパティの獲得
関連研究:オントロジー検索エンジン
Swoogle
• 提供しているサービス
– Swoogle Search
– Swoogle Statistics
– Swoogle Web Service
• 1万以上のオントロジーを登録
• URL: http://swoogle.umbc.edu/
• 提供元: Ebiquity research group at
UMBC
– http://research.ebiquity.org/
Li Ding and Rong Pan and Tim Finin and Anupam Joshi and Yun Peng and Pranam Kolari,
"Finding and Ranking Knowledge on the Semantic Web",Proceedings of the 4th
International Semantic Web Conference, LNCS 3729, pp.156--170, 2005
目次
• 背景
• 目的
• 提案
– 既存オントロジーの獲得およびランキング
– OWLオントロジーの要素抽出
• ケーススタディ
• まとめと今後の課題
目的
• Swoogleを用いて獲得した既存オントロジー
及びテキストを参照リソースとした領域オント
ロジー構築支援
目次
• 背景
• 目的
• 提案
– 既存オントロジーの獲得およびランキング
– OWLオントロジーの要素抽出
• ケーススタディ
• まとめと今後の課題
オントロジー検索エンジンSwoogleを用いた
DODDLE-OWLの拡張
既存OWL
オントロジー
単語
抽出
入力単語
選択
専門文書
オントロジー検索エンジン
(Swoogle)
クラス候補 プロパティ候補
入力概念
選択
オントロジー
アライメント
関係抽出
クラス階層構築 プロパティ階層構築 非階層関係構築
オントロジーの洗練
領域オントロジー
既存オントロジーの
獲得およびランキング
オントロジー
要素抽出
目次
• 背景
• 目的
• 提案
– 既存オントロジーの獲得およびランキング
– OWLオントロジーの要素抽出
• ケーススタディ
• まとめと今後の課題
Swoogle Webサービス
1 Search Services
[1] Search ontology
[2] Search documents
[3] Search terms
2 Digest Services
[4] Digest semantic web document
[5] Digest semantic web term
[6] Digest semantic web namespace
3 Relation Services
[7] list document out-links
[8] list document in-links
[9] list terms in document
[10] list namespaces used by document
[11] list terms using namespace
[12] list documents using namespace
[13] list documents using term
[14] list term definition
[15] list definition dependency
[16] list domain classes of a property
[17] list properties of a domain class
[18] list range classes of a property
[19] list properties of a range class
検索サービス
メタデータ検索
サービス
依存関係検索
サービス
領域オントロジー構築に利用可能な
Swoogle Webサービスとその入出力
Swoogle Webサービス 入力 出力
[1] Search Ontology 検索キーワード
検索キーワードに関連する
SWOのリスト
[3] Search terms 検索キーワード
検索キーワードに関連する
SWTのリスト
[4] Digest semantic web document SWD
SWDのSwoogleメタデータ
[13] list documents using term SWT
SWTを定義,参照,populate
しているSWDのリスト
[16] list domain classes of a property プロパティ
入力したプロパティの定義域のリスト
[17] list properties of a domain class クラス
入力したクラスを定義域とする
プロパティのリスト
[18] list range classes of a property プロパティ
入力したプロパティの値域のリスト
[19] list properties of a range class クラス
入力したクラスを値域とする
プロパティのリスト
定義域,値域,プロパティを
検索するためのWebサービス
クラス及びプロパティを検索するためのWebサービス
オントロジーを検索するためのWebサービス
[3] Search terms
(localname:person) (type:owl.class OR type.rdfs.class)
<wob:SemanticWebTerm rdf:about="http://xmlns.com/foaf/0.1/Person">
<swoogle:hasTermRank>14460.7179141852</swoogle:hasTermRank>
<swoogle:usesNamespace>
<wob:SemanticWebNamespace rdf:about="http://xmlns.com/foaf/0.1/"/>
</swoogle:usesNamespace>
<swoogle:hasLocalname>Person</swoogle:hasLocalname>
.....
</wob:SemanticWebTerm>
“person”をローカル名とするクラスのURIとTermRank
http://logos.cs.umbc.edu:8080/swoogle31/q?
&queryType=search_swt
&searchString=(localname:person) (type:owl.class OR type.rdfs.class)
&key=demo
RESTクエリー
検索結果(RDF/XML形式)
Swoogleを用いた
既存OWLオントロジーの獲得
1. 入力単語に関連するクラス及びプロパティの獲得 ([3])
• TermRankも獲得
2. 1で獲得したクラスを定義域または値域とするプロパティ
の獲得 ([17], [19])
3. 1と2で獲得したプロパティの定義域および値域の獲得
([16], [18])
4. 1から3で獲得したクラスまたはプロパティを定義している
オントロジーを獲得 ([1], [4], [13])
5. 1及び2で獲得したプロパティの中で,定義域および値域
が入力概念また入力概念の上位概念でないものを削除
6. 獲得したオントロジーをランキングし,ユーザが参照オント
ロジーを選択
オントロジーのランキング
• オントロジーの中で入力概念を含む割合
• オントロジーの中で定義されている入力
概念に関連する非階層関係の数
• Swoogleのランキング指標
–OntoRank
–TermRank
目次
• 背景
• 目的
• 提案
– 既存オントロジーの獲得およびランキング
– OWLオントロジーの要素抽出
• ケーススタディ
• まとめと今後の課題
DODDLE-OWLにおける領域オントロジー構築
に必要なOWLオントロジーの要素
• 概念(クラス及びプロパティ)
• 概念の見出し
–入力単語と概念を対応づけるために必要
• 概念の説明
–多義性解消時に参照
• 上位・下位関係
• 非階層関係
オントロジーの要
素
オントロジーの要素を特定するクラスまたはプロパティ
概念
rdfs:Class, owl:Class, rdf:Property, owl:ObjectProperty, owl:DatatypeProperty
skos:Concept
wn20schema:WordSense, wn20schema:NounWordSense,
edrschema:概念
見出し
rdfs:label
skos:prefLabel, skos:altLabel, skos:hiddenLabel
wn20schema:lexicalForm
edrschema:日本語概念見出し, edrschema:英語概念見出し
説明
rdfs:comment
skos:definition
wn20schema:gloss
edrschema:日本語概念説明, edrschema:英語概念説明
上位・下位関係
rdfs:subClassOf, rdfs:subPropertyOf
skos:broader, skos:narrower
wn20schema:hypernymOf, wn20schema:hyponymOf
edrschema:上位概念, edrschema:下位概念
非階層関係
rdfs:domain, rdfs:range
skos:related
wn20schema:antonymOf, wn20schema:partMeronymOf など
d h t d h bj t
OWL基本語彙,SKOS, WordNet RDF/OWL, EDR RDF/OWL
におけるオントロジーの要素を特定するクラス及びプロパティ
OWL基本語彙とWordNet RDF/OWL
における「見出し」の獲得
aSynset
wn20schema:containsWordSense
aWordSense
wn20schema:word
aWord
wn20schema:lexicalForm
“見出し”
aConcept “見出し”
rdfs:label
OWL基本語彙
WordNet RDF/OWL
構造が異なる
SPARQLテンプレートを用いた
オントロジー要素の抽出
OWL
オントロジー
見出しと説明
抽出テンプレート
上位・下位関係
抽出テンプレート
クラス
抽出テンプレート
プロパティ
抽出テンプレート
非階層関係
抽出テンプレート
SPARQLで記述
DODDLE-OWL
OWLオントロジーから
必要な要素を抽出
SPARQLテンプレートの例:
ラベル・説明抽出テンプレート
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?label ?description
WHERE {
{?concept rdfs:label ?label} UNION
{?concept rdfs:comment ?description}
}
•?concept変数の部分を取得したい概念(クラスまたはプロパティ)の
URIに置換することで,取得したい概念のラベル及び説明のみを
抽出
•?concept, ?label, ?description変数を用いて
SPARQLテンプレートを作成し,OWLオントロジーと対応づける
ことで,様々なプロパティや構造により表現された
概念のラベルや説明となる要素を抽出できる
目次
• 背景
• 目的
• 提案
– 既存オントロジーの獲得およびランキング
– OWLオントロジーの要素抽出
• ケーススタディ
• まとめと今後の課題
ケーススタディ
• 目的
– 領域に関連する既存オントロジーの獲得およびラ
ンキングが,提案手法により可能かどうかを検証
すること
– Swoogleにより獲得したプロパティ及びその定義
域と値域が概念定義に利用できるかどうかを検
証すること
• 入力
– 国際売買法 第二部の英文テキストから選択した
主要46単語[M.Kurematsu 04]
[M.Kurematsu 04] M.Kurematsu and T.Iwade and N.Nakaya and T.Yamaguchi,
"DODDLE II A Domain Ontology Development Environment Using a MRD and Text Corpus",
IEICE(E) vol. E87-D, no.4, pp.908--916, 2004
ケーススタディの結果
クラス数 141
プロパティ数 1
入力単語のカバー率 33/46
プロパティ数 495
非階層関係数 47
非階層関係数 111209
オントロジー数 105
クラス数 141
プロパティ数 490
非階層関係数 2
プロパティ数 490
非階層関係数 1149
1.入力単語に関連するクラス及びプロパティの獲得
(上位5個まで)
2.1で獲得したクラスを定義域または値域とする
プロパティの獲得(上位100個まで)
3.1と2で獲得したプロパティの定義域および値域の獲得
(上位100個まで)
4.1から3で獲得したクラスまたはプロパティを定義している
オントロジーを獲得(上位10個まで)
5. 1及び2で獲得したプロパティの中で,定義域および値域が
入力概念また入力概念の上位概念でないものを削除
6. 獲得したオントロジーのランキング
ケーススタディにより獲得した非階層関係
(プロパティ数:490,非階層関係数:1149)
定義域 プロパティ 値域
http://xmlns.com/foaf/0.1/Person http://purl.org/vocab/relationship/worksWith http://xmlns.com/foaf/0.1/Person
http://xmlns.com/wordnet/1.6/Agent http://purl.org/vocab/relationship/worksWith http://xmlns.com/foaf/0.1/Person
http://xmlns.com/foaf/0.1/Person http://purl.org/vocab/relationship/enemyOf http://xmlns.com/foaf/0.1/Person
http://xmlns.com/wordnet/1.6/Agent http://purl.org/vocab/relationship/enemyOf http://xmlns.com/foaf/0.1/Person
http://www.w3.org/2000/10/swap/pi
m/contact#Person
http://purl.org/vocab/relationship/childOf http://xmlns.com/foaf/0.1/Person
http://xmlns.com/foaf/0.1/Person http://www.w3.org/2002/07/owl#sameAs http://xmlns.com/wordnet/1.6/Pe
rson
http://co4.inrialpes.fr/align/Contest/
223/onto.rdf#Address
http://www.mindswap.org/~glapizco/technic
al.owl#depiction
http://xmlns.com/foaf/0.1/Person
http://www.mindswap.org/~glapizco
/document.owl#Letter
http://www.mindswap.org/~glapizco/technic
al.owl#depiction
http://xmlns.com/foaf/0.1/Agent
http://xmlns.com/wordnet/1.6/Agent http://xmlns.com/foaf/0.1/knows http://xmlns.com/foaf/0.1/Agent
http://xmlns.com/foaf/0.1/Person http://makna.ag-nbi.de/test-ontologies/pet-
ontology#hasPet
http://xmlns.com/foaf/0.1/Person
http://www.aktors.org/ontology/port
al#Person
http://www.aktors.org/ontology/portal#has-
secretary
http://www.aktors.org/ontology/p
ortal#Person
http://xmlns.com/wordnet/1.6/Perso
n
http://makna.ag-nbi.de/test-ontologies/pet-
ontology#relationalCharacteristic
http://xmlns.com/wordnet/1.6/Pe
rson
ケーススタディにより獲得した
非階層関係
定義域 値域 厳密照合数 拡張照合数
person person 202 891
person address 2 1
reply person 2 0
letter person 1 3
person letter 1 3
address person 1 1
day person 0 18
quantity person 0 14
person day 0 14
person quantity 0 5
day day 0 5
day quantity 0 5
quantity day 0 5
quantity quantity 0 5
proposal proposal 0 4
ケーススタディにより獲得した
既存オントロジー(上位20)
順位 OntoRank
入力概念を
含む割合
入力概念数 オントロジーのURL
1 0.881 0.326 15 http://www.w3.org/2001/sw/BestPractices/WNET/wnNounsyn_v7.owl
2 0.881 0.326 15 http://www.loa-cnr.it/ontologies/OWN/OWN.owl
3 642.815 0.261 12 http://morpheus.cs.umbc.edu/aks1/ontosem.owl
4 0.86 0.261 12 http://www.cs.umbc.edu/~aks1/ontosem.owl
5 0.735 0.239 11 http://rhizomik.net/ontologies/2005/07/FrameNet_1.1_inferred.owl
6 0.726 0.239 11 http://rhizomik.upf.edu/ontologies/2005/07/FrameNet_1.1.owl
7 0.726 0.239 11 http://rhizomik.net/ontologies/2005/07/FrameNet_1.1.owl
8 0.875 0.217 10 http://athena.ics.forth.gr:9090/RDF/VRP/Examples/DCD100.rdf
9 0.875 0.217 10 http://139.91.183.30:9090/RDF/VRP/Examples/DCD100.rdf
10 1.701 0.196 9 http://www.cyc.com/2004/06/04/cyc
11 5.725 0.174 8 http://semweb.mcdonaldbradley.com/OWL/Cyc/FreeToGov/060704/FreeToGovCyc.owl
12 0.924 0.174 8 http://semweb.mcdonaldbradley.com/.dev/OWL/Cyc/FreeToGov/060704/FreeToGovCyc.owl
13 0.924 0.174 8 http://semweb.mcdonaldbradley.com/.Private/OWL/Cyc/FreeToGov/060704/FreeToGovCyc.owl
14 1.28 0.152 7 http://ontologies.isx.com/onts/saturn/2004/10/core.owl
15 0.875 0.152 7 http://www.cs.utexas.edu/~mfkb/RKF/tree/CLib-core-office.owl
16 0.875 0.152 7 http://www.cs.utexas.edu/users/mfkb/RKF/tree/CLib-core-office.owl
17 0.837 0.152 7 http://dmag.upf.es/ontologies/2003/12/ipronto.owl
18 0.837 0.152 7 http://dmag.upf.edu/ontologies/2003/12/ipronto.owl
19 1.363 0.13 6 http://co4.inrialpes.fr/align/Contest/223/onto.rdf
20 1.792 0.109 5 http://counterterror.mindswap.org/2005/terrorism.owl
ケーススタディの考察
• TermRankの高いクラス及びプロパティを定義した既存オ
ントロジーを獲得したため,汎用オントロジーが数多く獲得
された
• Swoogleを用いて獲得した非階層関係の大部分は,
person概念に関連しており,専門家が定義した関係は得
られなかった
• 獲得したオントロジー中に入力概念に関連する非階層関
係の定義が得られなかった
– インポートしているオントロジーの獲得
– owl:ObjectProperty以外のプロパティ(owl:SymmetricPropertyな
ど)の獲得
– 論理和(owl:unionOf)で表現された定義域および値域の獲得
– 継承している定義域および値域の獲得
• 定義内容が同様でURLが異なるオントロジーが多数獲得
された
目次
• 背景
• 目的
• 提案
– 既存オントロジーの獲得およびランキング
– OWLオントロジーの要素抽出
• ケーススタディ
• まとめと今後の課題
まとめと今後の課題
• まとめ
– 既存オントロジーを活用したDODDLE-OWLの拡張
• Swoogleを用いた既存オントロジーの獲得及びランキング
• SPARQLテンプレートを用いたオントロジーの要素抽出
– ケーススタディ
• 今後の課題
– TermRank以外の指標を用いたクラス及びプロパティの
獲得
– オントロジーのランキング
– オントロジーアライメントを用いた階層構築支援
Swoogleで定義される用語
• Ontology Ratio
– R(foo) = ( |C(foo)| + |P(foo) |) / ( |C(foo) | + |P(foo) | +|I(foo) | )
• Semantic Web Ontologies(SWO)
– Ontology Ratioが0.8以上
• Semantic Web Instance files (SWI)
• Semantic Web Document (SWD)
– RDFグラフ,RDF/XML, N-Triple, N3で記述されたファイル
– SWO+SWI
• Class
– (X, Y, Z)で,Xがクラスとすると
• 1.Xは無名ノードではない
• 2.Yはrdf:type
• 3.Zは,rdfs:Class, owl:Class, owl:Restriction, owl:DataRange,
daml:Class, daml:Datatype, daml:Restriction のどれか
Swoogleで定義される用語
• Property
– (X, Y, Z)で,Xがプロパティとすると
• 1.Xは無名ノードではない
• 2.Yはrdf:type
• 3.Zは,rdf:Property, owl:ObjectProperty,
owl:DatatypeProperty, owl:AnnotationProperty,
owl:FunctionalProperty, owl:InverseFunctionalProperty,
owl:SymmetricProperty,
owl:OntologyProperty,owl:TransitiveProperty, daml:Property,
daml:ObjectProperty, daml:DatatypeProperty,
daml:TransitiveProperty, daml:UniqueProperty のどれか
• Individual
– (X, Y, Z)で,Xが個体とすると
• 1.Xは無名ノードではない
• 2.Yはrdf:type
• 3.Zは,owl:Thing, daml:Thing, 名前空間が{owl, rdf, rdfs,
daml}でないクラス
Swoogle Web Service
サービス名 説明
DODDLE
から利用
[1] Search ontology SWOを検索 ○
[2] Search documents SWDを検索
[3] Search terms SWTを検索 ○
[4] Digest semantic web document SWDのURLを入力として,そのSWDのSwoogle
メタデータを得る
○
[5] Digest semantic web term SWTのURIを入力として,そのSWTのSwoogle
メタデータを得る
[6] Digest semantic web namespace 名前空間を入力として,その名前空間の
Swoogleメタデータを得る
[7] list document out-links SWDを入力としてそのSWDからリンクが張られ
ているSWDのリストを返す
[8] list document in-links SWDを入力としてそのSWDをリンクしている
SWDのリストを返す
[9] list terms in document SWDを入力としてそのSWDで定義・参照・
populateされているSWTのリストを返す
[10] list namespaces used by document SWDを入力としてそのSWDで使われている名前
空間のリストを返す
(namespace=>term)
(namespace=>doc)
(term=>doc)
サービス名 説明
DODDLE
から利用
[11] list terms using namespace 名前空間を入力としてその名前空間を利用して
いるSWTのリストを返す
[12] list documents using namespace 名前空間を入力としてその名前空間を利用して
いるSWDのリストを返す
[13] list documents using term SWTを入力としてそのSWTを参照・定義・
populateしているSWDのリストを返す
○
[14] list term definition SWTを入力としてそのSWTを定義しているトリプ
ルのリストを返す
[15] list definition dependency SWTを入力としてそのSWTに依存しているSWT
のリストを返す(Domain, Rangeなど)
[16] list domain classes of a property プロパティを入力としてそのプロパティの定義域と
して定義されているクラスのリストを返す
○
[17] list properties of a domain class クラスを入力としてそのクラスを定義域として定義
しているプロパティのリストを返す
○
[18] list range classes of a property プロパティを入力としてそのプロパティの値域とし
て定義されているクラスのリストを返す
○
[19] list properties of a range class クラスを入力としてそのクラスを値域として定義し
ているプロパティのリストを返す
○
Swoogle Web Service
[1] Search Ontology
(person概念を定義しているオントロジーの1つ)
<wob:SemanticWebDocument rdf:about="http://xmlns.com/foaf/0.1/index.rdf">
<swoogle:hasMd5sum>f390d198dbfcf6afa0992b10a47d6dce</swoogle:hasMd5sum>
<swoogle:hasOntoRank>90273.0072833513</swoogle:hasOntoRank>
<swoogle:hasCntInstance>1</swoogle:hasCntInstance>
<swoogle:hasLength>39871</swoogle:hasLength>
<wob:isEmbedded>false</wob:isEmbedded>
<swoogle:hasDateCache>2006-02-09</swoogle:hasDateCache>
<swoogle:hasEncoding>utf-8</swoogle:hasEncoding>
<swoogle:hasDateDiscovered>2005-01-17</swoogle:hasDateDiscovered>
<swoogle:hasPingState rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#PingAlive"/>
<swoogle:hasOntoRatio>1</swoogle:hasOntoRatio>
<swoogle:hasParseState
rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#ParseSuccess"/>
<swoogle:hasDatePing>2006-02-22</swoogle:hasDatePing>
<swoogle:hasCntSwt>100</swoogle:hasCntSwt>
<swoogle:hasFiletype>rdf</swoogle:hasFiletype>
<swoogle:hasDateLastmodified>2006-01-29</swoogle:hasDateLastmodified>
<swoogle:hasDescRef>
, OnlineEcommerceAccount, OnlineGamingAccount, Organization, <B>Person</B>, Personal,
PersonalProfileDocument, Primary, Profile
</swoogle:hasDescRef>
<swoogle:hasDescDef>
, OnlineGamingAccount, Organization, <B>Person</B>, Personal, PersonalProfileDocument, Primary, Profile
</swoogle:hasDescDef>
<swoogle:hasCntSwtDef>83</swoogle:hasCntSwtDef>
<wob:hasGrammar rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/wob.owl#RDFXML"/>
<swoogle:hasCntTriple>561</swoogle:hasCntTriple>
</wob:SemanticWebDocument>
オントロジーのURL
ファイルのエンコーディング
RDFの形式
OntoRank
[16] list domain classes of a property
<swoogle:hasResult rdf:parseType="Collection">
<rdf:Statement>
<rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/name"/>
<rdf:predicate
rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceDomain"/>
<rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<swoogle:hasDocumentFrequency>314898</swoogle:hasDocumentFrequency>
<swoogle:hasInstanceFrequency>4723535</swoogle:hasInstanceFrequency>
</rdf:Statement>
<rdf:Statement>
<rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/name"/>
<rdf:predicate
rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceDomain"/>
<rdf:object rdf:resource="http://www.hackcraft.net/bookrdf/vocab/0_1/Publisher"/>
<swoogle:hasDocumentFrequency>16369</swoogle:hasDocumentFrequency>
<swoogle:hasInstanceFrequency>16369</swoogle:hasInstanceFrequency>
</rdf:Statement>
「http://xmlns.com/foaf/0.1/name」プロパティの定義域のリスト
[17] list properties of a domain class
<swoogle:hasResult rdf:parseType="Collection">
<rdf:Statement>
<rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/mbox_sha1sum"/>
<rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceDom
<rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<swoogle:hasDocumentFrequency>578947</swoogle:hasDocumentFrequency>
<swoogle:hasInstanceFrequency>4224039</swoogle:hasInstanceFrequency>
</rdf:Statement>
<rdf:Statement>
<rdf:subject rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
<rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceDom
<rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<swoogle:hasDocumentFrequency>494545</swoogle:hasDocumentFrequency>
<swoogle:hasInstanceFrequency>12643235</swoogle:hasInstanceFrequency>
</rdf:Statement>
「http://xmlns.com/foaf/0.1/Person」クラスを定義域として持つプロパティのリスト
[18] list range classes of a property
<swoogle:hasResult rdf:parseType="Collection">
<rdf:Statement>
<rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/name"/>
<rdf:predicate
rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceRange"/>
<rdf:object rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
<swoogle:hasDocumentFrequency>335703</swoogle:hasDocumentFrequency>
<swoogle:hasInstanceFrequency>4949690</swoogle:hasInstanceFrequency>
</rdf:Statement>
<rdf:Statement>
<rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/name"/>
<rdf:predicate
rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceRange"/>
<rdf:object rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt"/>
<swoogle:hasDocumentFrequency>7</swoogle:hasDocumentFrequency>
<swoogle:hasInstanceFrequency>12</swoogle:hasInstanceFrequency>
</rdf:Statement>
「http://xmlns.com/foaf/0.1/name」プロパティの値域 のリスト
[19] list properties of a range class
<swoogle:hasResult rdf:parseType="Collection">
<rdf:Statement>
<rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/knows"/>
<rdf:predicate
rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceRange"/>
<rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<swoogle:hasDocumentFrequency>446562</swoogle:hasDocumentFrequency>
<swoogle:hasInstanceFrequency>12294435</swoogle:hasInstanceFrequency>
</rdf:Statement>
<rdf:Statement>
<rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/maker"/>
<rdf:predicate
rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceRange"/>
<rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<swoogle:hasDocumentFrequency>316973</swoogle:hasDocumentFrequency>
<swoogle:hasInstanceFrequency>878171</swoogle:hasInstanceFrequency>
</rdf:Statement>
「http://xmlns.com/foaf/0.1/Person」クラスを値域として持つプロパティのリスト
SPARQLテンプレートの例(2)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?class
WHERE {
{?class rdf:type owl:Class} UNION {?class rdf:type rdfs:Class}
}
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?property
WHERE {
{?property rdf:type owl:ObjectProperty} UNION
{?property rdf:type owl:DatatypeProperty} UNION
{?property rdf:type rdf:Property}
}
クラス抽出テンプレート
プロパティ抽出テンプレート
SPARQLテンプレートの例(3)
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?property ?domain ?range
WHERE {
{?property rdfs:domain ?domain} UNION
{?property rdfs:range ?range}
}
その他の関係抽出テンプレート
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?subConcept
WHERE {
{?subConcept rdfs:subClassOf ?concept} UNION
{?subConcept rdfs:subPropertyOf ?concept}
}
上位・下位関係抽出テンプレート

Mais conteúdo relacionado

Destaque

Semantic Web Technologies -metadata, ontology, logic, agent-
Semantic Web Technologies -metadata, ontology, logic, agent-Semantic Web Technologies -metadata, ontology, logic, agent-
Semantic Web Technologies -metadata, ontology, logic, agent-blanc_et_noir
 
OWLで何が書けるか
OWLで何が書けるかOWLで何が書けるか
OWLで何が書けるかKazuro Fukuhara
 
Spring 12年の歴史
Spring 12年の歴史Spring 12年の歴史
Spring 12年の歴史movmov
 
Spring Framework 4.3から5.0へ
Spring Framework 4.3から5.0へSpring Framework 4.3から5.0へ
Spring Framework 4.3から5.0へmovmov
 
Javaプログラミングをスッキリ学ぶ10のコツ
Javaプログラミングをスッキリ学ぶ10のコツJavaプログラミングをスッキリ学ぶ10のコツ
Javaプログラミングをスッキリ学ぶ10のコツKiyotaka NAKAYAMA
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerLuminary Labs
 

Destaque (7)

Semantic Web Technologies -metadata, ontology, logic, agent-
Semantic Web Technologies -metadata, ontology, logic, agent-Semantic Web Technologies -metadata, ontology, logic, agent-
Semantic Web Technologies -metadata, ontology, logic, agent-
 
OWLで何が書けるか
OWLで何が書けるかOWLで何が書けるか
OWLで何が書けるか
 
Spring 12年の歴史
Spring 12年の歴史Spring 12年の歴史
Spring 12年の歴史
 
Spring Framework 4.3から5.0へ
Spring Framework 4.3から5.0へSpring Framework 4.3から5.0へ
Spring Framework 4.3から5.0へ
 
Javaプログラミングをスッキリ学ぶ10のコツ
Javaプログラミングをスッキリ学ぶ10のコツJavaプログラミングをスッキリ学ぶ10のコツ
Javaプログラミングをスッキリ学ぶ10のコツ
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 

Semelhante a オントロジー検索エンジンを用いた領域オントロジー構築支援環境DODDLE-OWLの拡張

設計/ドメイン設計(3) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第25回】
設計/ドメイン設計(3) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第25回】設計/ドメイン設計(3) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第25回】
設計/ドメイン設計(3) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第25回】Tomoharu ASAMI
 
ARC-007_企業アプリケーション アーキテクチャ トレンドを読め!! 変革の時代に備える ~MSA、OSS、DevOps~
ARC-007_企業アプリケーション アーキテクチャ トレンドを読め!! 変革の時代に備える ~MSA、OSS、DevOps~ARC-007_企業アプリケーション アーキテクチャ トレンドを読め!! 変革の時代に備える ~MSA、OSS、DevOps~
ARC-007_企業アプリケーション アーキテクチャ トレンドを読め!! 変革の時代に備える ~MSA、OSS、DevOps~decode2016
 
Css2014 ruo ando_2014-10-23-01
Css2014 ruo ando_2014-10-23-01Css2014 ruo ando_2014-10-23-01
Css2014 ruo ando_2014-10-23-01Ruo Ando
 
Azure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etc
Azure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etcAzure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etc
Azure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etcYoichi Kawasaki
 
OCHaCafe Season 2 #4 - Cloud Native時代のモダンJavaの世界
OCHaCafe Season 2 #4 - Cloud Native時代のモダンJavaの世界OCHaCafe Season 2 #4 - Cloud Native時代のモダンJavaの世界
OCHaCafe Season 2 #4 - Cloud Native時代のモダンJavaの世界オラクルエンジニア通信
 
Symfony2でより良いソフトウェアを作るために
Symfony2でより良いソフトウェアを作るためにSymfony2でより良いソフトウェアを作るために
Symfony2でより良いソフトウェアを作るためにAtsuhiro Kubo
 
Optimizing Search Engines using Clickthrough Data
Optimizing Search Engines using Clickthrough DataOptimizing Search Engines using Clickthrough Data
Optimizing Search Engines using Clickthrough DataKoji Yoshida
 
オラクル・インフラストラクチャー・サービス(IaaS)最新情報(Oracle Cloud Days Tokyo 2015)
オラクル・インフラストラクチャー・サービス(IaaS)最新情報(Oracle Cloud Days Tokyo 2015)オラクル・インフラストラクチャー・サービス(IaaS)最新情報(Oracle Cloud Days Tokyo 2015)
オラクル・インフラストラクチャー・サービス(IaaS)最新情報(Oracle Cloud Days Tokyo 2015)オラクルエンジニア通信
 
設計/ドメイン設計(4) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第26回】
設計/ドメイン設計(4) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第26回】設計/ドメイン設計(4) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第26回】
設計/ドメイン設計(4) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第26回】Tomoharu ASAMI
 
ドメイン駆動設計のためのオブジェクト指向入門
ドメイン駆動設計のためのオブジェクト指向入門ドメイン駆動設計のためのオブジェクト指向入門
ドメイン駆動設計のためのオブジェクト指向入門増田 亨
 
uroboroSQLの紹介 (OSC2017 Nagoya) #oscnagoya
uroboroSQLの紹介 (OSC2017 Nagoya) #oscnagoyauroboroSQLの紹介 (OSC2017 Nagoya) #oscnagoya
uroboroSQLの紹介 (OSC2017 Nagoya) #oscnagoyaKenichi Hoshi
 
MySQL57 Update@OSC Fukuoka 20151003
MySQL57 Update@OSC Fukuoka 20151003MySQL57 Update@OSC Fukuoka 20151003
MySQL57 Update@OSC Fukuoka 20151003Shinya Sugiyama
 
VSUG Day 2010 Summer - Using ADO.NET Entity Framework
VSUG Day 2010 Summer - Using ADO.NET Entity FrameworkVSUG Day 2010 Summer - Using ADO.NET Entity Framework
VSUG Day 2010 Summer - Using ADO.NET Entity FrameworkAtsushi Fukui
 
ドメインロジックの実装方法とドメイン駆動設計
ドメインロジックの実装方法とドメイン駆動設計ドメインロジックの実装方法とドメイン駆動設計
ドメインロジックの実装方法とドメイン駆動設計Tadayoshi Sato
 
Software Development with Symfony
Software Development with SymfonySoftware Development with Symfony
Software Development with SymfonyAtsuhiro Kubo
 
Oracle Cloud Infrastructure:2021年12月度サービス・アップデート
Oracle Cloud Infrastructure:2021年12月度サービス・アップデートOracle Cloud Infrastructure:2021年12月度サービス・アップデート
Oracle Cloud Infrastructure:2021年12月度サービス・アップデートオラクルエンジニア通信
 
Oracle Cloud Infrastructure:2022年8月度サービス・アップデート
Oracle Cloud Infrastructure:2022年8月度サービス・アップデートOracle Cloud Infrastructure:2022年8月度サービス・アップデート
Oracle Cloud Infrastructure:2022年8月度サービス・アップデートオラクルエンジニア通信
 
テスト 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第33回】
テスト 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第33回】テスト 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第33回】
テスト 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第33回】Tomoharu ASAMI
 
MySQL最新情報
MySQL最新情報MySQL最新情報
MySQL最新情報yoyamasaki
 

Semelhante a オントロジー検索エンジンを用いた領域オントロジー構築支援環境DODDLE-OWLの拡張 (20)

設計/ドメイン設計(3) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第25回】
設計/ドメイン設計(3) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第25回】設計/ドメイン設計(3) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第25回】
設計/ドメイン設計(3) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第25回】
 
ARC-007_企業アプリケーション アーキテクチャ トレンドを読め!! 変革の時代に備える ~MSA、OSS、DevOps~
ARC-007_企業アプリケーション アーキテクチャ トレンドを読め!! 変革の時代に備える ~MSA、OSS、DevOps~ARC-007_企業アプリケーション アーキテクチャ トレンドを読め!! 変革の時代に備える ~MSA、OSS、DevOps~
ARC-007_企業アプリケーション アーキテクチャ トレンドを読め!! 変革の時代に備える ~MSA、OSS、DevOps~
 
Css2014 ruo ando_2014-10-23-01
Css2014 ruo ando_2014-10-23-01Css2014 ruo ando_2014-10-23-01
Css2014 ruo ando_2014-10-23-01
 
Azure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etc
Azure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etcAzure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etc
Azure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etc
 
OCHaCafe Season 2 #4 - Cloud Native時代のモダンJavaの世界
OCHaCafe Season 2 #4 - Cloud Native時代のモダンJavaの世界OCHaCafe Season 2 #4 - Cloud Native時代のモダンJavaの世界
OCHaCafe Season 2 #4 - Cloud Native時代のモダンJavaの世界
 
Symfony2でより良いソフトウェアを作るために
Symfony2でより良いソフトウェアを作るためにSymfony2でより良いソフトウェアを作るために
Symfony2でより良いソフトウェアを作るために
 
NLP2012
NLP2012NLP2012
NLP2012
 
Optimizing Search Engines using Clickthrough Data
Optimizing Search Engines using Clickthrough DataOptimizing Search Engines using Clickthrough Data
Optimizing Search Engines using Clickthrough Data
 
オラクル・インフラストラクチャー・サービス(IaaS)最新情報(Oracle Cloud Days Tokyo 2015)
オラクル・インフラストラクチャー・サービス(IaaS)最新情報(Oracle Cloud Days Tokyo 2015)オラクル・インフラストラクチャー・サービス(IaaS)最新情報(Oracle Cloud Days Tokyo 2015)
オラクル・インフラストラクチャー・サービス(IaaS)最新情報(Oracle Cloud Days Tokyo 2015)
 
設計/ドメイン設計(4) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第26回】
設計/ドメイン設計(4) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第26回】設計/ドメイン設計(4) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第26回】
設計/ドメイン設計(4) 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第26回】
 
ドメイン駆動設計のためのオブジェクト指向入門
ドメイン駆動設計のためのオブジェクト指向入門ドメイン駆動設計のためのオブジェクト指向入門
ドメイン駆動設計のためのオブジェクト指向入門
 
uroboroSQLの紹介 (OSC2017 Nagoya) #oscnagoya
uroboroSQLの紹介 (OSC2017 Nagoya) #oscnagoyauroboroSQLの紹介 (OSC2017 Nagoya) #oscnagoya
uroboroSQLの紹介 (OSC2017 Nagoya) #oscnagoya
 
MySQL57 Update@OSC Fukuoka 20151003
MySQL57 Update@OSC Fukuoka 20151003MySQL57 Update@OSC Fukuoka 20151003
MySQL57 Update@OSC Fukuoka 20151003
 
VSUG Day 2010 Summer - Using ADO.NET Entity Framework
VSUG Day 2010 Summer - Using ADO.NET Entity FrameworkVSUG Day 2010 Summer - Using ADO.NET Entity Framework
VSUG Day 2010 Summer - Using ADO.NET Entity Framework
 
ドメインロジックの実装方法とドメイン駆動設計
ドメインロジックの実装方法とドメイン駆動設計ドメインロジックの実装方法とドメイン駆動設計
ドメインロジックの実装方法とドメイン駆動設計
 
Software Development with Symfony
Software Development with SymfonySoftware Development with Symfony
Software Development with Symfony
 
Oracle Cloud Infrastructure:2021年12月度サービス・アップデート
Oracle Cloud Infrastructure:2021年12月度サービス・アップデートOracle Cloud Infrastructure:2021年12月度サービス・アップデート
Oracle Cloud Infrastructure:2021年12月度サービス・アップデート
 
Oracle Cloud Infrastructure:2022年8月度サービス・アップデート
Oracle Cloud Infrastructure:2022年8月度サービス・アップデートOracle Cloud Infrastructure:2022年8月度サービス・アップデート
Oracle Cloud Infrastructure:2022年8月度サービス・アップデート
 
テスト 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第33回】
テスト 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第33回】テスト 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第33回】
テスト 【クラウドアプリケーションのためのオブジェクト指向分析設計講座 第33回】
 
MySQL最新情報
MySQL最新情報MySQL最新情報
MySQL最新情報
 

オントロジー検索エンジンを用いた領域オントロジー構築支援環境DODDLE-OWLの拡張

  • 2. 目次 • 背景 • 目的 • 提案 – 既存オントロジーの獲得およびランキング – OWLオントロジーの要素抽出 • ケーススタディ • まとめと今後の課題
  • 3. 目次 • 背景 • 目的 • 提案 – 既存オントロジーの獲得およびランキング – OWLオントロジーの要素抽出 • ケーススタディ • まとめと今後の課題
  • 4. 背景 • テキストと汎用オントロジーを活用した 領域オントロジー構築支援環境 DODDLE-OWL • 最新概念を含むオントロジーの構築 • 既存OWLオントロジーの再利用 • プロパティの獲得 問題点
  • 5. 新たな既存情報資源 • Wikipediaとフォークソノミータグ – 最新概念への対応 – Wikipediaのページ間の関連度を用いた概念定 義支援 – Wikipediaカテゴリを用いた階層構築支援 • オントロジー検索エンジン – 既存OWLオントロジーの再利用 – プロパティの獲得
  • 6. 関連研究:オントロジー検索エンジン Swoogle • 提供しているサービス – Swoogle Search – Swoogle Statistics – Swoogle Web Service • 1万以上のオントロジーを登録 • URL: http://swoogle.umbc.edu/ • 提供元: Ebiquity research group at UMBC – http://research.ebiquity.org/ Li Ding and Rong Pan and Tim Finin and Anupam Joshi and Yun Peng and Pranam Kolari, "Finding and Ranking Knowledge on the Semantic Web",Proceedings of the 4th International Semantic Web Conference, LNCS 3729, pp.156--170, 2005
  • 7. 目次 • 背景 • 目的 • 提案 – 既存オントロジーの獲得およびランキング – OWLオントロジーの要素抽出 • ケーススタディ • まとめと今後の課題
  • 9. 目次 • 背景 • 目的 • 提案 – 既存オントロジーの獲得およびランキング – OWLオントロジーの要素抽出 • ケーススタディ • まとめと今後の課題
  • 11. 目次 • 背景 • 目的 • 提案 – 既存オントロジーの獲得およびランキング – OWLオントロジーの要素抽出 • ケーススタディ • まとめと今後の課題
  • 12. Swoogle Webサービス 1 Search Services [1] Search ontology [2] Search documents [3] Search terms 2 Digest Services [4] Digest semantic web document [5] Digest semantic web term [6] Digest semantic web namespace 3 Relation Services [7] list document out-links [8] list document in-links [9] list terms in document [10] list namespaces used by document [11] list terms using namespace [12] list documents using namespace [13] list documents using term [14] list term definition [15] list definition dependency [16] list domain classes of a property [17] list properties of a domain class [18] list range classes of a property [19] list properties of a range class 検索サービス メタデータ検索 サービス 依存関係検索 サービス
  • 13. 領域オントロジー構築に利用可能な Swoogle Webサービスとその入出力 Swoogle Webサービス 入力 出力 [1] Search Ontology 検索キーワード 検索キーワードに関連する SWOのリスト [3] Search terms 検索キーワード 検索キーワードに関連する SWTのリスト [4] Digest semantic web document SWD SWDのSwoogleメタデータ [13] list documents using term SWT SWTを定義,参照,populate しているSWDのリスト [16] list domain classes of a property プロパティ 入力したプロパティの定義域のリスト [17] list properties of a domain class クラス 入力したクラスを定義域とする プロパティのリスト [18] list range classes of a property プロパティ 入力したプロパティの値域のリスト [19] list properties of a range class クラス 入力したクラスを値域とする プロパティのリスト 定義域,値域,プロパティを 検索するためのWebサービス クラス及びプロパティを検索するためのWebサービス オントロジーを検索するためのWebサービス
  • 14. [3] Search terms (localname:person) (type:owl.class OR type.rdfs.class) <wob:SemanticWebTerm rdf:about="http://xmlns.com/foaf/0.1/Person"> <swoogle:hasTermRank>14460.7179141852</swoogle:hasTermRank> <swoogle:usesNamespace> <wob:SemanticWebNamespace rdf:about="http://xmlns.com/foaf/0.1/"/> </swoogle:usesNamespace> <swoogle:hasLocalname>Person</swoogle:hasLocalname> ..... </wob:SemanticWebTerm> “person”をローカル名とするクラスのURIとTermRank http://logos.cs.umbc.edu:8080/swoogle31/q? &queryType=search_swt &searchString=(localname:person) (type:owl.class OR type.rdfs.class) &key=demo RESTクエリー 検索結果(RDF/XML形式)
  • 15. Swoogleを用いた 既存OWLオントロジーの獲得 1. 入力単語に関連するクラス及びプロパティの獲得 ([3]) • TermRankも獲得 2. 1で獲得したクラスを定義域または値域とするプロパティ の獲得 ([17], [19]) 3. 1と2で獲得したプロパティの定義域および値域の獲得 ([16], [18]) 4. 1から3で獲得したクラスまたはプロパティを定義している オントロジーを獲得 ([1], [4], [13]) 5. 1及び2で獲得したプロパティの中で,定義域および値域 が入力概念また入力概念の上位概念でないものを削除 6. 獲得したオントロジーをランキングし,ユーザが参照オント ロジーを選択
  • 17. 目次 • 背景 • 目的 • 提案 – 既存オントロジーの獲得およびランキング – OWLオントロジーの要素抽出 • ケーススタディ • まとめと今後の課題
  • 19. オントロジーの要 素 オントロジーの要素を特定するクラスまたはプロパティ 概念 rdfs:Class, owl:Class, rdf:Property, owl:ObjectProperty, owl:DatatypeProperty skos:Concept wn20schema:WordSense, wn20schema:NounWordSense, edrschema:概念 見出し rdfs:label skos:prefLabel, skos:altLabel, skos:hiddenLabel wn20schema:lexicalForm edrschema:日本語概念見出し, edrschema:英語概念見出し 説明 rdfs:comment skos:definition wn20schema:gloss edrschema:日本語概念説明, edrschema:英語概念説明 上位・下位関係 rdfs:subClassOf, rdfs:subPropertyOf skos:broader, skos:narrower wn20schema:hypernymOf, wn20schema:hyponymOf edrschema:上位概念, edrschema:下位概念 非階層関係 rdfs:domain, rdfs:range skos:related wn20schema:antonymOf, wn20schema:partMeronymOf など d h t d h bj t OWL基本語彙,SKOS, WordNet RDF/OWL, EDR RDF/OWL におけるオントロジーの要素を特定するクラス及びプロパティ
  • 22. SPARQLテンプレートの例: ラベル・説明抽出テンプレート PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?label ?description WHERE { {?concept rdfs:label ?label} UNION {?concept rdfs:comment ?description} } •?concept変数の部分を取得したい概念(クラスまたはプロパティ)の URIに置換することで,取得したい概念のラベル及び説明のみを 抽出 •?concept, ?label, ?description変数を用いて SPARQLテンプレートを作成し,OWLオントロジーと対応づける ことで,様々なプロパティや構造により表現された 概念のラベルや説明となる要素を抽出できる
  • 23. 目次 • 背景 • 目的 • 提案 – 既存オントロジーの獲得およびランキング – OWLオントロジーの要素抽出 • ケーススタディ • まとめと今後の課題
  • 24. ケーススタディ • 目的 – 領域に関連する既存オントロジーの獲得およびラ ンキングが,提案手法により可能かどうかを検証 すること – Swoogleにより獲得したプロパティ及びその定義 域と値域が概念定義に利用できるかどうかを検 証すること • 入力 – 国際売買法 第二部の英文テキストから選択した 主要46単語[M.Kurematsu 04] [M.Kurematsu 04] M.Kurematsu and T.Iwade and N.Nakaya and T.Yamaguchi, "DODDLE II A Domain Ontology Development Environment Using a MRD and Text Corpus", IEICE(E) vol. E87-D, no.4, pp.908--916, 2004
  • 25. ケーススタディの結果 クラス数 141 プロパティ数 1 入力単語のカバー率 33/46 プロパティ数 495 非階層関係数 47 非階層関係数 111209 オントロジー数 105 クラス数 141 プロパティ数 490 非階層関係数 2 プロパティ数 490 非階層関係数 1149 1.入力単語に関連するクラス及びプロパティの獲得 (上位5個まで) 2.1で獲得したクラスを定義域または値域とする プロパティの獲得(上位100個まで) 3.1と2で獲得したプロパティの定義域および値域の獲得 (上位100個まで) 4.1から3で獲得したクラスまたはプロパティを定義している オントロジーを獲得(上位10個まで) 5. 1及び2で獲得したプロパティの中で,定義域および値域が 入力概念また入力概念の上位概念でないものを削除 6. 獲得したオントロジーのランキング
  • 26. ケーススタディにより獲得した非階層関係 (プロパティ数:490,非階層関係数:1149) 定義域 プロパティ 値域 http://xmlns.com/foaf/0.1/Person http://purl.org/vocab/relationship/worksWith http://xmlns.com/foaf/0.1/Person http://xmlns.com/wordnet/1.6/Agent http://purl.org/vocab/relationship/worksWith http://xmlns.com/foaf/0.1/Person http://xmlns.com/foaf/0.1/Person http://purl.org/vocab/relationship/enemyOf http://xmlns.com/foaf/0.1/Person http://xmlns.com/wordnet/1.6/Agent http://purl.org/vocab/relationship/enemyOf http://xmlns.com/foaf/0.1/Person http://www.w3.org/2000/10/swap/pi m/contact#Person http://purl.org/vocab/relationship/childOf http://xmlns.com/foaf/0.1/Person http://xmlns.com/foaf/0.1/Person http://www.w3.org/2002/07/owl#sameAs http://xmlns.com/wordnet/1.6/Pe rson http://co4.inrialpes.fr/align/Contest/ 223/onto.rdf#Address http://www.mindswap.org/~glapizco/technic al.owl#depiction http://xmlns.com/foaf/0.1/Person http://www.mindswap.org/~glapizco /document.owl#Letter http://www.mindswap.org/~glapizco/technic al.owl#depiction http://xmlns.com/foaf/0.1/Agent http://xmlns.com/wordnet/1.6/Agent http://xmlns.com/foaf/0.1/knows http://xmlns.com/foaf/0.1/Agent http://xmlns.com/foaf/0.1/Person http://makna.ag-nbi.de/test-ontologies/pet- ontology#hasPet http://xmlns.com/foaf/0.1/Person http://www.aktors.org/ontology/port al#Person http://www.aktors.org/ontology/portal#has- secretary http://www.aktors.org/ontology/p ortal#Person http://xmlns.com/wordnet/1.6/Perso n http://makna.ag-nbi.de/test-ontologies/pet- ontology#relationalCharacteristic http://xmlns.com/wordnet/1.6/Pe rson
  • 27. ケーススタディにより獲得した 非階層関係 定義域 値域 厳密照合数 拡張照合数 person person 202 891 person address 2 1 reply person 2 0 letter person 1 3 person letter 1 3 address person 1 1 day person 0 18 quantity person 0 14 person day 0 14 person quantity 0 5 day day 0 5 day quantity 0 5 quantity day 0 5 quantity quantity 0 5 proposal proposal 0 4
  • 28. ケーススタディにより獲得した 既存オントロジー(上位20) 順位 OntoRank 入力概念を 含む割合 入力概念数 オントロジーのURL 1 0.881 0.326 15 http://www.w3.org/2001/sw/BestPractices/WNET/wnNounsyn_v7.owl 2 0.881 0.326 15 http://www.loa-cnr.it/ontologies/OWN/OWN.owl 3 642.815 0.261 12 http://morpheus.cs.umbc.edu/aks1/ontosem.owl 4 0.86 0.261 12 http://www.cs.umbc.edu/~aks1/ontosem.owl 5 0.735 0.239 11 http://rhizomik.net/ontologies/2005/07/FrameNet_1.1_inferred.owl 6 0.726 0.239 11 http://rhizomik.upf.edu/ontologies/2005/07/FrameNet_1.1.owl 7 0.726 0.239 11 http://rhizomik.net/ontologies/2005/07/FrameNet_1.1.owl 8 0.875 0.217 10 http://athena.ics.forth.gr:9090/RDF/VRP/Examples/DCD100.rdf 9 0.875 0.217 10 http://139.91.183.30:9090/RDF/VRP/Examples/DCD100.rdf 10 1.701 0.196 9 http://www.cyc.com/2004/06/04/cyc 11 5.725 0.174 8 http://semweb.mcdonaldbradley.com/OWL/Cyc/FreeToGov/060704/FreeToGovCyc.owl 12 0.924 0.174 8 http://semweb.mcdonaldbradley.com/.dev/OWL/Cyc/FreeToGov/060704/FreeToGovCyc.owl 13 0.924 0.174 8 http://semweb.mcdonaldbradley.com/.Private/OWL/Cyc/FreeToGov/060704/FreeToGovCyc.owl 14 1.28 0.152 7 http://ontologies.isx.com/onts/saturn/2004/10/core.owl 15 0.875 0.152 7 http://www.cs.utexas.edu/~mfkb/RKF/tree/CLib-core-office.owl 16 0.875 0.152 7 http://www.cs.utexas.edu/users/mfkb/RKF/tree/CLib-core-office.owl 17 0.837 0.152 7 http://dmag.upf.es/ontologies/2003/12/ipronto.owl 18 0.837 0.152 7 http://dmag.upf.edu/ontologies/2003/12/ipronto.owl 19 1.363 0.13 6 http://co4.inrialpes.fr/align/Contest/223/onto.rdf 20 1.792 0.109 5 http://counterterror.mindswap.org/2005/terrorism.owl
  • 29. ケーススタディの考察 • TermRankの高いクラス及びプロパティを定義した既存オ ントロジーを獲得したため,汎用オントロジーが数多く獲得 された • Swoogleを用いて獲得した非階層関係の大部分は, person概念に関連しており,専門家が定義した関係は得 られなかった • 獲得したオントロジー中に入力概念に関連する非階層関 係の定義が得られなかった – インポートしているオントロジーの獲得 – owl:ObjectProperty以外のプロパティ(owl:SymmetricPropertyな ど)の獲得 – 論理和(owl:unionOf)で表現された定義域および値域の獲得 – 継承している定義域および値域の獲得 • 定義内容が同様でURLが異なるオントロジーが多数獲得 された
  • 30. 目次 • 背景 • 目的 • 提案 – 既存オントロジーの獲得およびランキング – OWLオントロジーの要素抽出 • ケーススタディ • まとめと今後の課題
  • 31. まとめと今後の課題 • まとめ – 既存オントロジーを活用したDODDLE-OWLの拡張 • Swoogleを用いた既存オントロジーの獲得及びランキング • SPARQLテンプレートを用いたオントロジーの要素抽出 – ケーススタディ • 今後の課題 – TermRank以外の指標を用いたクラス及びプロパティの 獲得 – オントロジーのランキング – オントロジーアライメントを用いた階層構築支援
  • 32.
  • 33. Swoogleで定義される用語 • Ontology Ratio – R(foo) = ( |C(foo)| + |P(foo) |) / ( |C(foo) | + |P(foo) | +|I(foo) | ) • Semantic Web Ontologies(SWO) – Ontology Ratioが0.8以上 • Semantic Web Instance files (SWI) • Semantic Web Document (SWD) – RDFグラフ,RDF/XML, N-Triple, N3で記述されたファイル – SWO+SWI • Class – (X, Y, Z)で,Xがクラスとすると • 1.Xは無名ノードではない • 2.Yはrdf:type • 3.Zは,rdfs:Class, owl:Class, owl:Restriction, owl:DataRange, daml:Class, daml:Datatype, daml:Restriction のどれか
  • 34. Swoogleで定義される用語 • Property – (X, Y, Z)で,Xがプロパティとすると • 1.Xは無名ノードではない • 2.Yはrdf:type • 3.Zは,rdf:Property, owl:ObjectProperty, owl:DatatypeProperty, owl:AnnotationProperty, owl:FunctionalProperty, owl:InverseFunctionalProperty, owl:SymmetricProperty, owl:OntologyProperty,owl:TransitiveProperty, daml:Property, daml:ObjectProperty, daml:DatatypeProperty, daml:TransitiveProperty, daml:UniqueProperty のどれか • Individual – (X, Y, Z)で,Xが個体とすると • 1.Xは無名ノードではない • 2.Yはrdf:type • 3.Zは,owl:Thing, daml:Thing, 名前空間が{owl, rdf, rdfs, daml}でないクラス
  • 35. Swoogle Web Service サービス名 説明 DODDLE から利用 [1] Search ontology SWOを検索 ○ [2] Search documents SWDを検索 [3] Search terms SWTを検索 ○ [4] Digest semantic web document SWDのURLを入力として,そのSWDのSwoogle メタデータを得る ○ [5] Digest semantic web term SWTのURIを入力として,そのSWTのSwoogle メタデータを得る [6] Digest semantic web namespace 名前空間を入力として,その名前空間の Swoogleメタデータを得る [7] list document out-links SWDを入力としてそのSWDからリンクが張られ ているSWDのリストを返す [8] list document in-links SWDを入力としてそのSWDをリンクしている SWDのリストを返す [9] list terms in document SWDを入力としてそのSWDで定義・参照・ populateされているSWTのリストを返す [10] list namespaces used by document SWDを入力としてそのSWDで使われている名前 空間のリストを返す
  • 36. (namespace=>term) (namespace=>doc) (term=>doc) サービス名 説明 DODDLE から利用 [11] list terms using namespace 名前空間を入力としてその名前空間を利用して いるSWTのリストを返す [12] list documents using namespace 名前空間を入力としてその名前空間を利用して いるSWDのリストを返す [13] list documents using term SWTを入力としてそのSWTを参照・定義・ populateしているSWDのリストを返す ○ [14] list term definition SWTを入力としてそのSWTを定義しているトリプ ルのリストを返す [15] list definition dependency SWTを入力としてそのSWTに依存しているSWT のリストを返す(Domain, Rangeなど) [16] list domain classes of a property プロパティを入力としてそのプロパティの定義域と して定義されているクラスのリストを返す ○ [17] list properties of a domain class クラスを入力としてそのクラスを定義域として定義 しているプロパティのリストを返す ○ [18] list range classes of a property プロパティを入力としてそのプロパティの値域とし て定義されているクラスのリストを返す ○ [19] list properties of a range class クラスを入力としてそのクラスを値域として定義し ているプロパティのリストを返す ○ Swoogle Web Service
  • 37. [1] Search Ontology (person概念を定義しているオントロジーの1つ) <wob:SemanticWebDocument rdf:about="http://xmlns.com/foaf/0.1/index.rdf"> <swoogle:hasMd5sum>f390d198dbfcf6afa0992b10a47d6dce</swoogle:hasMd5sum> <swoogle:hasOntoRank>90273.0072833513</swoogle:hasOntoRank> <swoogle:hasCntInstance>1</swoogle:hasCntInstance> <swoogle:hasLength>39871</swoogle:hasLength> <wob:isEmbedded>false</wob:isEmbedded> <swoogle:hasDateCache>2006-02-09</swoogle:hasDateCache> <swoogle:hasEncoding>utf-8</swoogle:hasEncoding> <swoogle:hasDateDiscovered>2005-01-17</swoogle:hasDateDiscovered> <swoogle:hasPingState rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#PingAlive"/> <swoogle:hasOntoRatio>1</swoogle:hasOntoRatio> <swoogle:hasParseState rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#ParseSuccess"/> <swoogle:hasDatePing>2006-02-22</swoogle:hasDatePing> <swoogle:hasCntSwt>100</swoogle:hasCntSwt> <swoogle:hasFiletype>rdf</swoogle:hasFiletype> <swoogle:hasDateLastmodified>2006-01-29</swoogle:hasDateLastmodified> <swoogle:hasDescRef> , OnlineEcommerceAccount, OnlineGamingAccount, Organization, <B>Person</B>, Personal, PersonalProfileDocument, Primary, Profile </swoogle:hasDescRef> <swoogle:hasDescDef> , OnlineGamingAccount, Organization, <B>Person</B>, Personal, PersonalProfileDocument, Primary, Profile </swoogle:hasDescDef> <swoogle:hasCntSwtDef>83</swoogle:hasCntSwtDef> <wob:hasGrammar rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/wob.owl#RDFXML"/> <swoogle:hasCntTriple>561</swoogle:hasCntTriple> </wob:SemanticWebDocument> オントロジーのURL ファイルのエンコーディング RDFの形式 OntoRank
  • 38. [16] list domain classes of a property <swoogle:hasResult rdf:parseType="Collection"> <rdf:Statement> <rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/name"/> <rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceDomain"/> <rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/> <swoogle:hasDocumentFrequency>314898</swoogle:hasDocumentFrequency> <swoogle:hasInstanceFrequency>4723535</swoogle:hasInstanceFrequency> </rdf:Statement> <rdf:Statement> <rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/name"/> <rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceDomain"/> <rdf:object rdf:resource="http://www.hackcraft.net/bookrdf/vocab/0_1/Publisher"/> <swoogle:hasDocumentFrequency>16369</swoogle:hasDocumentFrequency> <swoogle:hasInstanceFrequency>16369</swoogle:hasInstanceFrequency> </rdf:Statement> 「http://xmlns.com/foaf/0.1/name」プロパティの定義域のリスト
  • 39. [17] list properties of a domain class <swoogle:hasResult rdf:parseType="Collection"> <rdf:Statement> <rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/mbox_sha1sum"/> <rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceDom <rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/> <swoogle:hasDocumentFrequency>578947</swoogle:hasDocumentFrequency> <swoogle:hasInstanceFrequency>4224039</swoogle:hasInstanceFrequency> </rdf:Statement> <rdf:Statement> <rdf:subject rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/> <rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceDom <rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/> <swoogle:hasDocumentFrequency>494545</swoogle:hasDocumentFrequency> <swoogle:hasInstanceFrequency>12643235</swoogle:hasInstanceFrequency> </rdf:Statement> 「http://xmlns.com/foaf/0.1/Person」クラスを定義域として持つプロパティのリスト
  • 40. [18] list range classes of a property <swoogle:hasResult rdf:parseType="Collection"> <rdf:Statement> <rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/name"/> <rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceRange"/> <rdf:object rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> <swoogle:hasDocumentFrequency>335703</swoogle:hasDocumentFrequency> <swoogle:hasInstanceFrequency>4949690</swoogle:hasInstanceFrequency> </rdf:Statement> <rdf:Statement> <rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/name"/> <rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceRange"/> <rdf:object rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt"/> <swoogle:hasDocumentFrequency>7</swoogle:hasDocumentFrequency> <swoogle:hasInstanceFrequency>12</swoogle:hasInstanceFrequency> </rdf:Statement> 「http://xmlns.com/foaf/0.1/name」プロパティの値域 のリスト
  • 41. [19] list properties of a range class <swoogle:hasResult rdf:parseType="Collection"> <rdf:Statement> <rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/knows"/> <rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceRange"/> <rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/> <swoogle:hasDocumentFrequency>446562</swoogle:hasDocumentFrequency> <swoogle:hasInstanceFrequency>12294435</swoogle:hasInstanceFrequency> </rdf:Statement> <rdf:Statement> <rdf:subject rdf:resource="http://xmlns.com/foaf/0.1/maker"/> <rdf:predicate rdf:resource="http://daml.umbc.edu/ontologies/webofbelief/1.4/swoogle.owl#hasInstanceRange"/> <rdf:object rdf:resource="http://xmlns.com/foaf/0.1/Person"/> <swoogle:hasDocumentFrequency>316973</swoogle:hasDocumentFrequency> <swoogle:hasInstanceFrequency>878171</swoogle:hasInstanceFrequency> </rdf:Statement> 「http://xmlns.com/foaf/0.1/Person」クラスを値域として持つプロパティのリスト
  • 42. SPARQLテンプレートの例(2) PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> SELECT ?class WHERE { {?class rdf:type owl:Class} UNION {?class rdf:type rdfs:Class} } PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX owl: <http://www.w3.org/2002/07/owl#> SELECT ?property WHERE { {?property rdf:type owl:ObjectProperty} UNION {?property rdf:type owl:DatatypeProperty} UNION {?property rdf:type rdf:Property} } クラス抽出テンプレート プロパティ抽出テンプレート
  • 43. SPARQLテンプレートの例(3) PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?property ?domain ?range WHERE { {?property rdfs:domain ?domain} UNION {?property rdfs:range ?range} } その他の関係抽出テンプレート PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?subConcept WHERE { {?subConcept rdfs:subClassOf ?concept} UNION {?subConcept rdfs:subPropertyOf ?concept} } 上位・下位関係抽出テンプレート