owl

    1熱度

    1回答

    我必須使用OWLAPI讀取本體;我用這個Java代碼: public class OwlApi { public static void main(String[] args) throws OWLOntologyCreationException, FileNotFoundException { OWLOntologyManager manager = OWLManager.cr

    1熱度

    1回答

    對我來說,dcterms:identifier屬性似乎是一個合法的反函數性質。當兩件事物具有相同的標識符時,我認爲可以肯定它是一回事。 是否有任何令人信服的理由不它在我的本體定義爲這樣的(owl:InverseFunctionalProperty)?

    -1熱度

    2回答

    如何使用owl api創建子類?以下內容是使用protege生成的。 <owl:Class rdf:about="http://www.semanticweb.org/muz_a/ontologies/2016/diseasesymptomogy-9#dizziness"> <rdfs:subClassOf rdf:resource="http://www.semanticweb.or

    1熱度

    1回答

    我需要檢查,在給定的本體,通過SPARQL查詢的手段,不具有RDFS數據類型屬性:定義的範圍。例如,在下面的代碼中,我正在查找的結果是dataproperty2。 ont:Class1 a owl:Class . ont:Class2 a owl:Class . ont:dataProperty1 a owl:DatatypeProperty ; rdfs:domain ont:Class

    0熱度

    1回答

    我定義了一個對象屬性"is_part_of"其中該域爲Flight和的範圍是航空公司;我想定義下列限制 「飛行is_part_of航空公司恰好1個航空公司」 我試圖is_part_of only Airline exactly 1 Airline ,但它不工作。 我認爲該徽章是exactly 1 Airline,但我找不到它

    0熱度

    1回答

    我有這樣一段代碼: manager.addAxiom( ontology,factory.getOWLSubClassOfAxiom( factory.getOWLClass("CCC", prefix), factory.getOWLObjectIntersectionOf( Arrays.asList(

    0熱度

    1回答

    我一直在試圖理解什麼是OWL語言中的「插槽」。 從我所瞭解的這是一個類的對象和數據屬性。 有人可以解釋什麼是插槽,我如何將它添加到Protege中?提前致謝。

    1熱度

    1回答

    打開我使用的得意門生「從打開URL」。在它的.owl文件只是一系列門生使用這些URL從互聯網加載它們的網址下載德龍本體的.owl文件。 我正在保存項目,但唯一保存的是原始文件(文件巫婆包含網址),每次我應該從互聯網上獲取所有數據。我應該如何將完整的文件保存在我的計算機磁盤上?

    1熱度

    1回答

    這裏是我的一塊本體子請求,使用JAVA-7和owlapi庫: import org.semanticweb.owlapi.reasoner.OWLReasoner; import org.semanticweb.owlapi.reasoner.OWLReasonerFactory; import org.semanticweb.owlapi.reasoner.ConsoleProgressMo

    0熱度

    1回答

    閱讀批註我使用耶拿讀本體中的公理中定義的註釋屬性。 例如我有這種個人及其所連接的公理 <owl:NamedIndividual rdf:about="http://www.co-ode.org/ontologies/pizza/pizza.owl#firstPizza"> <rdf:type rdf:resource="http://www.co-ode.org/ontologies/