Be sure to add all the JAR files to your project.

When you build a Java application that uses bossam, you need to include all the JAR files distributed with bossam to the classpath of the Java application. You can find the JAR files under bin directory of the bossam release.

Posted in bossam. 5 Comments »

5 Responses to “Be sure to add all the JAR files to your project.”

  1. Kim Jinho Says:

    please, send bossam JAR file

  2. zebehn Says:

    You can get a copy of bossam JAR file at the bossam download site: http://projects.semwebcentral.org/projects/bossam . If you leave your email address, I’ll send a copy.

  3. escavan Says:

    안녕하세요? 보쌈을 테스트해보고 있는데 Query 부분에서 다음과 같은 에러가 나네요.

    E:\BOSSAM\bin>bossam.bat -oir file:///c:/temp/ex02.boo http://www.w3.org/TR/2003
    /PR-owl-guide-20030818/wine#

    E:\BOSSAM\bin>java -Xmx128M -cp bossam.jar;antlr-r13.jar;commons-logging-1.1.jar
    ;rio-13.jar;model-13.jar;util-13.jar;nsam.jar bossam.app.ReasonerApp -oir file:/
    //c:/temp/ex02.boo http://www.w3.org/TR/2003/PR-owl-guide-20030818/wine#
    [OWL Inference Rulebase: file:///c:/temp/ex02.boo]
    [OWL document: http://www.w3.org/TR/2003/PR-owl-guide-20030818/wine#
    java.io.FileNotFoundException: http://www.w3.org/TR/2003/PR-owl-guide-20030818/wine#
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
    urce)
    at java.net.URL.openStream(Unknown Source)
    at bossam.app.a.load(Unknown Source)
    at bossam.app.ReasonerApp.a(Unknown Source)
    at bossam.app.ReasonerApp.main(Unknown Source)
    [Bossam ReasonerApp session="Mon Jul 16 15:34:21 KST 2007"]

    예제로 나온것과 똑같이 ex02.boo 를 만들고 돌려보았습니다만.
    혹시 원인을 알고 계시면 알려주시면 감사하겠습니다.

  4. zebehn Says:

    현재는 bossam.bat으로 Query를 실행할 수 없습니다. bossamsh.bat을 이용하셔서 시험해봐 주세요. bossamsh.bat을 실행하시면 프롬프트가 뜨는데요, 다음과 같은 식으로 활용하시면 됩니다.

    > load owl from http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#;
    > prefix w = http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#;
    > ask w:Wine(?x) and w:hasColor(?x,w:Red);

  5. Buchanan Says:

    Somehow i missed the point. Probably lost in translation :) Anyway … nice blog to visit.

    cheers, Buchanan!


Leave a Reply