- From: <subhini.reddy@ps.ge.com>
- Date: Wed, 2 Apr 2003 14:00:26 -0500
- To: www-rdf-logic@w3.org
Hi, I am vikram, I am presently working on a reaserch project to parse the SUMO Ontology, I want to use the DAML dotnet API to parse the daml file, I tried to run the example given by you in the web page but , it is throwiong exception and dying off. The DAML file that i have is the following format: **************************************************************************** ******************** <rdf:RDF xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns ="http://teknowledge.com/ontology/Merge.txt#" > <rdfs:Class rdf:ID= "Reasoning"> <rdfs:subClassOf>IntentionalPsychologicalProcess</rdfs:subClassOf> <rdfs:comment>" The Class of IntentionalPsychologicalProcesses which involve concluding, on the basis of either deductive or inductive evidence, that a particular Proposition or Sentence is true."</rdfs:comment> </rdfs:Class> <rdfs:Class rdf:ID= "BiologicalAttribute"> <rdfs:subClassOf>InternalAttribute</rdfs:subClassOf> <rdfs:comment>" Attributes that apply specifically to instances of Organism or parts of an Organism."</rdfs:comment> </rdfs:Class> **************************************************************************** ************************* the error that is thrown is : **************************************************************************** ************************* Error occurred in reading RDF source: System.Runtime.InteropServices.COMExceptio n (0x800C0006): System error: -2146697210. at Injektilo.RDF.RdfModel.CleanLoad(String file, String b) in c:\dev\visual s tudio projects\dotnet\bbn.rdf\rdfmodel.cs:line 261 at Injektilo.RDF.RdfModel.CleanLoad(String uri) in c:\dev\visual studio proje cts\dotnet\bbn.rdf\rdfmodel.cs:line 203 at BBN.RDF.Common.ModelCom.Read(String url) in c:\dev\visual studio projects\ dotnet\bbn.rdf\modelimpl.cs:line 636 at BBN.DAML.DAMLLoader.CollectRDFSources(Model m, String uri, String baseURI, String lang) in C:\dev\Visual Studio Projects\dotnet\BBN.RDF\DAMLLoader.cs:line 527 at BBN.DAML.DAMLLoader.Read(String uri, String b, String lang) in C:\dev\Visu al Studio Projects\dotnet\BBN.RDF\DAMLLoader.cs:line 184 **************************************************************************** ********************** I have also tried with the "office.daml" file that you used in the example but still I couldnt solve the error .... please help me out and tell me what could be the best procedure to parse this DAML file in .Net are there any other solutions .... please through some light ..... eagerly awaiting your reply.... Vikram
Received on Wednesday, 2 April 2003 14:07:15 UTC