予備知識
ImportとExport
要素
オプション
例題
例
関連項目
GraphStore`
Wolfram Language code:
Wolfram Language code:
OWLFunctional (.ofn)
予備知識
-
- MIMEタイプ:text/owl-functional
- OWLオントロジーのためのテキストベースの形式.
- OWL関数スタイルシンタックスはhttps://www.w3.org/TR/owl2-syntax/で指定されている.
例題
例 (1)
Needs["GraphStore`"]ImportString["
Prefix(: = <http://example.org/>)
Prefix(xsd: = <http://www.w3.org/2001/XMLSchema#>)
Ontology(
Declaration(Class(:Bike))
Declaration(DataProperty(:wheelCount))
EquivalentClasses(
:Bike
DataHasValue(:wheelCount \"2\"^^xsd:integer)
)
DataPropertyAssertion(:wheelCount :laufmaschine \"2\"^^xsd:integer)
DataPropertyAssertion(:wheelCount :unicycle \"1\"^^xsd:integer)
)
", "OWLFunctional"]