0

オントロジーは、owlready2 ライブラリを使用して、データベースからのプロテジと入力されたデータを使用して作成されました。現在、この行で次のエラーが発生しています。

sync_reasoner(私の世界)

これは私が遭遇したエラーです:

オントロジーを解析できませんでした。適切なパーサーが見つからなかったか、解析に失敗しました。説明については、以下のパーサー ログを参照してください。次のパーサーが試行されました。

詳細なログ:

Parser: RDFXMLParser 
org.xml.sax.SAXParseException; systemId: file:///C:/Users/THARIN~2/AppData/Local/Temp/tmpin0r193y; lineNumber: 1; columnNumber: 8; Element type "http:" must be followed by either attribute specifications, ">" or "/>". 

-------------------------------------------------------------------------------- 
Parser: OWLXMLParser 
org.xml.sax.SAXParseException; systemId: file:///C:/Users/THARIN~2/AppData/Local/Temp/tmpin0r193y; lineNumber: 1; columnNumber: 8; Element type "http:" must be followed by either attribute specifications, ">" or "/>". 

-------------------------------------------------------------------------------- 
Parser: OWLFunctionalSyntaxOWLParser 
Encountered " <FULLIRI> "<http://www.semanticweb.org/yashoda/ontologies/2017/12/MovieOnto> "" at line 1, column 1. 
Was expecting: 
    "Ontology" ... 
     (Line 0) 

-------------------------------------------------------------------------------- 
Parser: TurtleOntologyParser 
uk.ac.manchester.cs.owl.owlapi.turtle.parser.ParseException: Encountered " <ERROR> "< "" at line 64, column 1. 
Was expecting: 
    <EOF>  


-------------------------------------------------------------------------------- 
Parser: OWLOBOParser 
org.coode.owlapi.obo.parser.ParseException: Encountered "<EOF>" at line 941, column 114. 
Was expecting one of: 
    "[" ... 
    <TAG_NAME> ... 
    <QUOTED_STRING> ... 
    <STRING> ... 
    <TAG_VALUE_WS> ... 
    <COMMENT> ... 
     (Line 941) 

-------------------------------------------------------------------------------- 
Parser: KRSS2OWLParser 
de.uulm.ecs.ai.owlapi.krssparser.ParseException: Encountered " ">" "<http://www.semanticweb.org/yashoda/ontologies/2017/12/MovieOnto> "" at line 1, column 1. 
Was expecting: 
    <EOF>  


-------------------------------------------------------------------------------- 
Parser: ManchesterOWLSyntaxOntologyParser 
Encountered <http://www.semanticweb.org/yashoda/ontologies/2017/12/MovieOnto> at line 1 column 1. Expected one of: 
        Individual: 
        AnnotationProperty: 
        Datatype: 
        DataProperty: 
        ObjectProperty: 
        DisjointProperties: 
        ValuePartition: 
        EquivalentClasses: 
        Import: 
        Prefix: 
        DisjointClasses: 
        Class: 
        SameIndividual: 
        DifferentIndividuals: 
 (Line 1) 
4

1 に答える 1