Hello Ni Lin, you are right, the sources were accidentally encrypted with a password. Thanks for letting us know. I decrypted the sources and reuploaded the release. Please note, that d3web is also on github, it might be more convenient (and more up to date) to get the sources there: https://github.com/denkbares/d3web-Runtime Also you can check out our nightly distribution, which also brings a lot of improvements and fixes, and also the latest sources: https://repo.denkbares.com/list/downloads/distribution/d3web-KnowWE/nightly/d3web-KnowWE-distribution-12.0-SNAPSHOT.zip...
Hello, When I try to unzip files from \D3web\d3web\sources.zip of the downloaded Watney distribution, I need to enter a password. I understand that sources are supposed to be available to anyone. But I cannot find a password on the website. Can anyone help? I would like to read the source code to better understand the internal logic of the D3web kernel. Thanks for your support!
Hello Albrecht, Now it's working like a charm (both imageMap and resources). Thank you very much for this prompt fix. Best regards Greg
Hi Greg, this issue should be fixed with the new nightly-build, please try again. https://www.d3web.de/Wiki.jsp?page=Downloads Regards Albrecht
Thank you very much Albrecht for your quick answer. Regards Greg
Thank you very much Albert for your quick answer. Regards Greg
Hi Greg, thanks for reporting! At first sight, this looks like a bug in the Image-Map plugin. I will try to have a closer look in the next days, will let you know when it is fixed (will be the nightly-build then). Regards Albrecht
I'm struggling with the problem with imageMap - after installing the fresh last version of KnowWE Watney (both stable and nightly snapshot) the map is rendered correctly only at the markup page "Doc ImageMap", but the link to the image is broken when I launch the denkbaresdialog (Interview) - see attached pic. I wonder if I missed anything in the setup (Windows)? I have similar problem when I want to reference any resource using .link property of the question - the result is the same i.e. broken...
Yes, tools.jar is present. catalina.log trace for the error: 06-Nov-2017 13:54:26.505 SEVERE [KnowWE-Compiler] de.knowwe.core.compile.CompilerManager.lambda$doCompile$2 Unexpected internal exception while compiling with OntologyCompiler (Demo - Simpsons): null java.lang.NullPointerException at de.knowwe.rdf2go.Rdf2GoCore.commit(Rdf2GoCore.java:491) at de.knowwe.ontology.compile.OntologyCompiler.commitOntology(OntologyCompiler.java:205) at de.knowwe.ontology.compile.OntologyCompiler.compilePackages(OntologyCompiler.java:158)...
Yes, tools. catalina.log trace for the error: 06-Nov-2017 13:54:26.505 SEVERE [KnowWE-Compiler] de.knowwe.core.compile.CompilerManager.lambda$doCompile$2 Unexpected internal exception while compiling with OntologyCompiler (Demo - Simpsons): null java.lang.NullPointerException at de.knowwe.rdf2go.Rdf2GoCore.commit(Rdf2GoCore.java:491) at de.knowwe.ontology.compile.OntologyCompiler.commitOntology(OntologyCompiler.java:205) at de.knowwe.ontology.compile.OntologyCompiler.compilePackages(OntologyCompiler.java:158)...
Hmm, I still suspect your JDK, because that compiler error is pretty typical for it. Just to be sure: Is there a tools.jar at /usr/lib/jvm/java-8-openjdk-amd64/lib? Thats what needed for the OntologyCompiler. If its not there, something is not right with your path/JDK installation. Also, could you check the logs of tomcat and paste the trace for the message "Unexpected internal exception while compiling with OntologyCompiler (Demo - Simpsons): null" here? That would help too. Regards
JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64 startup.sh output: Using CATALINA_BASE: /home/amolbk/KnowWE-Tomcat Using CATALINA_HOME: /home/amolbk/KnowWE-Tomcat Using CATALINA_TMPDIR: /home/amolbk/KnowWE-Tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-8-openjdk-amd64 Using CLASSPATH: /home/amolbk/KnowWE-Tomcat/bin/bootstrap.jar:/home/amolbk/KnowWE-Tomcat/bin/tomcat-juli.jar Tomcat started. I did similar setup on another system with CentOS and OpenJDK. There it works fine.
Hi, what does your JAVA_HOME variable look like? It should point to your JDK. Your error 1 should be a symptom of using JRE instead of JDK. Error 2 is probably a follow-up error to error 1. Regards Albrecht
OS: Ubuntu 16.04 64-bit Java: openjdk version "1.8.0_131" OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11) OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode) Errors: (1) On running startup.sh and opening http://localhost:8080/KnowME, get following errors on the main page: Unexpected internal exception while compiling with OntologyCompiler (Demo - Simpsons): null Errors in browser console log: POST http://localhost:8080/KnowWE/KnowWE.jsp?action=CIGetProgressAction&name=CI%252BCD%252BDemo&tstamp=1509613810040...
If you want to use a variable in one of your formulas or any other knowledge snipplet in KnowWE, e.g. rule or flow chart, you have to define that variable in the %%Question markup, there is currently not really a way around it. I'm not sure if you understood correctly how to set values though. You don't set the values in the question markup, but afterwards either in any of the interviews like %%QuickInterview, or via tha API as described here https://www.d3web.de/Wiki.jsp?page=How-To%20Create%20a%20Session#section-How-To+Create+a+Session-EnteringFactsToTheSession...
Hey Albrecht, Thank you so much! In my case, there are some complex equations, such as f = a x + bx^2 + cX^3 + d.... The parameters are determined in the java application. * I think it is a little boring to set so many questions in, %%Question The value of a [num] the value of b [num] ... % Therefore, I am wondering whether there is an alternative way. Thank you so much! With best regards, Yang
Thank you, Albrecht! I am used to the object-oriented programming. I think the first solution would make the system difficult to be maintainced. The second solution might be appropriate. Thanks again! Yang
Thank you so much! It's a pity. Maybe I have to write it in Java wrapper.
Hey Yang, yes, you can do this using the TimeDB-Plugin and abstract questions. Example: You have a pressure sensor and a variable threshold (maybe depending on temperature), at which you want to classify the pressure as ok or to high. It would look something like this: %%Question pressure [num] pressure_threshold [num] <abstract> % %%Solution Pressure to high % %%Rule IF eval(pressure > pressure_threshold) THEN Pressure to high = P7 % You can set the threshold the same way you set the value for other...
Hey Yang, I guess this question is also refering to your modelling with multiple equal components in your larger system. As I already described there, this concept does not really exist in d3web in this way. It is possible to do loobs using Javascript-Functions (see here: https://www.d3web.de/Wiki.jsp?page=Doc%20Javascript%20Functions) but I guess this is not what you need. Regards Albrecht
Hi Yang, currently it is not possible with d3web to refer from within one knowledge base to another knowledgebase, although I have to admit it would be a nice feature in your case ;-). You indeed need to do the communication between the knowledge base externally in your java application. If you have many similar/equal components you have to diagnose individually, you have to basically two possibilities: Do it in one knowledge base by copying the variables and rules/flows, just incrementing a number...
Hi Yang, in this case I would advise for using different solutions for the different severities. You do have scores for solutions, but they are only used to derive the confidence the expert system has for the solutions, e.g. the solutions is established, suggested, unclear or excluded. See https://www.d3web.de/Wiki.jsp?page=Doc%20DiagnosisRule#section-Doc+DiagnosisRule-Scorepoints for more info here. You want to classify for severity, e.g. "Pressure normal", "Pressure above normal", "Pressure critical"....
Hi, Fault might have many severity levels, such as slight, middle, serious.... They can be presented using different 'solution's. My question is that whether it is possible to present many severity levels in a solution? Maybe my question is a little confusing. Solution: ** fault occurs at XXX severity level. Is it possible to change xxx in the output of solution string? Best regards, Yang
And, is it possible to create/refer to another knowledge base in one knowledge base?
I wonder whether it is possible to present foreach loop in the knowledgebase? Thank you! Yang
Hey, There are many component of the same kind in a system. In component level, I will develop diagnostic logics in knowledge base for component. In system level, I want to develop diagnosic which considers the diagnostic results of all components. I think I can make many instances outside of d3web in my own java code, and then input the results of component level to knowledge base of system level. However, I still wonder whether it is possible to have many component instances within a system level...
Hey, In my case, there are some parameters in rules which would be changed outside of d3web. I think it is possible to do so by answering questions. But, it might not be feasible. So, is there any efficient way to set the parameters? For instance, loading a xml file? Thank you! Regards, Yang
Hello Yang, it seems like you have quite advanced questions regarding modelling... I'll try my best for now, but I'm not sure if using this forum is the best approach for this. Seems like you are at a point, where we normally start to provide commercial support. Regarding the question with the standard error: I agree with your assessment, the first solution works of course, but isn't really elegant, because your d3web knowledge base still depends on a lot of external java modelling. It would be better...
Hey, I want to use D3WEB as a diagnose engine to diagnose faults in a industrial system. The data contains hundreds of variables sampling with 1 min interval for years. There are 10 devices, which belong to 3 subsystems, and the subsystems belong to a top level system. I think it would be a typical system in industry. To diagnose such a system, there are the following questions: How to set customized numeric inputs to Questions automatically? For instance, a question requires a numeric input of the...
Hey Albrecht, Thanks so much for your response! Best regards, Yang
Hey Yang, your are welcome :-) Regarding your questions: With the free2use distribution currently downloadable from d3web.de, this is not possible unfortunately. In this regard, KnowWE is just an IDE to develop both ontologies and (d3web)-knowledge bases. But both technologies/knowledge representations are in generell independent of each other, its just that in KnowWE you can create knowledge with both. We did some specialized projects where we incorporated facts from ontologies into d3web knowledge...
Hey, Firstly, many thanks to this amazing tool. It helped me a lot. I have learnt it for months. In my problem, there is an ontology with hundreds of classes. The ontology defines knowledge about the domain. To diagnose a specific project, I developed a lots of individuals based on the ontology. I wanted to import the ontoloty with individuals into a Knowledge Base. However, I have no idea about: 1. Whether it is possible to query the ontology in anywhere of the Knowledge Base? 2. How to use the...
Hallo Albrecht, damit ist für mich die Sache klar. Vielen Dank für den tollen Support!...
Wenn du KnowWE direkt auf deinem Server installierst, brauchst du nicht die heruntergeladene...
Wenn du KnowWE direkt auf deinem Server installierst, brauchst du nicht die heruntergeladene...
Wenn du KnowWE direkt auf deinem Server installierst, brauchst du nicht die heruntergeladene...
Wenn du KnowWE direkt auf deinem Server installierst, brauchst du nicht die heruntergeladene...
Hallo Albrecht Vielen Dank für die prompte Antwort! In Frage käme am ehesten die...
Ok, beim letzten Punkt scheint es zu einem Missverständnis gekommen zu sein. Du hast...
Hallo Albrecht Vielen Dank für die rasche Reaktion. Ich habe Folgendes gemacht: -...
Hi Gianni, wenn ich dich richtig verstanden habe, dann hast du mit KnowWE (dem Wiki)...
Hallo Als User (ohne Entwicklerkenntnisse) habe ich eine Knowledge Base erstellt...
Vielen Dank! Das ist mir eine große Hilfe! Grüße, Ulrike
Hallo Ulrike, wir sind aktuell dabei unser open-source VCS umzuziehen, der Plan ist...
Ich möchte eine Wissensbasis direkt im Javacode erzeugen, also mit der Klasse de.d3web.xcl.XCLModel....
Hallo Ulrike, was meinst du mit "in Java übertrage"? Möchtest du die Wissensbasis...
Hallo, meine Wissensbasis ist nun in KnowWE vollständig implementiert. Zur Pröblemlösung...
Gerne! Das QuickInterview blendet die Fragebögen nicht ganz aus, nein. Wir sehen...
Stimmt. Nur die Fragen aus dem Übersichtsfragen sind aktuell offen. Die restlichen...
Ich bin mir nicht sicher welcher Fehler genau kam, aber wenn ich das hier richtig...
Hallo und vielen Dank erstmal. ich habe nun eine Regel angelegt mit IF Mononukleose...
Hallo U Rai, folgende Seite sollte dir hier weiter helfen: https://www.d3web.de/Wiki.jsp?page=Doc%20DiagnosisRule...
Hallo U Rai, folgende Seite sollte dir hier weiter helfen: https://www.d3web.de/Wiki.jsp?page=Doc%20DiagnosisRule...
Erstmal noch vielen Dank für die Auskunft im Thread "Erklärungskomponente". Inzwischen...
Erstmal noch vielen Dank für die Auskunft im Thread "Erklärungskomponente". Inzwischen...
Hallo U Rai, ich vermute du möchtest, dass eine Beschreibung bzw. mehr Details für...
Hallo U Rai, ich vermute du möchtest, dass eine Beschreibung bzw. mehr Details für...
Hallo U Rai, ich vermute du möchtest, dass eine Beschreibung bzw. mehr Details für...
Hallo, ich schreibe derzeit an meiner Bachelorarbeit und möchte dafür ein Expertensystem...
You're welcome and thanks again for the feedback :)
Hi Albrecht, It's OK. Thanks a lot. Hope you have a nice day.
Hi Albrecht, I got it,Thank you very much. I'm downloading,after,I reply to you
Hi YJYang, seems like there is a compatibility issue between Java 8 and the Tomcat...
Greetings, This is me currently working on KnowWE/Wiki.jsp. when I accessed the URL,Turned...