From Christian.Maeder at dfki.de Wed Jul 30 10:55:53 2014 From: Christian.Maeder at dfki.de (Christian Maeder) Date: Wed, 30 Jul 2014 10:55:53 +0200 Subject: [Hets-devel] broken hets version v0.99, 1406655889 Message-ID: <53D8B319.8000104@dfki.de> Hi, my last merge to https://github.com/spechub/Hets broke hets. https://github.com/spechub/Hets/commit/5c8343f2cf38b1697196194e326f7f529b9fa44d Several translations that we only test at night are broken. Possible runtime errors are: hets: HasCASL.DataAna.mkConjunct hets: SuleCFOL2SoftFOL: no constructors found hets: CASL2Isabelle unknown type for op: ... hets: omn: No mapping for Symbol ... Please do not call "hets -update" under Ubuntu, today. I'll try to fix or revert the change for tomorrow. Apologies for any inconveniences. Cheers Christian From fneuhaus at web.de Thu Jul 31 00:47:55 2014 From: fneuhaus at web.de (Fabian Neuhaus) Date: Thu, 31 Jul 2014 00:47:55 +0200 Subject: [Hets-devel] error non-unique name within imported library Message-ID: <53D9761B.1090301@web.de> All, I got a somewhat confusing error message. I have an ontology, called 'isa.clif', which hets parses just fine. However, if I try to reference it in an DOL file, I got the error message > ... loaded > *** Error: > non-unique name within imported library > '' > hets: user error (Stopped due to errors) > Could somebody explain the error message? (In case it matters, the files are included below.) Best Fabian The DOL file is very simple: > logic CommonLogic > > ontology allEqual = > end > > ontology data = > > (isA A B) > (A c) > end > > ontology KB = allEqual and data > end > > ontology CQq = KB then %implies > (B c) > end The isa.clif file is not much more interesting either: > (cl:text file:///home/fabian/Documents/bfo/isA.clif > > > (cl:imports file:///home/fabian/Documents/bfo/aux/binaryRelation.clif) > (cl:imports file:///home/fabian/Documents/bfo/aux/hasSignature.clif) > (cl:imports file:///home/fabian/Documents/bfo/aux/subsumedBy.clif) > (cl:imports file:///home/fabian/Documents/bfo/aux/OR.clif) > > (binaryRelation isA) > (hasSignature isA (OR Universal DefinedClass) (OR Universal DefinedClass)) > > (forall (X Y) > (iff > (isA X Y) > (subsumedBy X Y))) > ) From Christian.Maeder at dfki.de Thu Jul 31 11:31:08 2014 From: Christian.Maeder at dfki.de (Christian Maeder) Date: Thu, 31 Jul 2014 11:31:08 +0200 Subject: [Hets-devel] error non-unique name within imported library In-Reply-To: <53D9761B.1090301@web.de> References: <53D9761B.1090301@web.de> Message-ID: <53DA0CDC.1000401@dfki.de> Hi Fabian, the error message means that the library (in isa.clif) contains several specs and that hets does not know which one to choose. If you call hets on your isa.clif file the development will probably show additional reference nodes caused by the imports. (Without your other .clif files I cannot reproduce it. Please send them in a private e-mail to me.) Maybe our Common Logic analysis is buggy. To select a specific spec from a library you could try to write: from get (.clif is omitted in the spec name) and use it as: ontology allEqual = Cheers Christian Am 31.07.2014 00:47, schrieb Fabian Neuhaus: > All, > I got a somewhat confusing error message. I have an ontology, called > 'isa.clif', which hets parses just fine. However, if I try to reference > it in an DOL file, I got the error message >> ... loaded >> *** Error: >> non-unique name within imported library >> '' >> hets: user error (Stopped due to errors) >> > Could somebody explain the error message? (In case it matters, the > files are included below.) > > Best > Fabian > > > > The DOL file is very simple: > >> logic CommonLogic >> >> ontology allEqual = >> end >> >> ontology data = >> >> (isA A B) >> (A c) >> end >> >> ontology KB = allEqual and data >> end >> >> ontology CQq = KB then %implies >> (B c) >> end > The isa.clif file is not much more interesting either: > >> (cl:text file:///home/fabian/Documents/bfo/isA.clif >> >> >> (cl:imports >> file:///home/fabian/Documents/bfo/aux/binaryRelation.clif) >> (cl:imports file:///home/fabian/Documents/bfo/aux/hasSignature.clif) >> (cl:imports file:///home/fabian/Documents/bfo/aux/subsumedBy.clif) >> (cl:imports file:///home/fabian/Documents/bfo/aux/OR.clif) >> >> (binaryRelation isA) >> (hasSignature isA (OR Universal DefinedClass) (OR Universal >> DefinedClass)) >> >> (forall (X Y) >> (iff >> (isA X Y) >> (subsumedBy X Y))) >> ) > > _______________________________________________ > Hets-devel mailing list > Hets-devel at informatik.uni-bremen.de > https://mailman.informatik.uni-bremen.de/mailman/listinfo/hets-devel > From Christian.Maeder at dfki.de Thu Jul 31 11:32:04 2014 From: Christian.Maeder at dfki.de (Christian Maeder) Date: Thu, 31 Jul 2014 11:32:04 +0200 Subject: [Hets-devel] error non-unique name within imported library In-Reply-To: <53D9761B.1090301@web.de> References: <53D9761B.1090301@web.de> Message-ID: <53DA0D14.5060505@dfki.de> Hi, the error message means that the library (in isa.clif) contains several specs and that hets does not know which one to choose. If you call hets on your isa.clif file the development will probably show additional reference nodes caused by the imports. (Without your other .clif files I cannot reproduce it. Please send them in a private e-mail to me.) Maybe our Common Logic analysis is buggy. To select a specific spec from a library you could try to write: from get (.clif is omitted in the spec name) and use it as: ontology allEqual = Cheers Christian Am 31.07.2014 00:47, schrieb Fabian Neuhaus: > All, > I got a somewhat confusing error message. I have an ontology, called > 'isa.clif', which hets parses just fine. However, if I try to reference > it in an DOL file, I got the error message >> ... loaded >> *** Error: >> non-unique name within imported library >> '' >> hets: user error (Stopped due to errors) >> > Could somebody explain the error message? (In case it matters, the > files are included below.) > > Best > Fabian > > > > The DOL file is very simple: > b> The isa.clif file is not much more interesting either: > >> (cl:text file:///home/fabian/Documents/bfo/isA.clif >> >> >> (cl:imports >> file:///home/fabian/Documents/bfo/aux/binaryRelation.clif) >> (cl:imports file:///home/fabian/Documents/bfo/aux/hasSignature.clif) >> (cl:imports file:///home/fabian/Documents/bfo/aux/subsumedBy.clif) >> (cl:imports file:///home/fabian/Documents/bfo/aux/OR.clif) >> >> (binaryRelation isA) >> (hasSignature isA (OR Universal DefinedClass) (OR Universal >> DefinedClass)) >> >> (forall (X Y) >> (iff >> (isA X Y) >> (subsumedBy X Y))) >> ) > > _______________________________________________ > Hets-devel mailing list > Hets-devel at informatik.uni-bremen.de > https://mailman.informatik.uni-bremen.de/mailman/listinfo/hets-devel >