問題タブ [owlready]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - 2 つのクラスの個人を比較する SWRL ルール
courses
私は、クラスであるさまざまなクラスを持つ単純なオントロジーを持っていlessons
ます。belongsTo
プロパティを の個人に関連付ける SWRL ルールを実行しようとしていますlessons
。OWLReady2と Pythonを使用しています
アイデアは、それらcourse_id
が類似している場合、レッスンはコースに属している必要があるということです。しかし、私のコードは機能していないようです。私はこれらの推論を得ています: