問題タブ [swrlapi]
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.
java - owl-api で rdf:PlainLiteral を xsd:string に変換する
私はこのトピック全体にかなり慣れていないので、誰かが私を助けてくれることを願っています.
現在、SQWRL を使用しているときに、オントロジーのデータを比較する際に問題が発生しています。ビルトインswrlb:stringEqualIgnoreCase
- SQWRL の関数では、一般的な文字列と比較できませんrdf:PlainLiteral
。次のエラー メッセージがスローされます。
SQWRL クエリ:
データ自体は^^http://www.w3.org/2001/XMLSchema#string
GraphDBのようにマークされていますが、プレーンなリテラルとして受け取るだけです。
owl-api やその他のツールrdf:PlainLiteral
を使用するように変換する簡単な方法はありますか?xsd:string
編集:スタックトレース