我需要在樹中循環以獲取所有可能的路徑,在我的代碼中,我只獲得第一個路徑的問題! 例如: 在該圖中,有2條路徑噸處理:1-2-3-4-5-6和1-2-3-7-8,但我無法得到兩個,我剛剛檢索1-2-3-4-5-6! 我的代碼: 在主: for (String key : synset.keySet()) { // looping in a hash of Concept and it's ID
我讀了這個問題的答案: How to infer isBrotherOf property between two individuals 在截圖還有一些採用運營商「O」類表情。我搜索了OWL 2文檔,無法在任何地方找到它。 Google搜索「o」不會產生任何結果,因爲它可能是一個停用詞。 在哪裏「手冊」爲這種「O」?
我需要檢查,在給定的本體,通過SPARQL查詢的手段,不具有RDFS數據類型屬性:定義的範圍。例如,在下面的代碼中,我正在查找的結果是dataproperty2。 ont:Class1 a owl:Class .
ont:Class2 a owl:Class .
ont:dataProperty1 a owl:DatatypeProperty ;
rdfs:domain ont:Class