You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(120) |
Sep
(36) |
Oct
(116) |
Nov
(17) |
Dec
(44) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(143) |
Feb
(192) |
Mar
(74) |
Apr
(84) |
May
(105) |
Jun
(64) |
Jul
(49) |
Aug
(120) |
Sep
(159) |
Oct
(156) |
Nov
(51) |
Dec
(28) |
2009 |
Jan
(17) |
Feb
(55) |
Mar
(33) |
Apr
(57) |
May
(54) |
Jun
(28) |
Jul
(6) |
Aug
(16) |
Sep
(38) |
Oct
(30) |
Nov
(26) |
Dec
(52) |
2010 |
Jan
(7) |
Feb
(91) |
Mar
(65) |
Apr
(2) |
May
(14) |
Jun
(25) |
Jul
(38) |
Aug
(48) |
Sep
(80) |
Oct
(70) |
Nov
(75) |
Dec
(77) |
2011 |
Jan
(68) |
Feb
(53) |
Mar
(51) |
Apr
(35) |
May
(65) |
Jun
(101) |
Jul
(29) |
Aug
(230) |
Sep
(95) |
Oct
(49) |
Nov
(110) |
Dec
(63) |
2012 |
Jan
(41) |
Feb
(42) |
Mar
(25) |
Apr
(46) |
May
(51) |
Jun
(44) |
Jul
(45) |
Aug
(29) |
Sep
(12) |
Oct
(9) |
Nov
(17) |
Dec
(2) |
2013 |
Jan
(12) |
Feb
(14) |
Mar
(7) |
Apr
(16) |
May
(54) |
Jun
(27) |
Jul
(11) |
Aug
(5) |
Sep
(85) |
Oct
(27) |
Nov
(37) |
Dec
(32) |
2014 |
Jan
(8) |
Feb
(29) |
Mar
(5) |
Apr
(3) |
May
(22) |
Jun
(3) |
Jul
(4) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <sk...@us...> - 2008-01-31 09:21:48
|
Revision: 477 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=477&view=rev Author: sknappe Date: 2008-01-31 01:21:34 -0800 (Thu, 31 Jan 2008) Log Message: ----------- several best concepts are shown Modified Paths: -------------- trunk/src/dbpedia-navigator/DLLearnerConnection.php trunk/src/dbpedia-navigator/ajaxfunctions.php Modified: trunk/src/dbpedia-navigator/DLLearnerConnection.php =================================================================== --- trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-31 08:32:43 UTC (rev 476) +++ trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-31 09:21:34 UTC (rev 477) @@ -79,7 +79,7 @@ sleep($sleeptime); // see what we have learned so far - $concept=$this->client->getCurrentlyBestConcept($this->id); + $concepts=$this->client->getCurrentlyBestConcepts($this->id,3); $running=$this->client->isAlgorithmRunning($this->id); $seconds = $i * $sleeptime; @@ -89,7 +89,7 @@ $this->client->stop($this->id); } - return $concept; + return $concepts->item; } function getTriples($label) @@ -238,5 +238,5 @@ $sc=new DLLearnerConnection(); $ids=$sc->getIDs(); $sc=new DLLearnerConnection($ids[0],$ids[1]); -$triples=$sc->getTriples("tgzt");*/ +$triples=$sc->getConceptFromExamples(array("http://dbpedia.org/resource/Angela_Merkel"),array("http://dbpedia.org/resource/Joschka_Fischer"));*/ ?> Modified: trunk/src/dbpedia-navigator/ajaxfunctions.php =================================================================== --- trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-31 08:32:43 UTC (rev 476) +++ trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-31 09:21:34 UTC (rev 477) @@ -295,6 +295,7 @@ function learnConcept() { + $concept=""; if (isset($_SESSION['positive'])) { $posArray=array(); @@ -309,10 +310,14 @@ $sc=new DLLearnerConnection($_SESSION['id'],$_SESSION['ksID']); - $concept=$sc->getConceptFromExamples($posArray,$negArray); + $concepts=$sc->getConceptFromExamples($posArray,$negArray); - $_SESSION['lastLearnedConcept']=$concept; - $concept="<a href=\"\" onclick=\"xajax_getAndShowSubjectsFromConcept();return false;\" />".$concept."</a>"; + $_SESSION['lastLearnedConcept']=$concepts; + $concept.="<table border=0>\n"; + foreach ($concepts as $con){ + $concept.="<tr><td><a href=\"\" onclick=\"xajax_getAndShowSubjectsFromConcept('".$con."');return false;\" />".$con."</a></td></tr>"; + } + $concept.="</table>"; } else $concept="You must choose at least one positive example."; @@ -322,13 +327,13 @@ return $objResponse; } -function getSubjectsFromConcept() +function getSubjectsFromConcept($concept) { $content=""; try{ require_once("DLLearnerConnection.php"); $sc=new DLLearnerConnection($_SESSION['id'],$_SESSION['ksID']); - $subjects=$sc->getSubjectsFromConcept($_SESSION['lastLearnedConcept']); + $subjects=$sc->getSubjectsFromConcept($concept); foreach ($subjects as $subject) { $content.="<a href=\"\" onclick=\"xajax_getAndShowArticle('".urldecode(str_replace("_"," ",substr (strrchr ($subject, "/"), 1)))."',-2);return false;\">".urldecode(str_replace("_"," ",substr (strrchr ($subject, "/"), 1)))."</a><br/>"; @@ -370,10 +375,10 @@ return $objResponse; } -function getAndShowSubjectsFromConcept() +function getAndShowSubjectsFromConcept($concept) { $objResponse = new xajaxResponse(); - $objResponse->call('xajax_getSubjectsFromConcept'); + $objResponse->call('xajax_getSubjectsFromConcept',$concept); $objResponse->call('xajax_showSubjectsFromConcept'); return $objResponse; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-31 08:32:50
|
Revision: 476 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=476&view=rev Author: sknappe Date: 2008-01-31 00:32:43 -0800 (Thu, 31 Jan 2008) Log Message: ----------- Added loading Message Modified Paths: -------------- trunk/src/dbpedia-navigator/ajax.php trunk/src/dbpedia-navigator/default.css trunk/src/dbpedia-navigator/index.php Modified: trunk/src/dbpedia-navigator/ajax.php =================================================================== --- trunk/src/dbpedia-navigator/ajax.php 2008-01-31 07:12:28 UTC (rev 475) +++ trunk/src/dbpedia-navigator/ajax.php 2008-01-31 08:32:43 UTC (rev 476) @@ -5,8 +5,8 @@ $xajax = new xajax("ajaxfunctions.php?sid=$sid"); $xajax->configureMany(array('debug'=>true)); $xajax->register(XAJAX_FUNCTION, 'showSubjects', array( - 'onResponseDelay' => 'showLoadingSubjects', - 'beforeResponseProcessing' => 'hideLoadingSubjects' + 'onResponseDelay' => 'showLoading', + 'beforeResponseProcessing' => 'hideLoading' )); $xajax->registerFunction('getarticle'); $xajax->registerFunction('toPositive'); @@ -15,18 +15,24 @@ $xajax->registerFunction('clearNegatives'); $xajax->registerFunction('showInterests'); $xajax->registerFunction('getAndShowArticle'); -$xajax->register(XAJAX_FUNCTION, 'learnConcept', array( - 'onResponseDelay' => 'showLoadingConcept', - 'beforeResponseProcessing' => 'hideLoadingConcept' - )); +$xajax->registerFunction('learnConcept'); $xajax->registerFunction('getSubjectsFromConcept'); $xajax->registerFunction('getAndShowSubjects'); $xajax->registerFunction('getsubjects'); -$xajax->registerFunction('showArticle'); +$xajax->register(XAJAX_FUNCTION,'showArticle', array( + 'onResponseDelay' => 'showLoading', + 'beforeResponseProcessing' => 'hideLoading' + )); $xajax->registerFunction('removePosInterest'); $xajax->registerFunction('removeNegInterest'); -$xajax->registerFunction('showConcept'); +$xajax->register(XAJAX_FUNCTION,'showConcept', array( + 'onResponseDelay' => 'showLoading', + 'beforeResponseProcessing' => 'hideLoading' + )); $xajax->registerFunction('learnAndShowConcept'); -$xajax->registerFunction('showSubjectsFromConcept'); +$xajax->register(XAJAX_FUNCTION,'showSubjectsFromConcept', array( + 'onResponseDelay' => 'showLoading', + 'beforeResponseProcessing' => 'hideLoading' + )); $xajax->registerFunction('getAndShowSubjectsFromConcept'); ?> \ No newline at end of file Modified: trunk/src/dbpedia-navigator/default.css =================================================================== --- trunk/src/dbpedia-navigator/default.css 2008-01-31 07:12:28 UTC (rev 475) +++ trunk/src/dbpedia-navigator/default.css 2008-01-31 08:32:43 UTC (rev 476) @@ -31,6 +31,11 @@ * Main site structure */ +#Loading { + color: #666; + font-size: 85%; +} + #wrapper { /*position: relative;*/ max-width: 100%; Modified: trunk/src/dbpedia-navigator/index.php =================================================================== --- trunk/src/dbpedia-navigator/index.php 2008-01-31 07:12:28 UTC (rev 475) +++ trunk/src/dbpedia-navigator/index.php 2008-01-31 08:32:43 UTC (rev 476) @@ -31,28 +31,18 @@ <link rel="stylesheet" href="default.css"/> <?php $xajax->printJavascript('xajax/'); ?> <script type="text/javascript"> - showLoadingSubjects = function() { - xajax.$('loadingSubject').style.display='block'; - xajax.$('searchcontent').style.display = 'none'; + showLoading = function() { + xajax.$('Loading').style.display='inline'; }; - hideLoadingSubjects = function() { - xajax.$('loadingSubject').style.display = 'none'; - xajax.$('searchcontent').style.display='block'; + hideLoading = function() { + xajax.$('Loading').style.display = 'none'; }; - showLoadingConcept = function() { - xajax.$('loadingConcept').style.display='block'; - xajax.$('conceptcontent').style.display = 'none'; - }; - hideLoadingConcept = function() { - xajax.$('loadingConcept').style.display = 'none'; - xajax.$('conceptcontent').style.display = 'block'; - }; </script> </head> <body> <!-- <h1>DBpedia Navigator</h1> --> -<img src="images/dbpedia_navigator.png" alt="DBpedia Navigator" style="padding:5px" /> <input type="button" value="Learn" class="button" onclick="xajax_learnAndShowConcept();return false;" /> <span id="conceptlink"></span> +<div><img src="images/dbpedia_navigator.png" alt="DBpedia Navigator" style="padding:5px" /> <input type="button" value="Learn" class="button" onclick="xajax_learnAndShowConcept();return false;" /> <span id="conceptlink"></span><span id="Loading" style="display:none">Loading...</span></div> <div id="layer" style="display:none"> <div id="layerContent" style="display:none"></div> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-31 07:12:32
|
Revision: 475 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=475&view=rev Author: sknappe Date: 2008-01-30 23:12:28 -0800 (Wed, 30 Jan 2008) Log Message: ----------- some fixes, so that all functions work Modified Paths: -------------- trunk/src/dbpedia-navigator/DLLearnerConnection.php trunk/src/dbpedia-navigator/ajax.php trunk/src/dbpedia-navigator/ajaxfunctions.php trunk/src/dbpedia-navigator/index.php trunk/src/dbpedia-navigator/learningExamples.txt Modified: trunk/src/dbpedia-navigator/DLLearnerConnection.php =================================================================== --- trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-30 21:36:09 UTC (rev 474) +++ trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-31 07:12:28 UTC (rev 475) @@ -45,8 +45,8 @@ $this->client->applyConfigEntryInt($this->id, $this->ksID, "recursionDepth",1); $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "instances", array_merge($posExamples,$negExamples)); $this->client->applyConfigEntryInt($this->id, $this->ksID, "predefinedFilter", 5); - $this->client->applyConfigEntryInt($this->id, $this->ksID, "predefinedEndpoint", 1); - + $this->client->applyConfigEntryInt($this->id, $this->ksID, "predefinedEndpoint", 1); + $this->client->setReasoner($this->id, "dig"); if(empty($negExamples)) $this->client->setLearningProblem($this->id, "posOnlyDefinition"); @@ -142,7 +142,7 @@ if (!$result->item) throw new Exception("Your query brought no result."); $ret=array(); foreach ($result->item as $results){ - $ret[]=$results->item; + $ret[]=$results->item[0]; } return $ret; } @@ -153,6 +153,7 @@ "WHERE { ?subject a <".$concept.">}\n". "LIMIT 10"; $result=$this->getSparqlResult($query); + if (!$result->item) throw new Exception("Your query brought no result."); $ret=array(); foreach ($result->item as $results){ $ret[]=$results->item[0]; Modified: trunk/src/dbpedia-navigator/ajax.php =================================================================== --- trunk/src/dbpedia-navigator/ajax.php 2008-01-30 21:36:09 UTC (rev 474) +++ trunk/src/dbpedia-navigator/ajax.php 2008-01-31 07:12:28 UTC (rev 475) @@ -19,13 +19,14 @@ 'onResponseDelay' => 'showLoadingConcept', 'beforeResponseProcessing' => 'hideLoadingConcept' )); -$xajax->register(XAJAX_FUNCTION, 'getSubjectsFromConcept', array( - 'onResponseDelay' => 'showLoadingConceptSubjects', - 'beforeResponseProcessing' => 'hideLoadingConceptSubjects' - )); +$xajax->registerFunction('getSubjectsFromConcept'); $xajax->registerFunction('getAndShowSubjects'); $xajax->registerFunction('getsubjects'); $xajax->registerFunction('showArticle'); $xajax->registerFunction('removePosInterest'); $xajax->registerFunction('removeNegInterest'); +$xajax->registerFunction('showConcept'); +$xajax->registerFunction('learnAndShowConcept'); +$xajax->registerFunction('showSubjectsFromConcept'); +$xajax->registerFunction('getAndShowSubjectsFromConcept'); ?> \ No newline at end of file Modified: trunk/src/dbpedia-navigator/ajaxfunctions.php =================================================================== --- trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-30 21:36:09 UTC (rev 474) +++ trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-31 07:12:28 UTC (rev 475) @@ -116,10 +116,10 @@ //BUILD ARTICLE TITLE - $artTitle=$triples['http://www.w3.org/2000/01/rdf-schema#label']; + $artTitle=$triples['http://www.w3.org/2000/01/rdf-schema#label'][0]; //store article in session, to navigate between last 5 articles quickly - $contentArray=array('content' => $content,'subject' => $subject); + $contentArray=array('content' => $content,'subject' => $artTitle); if (!isset($_SESSION['nextArticle'])){ $_SESSION['nextArticle']=0; $_SESSION['articles']=array(); @@ -153,7 +153,7 @@ else { //Article is in session $content=$_SESSION['articles'][$fromCache]['content']; - $subject=$_SESSION['articles'][$fromCache]['subject']; + $artTitle=$_SESSION['articles'][$fromCache]['subject']; } //Build lastArticles @@ -312,44 +312,33 @@ $concept=$sc->getConceptFromExamples($posArray,$negArray); $_SESSION['lastLearnedConcept']=$concept; - if (strlen(substr (strrchr ($concept, "/"), 1))>0) $concept="<a href=\"\" onclick=\"xajax_getSubjectsFromConcept();return false;\" />".urldecode(substr (strrchr ($concept, "/"), 1))."</a>"; - else $concept="<a href=\"\" onclick=\"xajax_getSubjectsFromConcept();return false;\" />".$concept."</a>"; + $concept="<a href=\"\" onclick=\"xajax_getAndShowSubjectsFromConcept();return false;\" />".$concept."</a>"; } - else $concept="You must choose at least one<br/> positive example."; + else $concept="You must choose at least one positive example."; + $_SESSION['conceptcontent']=$concept; + $objResponse = new xajaxResponse(); - $objResponse->assign("conceptlink", "innerHTML", $concept); return $objResponse; } function getSubjectsFromConcept() { - require_once("Settings.php"); - require_once("DLLearnerConnection.php"); - $settings=new Settings(); - $sc=new DLLearnerConnection($settings->dbpediauri,$settings->wsdluri,$_SESSION['id'],$_SESSION['ksID']); - $content=""; - if (isset($_SESSION['lastLearnedConcept'])) - { - $subjects=$sc->getSubjectsFromConcept($settings->sparqlttl,$_SESSION['lastLearnedConcept']); - if (count($subjects)==1) + try{ + require_once("DLLearnerConnection.php"); + $sc=new DLLearnerConnection($_SESSION['id'],$_SESSION['ksID']); + $subjects=$sc->getSubjectsFromConcept($_SESSION['lastLearnedConcept']); + foreach ($subjects as $subject) { - if (strpos($subjects,"[Error]")===0) $content.=substr($subjects,7); - else $content.="<a href=\"\" onclick=\"xajax_getarticle('".$subjects."');return false;\">".str_replace("_"," ",urldecode(substr (strrchr ($subjects, "/"), 1)))."</a><br/>"; + $content.="<a href=\"\" onclick=\"xajax_getAndShowArticle('".urldecode(str_replace("_"," ",substr (strrchr ($subject, "/"), 1)))."',-2);return false;\">".urldecode(str_replace("_"," ",substr (strrchr ($subject, "/"), 1)))."</a><br/>"; } - else if (count($subjects)==0) $content.="No examples for concept found in time."; - else { - foreach ($subjects as $subject) - { - $content.="<a href=\"\" onclick=\"xajax_getarticle('".$subject."');return false;\">".str_replace("_"," ",urldecode(substr (strrchr ($subject, "/"), 1)))."</a><br/>"; - } - } + } catch (Exception $e){ + $content=$e->getMessage(); } - else $content.="No concept to get Subjects from."; - + + $_SESSION['conceptsubjectcontent']=$content; $objResponse = new xajaxResponse(); - $objResponse->assign("conceptsubjectcontent", "innerHTML", $content); return $objResponse; } @@ -360,6 +349,46 @@ $objResponse->call('xajax_showSubjects'); return $objResponse; } + +function learnAndShowConcept() +{ + $objResponse = new xajaxResponse(); + $objResponse->call('xajax_learnConcept'); + $objResponse->call('xajax_showConcept'); + return $objResponse; +} + +function showConcept() +{ + while (!isset($_SESSION['conceptcontent'])){ + sleep(0.5); + } + + $objResponse = new xajaxResponse(); + $objResponse->assign("conceptlink", "innerHTML", $_SESSION['conceptcontent']); + unset($_SESSION['conceptcontent']); + return $objResponse; +} + +function getAndShowSubjectsFromConcept() +{ + $objResponse = new xajaxResponse(); + $objResponse->call('xajax_getSubjectsFromConcept'); + $objResponse->call('xajax_showSubjectsFromConcept'); + return $objResponse; +} + +function showSubjectsFromConcept() +{ + while (!isset($_SESSION['conceptsubjectcontent'])){ + sleep(0.5); + } + + $objResponse = new xajaxResponse(); + $objResponse->assign("searchcontent", "innerHTML", $_SESSION['conceptsubjectcontent']); + unset($_SESSION['conceptsubjectcontent']); + return $objResponse; +} /////////////////////// // Helper Functions. // Modified: trunk/src/dbpedia-navigator/index.php =================================================================== --- trunk/src/dbpedia-navigator/index.php 2008-01-30 21:36:09 UTC (rev 474) +++ trunk/src/dbpedia-navigator/index.php 2008-01-31 07:12:28 UTC (rev 475) @@ -39,14 +39,6 @@ xajax.$('loadingSubject').style.display = 'none'; xajax.$('searchcontent').style.display='block'; }; - showLoadingArticle = function() { - xajax.$('loadingArticle').style.display='block'; - xajax.$('articlecontent').style.display = 'none'; - }; - hideLoadingArticle = function() { - xajax.$('loadingArticle').style.display = 'none'; - xajax.$('articlecontent').style.display = 'block'; - }; showLoadingConcept = function() { xajax.$('loadingConcept').style.display='block'; xajax.$('conceptcontent').style.display = 'none'; @@ -55,20 +47,12 @@ xajax.$('loadingConcept').style.display = 'none'; xajax.$('conceptcontent').style.display = 'block'; }; - showLoadingConceptSubjects = function() { - xajax.$('loadingConceptSubjects').style.display='block'; - xajax.$('conceptsubjectcontent').style.display = 'none'; - }; - hideLoadingConceptSubjects = function() { - xajax.$('loadingConceptSubjects').style.display = 'none'; - xajax.$('conceptsubjectcontent').style.display = 'block'; - } </script> </head> <body> <!-- <h1>DBpedia Navigator</h1> --> -<img src="images/dbpedia_navigator.png" alt="DBpedia Navigator" style="padding:5px" /> <span id="conceptlink"></span> +<img src="images/dbpedia_navigator.png" alt="DBpedia Navigator" style="padding:5px" /> <input type="button" value="Learn" class="button" onclick="xajax_learnAndShowConcept();return false;" /> <span id="conceptlink"></span> <div id="layer" style="display:none"> <div id="layerContent" style="display:none"></div> </div> @@ -96,22 +80,6 @@ </div> <!-- boxcontent --> </div> <!-- box --> - <div class="box" id="concept"> - <div class="boxtitlewithbutton"><table border="0" class="titletable"><tr><td class="left">Learned Concept</td><td class="right"><input type="button" value="Learn" class="button" onclick="xajax_learnConcept();return false;" /></td></tr></table></div> - <div class="boxcontent"> - <div id="conceptcontent" style="display:none"></div> - <div id="loadingConcept" style="display:none"><img src="ajax-loader.gif" alt="Loading..."/></div> - </div> <!-- boxcontent --> - </div> <!-- box --> - - <div class="box" id="conceptSubjects"> - <div class="boxtitlewithbutton"><table border="0" class="titletable"><tr><td class="left">Subjects From Concept</td><td class="right"><input type="button" value="Show" class="button" onclick="xajax_getSubjectsFromConcept();return false;" /></td></tr></table></div> - <div class="boxcontent"> - <div id="conceptsubjectcontent" style="display:none"></div> - <div id="loadingConceptSubjects" style="display:none"><img src="ajax-loader.gif" alt="Loading..."/></div> - </div> <!-- boxcontent --> - </div> <!-- box --> - <div class="box" id="credits"> <p>DBpedia Navigator is powered by ... <br /> <a href="http://dl-learner.org">DL-Learner</a><br /> Modified: trunk/src/dbpedia-navigator/learningExamples.txt =================================================================== --- trunk/src/dbpedia-navigator/learningExamples.txt 2008-01-30 21:36:09 UTC (rev 474) +++ trunk/src/dbpedia-navigator/learningExamples.txt 2008-01-31 07:12:28 UTC (rev 475) @@ -34,4 +34,12 @@ -Hamburg ---------------- EXISTS http://dbpedia.org/property/wappen.TOP -EXISTS http://dbpedia.org/property/wordnet_type.TOP \ No newline at end of file +EXISTS http://dbpedia.org/property/wordnet_type.TOP + ++Germany ++Poland ++France +-India +-Australia +----------------- +EXISTS http://dbpedia.org/property/leaderName.(http://dbpedia.org/class/yago/Politician110451263 AND http://dbpedia.org/class/yago/President110468559) \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jen...@us...> - 2008-01-30 21:36:17
|
Revision: 474 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=474&view=rev Author: jenslehmann Date: 2008-01-30 13:36:09 -0800 (Wed, 30 Jan 2008) Log Message: ----------- removed Javadoc (please use the Javadoc task in build.xml to create a local Javadoc) Removed Paths: ------------- trunk/doc/allclasses-frame.html trunk/doc/allclasses-noframe.html trunk/doc/constant-values.html trunk/doc/deprecated-list.html trunk/doc/help-doc.html trunk/doc/index-files/ trunk/doc/index.html trunk/doc/org/ trunk/doc/overview-frame.html trunk/doc/overview-summary.html trunk/doc/overview-tree.html trunk/doc/package-list trunk/doc/resources/ trunk/doc/serialized-form.html trunk/doc/stylesheet.css Deleted: trunk/doc/allclasses-frame.html =================================================================== --- trunk/doc/allclasses-frame.html 2008-01-30 16:09:28 UTC (rev 473) +++ trunk/doc/allclasses-frame.html 2008-01-30 21:36:09 UTC (rev 474) @@ -1,429 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 08:11:00 CET 2008 --> -<TITLE> -All Classes -</TITLE> - -<META NAME="date" CONTENT="2008-01-30"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> - - -</HEAD> - -<BODY BGCOLOR="white"> -<FONT size="+1" CLASS="FrameHeadingFont"> -<B>All Classes</B></FONT> -<BR> - -<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> -<TR> -<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/dllearner/gui/AbstractWidgetPanel.html" title="class in org.dllearner.gui" target="classFrame">AbstractWidgetPanel</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/ADC.html" title="class in org.dllearner.algorithms.gp" target="classFrame">ADC</A> -<BR> -<A HREF="org/dllearner/core/dl/All.html" title="class in org.dllearner.core.dl" target="classFrame">All</A> -<BR> -<A HREF="org/dllearner/test/AllTestsRunner.html" title="class in org.dllearner.test" target="classFrame">AllTestsRunner</A> -<BR> -<A HREF="org/dllearner/core/dl/AssertionalAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">AssertionalAxiom</A> -<BR> -<A HREF="org/dllearner/core/dl/AtomicConcept.html" title="class in org.dllearner.core.dl" target="classFrame">AtomicConcept</A> -<BR> -<A HREF="org/dllearner/core/dl/AtomicRole.html" title="class in org.dllearner.core.dl" target="classFrame">AtomicRole</A> -<BR> -<A HREF="org/dllearner/core/dl/Axiom.html" title="class in org.dllearner.core.dl" target="classFrame">Axiom</A> -<BR> -<A HREF="org/dllearner/core/config/BooleanConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">BooleanConfigOption</A> -<BR> -<A HREF="org/dllearner/core/dl/Bottom.html" title="class in org.dllearner.core.dl" target="classFrame">Bottom</A> -<BR> -<A HREF="org/dllearner/algorithms/BruteForceLearner.html" title="class in org.dllearner.algorithms" target="classFrame">BruteForceLearner</A> -<BR> -<A HREF="org/dllearner/kb/sparql/Cache.html" title="class in org.dllearner.kb.sparql" target="classFrame">Cache</A> -<BR> -<A HREF="org/dllearner/examples/Card.html" title="class in org.dllearner.examples" target="classFrame">Card</A> -<BR> -<A HREF="org/dllearner/kb/sparql/datastructure/ClassNode.html" title="class in org.dllearner.kb.sparql.datastructure" target="classFrame">ClassNode</A> -<BR> -<A HREF="org/dllearner/server/ClientNotKnownException.html" title="class in org.dllearner.server" target="classFrame">ClientNotKnownException</A> -<BR> -<A HREF="org/dllearner/server/jaxws/ClientNotKnownExceptionBean.html" title="class in org.dllearner.server.jaxws" target="classFrame">ClientNotKnownExceptionBean</A> -<BR> -<A HREF="org/dllearner/server/ClientState.html" title="class in org.dllearner.server" target="classFrame">ClientState</A> -<BR> -<A HREF="org/dllearner/core/config/CommonConfigMappings.html" title="class in org.dllearner.core.config" target="classFrame">CommonConfigMappings</A> -<BR> -<A HREF="org/dllearner/core/config/CommonConfigOptions.html" title="class in org.dllearner.core.config" target="classFrame">CommonConfigOptions</A> -<BR> -<A HREF="org/dllearner/core/Component.html" title="class in org.dllearner.core" target="classFrame">Component</A> -<BR> -<A HREF="org/dllearner/core/ComponentManager.html" title="class in org.dllearner.core" target="classFrame">ComponentManager</A> -<BR> -<A HREF="org/dllearner/core/ComponentPool.html" title="class in org.dllearner.core" target="classFrame">ComponentPool</A> -<BR> -<A HREF="org/dllearner/core/ComponentTest.html" title="class in org.dllearner.core" target="classFrame">ComponentTest</A> -<BR> -<A HREF="org/dllearner/test/ComponentTests.html" title="class in org.dllearner.test" target="classFrame">ComponentTests</A> -<BR> -<A HREF="org/dllearner/core/dl/Concept.html" title="class in org.dllearner.core.dl" target="classFrame">Concept</A> -<BR> -<A HREF="org/dllearner/core/dl/ConceptAssertion.html" title="class in org.dllearner.core.dl" target="classFrame">ConceptAssertion</A> -<BR> -<A HREF="org/dllearner/utilities/ConceptComparator.html" title="class in org.dllearner.utilities" target="classFrame">ConceptComparator</A> -<BR> -<A HREF="org/dllearner/utilities/ConceptTransformation.html" title="class in org.dllearner.utilities" target="classFrame">ConceptTransformation</A> -<BR> -<A HREF="org/dllearner/cli/ConfFileOption.html" title="class in org.dllearner.cli" target="classFrame">ConfFileOption</A> -<BR> -<A HREF="org/dllearner/gui/Config.html" title="class in org.dllearner.gui" target="classFrame">Config</A> -<BR> -<A HREF="org/dllearner/core/config/ConfigDocumentationGenerator.html" title="class in org.dllearner.core.config" target="classFrame">ConfigDocumentationGenerator</A> -<BR> -<A HREF="org/dllearner/core/config/ConfigEntry.html" title="class in org.dllearner.core.config" target="classFrame">ConfigEntry</A> -<BR> -<A HREF="org/dllearner/core/config/ConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">ConfigOption</A> -<BR> -<A HREF="org/dllearner/server/ConfigOptionTypeException.html" title="class in org.dllearner.server" target="classFrame">ConfigOptionTypeException</A> -<BR> -<A HREF="org/dllearner/server/jaxws/ConfigOptionTypeExceptionBean.html" title="class in org.dllearner.server.jaxws" target="classFrame">ConfigOptionTypeExceptionBean</A> -<BR> -<A HREF="org/dllearner/kb/sparql/configuration/Configuration.html" title="class in org.dllearner.kb.sparql.configuration" target="classFrame">Configuration</A> -<BR> -<A HREF="org/dllearner/parser/ConfParser.html" title="class in org.dllearner.parser" target="classFrame">ConfParser</A> -<BR> -<A HREF="org/dllearner/parser/ConfParserConstants.html" title="interface in org.dllearner.parser" target="classFrame"><I>ConfParserConstants</I></A> -<BR> -<A HREF="org/dllearner/parser/ConfParserTokenManager.html" title="class in org.dllearner.parser" target="classFrame">ConfParserTokenManager</A> -<BR> -<A HREF="org/dllearner/core/dl/Conjunction.html" title="class in org.dllearner.core.dl" target="classFrame">Conjunction</A> -<BR> -<A HREF="org/dllearner/utilities/Datastructures.html" title="class in org.dllearner.utilities" target="classFrame">Datastructures</A> -<BR> -<A HREF="org/dllearner/learningproblems/DefinitionLP.html" title="interface in org.dllearner.learningproblems" target="classFrame"><I>DefinitionLP</I></A> -<BR> -<A HREF="org/dllearner/reasoning/DIGConverter.html" title="class in org.dllearner.reasoning" target="classFrame">DIGConverter</A> -<BR> -<A HREF="org/dllearner/reasoning/DIGHTTPConnector.html" title="class in org.dllearner.reasoning" target="classFrame">DIGHTTPConnector</A> -<BR> -<A HREF="org/dllearner/reasoning/DIGReasoner.html" title="class in org.dllearner.reasoning" target="classFrame">DIGReasoner</A> -<BR> -<A HREF="org/dllearner/core/dl/Disjunction.html" title="class in org.dllearner.core.dl" target="classFrame">Disjunction</A> -<BR> -<A HREF="org/dllearner/server/DLLearnerWS.html" title="class in org.dllearner.server" target="classFrame">DLLearnerWS</A> -<BR> -<A HREF="org/dllearner/server/DLLearnerWSStart.html" title="class in org.dllearner.server" target="classFrame">DLLearnerWSStart</A> -<BR> -<A HREF="org/dllearner/core/config/DoubleConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">DoubleConfigOption</A> -<BR> -<A HREF="org/dllearner/core/dl/Equality.html" title="class in org.dllearner.core.dl" target="classFrame">Equality</A> -<BR> -<A HREF="org/dllearner/learningproblems/EvaluationCache.html" title="class in org.dllearner.learningproblems" target="classFrame">EvaluationCache</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedHeuristic.html" title="interface in org.dllearner.algorithms.refexamples" target="classFrame"><I>ExampleBasedHeuristic</I></A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedNode.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">ExampleBasedNode</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedNode.QualityEvaluationMethod.html" title="enum in org.dllearner.algorithms.refexamples" target="classFrame">ExampleBasedNode.QualityEvaluationMethod</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedROLComponent.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">ExampleBasedROLComponent</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedROLearner.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">ExampleBasedROLearner</A> -<BR> -<A HREF="org/dllearner/core/dl/Exists.html" title="class in org.dllearner.core.dl" target="classFrame">Exists</A> -<BR> -<A HREF="org/dllearner/kb/sparql/ExtractionAlgorithm.html" title="class in org.dllearner.kb.sparql" target="classFrame">ExtractionAlgorithm</A> -<BR> -<A HREF="org/dllearner/reasoning/FaCTBugDemo.html" title="class in org.dllearner.reasoning" target="classFrame">FaCTBugDemo</A> -<BR> -<A HREF="org/dllearner/reasoning/FastRetrieval.html" title="class in org.dllearner.reasoning" target="classFrame">FastRetrieval</A> -<BR> -<A HREF="org/dllearner/reasoning/FastRetrievalReasoner.html" title="class in org.dllearner.reasoning" target="classFrame">FastRetrievalReasoner</A> -<BR> -<A HREF="org/dllearner/utilities/Files.html" title="class in org.dllearner.utilities" target="classFrame">Files</A> -<BR> -<A HREF="org/dllearner/core/dl/FlatABox.html" title="class in org.dllearner.core.dl" target="classFrame">FlatABox</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/FlexibleHeuristic.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">FlexibleHeuristic</A> -<BR> -<A HREF="org/dllearner/core/dl/FunctionalRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">FunctionalRoleAxiom</A> -<BR> -<A HREF="org/dllearner/algorithms/hybridgp/GeneticRefinementOperator.html" title="interface in org.dllearner.algorithms.hybridgp" target="classFrame"><I>GeneticRefinementOperator</I></A> -<BR> -<A HREF="org/dllearner/algorithms/gp/GP.html" title="class in org.dllearner.algorithms.gp" target="classFrame">GP</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/GP.AlgorithmType.html" title="enum in org.dllearner.algorithms.gp" target="classFrame">GP.AlgorithmType</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/GP.SelectionType.html" title="enum in org.dllearner.algorithms.gp" target="classFrame">GP.SelectionType</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/GPUtilities.html" title="class in org.dllearner.algorithms.gp" target="classFrame">GPUtilities</A> -<BR> -<A HREF="org/dllearner/core/dl/GreaterEqual.html" title="class in org.dllearner.core.dl" target="classFrame">GreaterEqual</A> -<BR> -<A HREF="org/dllearner/examples/Hand.html" title="class in org.dllearner.examples" target="classFrame">Hand</A> -<BR> -<A HREF="org/dllearner/utilities/Helper.html" title="class in org.dllearner.utilities" target="classFrame">Helper</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/Heuristic.html" title="interface in org.dllearner.algorithms.refinement" target="classFrame"><I>Heuristic</I></A> -<BR> -<A HREF="org/dllearner/core/dl/Inclusion.html" title="class in org.dllearner.core.dl" target="classFrame">Inclusion</A> -<BR> -<A HREF="org/dllearner/learningproblems/InclusionLP.html" title="interface in org.dllearner.learningproblems" target="classFrame"><I>InclusionLP</I></A> -<BR> -<A HREF="org/dllearner/core/dl/Individual.html" title="class in org.dllearner.core.dl" target="classFrame">Individual</A> -<BR> -<A HREF="org/dllearner/Info.html" title="class in org.dllearner" target="classFrame">Info</A> -<BR> -<A HREF="org/dllearner/kb/sparql/datastructure/InstanceNode.html" title="class in org.dllearner.kb.sparql.datastructure" target="classFrame">InstanceNode</A> -<BR> -<A HREF="org/dllearner/core/config/IntegerConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">IntegerConfigOption</A> -<BR> -<A HREF="org/dllearner/core/config/InvalidConfigOptionValueException.html" title="class in org.dllearner.core.config" target="classFrame">InvalidConfigOptionValueException</A> -<BR> -<A HREF="org/dllearner/core/dl/InverseRole.html" title="class in org.dllearner.core.dl" target="classFrame">InverseRole</A> -<BR> -<A HREF="org/dllearner/core/dl/InverseRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">InverseRoleAxiom</A> -<BR> -<A HREF="org/dllearner/reasoning/JenaOWLDIGConverter.html" title="class in org.dllearner.reasoning" target="classFrame">JenaOWLDIGConverter</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">JenaQueryToResultSpeedTest</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/JenaTestScript.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">JenaTestScript</A> -<BR> -<A HREF="org/dllearner/reasoning/KAON2Reasoner.html" title="class in org.dllearner.reasoning" target="classFrame">KAON2Reasoner</A> -<BR> -<A HREF="org/dllearner/core/dl/KB.html" title="class in org.dllearner.core.dl" target="classFrame">KB</A> -<BR> -<A HREF="org/dllearner/core/dl/KBElement.html" title="interface in org.dllearner.core.dl" target="classFrame"><I>KBElement</I></A> -<BR> -<A HREF="org/dllearner/kb/KBFile.html" title="class in org.dllearner.kb" target="classFrame">KBFile</A> -<BR> -<A HREF="org/dllearner/parser/KBParser.html" title="class in org.dllearner.parser" target="classFrame">KBParser</A> -<BR> -<A HREF="org/dllearner/parser/KBParserConstants.html" title="interface in org.dllearner.parser" target="classFrame"><I>KBParserConstants</I></A> -<BR> -<A HREF="org/dllearner/parser/KBParserTokenManager.html" title="class in org.dllearner.parser" target="classFrame">KBParserTokenManager</A> -<BR> -<A HREF="org/dllearner/core/KnowledgeSource.html" title="class in org.dllearner.core" target="classFrame">KnowledgeSource</A> -<BR> -<A HREF="org/dllearner/gui/KnowledgeSourcePanel.html" title="class in org.dllearner.gui" target="classFrame">KnowledgeSourcePanel</A> -<BR> -<A HREF="org/dllearner/core/LearningAlgorithm.html" title="class in org.dllearner.core" target="classFrame">LearningAlgorithm</A> -<BR> -<A HREF="org/dllearner/gui/LearningAlgorithmPanel.html" title="class in org.dllearner.gui" target="classFrame">LearningAlgorithmPanel</A> -<BR> -<A HREF="org/dllearner/core/LearningProblem.html" title="class in org.dllearner.core" target="classFrame">LearningProblem</A> -<BR> -<A HREF="org/dllearner/gui/LearningProblemPanel.html" title="class in org.dllearner.gui" target="classFrame">LearningProblemPanel</A> -<BR> -<A HREF="org/dllearner/core/dl/LessEqual.html" title="class in org.dllearner.core.dl" target="classFrame">LessEqual</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/LexicographicHeuristic.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">LexicographicHeuristic</A> -<BR> -<A HREF="org/dllearner/kb/sparql/Manager.html" title="class in org.dllearner.kb.sparql" target="classFrame">Manager</A> -<BR> -<A HREF="org/dllearner/kb/sparql/Manipulator.html" title="class in org.dllearner.kb.sparql" target="classFrame">Manipulator</A> -<BR> -<A HREF="org/dllearner/gui/MiniGUI.html" title="class in org.dllearner.gui" target="classFrame">MiniGUI</A> -<BR> -<A HREF="org/dllearner/core/dl/MultiConjunction.html" title="class in org.dllearner.core.dl" target="classFrame">MultiConjunction</A> -<BR> -<A HREF="org/dllearner/core/dl/MultiDisjunction.html" title="class in org.dllearner.core.dl" target="classFrame">MultiDisjunction</A> -<BR> -<A HREF="org/dllearner/core/dl/Negation.html" title="class in org.dllearner.core.dl" target="classFrame">Negation</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/Node.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">Node</A> -<BR> -<A HREF="org/dllearner/kb/sparql/datastructure/Node.html" title="class in org.dllearner.kb.sparql.datastructure" target="classFrame">Node</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/Node.QualityEvaluationMethod.html" title="enum in org.dllearner.algorithms.refinement" target="classFrame">Node.QualityEvaluationMethod</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/NodeComparator.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">NodeComparator</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/NodeComparator2.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">NodeComparator2</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/NodeComparatorStable.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">NodeComparatorStable</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/NodeComparatorStable.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">NodeComparatorStable</A> -<BR> -<A HREF="org/dllearner/core/dl/NumberRestriction.html" title="class in org.dllearner.core.dl" target="classFrame">NumberRestriction</A> -<BR> -<A HREF="org/dllearner/utilities/OntologyClassRewriter.html" title="class in org.dllearner.utilities" target="classFrame">OntologyClassRewriter</A> -<BR> -<A HREF="org/dllearner/core/OntologyFormat.html" title="enum in org.dllearner.core" target="classFrame">OntologyFormat</A> -<BR> -<A HREF="org/dllearner/core/OntologyFormatUnsupportedException.html" title="class in org.dllearner.core" target="classFrame">OntologyFormatUnsupportedException</A> -<BR> -<A HREF="org/dllearner/gui/OptionPanel.html" title="class in org.dllearner.gui" target="classFrame">OptionPanel</A> -<BR> -<A HREF="org/dllearner/reasoning/OWLAPIDIGConverter.html" title="class in org.dllearner.reasoning" target="classFrame">OWLAPIDIGConverter</A> -<BR> -<A HREF="org/dllearner/reasoning/OWLAPIReasoner.html" title="class in org.dllearner.reasoning" target="classFrame">OWLAPIReasoner</A> -<BR> -<A HREF="org/dllearner/kb/OWLFile.html" title="class in org.dllearner.kb" target="classFrame">OWLFile</A> -<BR> -<A HREF="org/dllearner/utilities/PaperStatistics.html" title="class in org.dllearner.utilities" target="classFrame">PaperStatistics</A> -<BR> -<A HREF="org/dllearner/parser/ParseException.html" title="class in org.dllearner.parser" target="classFrame">ParseException</A> -<BR> -<A HREF="org/dllearner/examples/PokerTransformer.html" title="class in org.dllearner.examples" target="classFrame">PokerTransformer</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegDefinitionLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosNegDefinitionLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegDefinitionLPStrict.html" title="class in org.dllearner.learningproblems" target="classFrame">PosNegDefinitionLPStrict</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegInclusionLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosNegInclusionLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosNegLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegLP.UseMultiInstanceChecks.html" title="enum in org.dllearner.learningproblems" target="classFrame">PosNegLP.UseMultiInstanceChecks</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosOnlyDefinitionLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosOnlyDefinitionLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosOnlyInclusionLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosOnlyInclusionLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosOnlyLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosOnlyLP</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/Program.html" title="class in org.dllearner.algorithms.gp" target="classFrame">Program</A> -<BR> -<A HREF="org/dllearner/kb/sparql/datastructure/PropertyNode.html" title="class in org.dllearner.kb.sparql.datastructure" target="classFrame">PropertyNode</A> -<BR> -<A HREF="org/dllearner/algorithms/hybridgp/Psi.html" title="class in org.dllearner.algorithms.hybridgp" target="classFrame">Psi</A> -<BR> -<A HREF="org/dllearner/algorithms/hybridgp/PsiDown.html" title="class in org.dllearner.algorithms.hybridgp" target="classFrame">PsiDown</A> -<BR> -<A HREF="org/dllearner/algorithms/hybridgp/PsiUp.html" title="class in org.dllearner.algorithms.hybridgp" target="classFrame">PsiUp</A> -<BR> -<A HREF="org/dllearner/core/dl/Quantification.html" title="class in org.dllearner.core.dl" target="classFrame">Quantification</A> -<BR> -<A HREF="org/dllearner/cli/QuickStart.html" title="class in org.dllearner.cli" target="classFrame">QuickStart</A> -<BR> -<A HREF="org/dllearner/algorithms/RandomGuesser.html" title="class in org.dllearner.algorithms" target="classFrame">RandomGuesser</A> -<BR> -<A HREF="org/dllearner/core/dl/RBoxAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">RBoxAxiom</A> -<BR> -<A HREF="org/dllearner/core/Reasoner.html" title="interface in org.dllearner.core" target="classFrame"><I>Reasoner</I></A> -<BR> -<A HREF="org/dllearner/core/ReasonerComponent.html" title="class in org.dllearner.core" target="classFrame">ReasonerComponent</A> -<BR> -<A HREF="org/dllearner/gui/ReasonerPanel.html" title="class in org.dllearner.gui" target="classFrame">ReasonerPanel</A> -<BR> -<A HREF="org/dllearner/reasoning/ReasonerType.html" title="enum in org.dllearner.reasoning" target="classFrame">ReasonerType</A> -<BR> -<A HREF="org/dllearner/core/ReasoningMethodUnsupportedException.html" title="class in org.dllearner.core" target="classFrame">ReasoningMethodUnsupportedException</A> -<BR> -<A HREF="org/dllearner/core/ReasoningService.html" title="class in org.dllearner.core" target="classFrame">ReasoningService</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/RefinementOperator.html" title="interface in org.dllearner.algorithms.refinement" target="classFrame"><I>RefinementOperator</I></A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/RhoDown.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">RhoDown</A> -<BR> -<A HREF="org/dllearner/core/dl/Role.html" title="class in org.dllearner.core.dl" target="classFrame">Role</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/ROLearner.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">ROLearner</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/ROLearner.Heuristic.html" title="enum in org.dllearner.algorithms.refinement" target="classFrame">ROLearner.Heuristic</A> -<BR> -<A HREF="org/dllearner/core/dl/RoleAssertion.html" title="class in org.dllearner.core.dl" target="classFrame">RoleAssertion</A> -<BR> -<A HREF="org/dllearner/utilities/RoleComparator.html" title="class in org.dllearner.utilities" target="classFrame">RoleComparator</A> -<BR> -<A HREF="org/dllearner/core/dl/RoleHierarchy.html" title="class in org.dllearner.core.dl" target="classFrame">RoleHierarchy</A> -<BR> -<A HREF="org/dllearner/learningproblems/RoleLearning.html" title="class in org.dllearner.learningproblems" target="classFrame">RoleLearning</A> -<BR> -<A HREF="org/dllearner/gui/RunPanel.html" title="class in org.dllearner.gui" target="classFrame">RunPanel</A> -<BR> -<A HREF="org/dllearner/core/Score.html" title="class in org.dllearner.core" target="classFrame">Score</A> -<BR> -<A HREF="org/dllearner/learningproblems/ScoreThreeValued.html" title="class in org.dllearner.learningproblems" target="classFrame">ScoreThreeValued</A> -<BR> -<A HREF="org/dllearner/learningproblems/ScoreThreeValued.ScoreMethod.html" title="enum in org.dllearner.learningproblems" target="classFrame">ScoreThreeValued.ScoreMethod</A> -<BR> -<A HREF="org/dllearner/learningproblems/ScoreTwoValued.html" title="class in org.dllearner.learningproblems" target="classFrame">ScoreTwoValued</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/SearchSpace.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">SearchSpace</A> -<BR> -<A HREF="org/dllearner/parser/SimpleCharStream.html" title="class in org.dllearner.parser" target="classFrame">SimpleCharStream</A> -<BR> -<A HREF="org/dllearner/utilities/SortedSetTuple.html" title="class in org.dllearner.utilities" target="classFrame">SortedSetTuple</A> -<BR> -<A HREF="org/dllearner/kb/sparql/configuration/SparqlEndpoint.html" title="class in org.dllearner.kb.sparql.configuration" target="classFrame">SparqlEndpoint</A> -<BR> -<A HREF="org/dllearner/kb/sparql/SparqlKnowledgeSource.html" title="class in org.dllearner.kb.sparql" target="classFrame">SparqlKnowledgeSource</A> -<BR> -<A HREF="org/dllearner/kb/sparql/SparqlQuery.html" title="class in org.dllearner.kb.sparql" target="classFrame">SparqlQuery</A> -<BR> -<A HREF="org/dllearner/kb/sparql/SparqlQueryMaker.html" title="class in org.dllearner.kb.sparql" target="classFrame">SparqlQueryMaker</A> -<BR> -<A HREF="org/dllearner/kb/sparql/configuration/SparqlQueryType.html" title="class in org.dllearner.kb.sparql.configuration" target="classFrame">SparqlQueryType</A> -<BR> -<A HREF="org/dllearner/cli/Start.html" title="class in org.dllearner.cli" target="classFrame">Start</A> -<BR> -<A HREF="org/dllearner/gui/StartGUI.html" title="class in org.dllearner.gui" target="classFrame">StartGUI</A> -<BR> -<A HREF="org/dllearner/utilities/Stat.html" title="class in org.dllearner.utilities" target="classFrame">Stat</A> -<BR> -<A HREF="org/dllearner/core/config/StringConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">StringConfigOption</A> -<BR> -<A HREF="org/dllearner/core/config/StringSetConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">StringSetConfigOption</A> -<BR> -<A HREF="org/dllearner/utilities/StringTuple.html" title="class in org.dllearner.utilities" target="classFrame">StringTuple</A> -<BR> -<A HREF="org/dllearner/core/config/StringTupleListConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">StringTupleListConfigOption</A> -<BR> -<A HREF="org/dllearner/core/dl/SubRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">SubRoleAxiom</A> -<BR> -<A HREF="org/dllearner/core/dl/SubsumptionHierarchy.html" title="class in org.dllearner.core.dl" target="classFrame">SubsumptionHierarchy</A> -<BR> -<A HREF="org/dllearner/core/dl/SymmetricRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">SymmetricRoleAxiom</A> -<BR> -<A HREF="org/dllearner/core/dl/TerminologicalAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">TerminologicalAxiom</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/TestExtraction.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">TestExtraction</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/TestHTTP.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">TestHTTP</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/TestResultSet.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">TestResultSet</A> -<BR> -<A HREF="org/dllearner/utilities/ToDoTaglet.html" title="class in org.dllearner.utilities" target="classFrame">ToDoTaglet</A> -<BR> -<A HREF="org/dllearner/parser/Token.html" title="class in org.dllearner.parser" target="classFrame">Token</A> -<BR> -<A HREF="org/dllearner/parser/TokenMgrError.html" title="class in org.dllearner.parser" target="classFrame">TokenMgrError</A> -<BR> -<A HREF="org/dllearner/core/dl/Top.html" title="class in org.dllearner.core.dl" target="classFrame">Top</A> -<BR> -<A HREF="org/dllearner/core/dl/TransitiveRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">TransitiveRoleAxiom</A> -<BR> -<A HREF="org/dllearner/kb/sparql/TypedSparqlQuery.html" title="class in org.dllearner.kb.sparql" target="classFrame">TypedSparqlQuery</A> -<BR> -<A HREF="org/dllearner/kb/sparql/TypedSparqlQueryClasses.html" title="class in org.dllearner.kb.sparql" target="classFrame">TypedSparqlQueryClasses</A> -<BR> -<A HREF="org/dllearner/kb/sparql/TypedSparqlQueryInterface.html" title="interface in org.dllearner.kb.sparql" target="classFrame"><I>TypedSparqlQueryInterface</I></A> -<BR> -<A HREF="org/dllearner/server/UnknownComponentException.html" title="class in org.dllearner.server" target="classFrame">UnknownComponentException</A> -<BR> -<A HREF="org/dllearner/server/jaxws/UnknownComponentExceptionBean.html" title="class in org.dllearner.server.jaxws" target="classFrame">UnknownComponentExceptionBean</A> -<BR> -<A HREF="org/dllearner/core/config/UnknownConfigOptionException.html" title="class in org.dllearner.core.config" target="classFrame">UnknownConfigOptionException</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelBoolean.html" title="class in org.dllearner.gui" target="classFrame">WidgetPanelBoolean</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelDefault.html" title="class in org.dllearner.gui" target="classFrame">WidgetPanelDefault</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelDouble.html" title="class in org.dllearner.gui" target="classFrame">WidgetPanelDouble</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelInteger.html" title="class in org.dllearner.gui" target="classFrame">WidgetPanelInteger</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelString.html" title="class in org.dllearner.gui" target="classFrame">WidgetPanelString</A> -<BR> -</FONT></TD> -</TR> -</TABLE> - -</BODY> -</HTML> Deleted: trunk/doc/allclasses-noframe.html =================================================================== --- trunk/doc/allclasses-noframe.html 2008-01-30 16:09:28 UTC (rev 473) +++ trunk/doc/allclasses-noframe.html 2008-01-30 21:36:09 UTC (rev 474) @@ -1,429 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 08:11:00 CET 2008 --> -<TITLE> -All Classes -</TITLE> - -<META NAME="date" CONTENT="2008-01-30"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> - - -</HEAD> - -<BODY BGCOLOR="white"> -<FONT size="+1" CLASS="FrameHeadingFont"> -<B>All Classes</B></FONT> -<BR> - -<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> -<TR> -<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/dllearner/gui/AbstractWidgetPanel.html" title="class in org.dllearner.gui">AbstractWidgetPanel</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/ADC.html" title="class in org.dllearner.algorithms.gp">ADC</A> -<BR> -<A HREF="org/dllearner/core/dl/All.html" title="class in org.dllearner.core.dl">All</A> -<BR> -<A HREF="org/dllearner/test/AllTestsRunner.html" title="class in org.dllearner.test">AllTestsRunner</A> -<BR> -<A HREF="org/dllearner/core/dl/AssertionalAxiom.html" title="class in org.dllearner.core.dl">AssertionalAxiom</A> -<BR> -<A HREF="org/dllearner/core/dl/AtomicConcept.html" title="class in org.dllearner.core.dl">AtomicConcept</A> -<BR> -<A HREF="org/dllearner/core/dl/AtomicRole.html" title="class in org.dllearner.core.dl">AtomicRole</A> -<BR> -<A HREF="org/dllearner/core/dl/Axiom.html" title="class in org.dllearner.core.dl">Axiom</A> -<BR> -<A HREF="org/dllearner/core/config/BooleanConfigOption.html" title="class in org.dllearner.core.config">BooleanConfigOption</A> -<BR> -<A HREF="org/dllearner/core/dl/Bottom.html" title="class in org.dllearner.core.dl">Bottom</A> -<BR> -<A HREF="org/dllearner/algorithms/BruteForceLearner.html" title="class in org.dllearner.algorithms">BruteForceLearner</A> -<BR> -<A HREF="org/dllearner/kb/sparql/Cache.html" title="class in org.dllearner.kb.sparql">Cache</A> -<BR> -<A HREF="org/dllearner/examples/Card.html" title="class in org.dllearner.examples">Card</A> -<BR> -<A HREF="org/dllearner/kb/sparql/datastructure/ClassNode.html" title="class in org.dllearner.kb.sparql.datastructure">ClassNode</A> -<BR> -<A HREF="org/dllearner/server/ClientNotKnownException.html" title="class in org.dllearner.server">ClientNotKnownException</A> -<BR> -<A HREF="org/dllearner/server/jaxws/ClientNotKnownExceptionBean.html" title="class in org.dllearner.server.jaxws">ClientNotKnownExceptionBean</A> -<BR> -<A HREF="org/dllearner/server/ClientState.html" title="class in org.dllearner.server">ClientState</A> -<BR> -<A HREF="org/dllearner/core/config/CommonConfigMappings.html" title="class in org.dllearner.core.config">CommonConfigMappings</A> -<BR> -<A HREF="org/dllearner/core/config/CommonConfigOptions.html" title="class in org.dllearner.core.config">CommonConfigOptions</A> -<BR> -<A HREF="org/dllearner/core/Component.html" title="class in org.dllearner.core">Component</A> -<BR> -<A HREF="org/dllearner/core/ComponentManager.html" title="class in org.dllearner.core">ComponentManager</A> -<BR> -<A HREF="org/dllearner/core/ComponentPool.html" title="class in org.dllearner.core">ComponentPool</A> -<BR> -<A HREF="org/dllearner/core/ComponentTest.html" title="class in org.dllearner.core">ComponentTest</A> -<BR> -<A HREF="org/dllearner/test/ComponentTests.html" title="class in org.dllearner.test">ComponentTests</A> -<BR> -<A HREF="org/dllearner/core/dl/Concept.html" title="class in org.dllearner.core.dl">Concept</A> -<BR> -<A HREF="org/dllearner/core/dl/ConceptAssertion.html" title="class in org.dllearner.core.dl">ConceptAssertion</A> -<BR> -<A HREF="org/dllearner/utilities/ConceptComparator.html" title="class in org.dllearner.utilities">ConceptComparator</A> -<BR> -<A HREF="org/dllearner/utilities/ConceptTransformation.html" title="class in org.dllearner.utilities">ConceptTransformation</A> -<BR> -<A HREF="org/dllearner/cli/ConfFileOption.html" title="class in org.dllearner.cli">ConfFileOption</A> -<BR> -<A HREF="org/dllearner/gui/Config.html" title="class in org.dllearner.gui">Config</A> -<BR> -<A HREF="org/dllearner/core/config/ConfigDocumentationGenerator.html" title="class in org.dllearner.core.config">ConfigDocumentationGenerator</A> -<BR> -<A HREF="org/dllearner/core/config/ConfigEntry.html" title="class in org.dllearner.core.config">ConfigEntry</A> -<BR> -<A HREF="org/dllearner/core/config/ConfigOption.html" title="class in org.dllearner.core.config">ConfigOption</A> -<BR> -<A HREF="org/dllearner/server/ConfigOptionTypeException.html" title="class in org.dllearner.server">ConfigOptionTypeException</A> -<BR> -<A HREF="org/dllearner/server/jaxws/ConfigOptionTypeExceptionBean.html" title="class in org.dllearner.server.jaxws">ConfigOptionTypeExceptionBean</A> -<BR> -<A HREF="org/dllearner/kb/sparql/configuration/Configuration.html" title="class in org.dllearner.kb.sparql.configuration">Configuration</A> -<BR> -<A HREF="org/dllearner/parser/ConfParser.html" title="class in org.dllearner.parser">ConfParser</A> -<BR> -<A HREF="org/dllearner/parser/ConfParserConstants.html" title="interface in org.dllearner.parser"><I>ConfParserConstants</I></A> -<BR> -<A HREF="org/dllearner/parser/ConfParserTokenManager.html" title="class in org.dllearner.parser">ConfParserTokenManager</A> -<BR> -<A HREF="org/dllearner/core/dl/Conjunction.html" title="class in org.dllearner.core.dl">Conjunction</A> -<BR> -<A HREF="org/dllearner/utilities/Datastructures.html" title="class in org.dllearner.utilities">Datastructures</A> -<BR> -<A HREF="org/dllearner/learningproblems/DefinitionLP.html" title="interface in org.dllearner.learningproblems"><I>DefinitionLP</I></A> -<BR> -<A HREF="org/dllearner/reasoning/DIGConverter.html" title="class in org.dllearner.reasoning">DIGConverter</A> -<BR> -<A HREF="org/dllearner/reasoning/DIGHTTPConnector.html" title="class in org.dllearner.reasoning">DIGHTTPConnector</A> -<BR> -<A HREF="org/dllearner/reasoning/DIGReasoner.html" title="class in org.dllearner.reasoning">DIGReasoner</A> -<BR> -<A HREF="org/dllearner/core/dl/Disjunction.html" title="class in org.dllearner.core.dl">Disjunction</A> -<BR> -<A HREF="org/dllearner/server/DLLearnerWS.html" title="class in org.dllearner.server">DLLearnerWS</A> -<BR> -<A HREF="org/dllearner/server/DLLearnerWSStart.html" title="class in org.dllearner.server">DLLearnerWSStart</A> -<BR> -<A HREF="org/dllearner/core/config/DoubleConfigOption.html" title="class in org.dllearner.core.config">DoubleConfigOption</A> -<BR> -<A HREF="org/dllearner/core/dl/Equality.html" title="class in org.dllearner.core.dl">Equality</A> -<BR> -<A HREF="org/dllearner/learningproblems/EvaluationCache.html" title="class in org.dllearner.learningproblems">EvaluationCache</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedHeuristic.html" title="interface in org.dllearner.algorithms.refexamples"><I>ExampleBasedHeuristic</I></A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedNode.html" title="class in org.dllearner.algorithms.refexamples">ExampleBasedNode</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedNode.QualityEvaluationMethod.html" title="enum in org.dllearner.algorithms.refexamples">ExampleBasedNode.QualityEvaluationMethod</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedROLComponent.html" title="class in org.dllearner.algorithms.refexamples">ExampleBasedROLComponent</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedROLearner.html" title="class in org.dllearner.algorithms.refexamples">ExampleBasedROLearner</A> -<BR> -<A HREF="org/dllearner/core/dl/Exists.html" title="class in org.dllearner.core.dl">Exists</A> -<BR> -<A HREF="org/dllearner/kb/sparql/ExtractionAlgorithm.html" title="class in org.dllearner.kb.sparql">ExtractionAlgorithm</A> -<BR> -<A HREF="org/dllearner/reasoning/FaCTBugDemo.html" title="class in org.dllearner.reasoning">FaCTBugDemo</A> -<BR> -<A HREF="org/dllearner/reasoning/FastRetrieval.html" title="class in org.dllearner.reasoning">FastRetrieval</A> -<BR> -<A HREF="org/dllearner/reasoning/FastRetrievalReasoner.html" title="class in org.dllearner.reasoning">FastRetrievalReasoner</A> -<BR> -<A HREF="org/dllearner/utilities/Files.html" title="class in org.dllearner.utilities">Files</A> -<BR> -<A HREF="org/dllearner/core/dl/FlatABox.html" title="class in org.dllearner.core.dl">FlatABox</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/FlexibleHeuristic.html" title="class in org.dllearner.algorithms.refexamples">FlexibleHeuristic</A> -<BR> -<A HREF="org/dllearner/core/dl/FunctionalRoleAxiom.html" title="class in org.dllearner.core.dl">FunctionalRoleAxiom</A> -<BR> -<A HREF="org/dllearner/algorithms/hybridgp/GeneticRefinementOperator.html" title="interface in org.dllearner.algorithms.hybridgp"><I>GeneticRefinementOperator</I></A> -<BR> -<A HREF="org/dllearner/algorithms/gp/GP.html" title="class in org.dllearner.algorithms.gp">GP</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/GP.AlgorithmType.html" title="enum in org.dllearner.algorithms.gp">GP.AlgorithmType</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/GP.SelectionType.html" title="enum in org.dllearner.algorithms.gp">GP.SelectionType</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/GPUtilities.html" title="class in org.dllearner.algorithms.gp">GPUtilities</A> -<BR> -<A HREF="org/dllearner/core/dl/GreaterEqual.html" title="class in org.dllearner.core.dl">GreaterEqual</A> -<BR> -<A HREF="org/dllearner/examples/Hand.html" title="class in org.dllearner.examples">Hand</A> -<BR> -<A HREF="org/dllearner/utilities/Helper.html" title="class in org.dllearner.utilities">Helper</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/Heuristic.html" title="interface in org.dllearner.algorithms.refinement"><I>Heuristic</I></A> -<BR> -<A HREF="org/dllearner/core/dl/Inclusion.html" title="class in org.dllearner.core.dl">Inclusion</A> -<BR> -<A HREF="org/dllearner/learningproblems/InclusionLP.html" title="interface in org.dllearner.learningproblems"><I>InclusionLP</I></A> -<BR> -<A HREF="org/dllearner/core/dl/Individual.html" title="class in org.dllearner.core.dl">Individual</A> -<BR> -<A HREF="org/dllearner/Info.html" title="class in org.dllearner">Info</A> -<BR> -<A HREF="org/dllearner/kb/sparql/datastructure/InstanceNode.html" title="class in org.dllearner.kb.sparql.datastructure">InstanceNode</A> -<BR> -<A HREF="org/dllearner/core/config/IntegerConfigOption.html" title="class in org.dllearner.core.config">IntegerConfigOption</A> -<BR> -<A HREF="org/dllearner/core/config/InvalidConfigOptionValueException.html" title="class in org.dllearner.core.config">InvalidConfigOptionValueException</A> -<BR> -<A HREF="org/dllearner/core/dl/InverseRole.html" title="class in org.dllearner.core.dl">InverseRole</A> -<BR> -<A HREF="org/dllearner/core/dl/InverseRoleAxiom.html" title="class in org.dllearner.core.dl">InverseRoleAxiom</A> -<BR> -<A HREF="org/dllearner/reasoning/JenaOWLDIGConverter.html" title="class in org.dllearner.reasoning">JenaOWLDIGConverter</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.html" title="class in org.dllearner.kb.sparql.test">JenaQueryToResultSpeedTest</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/JenaTestScript.html" title="class in org.dllearner.kb.sparql.test">JenaTestScript</A> -<BR> -<A HREF="org/dllearner/reasoning/KAON2Reasoner.html" title="class in org.dllearner.reasoning">KAON2Reasoner</A> -<BR> -<A HREF="org/dllearner/core/dl/KB.html" title="class in org.dllearner.core.dl">KB</A> -<BR> -<A HREF="org/dllearner/core/dl/KBElement.html" title="interface in org.dllearner.core.dl"><I>KBElement</I></A> -<BR> -<A HREF="org/dllearner/kb/KBFile.html" title="class in org.dllearner.kb">KBFile</A> -<BR> -<A HREF="org/dllearner/parser/KBParser.html" title="class in org.dllearner.parser">KBParser</A> -<BR> -<A HREF="org/dllearner/parser/KBParserConstants.html" title="interface in org.dllearner.parser"><I>KBParserConstants</I></A> -<BR> -<A HREF="org/dllearner/parser/KBParserTokenManager.html" title="class in org.dllearner.parser">KBParserTokenManager</A> -<BR> -<A HREF="org/dllearner/core/KnowledgeSource.html" title="class in org.dllearner.core">KnowledgeSource</A> -<BR> -<A HREF="org/dllearner/gui/KnowledgeSourcePanel.html" title="class in org.dllearner.gui">KnowledgeSourcePanel</A> -<BR> -<A HREF="org/dllearner/core/LearningAlgorithm.html" title="class in org.dllearner.core">LearningAlgorithm</A> -<BR> -<A HREF="org/dllearner/gui/LearningAlgorithmPanel.html" title="class in org.dllearner.gui">LearningAlgorithmPanel</A> -<BR> -<A HREF="org/dllearner/core/LearningProblem.html" title="class in org.dllearner.core">LearningProblem</A> -<BR> -<A HREF="org/dllearner/gui/LearningProblemPanel.html" title="class in org.dllearner.gui">LearningProblemPanel</A> -<BR> -<A HREF="org/dllearner/core/dl/LessEqual.html" title="class in org.dllearner.core.dl">LessEqual</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/LexicographicHeuristic.html" title="class in org.dllearner.algorithms.refexamples">LexicographicHeuristic</A> -<BR> -<A HREF="org/dllearner/kb/sparql/Manager.html" title="class in org.dllearner.kb.sparql">Manager</A> -<BR> -<A HREF="org/dllearner/kb/sparql/Manipulator.html" title="class in org.dllearner.kb.sparql">Manipulator</A> -<BR> -<A HREF="org/dllearner/gui/MiniGUI.html" title="class in org.dllearner.gui">MiniGUI</A> -<BR> -<A HREF="org/dllearner/core/dl/MultiConjunction.html" title="class in org.dllearner.core.dl">MultiConjunction</A> -<BR> -<A HREF="org/dllearner/core/dl/MultiDisjunction.html" title="class in org.dllearner.core.dl">MultiDisjunction</A> -<BR> -<A HREF="org/dllearner/core/dl/Negation.html" title="class in org.dllearner.core.dl">Negation</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/Node.html" title="class in org.dllearner.algorithms.refinement">Node</A> -<BR> -<A HREF="org/dllearner/kb/sparql/datastructure/Node.html" title="class in org.dllearner.kb.sparql.datastructure">Node</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/Node.QualityEvaluationMethod.html" title="enum in org.dllearner.algorithms.refinement">Node.QualityEvaluationMethod</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/NodeComparator.html" title="class in org.dllearner.algorithms.refinement">NodeComparator</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/NodeComparator2.html" title="class in org.dllearner.algorithms.refinement">NodeComparator2</A> -<BR> -<A HREF="org/dllearner/algorithms/refexamples/NodeComparatorStable.html" title="class in org.dllearner.algorithms.refexamples">NodeComparatorStable</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/NodeComparatorStable.html" title="class in org.dllearner.algorithms.refinement">NodeComparatorStable</A> -<BR> -<A HREF="org/dllearner/core/dl/NumberRestriction.html" title="class in org.dllearner.core.dl">NumberRestriction</A> -<BR> -<A HREF="org/dllearner/utilities/OntologyClassRewriter.html" title="class in org.dllearner.utilities">OntologyClassRewriter</A> -<BR> -<A HREF="org/dllearner/core/OntologyFormat.html" title="enum in org.dllearner.core">OntologyFormat</A> -<BR> -<A HREF="org/dllearner/core/OntologyFormatUnsupportedException.html" title="class in org.dllearner.core">OntologyFormatUnsupportedException</A> -<BR> -<A HREF="org/dllearner/gui/OptionPanel.html" title="class in org.dllearner.gui">OptionPanel</A> -<BR> -<A HREF="org/dllearner/reasoning/OWLAPIDIGConverter.html" title="class in org.dllearner.reasoning">OWLAPIDIGConverter</A> -<BR> -<A HREF="org/dllearner/reasoning/OWLAPIReasoner.html" title="class in org.dllearner.reasoning">OWLAPIReasoner</A> -<BR> -<A HREF="org/dllearner/kb/OWLFile.html" title="class in org.dllearner.kb">OWLFile</A> -<BR> -<A HREF="org/dllearner/utilities/PaperStatistics.html" title="class in org.dllearner.utilities">PaperStatistics</A> -<BR> -<A HREF="org/dllearner/parser/ParseException.html" title="class in org.dllearner.parser">ParseException</A> -<BR> -<A HREF="org/dllearner/examples/PokerTransformer.html" title="class in org.dllearner.examples">PokerTransformer</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegDefinitionLP.html" title="class in org.dllearner.learningproblems">PosNegDefinitionLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegDefinitionLPStrict.html" title="class in org.dllearner.learningproblems">PosNegDefinitionLPStrict</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegInclusionLP.html" title="class in org.dllearner.learningproblems">PosNegInclusionLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegLP.html" title="class in org.dllearner.learningproblems">PosNegLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosNegLP.UseMultiInstanceChecks.html" title="enum in org.dllearner.learningproblems">PosNegLP.UseMultiInstanceChecks</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosOnlyDefinitionLP.html" title="class in org.dllearner.learningproblems">PosOnlyDefinitionLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosOnlyInclusionLP.html" title="class in org.dllearner.learningproblems">PosOnlyInclusionLP</A> -<BR> -<A HREF="org/dllearner/learningproblems/PosOnlyLP.html" title="class in org.dllearner.learningproblems">PosOnlyLP</A> -<BR> -<A HREF="org/dllearner/algorithms/gp/Program.html" title="class in org.dllearner.algorithms.gp">Program</A> -<BR> -<A HREF="org/dllearner/kb/sparql/datastructure/PropertyNode.html" title="class in org.dllearner.kb.sparql.datastructure">PropertyNode</A> -<BR> -<A HREF="org/dllearner/algorithms/hybridgp/Psi.html" title="class in org.dllearner.algorithms.hybridgp">Psi</A> -<BR> -<A HREF="org/dllearner/algorithms/hybridgp/PsiDown.html" title="class in org.dllearner.algorithms.hybridgp">PsiDown</A> -<BR> -<A HREF="org/dllearner/algorithms/hybridgp/PsiUp.html" title="class in org.dllearner.algorithms.hybridgp">PsiUp</A> -<BR> -<A HREF="org/dllearner/core/dl/Quantification.html" title="class in org.dllearner.core.dl">Quantification</A> -<BR> -<A HREF="org/dllearner/cli/QuickStart.html" title="class in org.dllearner.cli">QuickStart</A> -<BR> -<A HREF="org/dllearner/algorithms/RandomGuesser.html" title="class in org.dllearner.algorithms">RandomGuesser</A> -<BR> -<A HREF="org/dllearner/core/dl/RBoxAxiom.html" title="class in org.dllearner.core.dl">RBoxAxiom</A> -<BR> -<A HREF="org/dllearner/core/Reasoner.html" title="interface in org.dllearner.core"><I>Reasoner</I></A> -<BR> -<A HREF="org/dllearner/core/ReasonerComponent.html" title="class in org.dllearner.core">ReasonerComponent</A> -<BR> -<A HREF="org/dllearner/gui/ReasonerPanel.html" title="class in org.dllearner.gui">ReasonerPanel</A> -<BR> -<A HREF="org/dllearner/reasoning/ReasonerType.html" title="enum in org.dllearner.reasoning">ReasonerType</A> -<BR> -<A HREF="org/dllearner/core/ReasoningMethodUnsupportedException.html" title="class in org.dllearner.core">ReasoningMethodUnsupportedException</A> -<BR> -<A HREF="org/dllearner/core/ReasoningService.html" title="class in org.dllearner.core">ReasoningService</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/RefinementOperator.html" title="interface in org.dllearner.algorithms.refinement"><I>RefinementOperator</I></A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/RhoDown.html" title="class in org.dllearner.algorithms.refinement">RhoDown</A> -<BR> -<A HREF="org/dllearner/core/dl/Role.html" title="class in org.dllearner.core.dl">Role</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/ROLearner.html" title="class in org.dllearner.algorithms.refinement">ROLearner</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/ROLearner.Heuristic.html" title="enum in org.dllearner.algorithms.refinement">ROLearner.Heuristic</A> -<BR> -<A HREF="org/dllearner/core/dl/RoleAssertion.html" title="class in org.dllearner.core.dl">RoleAssertion</A> -<BR> -<A HREF="org/dllearner/utilities/RoleComparator.html" title="class in org.dllearner.utilities">RoleComparator</A> -<BR> -<A HREF="org/dllearner/core/dl/RoleHierarchy.html" title="class in org.dllearner.core.dl">RoleHierarchy</A> -<BR> -<A HREF="org/dllearner/learningproblems/RoleLearning.html" title="class in org.dllearner.learningproblems">RoleLearning</A> -<BR> -<A HREF="org/dllearner/gui/RunPanel.html" title="class in org.dllearner.gui">RunPanel</A> -<BR> -<A HREF="org/dllearner/core/Score.html" title="class in org.dllearner.core">Score</A> -<BR> -<A HREF="org/dllearner/learningproblems/ScoreThreeValued.html" title="class in org.dllearner.learningproblems">ScoreThreeValued</A> -<BR> -<A HREF="org/dllearner/learningproblems/ScoreThreeValued.ScoreMethod.html" title="enum in org.dllearner.learningproblems">ScoreThreeValued.ScoreMethod</A> -<BR> -<A HREF="org/dllearner/learningproblems/ScoreTwoValued.html" title="class in org.dllearner.learningproblems">ScoreTwoValued</A> -<BR> -<A HREF="org/dllearner/algorithms/refinement/SearchSpace.html" title="class in org.dllearner.algorithms.refinement">SearchSpace</A> -<BR> -<A HREF="org/dllearner/parser/SimpleCharStream.html" title="class in org.dllearner.parser">SimpleCharStream</A> -<BR> -<A HREF="org/dllearner/utilities/SortedSetTuple.html" title="class in org.dllearner.utilities">SortedSetTuple</A> -<BR> -<A HREF="org/dllearner/kb/sparql/configuration/SparqlEndpoint.html" title="class in org.dllearner.kb.sparql.configuration">SparqlEndpoint</A> -<BR> -<A HREF="org/dllearner/kb/sparql/SparqlKnowledgeSource.html" title="class in org.dllearner.kb.sparql">SparqlKnowledgeSource</A> -<BR> -<A HREF="org/dllearner/kb/sparql/SparqlQuery.html" title="class in org.dllearner.kb.sparql">SparqlQuery</A> -<BR> -<A HREF="org/dllearner/kb/sparql/SparqlQueryMaker.html" title="class in org.dllearner.kb.sparql">SparqlQueryMaker</A> -<BR> -<A HREF="org/dllearner/kb/sparql/configuration/SparqlQueryType.html" title="class in org.dllearner.kb.sparql.configuration">SparqlQueryType</A> -<BR> -<A HREF="org/dllearner/cli/Start.html" title="class in org.dllearner.cli">Start</A> -<BR> -<A HREF="org/dllearner/gui/StartGUI.html" title="class in org.dllearner.gui">StartGUI</A> -<BR> -<A HREF="org/dllearner/utilities/Stat.html" title="class in org.dllearner.utilities">Stat</A> -<BR> -<A HREF="org/dllearner/core/config/StringConfigOption.html" title="class in org.dllearner.core.config">StringConfigOption</A> -<BR> -<A HREF="org/dllearner/core/config/StringSetConfigOption.html" title="class in org.dllearner.core.config">StringSetConfigOption</A> -<BR> -<A HREF="org/dllearner/utilities/StringTuple.html" title="class in org.dllearner.utilities">StringTuple</A> -<BR> -<A HREF="org/dllearner/core/config/StringTupleListConfigOption.html" title="class in org.dllearner.core.config">StringTupleListConfigOption</A> -<BR> -<A HREF="org/dllearner/core/dl/SubRoleAxiom.html" title="class in org.dllearner.core.dl">SubRoleAxiom</A> -<BR> -<A HREF="org/dllearner/core/dl/SubsumptionHierarchy.html" title="class in org.dllearner.core.dl">SubsumptionHierarchy</A> -<BR> -<A HREF="org/dllearner/core/dl/SymmetricRoleAxiom.html" title="class in org.dllearner.core.dl">SymmetricRoleAxiom</A> -<BR> -<A HREF="org/dllearner/core/dl/TerminologicalAxiom.html" title="class in org.dllearner.core.dl">TerminologicalAxiom</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/TestExtraction.html" title="class in org.dllearner.kb.sparql.test">TestExtraction</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/TestHTTP.html" title="class in org.dllearner.kb.sparql.test">TestHTTP</A> -<BR> -<A HREF="org/dllearner/kb/sparql/test/TestResultSet.html" title="class in org.dllearner.kb.sparql.test">TestResultSet</A> -<BR> -<A HREF="org/dllearner/utilities/ToDoTaglet.html" title="class in org.dllearner.utilities">ToDoTaglet</A> -<BR> -<A HREF="org/dllearner/parser/Token.html" title="class in org.dllearner.parser">Token</A> -<BR> -<A HREF="org/dllearner/parser/TokenMgrError.html" title="class in org.dllearner.parser">TokenMgrError</A> -<BR> -<A HREF="org/dllearner/core/dl/Top.html" title="class in org.dllearner.core.dl">Top</A> -<BR> -<A HREF="org/dllearner/core/dl/TransitiveRoleAxiom.html" title="class in org.dllearner.core.dl">TransitiveRoleAxiom</A> -<BR> -<A HREF="org/dllearner/kb/sparql/TypedSparqlQuery.html" title="class in org.dllearner.kb.sparql">TypedSparqlQuery</A> -<BR> -<A HREF="org/dllearner/kb/sparql/TypedSparqlQueryClasses.html" title="class in org.dllearner.kb.sparql">TypedSparqlQueryClasses</A> -<BR> -<A HREF="org/dllearner/kb/sparql/TypedSparqlQueryInterface.html" title="interface in org.dllearner.kb.sparql"><I>TypedSparqlQueryInterface</I></A> -<BR> -<A HREF="org/dllearner/server/UnknownComponentException.html" title="class in org.dllearner.server">UnknownComponentException</A> -<BR> -<A HREF="org/dllearner/server/jaxws/UnknownComponentExceptionBean.html" title="class in org.dllearner.server.jaxws">UnknownComponentExceptionBean</A> -<BR> -<A HREF="org/dllearner/core/config/UnknownConfigOptionException.html" title="class in org.dllearner.core.config">UnknownConfigOptionException</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelBoolean.html" title="class in org.dllearner.gui">WidgetPanelBoolean</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelDefault.html" title="class in org.dllearner.gui">WidgetPanelDefault</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelDouble.html" title="class in org.dllearner.gui">WidgetPanelDouble</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelInteger.html" title="class in org.dllearner.gui">WidgetPanelInteger</A> -<BR> -<A HREF="org/dllearner/gui/WidgetPanelString.html" title="class in org.dllearner.gui">WidgetPanelString</A> -<BR> -</FONT></TD> -</TR> -</TABLE> - -</BODY> -</HTML> Deleted: trunk/doc/constant-values.html =================================================================== --- trunk/doc/constant-values.html 2008-01-30 16:09:28 UTC (rev 473) +++ trunk/doc/constant-values.html 2008-01-30 21:36:09 UTC (rev 474) @@ -1,504 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 08:10:50 CET 2008 --> -<TITLE> -Constant Field Values -</TITLE> - -<META NAME="date" CONTENT="2008-01-30"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> - -<SCRIPT type="text/javascript"> -function windowTitle() -{ - if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Constant Field Values"; - } -} -</SCRIPT> -<NOSCRIPT> -</NOSCRIPT> - -</HEAD> - -<BODY BGCOLOR="white" onload="windowTitle();"> -<HR> - - -<!-- ========= START OF TOP NAVBAR ======= --> -<A NAME="navbar_top"><!-- --></A> -<A HREF="#skip-navbar_top" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_top_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> - </TR> -</TABLE> -</TD> -<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> -</EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - PREV - NEXT</FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> - <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- - if(window==top) { - document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); - } - //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - - -</FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_top"></A> -<!-- ========= END OF TOP NAVBAR ========= --> - -<HR> -<CENTER> -<H1> -Constant Field Values</H1> -</CENTER> -<HR SIZE="4" NOSHADE> -<B>Contents</B><UL> -<LI><A HREF="#org.dllearner">org.dllearner.*</A> -</UL> - -<A NAME="org.dllearner"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left"><FONT SIZE="+2"> -org.dllearner.*</FONT></TH> -</TR> -</TABLE> - -<P> - -<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left" COLSPAN="3">org.dllearner.<A HREF="org/dllearner/Info.html" title="class in org.dllearner">Info</A></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<A NAME="org.dllearner.Info.build"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> -<CODE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD ALIGN=... [truncated message content] |
From: <ku...@us...> - 2008-01-30 16:10:03
|
Revision: 473 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=473&view=rev Author: kurzum Date: 2008-01-30 08:09:28 -0800 (Wed, 30 Jan 2008) Log Message: ----------- added remaining examples Added Paths: ----------- trunk/examples/sparql/Aristotle.conf trunk/examples/sparql/DBPediaYAGOWomanInPolitics.conf trunk/examples/sparql/SilentBobWorking1.conf trunk/examples/sparql/SilentBobWorking2.conf trunk/examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf Added: trunk/examples/sparql/Aristotle.conf =================================================================== --- trunk/examples/sparql/Aristotle.conf (rev 0) +++ trunk/examples/sparql/Aristotle.conf 2008-01-30 16:09:28 UTC (rev 473) @@ -0,0 +1,35 @@ +/** + * Some people from Greece. + * + * Possible Solution: + * Theorist OR (Mathematician AND Physicist) + * + */ + +// SPARQL options +sparql.recursionDepth = 1; + +//predefined filter (1 = YAGO based learning) +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +sparql.instances = { + "http://dbpedia.org/resource/Democritus", + "http://dbpedia.org/resource/Zeno_of_Elea", + "http://dbpedia.org/resource/Plato", + "http://dbpedia.org/resource/Socrates", + "http://dbpedia.org/resource/Archytas", + "http://dbpedia.org/resource/Pythagoras", + "http://dbpedia.org/resource/Philolaus" +}; + ++"http://dbpedia.org/resource/Pythagoras" ++"http://dbpedia.org/resource/Philolaus" ++"http://dbpedia.org/resource/Archytas" +-"http://dbpedia.org/resource/Socrates" +-"http://dbpedia.org/resource/Plato" +-"http://dbpedia.org/resource/Zeno_of_Elea" +-"http://dbpedia.org/resource/Democritus" Added: trunk/examples/sparql/DBPediaYAGOWomanInPolitics.conf =================================================================== --- trunk/examples/sparql/DBPediaYAGOWomanInPolitics.conf (rev 0) +++ trunk/examples/sparql/DBPediaYAGOWomanInPolitics.conf 2008-01-30 16:09:28 UTC (rev 473) @@ -0,0 +1,43 @@ + /* + * Some woman, that are Politicians + Solution + http://dbpedia.org/class/yago/Executive110069645 (length 1, depth 1) + http://dbpedia.org/class/yago/CorporateExecutive109966255 (length 1, depth 1) + http://dbpedia.org/class/yago/President110468559 (length 1, depth 1) + */ + +// SPARQL options + + + +// SPARQL options +//necessary: +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +sparql.instances = { +"http://dbpedia.org/resource/Indira_Gandhi", +"http://dbpedia.org/resource/Sonia_Gandhi", +"http://dbpedia.org/resource/Hillary_Rodham_Clinton", +"http://dbpedia.org/resource/Princess_Leia_Organa", +"http://dbpedia.org/resource/Angela_Merkel", +"http://dbpedia.org/resource/Christine_Todd_Whitman"}; + + + +/** examples **/ ++"http://dbpedia.org/resource/Indira_Gandhi" ++"http://dbpedia.org/resource/Sonia_Gandhi" +-"http://dbpedia.org/resource/Hillary_Rodham_Clinton" +-"http://dbpedia.org/resource/Princess_Leia_Organa" +-"http://dbpedia.org/resource/Angela_Merkel" +-"http://dbpedia.org/resource/Christine_Todd_Whitman" \ No newline at end of file Added: trunk/examples/sparql/SilentBobWorking1.conf =================================================================== --- trunk/examples/sparql/SilentBobWorking1.conf (rev 0) +++ trunk/examples/sparql/SilentBobWorking1.conf 2008-01-30 16:09:28 UTC (rev 473) @@ -0,0 +1,43 @@ + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = true; +refinement.useNegation = false; + + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +// the set of objects as starting point for fragment selection +// (should be identical to the set of examples) +sparql.instances = { +"http://dbpedia.org/resource/Matt_Stone", +"http://dbpedia.org/resource/Sarah_Silverman", +"http://dbpedia.org/resource/Jim_Carrey", +"http://dbpedia.org/resource/Jason_Mewes", +"http://dbpedia.org/resource/Kevin_Smith", +"http://dbpedia.org/resource/Trey_Parker", +"http://dbpedia.org/resource/Adam_Sandler"}; + + + +// http://dbpedia.org/class/yago/agnostic OR http://dbpedia.org/class/yago/artist +// http://dbpedia.org/class/yago/agnostic OR http://dbpedia.org/class/yago/teetotaler + ++"http://dbpedia.org/resource/Matt_Stone" ++"http://dbpedia.org/resource/Sarah_Silverman" +-"http://dbpedia.org/resource/Jim_Carrey" +-"http://dbpedia.org/resource/Jason_Mewes" +-"http://dbpedia.org/resource/Kevin_Smith" +-"http://dbpedia.org/resource/Trey_Parker" +-"http://dbpedia.org/resource/Adam_Sandler" \ No newline at end of file Added: trunk/examples/sparql/SilentBobWorking2.conf =================================================================== --- trunk/examples/sparql/SilentBobWorking2.conf (rev 0) +++ trunk/examples/sparql/SilentBobWorking2.conf 2008-01-30 16:09:28 UTC (rev 473) @@ -0,0 +1,51 @@ + + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = true; +refinement.useNegation = false; + + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +// the set of objects as starting point for fragment selection +// (should be identical to the set of examples) +sparql.instances = { + "http://dbpedia.org/resource/Matt_Stone", +"http://dbpedia.org/resource/Sarah_Silverman", +"http://dbpedia.org/resource/Kevin_Smith", + +"http://dbpedia.org/resource/Jason_Mewes", +"http://dbpedia.org/resource/Jim_Carrey", +"http://dbpedia.org/resource/Trey_Parker", +"http://dbpedia.org/resource/Adam_Sandler" + +}; + + +/* +Category:1970s AND Category:Religion_in_the_United_States +Category:Actors AND Category:Religion_in_the_United_States +*/ + ++"http://dbpedia.org/resource/Matt_Stone" ++"http://dbpedia.org/resource/Sarah_Silverman" ++"http://dbpedia.org/resource/Kevin_Smith" + +-"http://dbpedia.org/resource/Jason_Mewes" +-"http://dbpedia.org/resource/Jim_Carrey" +-"http://dbpedia.org/resource/Trey_Parker" +-"http://dbpedia.org/resource/Adam_Sandler" + + Added: trunk/examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf =================================================================== --- trunk/examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf (rev 0) +++ trunk/examples/sparql/difference/DBPediaSKOS_kohl_vs_angela.conf 2008-01-30 16:09:28 UTC (rev 473) @@ -0,0 +1,88 @@ +/** + * Simple example for using a SPARQL Endpoint as background + * knowledge. + * Solutions: + +http://dbpedia.org/resource/Helmut_Kohl +with 200 classes +http://dbpedia.org/resource/Category:Awards (length 1, depth 1) + http://dbpedia.org/resource/Category:British_knights%7CGrand_Cross_of_the_Order_of_St_Michael_and_St_George%2C_Knights (length 1, depth 1) + http://dbpedia.org/resource/Category:Categories_named_after_politicians%7C_Cold_War_leaders (length 1, depth 1) + http://dbpedia.org/resource/Category:Christian_politicians%7CRoman_Catholic (length 1, depth 1) + http://dbpedia.org/resource/Category:Christianity_in_Germany (length 1, depth 1) + http://dbpedia.org/resource/Category:Christians_by_nationality%7C_Roman_Catholics (length 1, depth 1) + http://dbpedia.org/resource/Category:Cold_War%7CLeaders (length 1, depth 1) + http://dbpedia.org/resource/Category:German_Christians%7CRoman_Catholics (length 1, depth 1) + http://dbpedia.org/resource/Category:Order_of_St_Michael_and_St_George (length 1, depth 1) + http://dbpedia.org/resource/Category:People (length 1, depth 1) + http://dbpedia.org/resource/Category:People_associated_with_war%7C (length 1, depth 1) + http://dbpedia.org/resource/Category:Roman_Catholic_Church_by_country%7CGermany (length 1, depth 1) + http://dbpedia.org/resource/Category:Roman_Catholic_Church_in_Europe%7CGermany (length 1, depth 1) + http://dbpedia.org/resource/Category:Roman_Catholics%7C_Nationality (length 1, depth 1) + http://dbpedia.org/resource/Category:Roman_Catholics_by_occupation%7CPoliticians (length 1, depth 1) + http://dbpedia.org/resource/Category:Wars%7C_People (length 1, depth 1) + + These are the original direct results from dbpedia: +skos:subject [http] :Category:1930_births [http] - +skos:subject [http] :Category:Chancellors_of_Germany [http] - +skos:subject [http] :Category:Cold_War_leaders [http] - +skos:subject [http] :Category:German_Christian_Democrat_politicians [http] - +skos:subject [http] :Category:German_Roman_Catholics [http] - +skos:subject [http] :Category:Knights_Grand_Cross_of_the_Order_of_St_Michael_and_St_George [http] - +skos:subject [http] :Category:Living_people [http] - +skos:subject [http] :Category:Presidential_Medal_of_Freedom_recipients [http] - +skos:subject [http] :Category:Roman_Catholic_politicians [http] + + */ + + + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + +// list of ignored roles +sparql.predList = { "http://www.w3.org/2004/02/skos/core#narrower", + "http://www.w3.org/2002/07/owl#sameAs", + "http://xmlns.com/foaf/0.1/", + "http://dbpedia.org/property/reference", + "http://dbpedia.org/property/website", + "http://dbpedia.org/property/wikipage", + "http://dbpedia.org/property/wikiPageUsesTemplate"}; + +// list of ignored objects +sparql.objList = { "http://xmlns.com/foaf/0.1/", + "http://upload.wikimedia.org/wikipedia/commons", + "http://upload.wikimedia.org/wikipedia", + "http://www.geonames.org", + "http://www.w3.org/2006/03/wn/wn20/instances/synset", + "http://www4.wiwiss.fu-berlin.de/flickrwrappr", + "http://dbpedia.org/class/yago", + "http://dbpedia.org/resource/Template"}; + +//*********SKOS specific +// replace skos with owl properties +sparql.replacePredicate = [ +("http://www.w3.org/2004/02/skos/core#subject","http://www.w3.org/1999/02/22-rdf-syntax-ns#type"), +("http://www.w3.org/2004/02/skos/core#broader","http://www.w3.org/2000/01/rdf-schema#subClassOf")]; + +// because skos is cyclic this stops it +//manually after retrieving the specified amount of classes +sparql.breakSuperClassRetrievalAfter=200; + +sparql.predefinedEndpoint = 1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2); + +// the set of objects as starting point for fragment selection +// (should be identical to the set of examples) +sparql2.instances = { + "http://dbpedia.org/resource/Angela_Merkel", + "http://dbpedia.org/resource/Helmut_Kohl" +}; + + +/** examples **/ ++"http://dbpedia.org/resource/Helmut_Kohl" +-"http://dbpedia.org/resource/Angela_Merkel" + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ku...@us...> - 2008-01-30 16:00:09
|
Revision: 472 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=472&view=rev Author: kurzum Date: 2008-01-30 07:59:43 -0800 (Wed, 30 Jan 2008) Log Message: ----------- added eswc examples Added Paths: ----------- trunk/examples/sparql/ trunk/examples/sparql/difference/ trunk/examples/sparql/difference/DifferenceDBPediaYAGO_angela_vs_hillary.conf trunk/examples/sparql/difference/DifferenceDBPediaYAGO_angela_vs_hillary_ignoredConcepts.conf trunk/examples/sparql/difference/DifferenceDBPediaYAGO_hillary_vs_angela.conf trunk/examples/sparql/difference/DifferenceDBPediaYAGO_hillary_vs_angela_ignoredConcepts.conf trunk/examples/sparql/hierarchy/ trunk/examples/sparql/hierarchy/Hierarchy0DBPediaYAGOChanBrit_monarch.conf trunk/examples/sparql/hierarchy/Hierarchy1DBPediaYAGOChanBrit_pred_Knight.conf trunk/examples/sparql/navigation/ trunk/examples/sparql/navigation/Navigation0DBPediaYAGOAristotle.conf trunk/examples/sparql/navigation/Navigation1DBPediaYAGOAristotle.conf trunk/examples/sparql/navigation/Navigation2DBPediaYAGOAristotle.conf trunk/examples/sparql/roles_notworking/ trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_monarch_domain_yago.conf trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_monarch_range_yago.conf trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_placeOfBirth_domain_yago.conf trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_placeOfBirth_range_yago.conf trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_monarch_domain_yago.conf trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_monarch_range_yago.conf trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_placeOfBirth_domain_yago.conf trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_placeOfBirth_range_yago.conf Added: trunk/examples/sparql/difference/DifferenceDBPediaYAGO_angela_vs_hillary.conf =================================================================== --- trunk/examples/sparql/difference/DifferenceDBPediaYAGO_angela_vs_hillary.conf (rev 0) +++ trunk/examples/sparql/difference/DifferenceDBPediaYAGO_angela_vs_hillary.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,45 @@ +/** + + * Solutions: +http://dbpedia.org/class/yago/Communicator109610660 (length 1, depth 1) + http://dbpedia.org/class/yago/Scientist110560637 (length 1, depth 1) + + + Direct classes from DBPedia: + dbpedia:class/yago/Person100007846 [http] + dbpedia:class/yago/Head110162991 [http] + dbpedia:class/yago/Woman110787470 [http] + dbpedia:class/yago/Leader109623038 [http] + dbpedia:class/yago/Scientist110560637 [http] + dbpedia:class/yago/Chancellor109906986 [http] +dbpedia:class/yago/Politician110451263 [http] + +*/ + + + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +// the set of objects as starting point for fragment selection +// (should be identical to the set of examples) +sparql.instances = { + "http://dbpedia.org/resource/Angela_Merkel", + "http://dbpedia.org/resource/Hillary_Rodham_Clinton" +}; + + + +/** examples **/ ++"http://dbpedia.org/resource/Angela_Merkel" +-"http://dbpedia.org/resource/Hillary_Rodham_Clinton" Added: trunk/examples/sparql/difference/DifferenceDBPediaYAGO_angela_vs_hillary_ignoredConcepts.conf =================================================================== --- trunk/examples/sparql/difference/DifferenceDBPediaYAGO_angela_vs_hillary_ignoredConcepts.conf (rev 0) +++ trunk/examples/sparql/difference/DifferenceDBPediaYAGO_angela_vs_hillary_ignoredConcepts.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,60 @@ +/** + + * Solutions: +http://dbpedia.org/class/yago/Communicator109610660 (length 1, depth 1) + http://dbpedia.org/class/yago/Scientist110560637 (length 1, depth 1) + plus all ignored Concepts + + EXISTS http://dbpedia.org/property/birthDate.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/birthPlace.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/languagesspoken.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/occupation.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/order.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/predecessor.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/termStart.TOP (length 3, depth 2) + + Direct classes from DBPedia: + dbpedia:class/yago/Person100007846 [http] + dbpedia:class/yago/Head110162991 [http] + dbpedia:class/yago/Woman110787470 [http] + dbpedia:class/yago/Leader109623038 [http] + dbpedia:class/yago/Scientist110560637 [http] + dbpedia:class/yago/Chancellor109906986 [http] +dbpedia:class/yago/Politician110451263 [http] + +*/ + refinement.ignoredConcepts = { + "http://dbpedia.org/class/yago/Communicator109610660", + "http://dbpedia.org/class/yago/Negotiator110351874", + "http://dbpedia.org/class/yago/Representative110522035", + "http://dbpedia.org/class/yago/Scientist110560637", + "http://dbpedia.org/class/yago/HeadOfState110164747", + "http://dbpedia.org/class/yago/Chancellor109906986", + "http://dbpedia.org/class/yago/Head110162991" + }; + + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +// the set of objects as starting point for fragment selection +// (should be identical to the set of examples) +sparql.instances = { + "http://dbpedia.org/resource/Angela_Merkel", + "http://dbpedia.org/resource/Hillary_Rodham_Clinton" +}; + + +/** examples **/ ++"http://dbpedia.org/resource/Angela_Merkel" +-"http://dbpedia.org/resource/Hillary_Rodham_Clinton" Added: trunk/examples/sparql/difference/DifferenceDBPediaYAGO_hillary_vs_angela.conf =================================================================== --- trunk/examples/sparql/difference/DifferenceDBPediaYAGO_hillary_vs_angela.conf (rev 0) +++ trunk/examples/sparql/difference/DifferenceDBPediaYAGO_hillary_vs_angela.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,33 @@ +/** + + * Solutions: +http://dbpedia.org/class/yago/Achiever109762821 (length 1, depth 1) + http://dbpedia.org/class/yago/Intellectual109621545 (length 1, depth 1) + */ + + + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +// the set of objects as starting point for fragment selection +// (should be identical to the set of examples) +sparql.instances = { + "http://dbpedia.org/resource/Angela_Merkel", + "http://dbpedia.org/resource/Hillary_Rodham_Clinton" +}; + + +/** examples **/ ++"http://dbpedia.org/resource/Hillary_Rodham_Clinton" +-"http://dbpedia.org/resource/Angela_Merkel" Added: trunk/examples/sparql/difference/DifferenceDBPediaYAGO_hillary_vs_angela_ignoredConcepts.conf =================================================================== --- trunk/examples/sparql/difference/DifferenceDBPediaYAGO_hillary_vs_angela_ignoredConcepts.conf (rev 0) +++ trunk/examples/sparql/difference/DifferenceDBPediaYAGO_hillary_vs_angela_ignoredConcepts.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,73 @@ +/** + + * Solutions: +http://dbpedia.org/class/yago/Achiever109762821 (length 1, depth 1) + http://dbpedia.org/class/yago/Intellectual109621545 (length 1, depth 1) +plus all ignored Concepts + + EXISTS http://dbpedia.org/property/almaMater.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/alongside.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/before.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/candidate.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/children.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/dateOfBirth.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/height.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/lawSchool.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/office.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/preceded.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/profession.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/state.TOP (length 3, depth 2) + EXISTS http://dbpedia.org/property/succeeded.TOP (length 3, depth 2) + + Direct classes from DBPedia: + dbpedia:class/yago/Person100007846 [http] + dbpedia:class/yago/Entity100001740 [http] + dbpedia:class/yago/Academician109759069 [http] + dbpedia:class/yago/Lawyer110249950 [http] + dbpedia:class/yago/Alumnus109786338 [http] + dbpedia:class/yago/Woman110787470 [http] + dbpedia:class/yago/FirstLady110092880 [http] + dbpedia:class/yago/Politician110451263 [http] + dbpedia:class/yago/Senator110578471 [http] + + */ +refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Intellectual109621545", +"http://dbpedia.org/class/yago/Achiever109762821", +"http://dbpedia.org/class/yago/FirstLady110092880", +"http://dbpedia.org/class/yago/Scholar110557854", +"http://dbpedia.org/class/yago/Alumnus109786338", +"http://dbpedia.org/class/yago/Lawgiver110249270", +"http://dbpedia.org/class/yago/Legislator110253995", +"http://dbpedia.org/class/yago/Senator110578471", +"http://dbpedia.org/class/yago/Professional110480253", +"http://dbpedia.org/class/yago/Educator110045713", +"http://dbpedia.org/class/yago/Lawyer110249950", +"http://dbpedia.org/class/yago/Academician109759069"}; + + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +// the set of objects as starting point for fragment selection +// (should be identical to the set of examples) +sparql.instances = { + "http://dbpedia.org/resource/Angela_Merkel", + "http://dbpedia.org/resource/Hillary_Rodham_Clinton" +}; + + +/** examples **/ ++"http://dbpedia.org/resource/Hillary_Rodham_Clinton" +-"http://dbpedia.org/resource/Angela_Merkel" Added: trunk/examples/sparql/hierarchy/Hierarchy0DBPediaYAGOChanBrit_monarch.conf =================================================================== --- trunk/examples/sparql/hierarchy/Hierarchy0DBPediaYAGOChanBrit_monarch.conf (rev 0) +++ trunk/examples/sparql/hierarchy/Hierarchy0DBPediaYAGOChanBrit_monarch.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,65 @@ + /* + + solutions: + EXISTS http://dbpedia.org/property/monarch.TOP (length 3, depth 2) + horizontal expansion: 1 to 3 + size of candidate set: 26 + properness tests (reasoner/short concept/too weak list): 101/0/0 + concept tests (reasoner/too weak list/overly general list/redundant concepts): 95/0/6/0 + Algorithm terminated succesfully. + number of instance checks: 722 (114 multiple) + instance check reasoning time: 1s 551ms ( 2ms per instance check) + subsumption hierarchy queries: 30 + (complex) subsumption checks: 101 (14 multiple) + subsumption reasoning time: 107ms ( 1ms per subsumption check) + overall reasoning time: 1s 658ms (97,394% of overall runtime) + overall algorithm runtime: 1s 702ms + + */ + +// SPARQL options + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + + +refinement.useAllConstructor = false; +//refinement.useExistsConstructor = true; +refinement.useNegation = false; + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +sparql.instances={"http://dbpedia.org/resource/Tony_Blair" +,"http://dbpedia.org/resource/Margaret_Thatcher" +,"http://dbpedia.org/resource/John_Major" + +,"http://dbpedia.org/resource/James_Callaghan" + +,"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" +,"http://dbpedia.org/resource/Helmut_Kohl" +,"http://dbpedia.org/resource/Jacques_Chirac" + +}; + + + + +/** examples **/ ++"http://dbpedia.org/resource/Tony_Blair" ++"http://dbpedia.org/resource/Margaret_Thatcher" ++"http://dbpedia.org/resource/John_Major" + ++"http://dbpedia.org/resource/James_Callaghan" + +-"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" +-"http://dbpedia.org/resource/Helmut_Kohl" +-"http://dbpedia.org/resource/Jacques_Chirac" Added: trunk/examples/sparql/hierarchy/Hierarchy1DBPediaYAGOChanBrit_pred_Knight.conf =================================================================== --- trunk/examples/sparql/hierarchy/Hierarchy1DBPediaYAGOChanBrit_pred_Knight.conf (rev 0) +++ trunk/examples/sparql/hierarchy/Hierarchy1DBPediaYAGOChanBrit_pred_Knight.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,63 @@ + /* + + + + + */ + +// SPARQL options + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + +refinement.heuristic = flexible; + +refinement.useAllConstructor = false; +//refinement.useExistsConstructor = true; +refinement.useNegation = false; + +// SPARQL options +//necessary: +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +sparql.instances = { +"http://dbpedia.org/resource/Tony_Blair" +,"http://dbpedia.org/resource/Margaret_Thatcher" +,"http://dbpedia.org/resource/John_Major" + + +,"http://dbpedia.org/resource/Harold_Macmillan" +,"http://dbpedia.org/resource/Alec_Douglas-Home" +,"http://dbpedia.org/resource/Liaquat_Ali_Khan" + +,"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" +,"http://dbpedia.org/resource/Helmut_Kohl" +,"http://dbpedia.org/resource/Jacques_Chirac" + +}; + + + +/** examples **/ ++"http://dbpedia.org/resource/Tony_Blair" ++"http://dbpedia.org/resource/Margaret_Thatcher" ++"http://dbpedia.org/resource/John_Major" + + ++"http://dbpedia.org/resource/Harold_Macmillan" ++"http://dbpedia.org/resource/Alec_Douglas-Home" +-"http://dbpedia.org/resource/Liaquat_Ali_Khan" + +-"http://dbpedia.org/resource/Gerhard_Schr%C3%B6der" +-"http://dbpedia.org/resource/Helmut_Kohl" +-"http://dbpedia.org/resource/Jacques_Chirac" + + Added: trunk/examples/sparql/navigation/Navigation0DBPediaYAGOAristotle.conf =================================================================== --- trunk/examples/sparql/navigation/Navigation0DBPediaYAGOAristotle.conf (rev 0) +++ trunk/examples/sparql/navigation/Navigation0DBPediaYAGOAristotle.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,55 @@ +/** + * Some people from Greece. + * +solutions: + http://dbpedia.org/class/yago/Mathematician110301261 (length 1, depth 1) +horizontal expansion: 0 to 1 +size of candidate set: 12 +properness tests (reasoner/short concept/too weak list): 20/0/0 +concept tests (reasoner/too weak list/overly general list/redundant concepts): 20/0/0/0 +Algorithm terminated succesfully. +number of instance checks: 82 (31 multiple) +instance check reasoning time: 132ms ( 1ms per instance check) +subsumption hierarchy queries: 11 +(complex) subsumption checks: 20 (9 multiple) +subsumption reasoning time: 33ms ( 1ms per subsumption check) +overall reasoning time: 165ms (88,67% of overall runtime) +overall algorithm runtime: 186ms + + */ + +// SPARQL options +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +sparql.instances = { + "http://dbpedia.org/resource/Pythagoras", + "http://dbpedia.org/resource/Philolaus", + "http://dbpedia.org/resource/Archytas", + + "http://dbpedia.org/resource/Zeno_of_Elea", + "http://dbpedia.org/resource/Plato", + "http://dbpedia.org/resource/Socrates" + + +}; + ++"http://dbpedia.org/resource/Pythagoras" ++"http://dbpedia.org/resource/Philolaus" ++"http://dbpedia.org/resource/Archytas" + + +-"http://dbpedia.org/resource/Zeno_of_Elea" +-"http://dbpedia.org/resource/Plato" +-"http://dbpedia.org/resource/Socrates" + Added: trunk/examples/sparql/navigation/Navigation1DBPediaYAGOAristotle.conf =================================================================== --- trunk/examples/sparql/navigation/Navigation1DBPediaYAGOAristotle.conf (rev 0) +++ trunk/examples/sparql/navigation/Navigation1DBPediaYAGOAristotle.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,57 @@ +/** + * Some people from Greece. + * +solutions: + (http://dbpedia.org/class/yago/Theorist110706812 OR (http://dbpedia.org/class/yago/Mathematician110301261 AND http://dbpedia.org/class/yago/Physicist110428004)) (length 5, depth 3) +horizontal expansion: 3 to 5 +size of candidate set: 1648 +properness tests (reasoner/short concept/too weak list): 9059/1/884 +concept tests (reasoner/too weak list/overly general list/redundant concepts): 2240/884/1286/3926 +Algorithm terminated succesfully. +number of instance checks: 8164 (2601 multiple) +instance check reasoning time: 15s 461ms ( 1ms per instance check) +subsumption hierarchy queries: 8776 +(complex) subsumption checks: 9059 (3132 multiple) +subsumption reasoning time: 13s 388ms ( 1ms per subsumption check) +overall reasoning time: 28s 850ms (94,717% of overall runtime) +overall algorithm runtime: 30s 459ms + + */ + +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +sparql.instances = { + "http://dbpedia.org/resource/Pythagoras", + "http://dbpedia.org/resource/Philolaus", + "http://dbpedia.org/resource/Archytas", + + + "http://dbpedia.org/resource/Socrates", + "http://dbpedia.org/resource/Plato", + "http://dbpedia.org/resource/Zeno_of_Elea", + "http://dbpedia.org/resource/Democritus" + +}; + ++"http://dbpedia.org/resource/Pythagoras" ++"http://dbpedia.org/resource/Philolaus" ++"http://dbpedia.org/resource/Archytas" + + +-"http://dbpedia.org/resource/Socrates" +-"http://dbpedia.org/resource/Plato" +-"http://dbpedia.org/resource/Zeno_of_Elea" +-"http://dbpedia.org/resource/Democritus" + + + Added: trunk/examples/sparql/navigation/Navigation2DBPediaYAGOAristotle.conf =================================================================== --- trunk/examples/sparql/navigation/Navigation2DBPediaYAGOAristotle.conf (rev 0) +++ trunk/examples/sparql/navigation/Navigation2DBPediaYAGOAristotle.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,59 @@ +/** + * Some people from Greece. + * + * Possible Solution: + * (http://dbpedia.org/class/yago/Theorist110706812 OR (http://dbpedia.org/class/yago/Mathematician110301261 AND http://dbpedia.org/class/yago/Physicist110428004)) + * + */ + +// SPARQL options +// recursion depth of extraction algorithm +sparql.recursionDepth = 1; + + +//predefined filter (1 = YAGO based learning) +// 2 = SKOS, more Options are needed then though. replacePredicate, breakSuperClassRetrievalAfter +sparql.predefinedFilter = 5; + +sparql.predefinedEndpoint = 1; + + +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL"); + +sparql.instances = { + + "http://dbpedia.org/resource/Archytas", + "http://dbpedia.org/resource/Pythagoras", + "http://dbpedia.org/resource/Philolaus", + + "http://dbpedia.org/resource/Democritus", + "http://dbpedia.org/resource/Zeno_of_Elea", + "http://dbpedia.org/resource/Plato", + + "http://dbpedia.org/resource/Socrates", + "http://dbpedia.org/resource/Aristoxenus" +}; + ++"http://dbpedia.org/resource/Archytas" +/*//Archytas (Greek: ????ta?; 428 BC +347 BC) was an Ancient Greek philosopher, +mathematician, astronomer, statesman, and strategist.*/ + ++"http://dbpedia.org/resource/Pythagoras" +/*//Pythagoras of Samos (Greek: ???a???a?; +between 580 and 572 BC between 500 and 490 BC) +was an Ionian (Greek) philosopher[1] and founder +of the religious movement called Pythagoreanism. +He is often revered as a great mathematician, mystic and scientist;*/ ++"http://dbpedia.org/resource/Philolaus" +/*//Philolaus (ca. 480 BC ca. 385 BC, Greek: +F????a??) was a Greek Pythagorean and Presocratic.*/ + + +-"http://dbpedia.org/resource/Democritus" +-"http://dbpedia.org/resource/Zeno_of_Elea" +-"http://dbpedia.org/resource/Plato" + +-"http://dbpedia.org/resource/Socrates" +-"http://dbpedia.org/resource/Aristoxenus" + Added: trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_monarch_domain_yago.conf =================================================================== --- trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_monarch_domain_yago.conf (rev 0) +++ trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_monarch_domain_yago.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,64 @@ +/** + * + * solutions: + * + */ + +// refinement.heuristic=flexible; + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = false; +refinement.useNegation = false; + +sparql2.recursionDepth = 1; + +// 1= yago +sparql2.predefinedFilter=1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + + +//***********ROLE SPECIFIC + +/*refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Entity100001740", +"http://dbpedia.org/class/yago/PhysicalEntity100001930", +"http://dbpedia.org/class/yago/Object100002684", +"http://dbpedia.org/class/yago/CausalAgent100007347", +"http://dbpedia.org/class/yago/Whole100003553", +"http://dbpedia.org/class/yago/LivingThing100004258", +"http://dbpedia.org/class/yago/Organism100004475" +};*/ +//sparql2.numberOfInstancesUsedForRoleLearning=5; +//not needed for roles +sparql2.instances = { +"http://dbpedia.org/resource/Khawaja_Nazimuddin" +,"http://dbpedia.org/resource/Harold_Macmillan" +,"http://dbpedia.org/resource/Maati_Bouabid" +,"http://dbpedia.org/resource/Charles_Watson-Wentworth%2C_2nd_Marquess_of_Rockingham" +,"http://dbpedia.org/resource/Helen_Clark" +,"http://dbpedia.org/resource/Oscar_I_of_Sweden" +,"http://dbpedia.org/resource/George_VI_of_the_United_Kingdom" +,"http://dbpedia.org/resource/Edward_VII_of_the_United_Kingdom" +,"http://dbpedia.org/resource/Victoria_of_the_United_Kingdom" +,"http://dbpedia.org/resource/Abdullah_II_of_Jordan" + +}; + +//sparql2.role = "http://dbpedia.org/property/monarch"; +//sparql2.learnDomain=true; +//sparql2.learnRange=false; + + +/** examples */ ++"http://dbpedia.org/resource/Khawaja_Nazimuddin" ++"http://dbpedia.org/resource/Harold_Macmillan" ++"http://dbpedia.org/resource/Maati_Bouabid" ++"http://dbpedia.org/resource/Charles_Watson-Wentworth%2C_2nd_Marquess_of_Rockingham" ++"http://dbpedia.org/resource/Helen_Clark" +-"http://dbpedia.org/resource/Oscar_I_of_Sweden" +-"http://dbpedia.org/resource/George_VI_of_the_United_Kingdom" +-"http://dbpedia.org/resource/Edward_VII_of_the_United_Kingdom" +-"http://dbpedia.org/resource/Victoria_of_the_United_Kingdom" +-"http://dbpedia.org/resource/Abdullah_II_of_Jordan" Added: trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_monarch_range_yago.conf =================================================================== --- trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_monarch_range_yago.conf (rev 0) +++ trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_monarch_range_yago.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,61 @@ +/** + * + * solutions: + * + */ + //refinement.heuristic=flexible; + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = false; +refinement.useNegation = false; + + +// recursion depth of extraction algorithm +sparql2.recursionDepth = 1; + + +//1=yago +sparql2.predefinedFilter=1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + +//***********ROLE SPECIFIC + +/*refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Ruler110541229", +"http://dbpedia.org/class/yago/Sovereign110628644" +}; +*/ + +//sparql2.numberOfInstancesUsedForRoleLearning=5; +//not needed for roles +sparql2.instances = { +"http://dbpedia.org/resource/Oscar_I_of_Sweden" +,"http://dbpedia.org/resource/George_VI_of_the_United_Kingdom" +,"http://dbpedia.org/resource/Edward_VII_of_the_United_Kingdom" +,"http://dbpedia.org/resource/Victoria_of_the_United_Kingdom" +,"http://dbpedia.org/resource/Abdullah_II_of_Jordan" +,"http://dbpedia.org/resource/Khawaja_Nazimuddin" +,"http://dbpedia.org/resource/Harold_Macmillan" +,"http://dbpedia.org/resource/Maati_Bouabid" +,"http://dbpedia.org/resource/Charles_Watson-Wentworth%2C_2nd_Marquess_of_Rockingham" +,"http://dbpedia.org/resource/Helen_Clark" +}; + +//sparql2.role = "http://dbpedia.org/property/monarch"; +//sparql2.learnDomain=false; +//sparql2.learnRange=true; + + +/** examples **/ ++"http://dbpedia.org/resource/Oscar_I_of_Sweden" ++"http://dbpedia.org/resource/George_VI_of_the_United_Kingdom" ++"http://dbpedia.org/resource/Edward_VII_of_the_United_Kingdom" ++"http://dbpedia.org/resource/Victoria_of_the_United_Kingdom" ++"http://dbpedia.org/resource/Abdullah_II_of_Jordan" +-"http://dbpedia.org/resource/Khawaja_Nazimuddin" +-"http://dbpedia.org/resource/Harold_Macmillan" +-"http://dbpedia.org/resource/Maati_Bouabid" +-"http://dbpedia.org/resource/Charles_Watson-Wentworth%2C_2nd_Marquess_of_Rockingham" +-"http://dbpedia.org/resource/Helen_Clark" \ No newline at end of file Added: trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_placeOfBirth_domain_yago.conf =================================================================== --- trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_placeOfBirth_domain_yago.conf (rev 0) +++ trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_placeOfBirth_domain_yago.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,62 @@ +/** + * + * solutions: + * + */ + +refinement.heuristic=flexible; + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = false; +refinement.useNegation = false; + +sparql2.recursionDepth = 1; + +// 1= yago +sparql2.predefinedFilter=1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + + +//***********ROLE SPECIFIC + +/*refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Entity100001740", +"http://dbpedia.org/class/yago/PhysicalEntity100001930", +"http://dbpedia.org/class/yago/Object100002684", +"http://dbpedia.org/class/yago/CausalAgent100007347", +"http://dbpedia.org/class/yago/Whole100003553", +"http://dbpedia.org/class/yago/LivingThing100004258", +"http://dbpedia.org/class/yago/Organism100004475" +};*/ +//sparql2.numberOfInstancesUsedForRoleLearning=5; +//not needed for roles +sparql2.instances = { +"http://dbpedia.org/resource/Wayne_Allard" +,"http://dbpedia.org/resource/Aurelian" +,"http://dbpedia.org/resource/W%C5%82adys%C5%82aw_Anders" +,"http://dbpedia.org/resource/Walter_Adams_%28economist%29" +,"http://dbpedia.org/resource/Hank_Azaria" +,"http://dbpedia.org/resource/Kiev" +,"http://dbpedia.org/resource/Helensburgh" +,"http://dbpedia.org/resource/Roman_Dacia" +,"http://dbpedia.org/resource/Jordan" +,"http://dbpedia.org/resource/Oldenburg"}; + +//sparql2.role = "http://dbpedia.org/property/placeOfBirth"; +//sparql2.learnDomain=true; +//sparql2.learnRange=false; + + +/** examples */ ++"http://dbpedia.org/resource/Wayne_Allard" ++"http://dbpedia.org/resource/Aurelian" ++"http://dbpedia.org/resource/W%C5%82adys%C5%82aw_Anders" ++"http://dbpedia.org/resource/Walter_Adams_%28economist%29" ++"http://dbpedia.org/resource/Hank_Azaria" +-"http://dbpedia.org/resource/Kiev" +-"http://dbpedia.org/resource/Helensburgh" +-"http://dbpedia.org/resource/Roman_Dacia" +-"http://dbpedia.org/resource/Jordan" +-"http://dbpedia.org/resource/Oldenburg" \ No newline at end of file Added: trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_placeOfBirth_range_yago.conf =================================================================== --- trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_placeOfBirth_range_yago.conf (rev 0) +++ trunk/examples/sparql/roles_notworking/Roles_fixed_DBPedia_placeOfBirth_range_yago.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,60 @@ +/** + * + * solutions: + * + */ + //refinement.heuristic=flexible; + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = false; +refinement.useNegation = false; + + +// recursion depth of extraction algorithm +sparql2.recursionDepth = 1; + + +//1=yago +sparql2.predefinedFilter=1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + +//***********ROLE SPECIFIC + +/*refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Abstraction100002137" +};*/ + +//sparql2.numberOfInstancesUsedForRoleLearning=5; +//not needed for roles +sparql2.instances = { +"http://dbpedia.org/resource/Kiev" +,"http://dbpedia.org/resource/Helensburgh" +,"http://dbpedia.org/resource/Roman_Dacia" +,"http://dbpedia.org/resource/Jordan" +,"http://dbpedia.org/resource/Oldenburg" +,"http://dbpedia.org/resource/Wayne_Allard" +,"http://dbpedia.org/resource/Aurelian" +,"http://dbpedia.org/resource/W%C5%82adys%C5%82aw_Anders" +,"http://dbpedia.org/resource/Walter_Adams_%28economist%29" +,"http://dbpedia.org/resource/Hank_Azaria" + +}; + +//sparql2.role = "http://dbpedia.org/property/placeOfBirth"; +//sparql2.learnDomain=false; +//sparql2.learnRange=true; + + +/** examples **/ ++"http://dbpedia.org/resource/Kiev" ++"http://dbpedia.org/resource/Helensburgh" ++"http://dbpedia.org/resource/Roman_Dacia" ++"http://dbpedia.org/resource/Jordan" ++"http://dbpedia.org/resource/Oldenburg" +-"http://dbpedia.org/resource/Wayne_Allard" +-"http://dbpedia.org/resource/Aurelian" +-"http://dbpedia.org/resource/W%C5%82adys%C5%82aw_Anders" +-"http://dbpedia.org/resource/Walter_Adams_%28economist%29" +-"http://dbpedia.org/resource/Hank_Azaria" \ No newline at end of file Added: trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_monarch_domain_yago.conf =================================================================== --- trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_monarch_domain_yago.conf (rev 0) +++ trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_monarch_domain_yago.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,52 @@ +/** + * + * solutions: + * + */ + +// refinement.heuristic=flexible; + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = false; +refinement.useNegation = false; + +sparql2.recursionDepth = 1; + +// 1= yago +sparql2.predefinedFilter=1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + + +//***********ROLE SPECIFIC + +/*refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Entity100001740", +"http://dbpedia.org/class/yago/PhysicalEntity100001930", +"http://dbpedia.org/class/yago/Object100002684", +"http://dbpedia.org/class/yago/CausalAgent100007347", +"http://dbpedia.org/class/yago/Whole100003553", +"http://dbpedia.org/class/yago/LivingThing100004258", +"http://dbpedia.org/class/yago/Organism100004475" +};*/ +sparql2.numberOfInstancesUsedForRoleLearning=5; +//not needed for roles +sparql2.instances = {""}; + +sparql2.role = "http://dbpedia.org/property/monarch"; +sparql2.learnDomain=true; +sparql2.learnRange=false; + + +/** examples */ ++"http://dbpedia.org/resource/Khawaja_Nazimuddin" ++"http://dbpedia.org/resource/Harold_Macmillan" ++"http://dbpedia.org/resource/Maati_Bouabid" ++"http://dbpedia.org/resource/Charles_Watson-Wentworth%2C_2nd_Marquess_of_Rockingham" ++"http://dbpedia.org/resource/Helen_Clark" +-"http://dbpedia.org/resource/Oscar_I_of_Sweden" +-"http://dbpedia.org/resource/George_VI_of_the_United_Kingdom" +-"http://dbpedia.org/resource/Edward_VII_of_the_United_Kingdom" +-"http://dbpedia.org/resource/Victoria_of_the_United_Kingdom" +-"http://dbpedia.org/resource/Abdullah_II_of_Jordan" Added: trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_monarch_range_yago.conf =================================================================== --- trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_monarch_range_yago.conf (rev 0) +++ trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_monarch_range_yago.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,50 @@ +/** + * + * solutions: + * + */ + //refinement.heuristic=flexible; + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = false; +refinement.useNegation = false; + + +// recursion depth of extraction algorithm +sparql2.recursionDepth = 1; + + +//1=yago +sparql2.predefinedFilter=1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + +//***********ROLE SPECIFIC + +/*refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Ruler110541229", +"http://dbpedia.org/class/yago/Sovereign110628644" +}; +*/ + +sparql2.numberOfInstancesUsedForRoleLearning=5; +//not needed for roles +sparql2.instances = {""}; + +sparql2.role = "http://dbpedia.org/property/monarch"; +sparql2.learnDomain=false; +sparql2.learnRange=true; + + +/** examples **/ ++"http://dbpedia.org/resource/Oscar_I_of_Sweden" ++"http://dbpedia.org/resource/George_VI_of_the_United_Kingdom" ++"http://dbpedia.org/resource/Edward_VII_of_the_United_Kingdom" ++"http://dbpedia.org/resource/Victoria_of_the_United_Kingdom" ++"http://dbpedia.org/resource/Abdullah_II_of_Jordan" +-"http://dbpedia.org/resource/Khawaja_Nazimuddin" +-"http://dbpedia.org/resource/Harold_Macmillan" +-"http://dbpedia.org/resource/Maati_Bouabid" +-"http://dbpedia.org/resource/Charles_Watson-Wentworth%2C_2nd_Marquess_of_Rockingham" +-"http://dbpedia.org/resource/Helen_Clark" \ No newline at end of file Added: trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_placeOfBirth_domain_yago.conf =================================================================== --- trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_placeOfBirth_domain_yago.conf (rev 0) +++ trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_placeOfBirth_domain_yago.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,52 @@ +/** + * + * solutions: + * + */ + +refinement.heuristic=flexible; + +refinement.useAllConstructor = false; +refinement.useExistsConstructor = false; +refinement.useNegation = false; + +sparql2.recursionDepth = 1; + +// 1= yago +sparql2.predefinedFilter=1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + + +//***********ROLE SPECIFIC + +/*refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Entity100001740", +"http://dbpedia.org/class/yago/PhysicalEntity100001930", +"http://dbpedia.org/class/yago/Object100002684", +"http://dbpedia.org/class/yago/CausalAgent100007347", +"http://dbpedia.org/class/yago/Whole100003553", +"http://dbpedia.org/class/yago/LivingThing100004258", +"http://dbpedia.org/class/yago/Organism100004475" +};*/ +sparql2.numberOfInstancesUsedForRoleLearning=5; +//not needed for roles +sparql2.instances = {""}; + +sparql2.role = "http://dbpedia.org/property/placeOfBirth"; +sparql2.learnDomain=true; +sparql2.learnRange=false; + + +/** examples */ ++"http://dbpedia.org/resource/Wayne_Allard" ++"http://dbpedia.org/resource/Aurelian" ++"http://dbpedia.org/resource/W%C5%82adys%C5%82aw_Anders" ++"http://dbpedia.org/resource/Walter_Adams_%28economist%29" ++"http://dbpedia.org/resource/Hank_Azaria" +-"http://dbpedia.org/resource/Kiev" +-"http://dbpedia.org/resource/Helensburgh" +-"http://dbpedia.org/resource/Roman_Dacia" +-"http://dbpedia.org/resource/Jordan" +-"http://dbpedia.org/resource/Oldenburg" \ No newline at end of file Added: trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_placeOfBirth_range_yago.conf =================================================================== --- trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_placeOfBirth_range_yago.conf (rev 0) +++ trunk/examples/sparql/roles_notworking/Roles_generic_DBpedia_placeOfBirth_range_yago.conf 2008-01-30 15:59:43 UTC (rev 472) @@ -0,0 +1,48 @@ +/** + * + * solutions: + * + */ + //refinement.heuristic=flexible; + + refinement.useAllConstructor = false; + refinement.useExistsConstructor = false; +refinement.useNegation = false; + + +// recursion depth of extraction algorithm +sparql2.recursionDepth = 1; + + +//1=yago +sparql2.predefinedFilter=1; + +// use DBpedia endpoint +import("http://dbpedia.openlinksw.com:8890/sparql","SPARQL2"); + +//***********ROLE SPECIFIC + +refinement.ignoredConcepts = { +"http://dbpedia.org/class/yago/Abstraction100002137" +}; + +sparql2.numberOfInstancesUsedForRoleLearning=5; +//not needed for roles +sparql2.instances = {""}; + +sparql2.role = "http://dbpedia.org/property/placeOfBirth"; +sparql2.learnDomain=false; +sparql2.learnRange=true; + + +/** examples **/ ++"http://dbpedia.org/resource/Kiev" ++"http://dbpedia.org/resource/Helensburgh" ++"http://dbpedia.org/resource/Roman_Dacia" ++"http://dbpedia.org/resource/Jordan" ++"http://dbpedia.org/resource/Oldenburg" +-"http://dbpedia.org/resource/Wayne_Allard" +-"http://dbpedia.org/resource/Aurelian" +-"http://dbpedia.org/resource/W%C5%82adys%C5%82aw_Anders" +-"http://dbpedia.org/resource/Walter_Adams_%28economist%29" +-"http://dbpedia.org/resource/Hank_Azaria" \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ku...@us...> - 2008-01-30 15:58:36
|
Revision: 471 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=471&view=rev Author: kurzum Date: 2008-01-30 07:58:25 -0800 (Wed, 30 Jan 2008) Log Message: ----------- cleaned Removed Paths: ------------- trunk/examples/sparql/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ku...@us...> - 2008-01-30 15:51:49
|
Revision: 470 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=470&view=rev Author: kurzum Date: 2008-01-30 07:51:33 -0800 (Wed, 30 Jan 2008) Log Message: ----------- added eswc examples Added Paths: ----------- trunk/examples/sparql/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ku...@us...> - 2008-01-30 15:50:28
|
Revision: 469 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=469&view=rev Author: kurzum Date: 2008-01-30 07:50:10 -0800 (Wed, 30 Jan 2008) Log Message: ----------- cleaned examples Removed Paths: ------------- trunk/examples/ESWC_final/ trunk/examples/dbpedia/ trunk/examples/sparql/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-30 15:37:22
|
Revision: 468 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=468&view=rev Author: sknappe Date: 2008-01-30 07:37:07 -0800 (Wed, 30 Jan 2008) Log Message: ----------- fixed a bug Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java 2008-01-30 15:27:18 UTC (rev 467) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java 2008-01-30 15:37:07 UTC (rev 468) @@ -222,8 +222,9 @@ if (rs!=null){ String json = SparqlQuery.getAsJSON(rs); addToCache(query.getQueryString(), json); + return SparqlQuery.JSONtoResultSet(json); } - return rs; + else return rs; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-30 15:27:25
|
Revision: 467 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=467&view=rev Author: sknappe Date: 2008-01-30 07:27:18 -0800 (Wed, 30 Jan 2008) Log Message: ----------- more error handling Modified Paths: -------------- trunk/src/dbpedia-navigator/DLLearnerConnection.php trunk/src/dbpedia-navigator/ajaxfunctions.php trunk/src/dbpedia-navigator/rebuild.php Modified: trunk/src/dbpedia-navigator/DLLearnerConnection.php =================================================================== --- trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-30 11:47:27 UTC (rev 466) +++ trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-30 15:27:18 UTC (rev 467) @@ -28,7 +28,7 @@ $this->ttl=$settings->sparqlttl; $this->lang=$settings->language; $this->DBPediaUrl=$settings->dbpediauri; - $this->client=new SoapClient("main.wsdl"); + $this->client=new SoapClient("main.wsdl",array('features' => SOAP_SINGLE_ELEMENT_ARRAYS)); $this->id=$id; $this->ksID=$ksID; } @@ -97,12 +97,14 @@ $query="SELECT ?pred ?obj ". "WHERE {<http://dbpedia.org/resource/".str_replace(' ','_',$label)."> ?pred ?obj}"; $result=$this->getSparqlResult($query); + if (!$result->item) throw new Exception("Your query brought no result."); $ret=array(); foreach ($result->item as $results){ - $value=$results->item[1]; - if (strpos($value,"@".$this->lang)==(strlen($value)-strlen("@".$this->lang))) $ret[$results->item[0]][]=substr($value,0,strlen($value)-strlen("@".$this->lang)); - if (strpos($value,"@")!=(strlen($value)-strlen($this->lang)-1)) $ret[$results->item[0]][]=$value; + $value=$results->item[1]; + if (strpos($value,"@".$this->lang)==(strlen($value)-strlen("@".$this->lang))) $ret[$results->item[0]][]=substr($value,0,strlen($value)-strlen("@".$this->lang)); + if (strpos($value,"@")!=(strlen($value)-strlen($this->lang)-1)) $ret[$results->item[0]][]=$value; } + return $ret; } @@ -137,6 +139,7 @@ "WHERE { ?subject <http://www.w3.org/2000/01/rdf-schema#label> ?object. ?object bif:contains '\"".$label."\"'@en}\n". "LIMIT 10"; $result=$this->getSparqlResult($query); + if (!$result->item) throw new Exception("Your query brought no result."); $ret=array(); foreach ($result->item as $results){ $ret[]=$results->item; @@ -234,5 +237,5 @@ $sc=new DLLearnerConnection(); $ids=$sc->getIDs(); $sc=new DLLearnerConnection($ids[0],$ids[1]); -$triples=$sc->getTriples("Leipzig");*/ +$triples=$sc->getTriples("tgzt");*/ ?> Modified: trunk/src/dbpedia-navigator/ajaxfunctions.php =================================================================== --- trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-30 11:47:27 UTC (rev 466) +++ trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-30 15:27:18 UTC (rev 467) @@ -10,22 +10,21 @@ function getsubjects($label) { require_once("DLLearnerConnection.php"); - $sc=new DLLearnerConnection($_SESSION['id'],$_SESSION['ksID']); + //initialise content $content=""; - $subjects=$sc->getSubjects($label); - - if (count($subjects)==1) - { - if (strpos($subjects,"[Error]")===0) $content.=substr($subjects,7); - else $content.="<a href=\"\" onclick=\"xajax_getAndShowArticle('".str_replace("_"," ",substr (strrchr ($subjects, "/"), 1))."',-2);return false;\">".str_replace("_"," ",urldecode(substr (strrchr ($subjects, "/"), 1)))."</a><br/>"; - } - else if (count($subjects)==0) $content.="No search result found in time."; - else{ + try{ + $sc=new DLLearnerConnection($_SESSION['id'],$_SESSION['ksID']); + + + $subjects=$sc->getSubjects($label); + foreach ($subjects as $subject) { $content.="<a href=\"\" onclick=\"xajax_getAndShowArticle('".urldecode(str_replace("_"," ",substr (strrchr ($subject, "/"), 1)))."',-2);return false;\">".urldecode(str_replace("_"," ",substr (strrchr ($subject, "/"), 1)))."</a><br/>"; } + } catch (Exception $e){ + $content=$e->getMessage(); } $_SESSION['subjects']=$content; @@ -47,7 +46,8 @@ function getarticle($subject,$fromCache) { - if (isset($_SESSION['articles'])) + //if article is in session, get it out of the session + if (isset($_SESSION['articles'])){ foreach ($_SESSION['articles'] as $key => $value) { if ($value['subject']==$subject){ @@ -55,96 +55,95 @@ break; } } + } + + //initialize the content variables + $content=""; + $searchResult=""; + $lastArticles=""; + $artTitle=""; + + //get the article + //if $fromCache is -2, no new SearchResults should be processed + //if $fromCache is -1, everything is normal + //if $fromCache is >=0, the article is taken out of the cache if ($fromCache<0) { - require_once("DLLearnerConnection.php"); - $sc=new DLLearnerConnection($_SESSION['id'],$_SESSION['ksID']); - $content=""; - $searchResult=""; - $lastArticles=""; - $artTitle=""; + //if there are errors see catch block try{ + require_once("DLLearnerConnection.php"); + $sc=new DLLearnerConnection($_SESSION['id'],$_SESSION['ksID']); $triples=$sc->getTriples($subject); - $objResponse = new xajaxResponse(); - if (count($triples)==1) - { - // ToDo: find out why this was treated in a special way by Sebastian - $content.=substr($triples,7); - } - else if (count($triples)==0) { - $content.="Did not find an article with that name. Similar Articles are shown under 'Search Results'."; - } else { - // goal: display the data in a nice (DBpedia specific way), maybe similar to - // dbpedia.org/search + //BUILD ARTICLE + // goal: display the data in a nice (DBpedia specific way), maybe similar to + // dbpedia.org/search - $content=""; - - // replace by label(?) - //$subject_nice = str_replace("_"," ",urldecode(substr (strrchr ($subject, "/"), 1))); - - // display a picture if there is one - if(isset($triples['http://xmlns.com/foaf/0.1/depiction'])) - $content.='<img src="'.$triples['http://xmlns.com/foaf/0.1/depiction'][0].'" alt="Picture of '.$subject_nice.'" style="float:right; max-width:200px;" \>'; + // display a picture if there is one + if(isset($triples['http://xmlns.com/foaf/0.1/depiction'])) + $content.='<img src="'.$triples['http://xmlns.com/foaf/0.1/depiction'][0].'" alt="Picture of '.$subject_nice.'" style="float:right; max-width:200px;" \>'; - // add short description in english - $content.="<h4>Short Description</h4><p>".urldecode($triples['http://dbpedia.org/property/abstract'][0])."</p>"; + // add short description in english + $content.="<h4>Short Description</h4><p>".urldecode($triples['http://dbpedia.org/property/abstract'][0])."</p>"; - // give the link to the corresponding Wikipedia article - if(isset($triples['http://xmlns.com/foaf/0.1/page'])) - $content .= '<p><img src="images/wikipedia_favicon.png" alt"Wikipedia" /> <a href="'.$triples['http://xmlns.com/foaf/0.1/page'][0].'">view Wikipedia article</a>, '; - $content .= '<a href="'.$subject.'">view DBpedia resource description</a></p>'; + // give the link to the corresponding Wikipedia article + if(isset($triples['http://xmlns.com/foaf/0.1/page'])) + $content .= '<p><img src="images/wikipedia_favicon.png" alt"Wikipedia" /> <a href="'.$triples['http://xmlns.com/foaf/0.1/page'][0].'">view Wikipedia article</a>, '; + $content .= '<a href="'.$subject.'">view DBpedia resource description</a></p>'; - // display a list of classes - if(isset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type'])) - $content .= '<p>classes: '.formatClassArray($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type']).'</p>'; + // display a list of classes + if(isset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type'])) + $content .= '<p>classes: '.formatClassArray($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type']).'</p>'; - if(isset($triples['http://dbpedia.org/property/reference'])) { - $content .= '<p>references: <ul>'; - foreach($triples['http://dbpedia.org/property/reference'] as $reference) - $content .= '<li><a href="'.$reference.'">'.$reference.'</a></li>'; - $content .= '</ul></p>'; - } - - $artTitle=$triples['http://www.w3.org/2000/01/rdf-schema#label']; + if(isset($triples['http://dbpedia.org/property/reference'])) { + $content .= '<p>references: <ul>'; + foreach($triples['http://dbpedia.org/property/reference'] as $reference) + $content .= '<li><a href="'.$reference.'">'.$reference.'</a></li>'; + $content .= '</ul></p>'; + } + + + // filter out uninteresting properties and properties which + // have already been displayed + unset($triples['http://xmlns.com/foaf/0.1/page']); + unset($triples['http://xmlns.com/foaf/0.1/depiction']); + unset($triples['http://dbpedia.org/property/abstract']); + unset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type']); + + // display the remaining properties as list which can be used for further navigation + $content .= '<br/><br/><br/><br/><br/><br/>'.get_triple_table($triples); + + + + //BUILD ARTICLE TITLE + $artTitle=$triples['http://www.w3.org/2000/01/rdf-schema#label']; + + //store article in session, to navigate between last 5 articles quickly + $contentArray=array('content' => $content,'subject' => $subject); + if (!isset($_SESSION['nextArticle'])){ + $_SESSION['nextArticle']=0; + $_SESSION['articles']=array(); + } + if ($_SESSION['nextArticle']==5) $_SESSION['nextArticle']=0; + $_SESSION['articles'][$_SESSION['nextArticle']]=$contentArray; + $_SESSION['currentArticle']=$_SESSION['nextArticle']; + $_SESSION['nextArticle']++; - // filter out uninteresting properties and properties which - // have already been displayed - unset($triples['http://xmlns.com/foaf/0.1/page']); - unset($triples['http://xmlns.com/foaf/0.1/depiction']); - unset($triples['http://dbpedia.org/property/abstract']); - unset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type']); - - // display the remaining properties as list which can be used for further navigation + //Add Positives to Session + if (!isset($_SESSION['positive'])){ + $array=array("http://dbpedia.org/resource/".str_replace(" ","_",$subject) => "http://dbpedia.org/resource/".str_replace(" ","_",$subject)); + $_SESSION['positive']=$array; + } + else{ + $array=$_SESSION['positive']; + $array["http://dbpedia.org/resource/".str_replace(" ","_",$subject)]="http://dbpedia.org/resource/".str_replace(" ","_",$subject); + $_SESSION['positive']=$array; + } - $content .= '<br/><br/><br/><br/><br/><br/>'.get_triple_table($triples); - - //store article in session, to navigate between last 5 articles quickly - $contentArray=array('content' => $content,'subject' => $subject); - if (!isset($_SESSION['nextArticle'])){ - $_SESSION['nextArticle']=0; - $_SESSION['articles']=array(); - } - if ($_SESSION['nextArticle']==5) $_SESSION['nextArticle']=0; - $_SESSION['articles'][$_SESSION['nextArticle']]=$contentArray; - $_SESSION['currentArticle']=$_SESSION['nextArticle']; - $_SESSION['nextArticle']++; - - //Add Positives to Session - if (!isset($_SESSION['positive'])){ - $array=array("http://dbpedia.org/resource/".str_replace(" ","_",$subject) => "http://dbpedia.org/resource/".str_replace(" ","_",$subject)); - $_SESSION['positive']=$array; - } - else{ - $array=$_SESSION['positive']; - $array["http://dbpedia.org/resource/".str_replace(" ","_",$subject)]="http://dbpedia.org/resource/".str_replace(" ","_",$subject); - $_SESSION['positive']=$array; - } - - //build Subject and Searchresults - if ($fromCache==-1) - $searchResult.="<a href=\"\" onclick=\"xajax_getAndShowSubjects('".$subject."');return false;\">Show more Results</a>"; - } + + //BUILD SEARCHRESULT + if ($fromCache==-1) + $searchResult.="<a href=\"\" onclick=\"xajax_getAndShowSubjects('".$subject."');return false;\">Show more Results</a>"; } catch (Exception $e) { $content=$e->getMessage(); @@ -152,15 +151,18 @@ } } else { + //Article is in session $content=$_SESSION['articles'][$fromCache]['content']; $subject=$_SESSION['articles'][$fromCache]['subject']; } - if (isset($_SESSION['articles'])) + //Build lastArticles + if (isset($_SESSION['articles'])){ foreach ($_SESSION['articles'] as $key => $value) { $lastArticles.="<a href=\"\" onclick=\"xajax_getAndShowArticle('',".$key.");return false;\">".$value['subject']."</a><br/>"; } + } //put whole site content into session $_SESSION['artContent']=$content; @@ -168,6 +170,7 @@ $_SESSION['artLast']=$lastArticles; $_SESSION['artSubjects']=$searchResult; + $objResponse = new xajaxResponse(); return $objResponse; } Modified: trunk/src/dbpedia-navigator/rebuild.php =================================================================== --- trunk/src/dbpedia-navigator/rebuild.php 2008-01-30 11:47:27 UTC (rev 466) +++ trunk/src/dbpedia-navigator/rebuild.php 2008-01-30 15:27:18 UTC (rev 467) @@ -6,7 +6,7 @@ require_once 'pear/HTTP_Request.php'; require_once 'DLLearnerConnection.php'; require_once 'Settings.php'; -$settings=new Settings(); +$settings=new Settings(); // download new WSDL file DLLearnerConnection::loadWSDLfiles($settings->wsdluri); @@ -14,7 +14,6 @@ // we need to make sure that PHP really uses the new WSDL file // and does not cache, so we disable the cache and load it ini_set("soap.wsdl_cache_enabled","0"); - // redirect to index page $index_uri = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME']).'/index.php'; header('Location: ' . $index_uri); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-30 11:47:31
|
Revision: 466 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=466&view=rev Author: sknappe Date: 2008-01-30 03:47:27 -0800 (Wed, 30 Jan 2008) Log Message: ----------- first exception handling (not final) Modified Paths: -------------- trunk/src/dbpedia-navigator/DLLearnerConnection.php trunk/src/dbpedia-navigator/ajaxfunctions.php Modified: trunk/src/dbpedia-navigator/DLLearnerConnection.php =================================================================== --- trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-30 11:21:13 UTC (rev 465) +++ trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-30 11:47:27 UTC (rev 466) @@ -108,31 +108,27 @@ function getSparqlResult($query) { - try { - $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "defaultGraphURIs", array("http://dbpedia.org")); - $queryID=$this->client->sparqlQueryThreaded($this->id,$this->ksID,$query); - $running=true; - $i = 1; - $sleeptime = 1; + $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "defaultGraphURIs", array("http://dbpedia.org")); + $queryID=$this->client->sparqlQueryThreaded($this->id,$this->ksID,$query); + $running=true; + $i = 1; + $sleeptime = 1; - do { - // sleep a while - sleep($sleeptime); + do { + // sleep a while + sleep($sleeptime); - $running=$this->client->isSparqlQueryRunning($this->id,$queryID); - if (!$running){ - $result=$this->client->getAsStringArray($this->id,$queryID); - return $result; - } + $running=$this->client->isSparqlQueryRunning($this->id,$queryID); + if (!$running){ + $result=$this->client->getAsStringArray($this->id,$queryID); + return $result; + } - $seconds = $i * $sleeptime; - $i++; - } while($seconds<$this->ttl); - $this->client->stopSparqlQuery($id,$queryID); - } catch (Exception $e){ - echo $e->getMessage(); - } + $seconds = $i * $sleeptime; + $i++; + } while($seconds<$this->ttl); + $this->client->stopSparqlQuery($id,$queryID); } function getSubjects($label) Modified: trunk/src/dbpedia-navigator/ajaxfunctions.php =================================================================== --- trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-30 11:21:13 UTC (rev 465) +++ trunk/src/dbpedia-navigator/ajaxfunctions.php 2008-01-30 11:47:27 UTC (rev 466) @@ -58,86 +58,97 @@ if ($fromCache<0) { require_once("DLLearnerConnection.php"); $sc=new DLLearnerConnection($_SESSION['id'],$_SESSION['ksID']); - $triples=$sc->getTriples($subject); $content=""; $searchResult=""; - $objResponse = new xajaxResponse(); - if (count($triples)==1) - { - // ToDo: find out why this was treated in a special way by Sebastian - $content.=substr($triples,7); - } - else if (count($triples)==0) { - $content.="Did not find an article with that name. Similar Articles are shown under 'Search Results'."; - } else { - - // goal: display the data in a nice (DBpedia specific way), maybe similar to - // dbpedia.org/search - - $content=""; - - // replace by label(?) - //$subject_nice = str_replace("_"," ",urldecode(substr (strrchr ($subject, "/"), 1))); + $lastArticles=""; + $artTitle=""; + try{ + $triples=$sc->getTriples($subject); + $objResponse = new xajaxResponse(); + if (count($triples)==1) + { + // ToDo: find out why this was treated in a special way by Sebastian + $content.=substr($triples,7); + } + else if (count($triples)==0) { + $content.="Did not find an article with that name. Similar Articles are shown under 'Search Results'."; + } else { - // display a picture if there is one - if(isset($triples['http://xmlns.com/foaf/0.1/depiction'])) - $content.='<img src="'.$triples['http://xmlns.com/foaf/0.1/depiction'][0].'" alt="Picture of '.$subject_nice.'" style="float:right; max-width:200px;" \>'; + // goal: display the data in a nice (DBpedia specific way), maybe similar to + // dbpedia.org/search + + $content=""; + + // replace by label(?) + //$subject_nice = str_replace("_"," ",urldecode(substr (strrchr ($subject, "/"), 1))); - // add short description in english - $content.="<h4>Short Description</h4><p>".urldecode($triples['http://dbpedia.org/property/abstract'][0])."</p>"; - - // give the link to the corresponding Wikipedia article - if(isset($triples['http://xmlns.com/foaf/0.1/page'])) - $content .= '<p><img src="images/wikipedia_favicon.png" alt"Wikipedia" /> <a href="'.$triples['http://xmlns.com/foaf/0.1/page'][0].'">view Wikipedia article</a>, '; - $content .= '<a href="'.$subject.'">view DBpedia resource description</a></p>'; + // display a picture if there is one + if(isset($triples['http://xmlns.com/foaf/0.1/depiction'])) + $content.='<img src="'.$triples['http://xmlns.com/foaf/0.1/depiction'][0].'" alt="Picture of '.$subject_nice.'" style="float:right; max-width:200px;" \>'; + + // add short description in english + $content.="<h4>Short Description</h4><p>".urldecode($triples['http://dbpedia.org/property/abstract'][0])."</p>"; + + // give the link to the corresponding Wikipedia article + if(isset($triples['http://xmlns.com/foaf/0.1/page'])) + $content .= '<p><img src="images/wikipedia_favicon.png" alt"Wikipedia" /> <a href="'.$triples['http://xmlns.com/foaf/0.1/page'][0].'">view Wikipedia article</a>, '; + $content .= '<a href="'.$subject.'">view DBpedia resource description</a></p>'; + + // display a list of classes + if(isset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type'])) + $content .= '<p>classes: '.formatClassArray($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type']).'</p>'; + + if(isset($triples['http://dbpedia.org/property/reference'])) { + $content .= '<p>references: <ul>'; + foreach($triples['http://dbpedia.org/property/reference'] as $reference) + $content .= '<li><a href="'.$reference.'">'.$reference.'</a></li>'; + $content .= '</ul></p>'; + } - // display a list of classes - if(isset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type'])) - $content .= '<p>classes: '.formatClassArray($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type']).'</p>'; - - if(isset($triples['http://dbpedia.org/property/reference'])) { - $content .= '<p>references: <ul>'; - foreach($triples['http://dbpedia.org/property/reference'] as $reference) - $content .= '<li><a href="'.$reference.'">'.$reference.'</a></li>'; - $content .= '</ul></p>'; - } + $artTitle=$triples['http://www.w3.org/2000/01/rdf-schema#label']; - // filter out uninteresting properties and properties which - // have already been displayed - unset($triples['http://xmlns.com/foaf/0.1/page']); - unset($triples['http://xmlns.com/foaf/0.1/depiction']); - unset($triples['http://dbpedia.org/property/abstract']); - unset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type']); - - // display the remaining properties as list which can be used for further navigation - - $content .= '<br/><br/><br/><br/><br/><br/>'.get_triple_table($triples); - - //store article in session, to navigate between last 5 articles quickly - $contentArray=array('content' => $content,'subject' => $subject); - if (!isset($_SESSION['nextArticle'])){ - $_SESSION['nextArticle']=0; - $_SESSION['articles']=array(); + + // filter out uninteresting properties and properties which + // have already been displayed + unset($triples['http://xmlns.com/foaf/0.1/page']); + unset($triples['http://xmlns.com/foaf/0.1/depiction']); + unset($triples['http://dbpedia.org/property/abstract']); + unset($triples['http://www.w3.org/1999/02/22-rdf-syntax-ns#type']); + + // display the remaining properties as list which can be used for further navigation + + $content .= '<br/><br/><br/><br/><br/><br/>'.get_triple_table($triples); + + //store article in session, to navigate between last 5 articles quickly + $contentArray=array('content' => $content,'subject' => $subject); + if (!isset($_SESSION['nextArticle'])){ + $_SESSION['nextArticle']=0; + $_SESSION['articles']=array(); + } + if ($_SESSION['nextArticle']==5) $_SESSION['nextArticle']=0; + $_SESSION['articles'][$_SESSION['nextArticle']]=$contentArray; + $_SESSION['currentArticle']=$_SESSION['nextArticle']; + $_SESSION['nextArticle']++; + + //Add Positives to Session + if (!isset($_SESSION['positive'])){ + $array=array("http://dbpedia.org/resource/".str_replace(" ","_",$subject) => "http://dbpedia.org/resource/".str_replace(" ","_",$subject)); + $_SESSION['positive']=$array; + } + else{ + $array=$_SESSION['positive']; + $array["http://dbpedia.org/resource/".str_replace(" ","_",$subject)]="http://dbpedia.org/resource/".str_replace(" ","_",$subject); + $_SESSION['positive']=$array; + } + + //build Subject and Searchresults + if ($fromCache==-1) + $searchResult.="<a href=\"\" onclick=\"xajax_getAndShowSubjects('".$subject."');return false;\">Show more Results</a>"; } - if ($_SESSION['nextArticle']==5) $_SESSION['nextArticle']=0; - $_SESSION['articles'][$_SESSION['nextArticle']]=$contentArray; - $_SESSION['currentArticle']=$_SESSION['nextArticle']; - $_SESSION['nextArticle']++; - - //Add Positives to Session - if (!isset($_SESSION['positive'])){ - $array=array("http://dbpedia.org/resource/".str_replace(" ","_",$subject) => "http://dbpedia.org/resource/".str_replace(" ","_",$subject)); - $_SESSION['positive']=$array; - } - else{ - $array=$_SESSION['positive']; - $array["http://dbpedia.org/resource/".str_replace(" ","_",$subject)]="http://dbpedia.org/resource/".str_replace(" ","_",$subject); - $_SESSION['positive']=$array; - } - - //build Subject and Searchresults - if ($fromCache==-1) - $searchResult.="<a href=\"\" onclick=\"xajax_getAndShowSubjects('".$subject."');return false;\">Show more Results</a>"; + } catch (Exception $e) + { + $content=$e->getMessage(); + $artTitle="Fehler"; } } else { @@ -145,7 +156,6 @@ $subject=$_SESSION['articles'][$fromCache]['subject']; } - $lastArticles=""; if (isset($_SESSION['articles'])) foreach ($_SESSION['articles'] as $key => $value) { @@ -154,7 +164,7 @@ //put whole site content into session $_SESSION['artContent']=$content; - $_SESSION['artTitle']=$triples['http://www.w3.org/2000/01/rdf-schema#label']; + $_SESSION['artTitle']=$artTitle; $_SESSION['artLast']=$lastArticles; $_SESSION['artSubjects']=$searchResult; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-30 11:21:15
|
Revision: 465 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=465&view=rev Author: sknappe Date: 2008-01-30 03:21:13 -0800 (Wed, 30 Jan 2008) Log Message: ----------- added exception handling functionality for sparql queries Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryThreaded.java trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java Added Paths: ----------- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryException.java trunk/src/dl-learner/org/dllearner/server/jaxws/SparqlQueryExceptionBean.java Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java 2008-01-30 10:27:21 UTC (rev 464) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java 2008-01-30 11:21:13 UTC (rev 465) @@ -219,8 +219,10 @@ } else { query.send(); ResultSet rs = query.getResultSet(); - String json = SparqlQuery.getAsJSON(rs); - addToCache(query.getQueryString(), json); + if (rs!=null){ + String json = SparqlQuery.getAsJSON(rs); + addToCache(query.getQueryString(), json); + } return rs; } } Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java 2008-01-30 10:27:21 UTC (rev 464) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java 2008-01-30 11:21:13 UTC (rev 465) @@ -50,6 +50,7 @@ private QueryEngineHTTP queryExecution; private SparqlEndpoint endpoint; private ResultSet rs = null; + private SparqlQueryException sendException=null; /** * Standard constructor. @@ -80,9 +81,13 @@ queryExecution.addNamedGraph(ngu); } logger.info("query SPARQL server"); - - rs = queryExecution.execSelect(); - logger.info(rs.getResultVars().toString()); + try{ + rs = queryExecution.execSelect(); + logger.info(rs.getResultVars().toString()); + } catch (Exception e){ + sendException=new SparqlQueryException(e.getMessage()); + logger.info("Exception when querying Sparql Endpoint"); + } isRunning = false; return rs; } @@ -107,6 +112,10 @@ public QueryEngineHTTP getExecution(){ return queryExecution; } + + public SparqlQueryException getException(){ + return sendException; + } public boolean hasCompleted() { return (rs != null); @@ -119,10 +128,7 @@ */ @Deprecated @SuppressWarnings( { "unchecked" }) - public String[][] getAsStringArray() { - if (rs == null) - this.send(); - System.out.println("Starting Query"); + public static String[][] getAsStringArray(ResultSet rs) { List<ResultBinding> l = ResultSetFormatter.toList(rs); List<String> resultVars = rs.getResultVars(); String[][] array = new String[l.size()][resultVars.size()]; @@ -139,7 +145,6 @@ i++; j = 0; } - System.out.println("Query complete"); return array; } Added: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryException.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryException.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryException.java 2008-01-30 11:21:13 UTC (rev 465) @@ -0,0 +1,10 @@ +package org.dllearner.kb.sparql; + +public class SparqlQueryException extends Exception{ + + static final long serialVersionUID=101; + + public SparqlQueryException (String message) { + super ("Sparql Query failed.\n"+message); + } +} Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryThreaded.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryThreaded.java 2008-01-30 10:27:21 UTC (rev 464) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryThreaded.java 2008-01-30 11:21:13 UTC (rev 465) @@ -11,6 +11,7 @@ private boolean isRunning=false; private Cache cache; private SparqlQuery query; + private ResultSet result; public SparqlQueryThreaded(Cache cache, SparqlQuery query) { @@ -30,11 +31,15 @@ public void send() { isRunning=true; - cache.executeSparqlQuery(query); + result=cache.executeSparqlQuery(query); isRunning=false; } public SparqlQuery getSparqlQuery(){ return query; } + + public ResultSet getResult(){ + return result; + } } Modified: trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java =================================================================== --- trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java 2008-01-30 10:27:21 UTC (rev 464) +++ trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java 2008-01-30 11:21:13 UTC (rev 465) @@ -48,6 +48,7 @@ import org.dllearner.kb.OWLFile; import org.dllearner.kb.sparql.SparqlKnowledgeSource; import org.dllearner.kb.sparql.SparqlQuery; +import org.dllearner.kb.sparql.SparqlQueryException; import org.dllearner.learningproblems.PosNegDefinitionLP; import org.dllearner.learningproblems.PosNegInclusionLP; import org.dllearner.learningproblems.PosOnlyDefinitionLP; @@ -491,10 +492,12 @@ //////////////////////////////////////// @WebMethod - public String[][] getAsStringArray(int sessionID, int queryID) throws ClientNotKnownException + public String[][] getAsStringArray(int sessionID, int queryID) throws ClientNotKnownException, SparqlQueryException { ClientState state = getState(sessionID); - return state.getQuery(queryID).getSparqlQuery().getAsStringArray(); + SparqlQueryException exception=null; + if ((exception=state.getQuery(queryID).getSparqlQuery().getException())!=null) throw exception; + return SparqlQuery.getAsStringArray(state.getQuery(queryID).getResult()); } @WebMethod Added: trunk/src/dl-learner/org/dllearner/server/jaxws/SparqlQueryExceptionBean.java =================================================================== --- trunk/src/dl-learner/org/dllearner/server/jaxws/SparqlQueryExceptionBean.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/server/jaxws/SparqlQueryExceptionBean.java 2008-01-30 11:21:13 UTC (rev 465) @@ -0,0 +1,38 @@ +package org.dllearner.server.jaxws; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + +/** + * This class was generated by the JAXWS SI. + * JAX-WS RI 2.0_02-b08-fcs + * Generated source version: 2.0_02 + * + */ +@XmlRootElement(name = "SparqlQueryException", namespace = "http://server.dllearner.org/") +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SparqlQueryException", namespace = "http://server.dllearner.org/") +public class SparqlQueryExceptionBean { + + private String message; + + /** + * + * @return + * returns String + */ + public String getMessage() { + return this.message; + } + + /** + * + * @param message + * the value for the message property + */ + public void setMessage(String message) { + this.message = message; + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-30 10:27:23
|
Revision: 464 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=464&view=rev Author: sknappe Date: 2008-01-30 02:27:21 -0800 (Wed, 30 Jan 2008) Log Message: ----------- now works with the new Cache Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java trunk/src/dl-learner/org/dllearner/server/ClientState.java trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java Added Paths: ----------- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryThreaded.java Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java 2008-01-30 10:26:38 UTC (rev 463) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java 2008-01-30 10:27:21 UTC (rev 464) @@ -101,8 +101,6 @@ // received ontology as KB, the internal format private KB kb; - private boolean cached=true; - public static String getName() { return "SPARQL Endpoint"; } @@ -159,8 +157,6 @@ "role to learn Domain/Range from")); options.add(new StringConfigOption("blankNodeIdentifier", "used to identify blanknodes in Tripels")); - options.add(new BooleanConfigOption("cached", - "use Cache")); options.add(new StringTupleListConfigOption("example", "example")); options.add(new StringTupleListConfigOption("replacePredicate", "rule for replacing predicates")); @@ -219,8 +215,6 @@ dumpToFile = (Boolean) entry.getValue(); } else if (option.equals("useLits")) { useLits = (Boolean) entry.getValue(); - } else if (option.equals("cached")) { - cached = (Boolean) entry.getValue(); } else if (option.equals("getAllSuperClasses")) { getAllSuperClasses = (Boolean) entry.getValue(); /* @@ -395,11 +389,12 @@ public SparqlQuery sparqlQuery(String query) { this.endpoint = new SparqlEndpoint(url, defaultGraphURIs, namedGraphURIs); -// if (cached) -// return new CachedSparqlQueryTest(endpoint, new Cache("cache"),""+query.hashCode(),query); -// else - return new SparqlQuery(query, endpoint); + return new SparqlQuery(query, endpoint); } + + public SparqlQueryThreaded sparqlQueryThreaded(String query){ + return new SparqlQueryThreaded(new Cache("cache"),this.sparqlQuery(query)); + } /*public static void main(String[] args) throws MalformedURLException { String query = "SELECT ?pred ?obj\n" Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java 2008-01-30 10:26:38 UTC (rev 463) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java 2008-01-30 10:27:21 UTC (rev 464) @@ -46,12 +46,10 @@ private static Logger logger = Logger.getLogger(SparqlKnowledgeSource.class); private boolean isRunning = false; - // TODO: declare as private - protected String queryString; + private String queryString; private QueryEngineHTTP queryExecution; private SparqlEndpoint endpoint; - // TODO: declare as private - protected ResultSet rs = null; + private ResultSet rs = null; /** * Standard constructor. @@ -64,11 +62,6 @@ this.endpoint = endpoint; } - @Deprecated - public void setIsRunning(boolean running) { - this.isRunning = running; - } - /** * Sends a SPARQL query using the Jena library. */ @@ -110,6 +103,10 @@ public boolean isRunning() { return isRunning; } + + public QueryEngineHTTP getExecution(){ + return queryExecution; + } public boolean hasCompleted() { return (rs != null); @@ -184,7 +181,7 @@ ResultSetFormatter.outputAsJSON(baos, resultSet); // possible Jena bug: Jena modifies the result set during // JSON transformation, so we need to get it back - resultSet = JSONtoResultSet(baos.toString()); + //resultSet = JSONtoResultSet(baos.toString()); return baos.toString(); } Added: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryThreaded.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryThreaded.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryThreaded.java 2008-01-30 10:27:21 UTC (rev 464) @@ -0,0 +1,40 @@ +package org.dllearner.kb.sparql; + +import com.hp.hpl.jena.query.ResultSet; + +/** + * The class is used for threaded querying of a Sparql Endpoint. + * @author Sebastian Knappe + * + */ +public class SparqlQueryThreaded { + private boolean isRunning=false; + private Cache cache; + private SparqlQuery query; + + public SparqlQueryThreaded(Cache cache, SparqlQuery query) + { + this.cache=cache; + this.query=query; + } + + public void stop() { + query.getExecution().abort(); + isRunning = false; + } + + public boolean isRunning() { + return isRunning; + } + + public void send() + { + isRunning=true; + cache.executeSparqlQuery(query); + isRunning=false; + } + + public SparqlQuery getSparqlQuery(){ + return query; + } +} Modified: trunk/src/dl-learner/org/dllearner/server/ClientState.java =================================================================== --- trunk/src/dl-learner/org/dllearner/server/ClientState.java 2008-01-30 10:26:38 UTC (rev 463) +++ trunk/src/dl-learner/org/dllearner/server/ClientState.java 2008-01-30 10:27:21 UTC (rev 464) @@ -35,6 +35,7 @@ import org.dllearner.kb.OWLFile; import org.dllearner.kb.sparql.SparqlKnowledgeSource; import org.dllearner.kb.sparql.SparqlQuery; +import org.dllearner.kb.sparql.SparqlQueryThreaded; /** * Stores the state of a DL-Learner client session. @@ -51,7 +52,7 @@ private Set<KnowledgeSource> knowledgeSources = new HashSet<KnowledgeSource>(); - private Map<Integer, SparqlQuery> queryIDs = new HashMap<Integer, SparqlQuery>(); + private Map<Integer, SparqlQueryThreaded> queryIDs = new HashMap<Integer, SparqlQueryThreaded>(); private LearningProblem learningProblem; @@ -73,7 +74,7 @@ return id; } - private int generateQueryID(SparqlQuery query) { + private int generateQueryID(SparqlQueryThreaded query) { int id; Random rand = new Random(); do { @@ -83,11 +84,11 @@ return id; } - public int addQuery(SparqlQuery query){ + public int addQuery(SparqlQueryThreaded query){ return this.generateQueryID(query); } - public SparqlQuery getQuery(int id){ + public SparqlQueryThreaded getQuery(int id){ return queryIDs.get(id); } Modified: trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java =================================================================== --- trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java 2008-01-30 10:26:38 UTC (rev 463) +++ trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java 2008-01-30 10:27:21 UTC (rev 464) @@ -494,23 +494,23 @@ public String[][] getAsStringArray(int sessionID, int queryID) throws ClientNotKnownException { ClientState state = getState(sessionID); - return state.getQuery(queryID).getAsStringArray(); + return state.getQuery(queryID).getSparqlQuery().getAsStringArray(); } @WebMethod public String getAsJSON(int sessionID, int queryID) throws ClientNotKnownException { ClientState state = getState(sessionID); - ResultSet rs = state.getQuery(queryID).send(); - return SparqlQuery.getAsJSON(rs); + ResultSet resultSet=state.getQuery(queryID).getSparqlQuery().getResultSet(); + return SparqlQuery.getAsJSON(resultSet); } @WebMethod public String getAsXMLString(int sessionID, int queryID) throws ClientNotKnownException { ClientState state = getState(sessionID); - ResultSet rs = state.getQuery(queryID).send(); - return SparqlQuery.getAsXMLString(rs); + ResultSet resultSet=state.getQuery(queryID).getSparqlQuery().getResultSet(); + return SparqlQuery.getAsXMLString(resultSet); } @WebMethod @@ -518,14 +518,11 @@ { final ClientState state = getState(sessionID); final Component component = state.getComponent(componentID); - final int id=state.addQuery(((SparqlKnowledgeSource)component).sparqlQuery(query)); + final int id=state.addQuery(((SparqlKnowledgeSource)component).sparqlQueryThreaded(query)); Thread sparqlThread = new Thread() { @Override public void run() { - SparqlQuery query=state.getQuery(id); - query.setIsRunning(true); - query.send(); - query.setIsRunning(false); + state.getQuery(id).send(); } }; sparqlThread.start(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-30 10:26:42
|
Revision: 463 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=463&view=rev Author: sknappe Date: 2008-01-30 02:26:38 -0800 (Wed, 30 Jan 2008) Log Message: ----------- changed for new Web-Service interface Modified Paths: -------------- trunk/src/dbpedia-navigator/DLLearnerConnection.php trunk/src/dbpedia-navigator/rebuild.php Modified: trunk/src/dbpedia-navigator/DLLearnerConnection.php =================================================================== --- trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-30 07:20:32 UTC (rev 462) +++ trunk/src/dbpedia-navigator/DLLearnerConnection.php 2008-01-30 10:26:38 UTC (rev 463) @@ -44,11 +44,8 @@ { $this->client->applyConfigEntryInt($this->id, $this->ksID, "recursionDepth",1); $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "instances", array_merge($posExamples,$negExamples)); - // $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "predList", array()); - // $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "objList", array()); - // $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "classList", array()); - // $this->client->applyConfigEntryString($this->id, $this->ksID, "format", "KB"); - // $this->client->applyConfigEntryBoolean($this->id, $this->ksID, "dumpToFile", true); + $this->client->applyConfigEntryInt($this->id, $this->ksID, "predefinedFilter", 5); + $this->client->applyConfigEntryInt($this->id, $this->ksID, "predefinedEndpoint", 1); $this->client->setReasoner($this->id, "dig"); if(empty($negExamples)) @@ -111,28 +108,31 @@ function getSparqlResult($query) { - $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "defaultGraphURIs", array("http://dbpedia.org")); - $this->client->applyConfigEntryBoolean($this->id, $this->ksID, "cached", true); - $queryID=$this->client->sparqlQueryThreaded($this->id,$this->ksID,$query); - $running=true; - $i = 1; - $sleeptime = 1; - - do { - // sleep a while - sleep($sleeptime); - + try { + $this->client->applyConfigEntryStringArray($this->id, $this->ksID, "defaultGraphURIs", array("http://dbpedia.org")); + $queryID=$this->client->sparqlQueryThreaded($this->id,$this->ksID,$query); + $running=true; + $i = 1; + $sleeptime = 1; - $running=$this->client->isSparqlQueryRunning($this->id,$queryID); - if (!$running){ - $result=$this->client->getAsStringArray($this->id,$queryID); - return $result; - } - - $seconds = $i * $sleeptime; - $i++; - } while($seconds<$this->ttl); - $this->client->stopSparqlQuery($id,$queryID); + do { + // sleep a while + sleep($sleeptime); + + + $running=$this->client->isSparqlQueryRunning($this->id,$queryID); + if (!$running){ + $result=$this->client->getAsStringArray($this->id,$queryID); + return $result; + } + + $seconds = $i * $sleeptime; + $i++; + } while($seconds<$this->ttl); + $this->client->stopSparqlQuery($id,$queryID); + } catch (Exception $e){ + echo $e->getMessage(); + } } function getSubjects($label) @@ -233,12 +233,10 @@ } } - -/*require_once("Settings.php"); +/* require_once("DLLearnerConnection.php"); -$settings=new Settings(); -$sc=new DLLearnerConnection($settings->dbpediauri,$settings->wsdluri); +$sc=new DLLearnerConnection(); $ids=$sc->getIDs(); -$sc=new DLLearnerConnection($settings->dbpediauri,$settings->wsdluri,$ids[0],$ids[1]); -$triples=$sc->getTriples($settings->sparqlttl,"dog");*/ +$sc=new DLLearnerConnection($ids[0],$ids[1]); +$triples=$sc->getTriples("Leipzig");*/ ?> Modified: trunk/src/dbpedia-navigator/rebuild.php =================================================================== --- trunk/src/dbpedia-navigator/rebuild.php 2008-01-30 07:20:32 UTC (rev 462) +++ trunk/src/dbpedia-navigator/rebuild.php 2008-01-30 10:26:38 UTC (rev 463) @@ -14,11 +14,6 @@ // we need to make sure that PHP really uses the new WSDL file // and does not cache, so we disable the cache and load it ini_set("soap.wsdl_cache_enabled","0"); -$sc=new DLLearnerConnection($settings->dbpediauri,$settings->wsdluri); -//$sc->getIDs(); -// TODO: does not work; -// maybe try to set ttl of cache to 1 second, -// wait for 1 second and then redirect to start page // redirect to index page $index_uri = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME']).'/index.php'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ton...@us...> - 2008-01-30 07:20:38
|
Revision: 462 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=462&view=rev Author: tonytacker Date: 2008-01-29 23:20:32 -0800 (Tue, 29 Jan 2008) Log Message: ----------- doc - was an error before Modified Paths: -------------- trunk/doc/allclasses-frame.html trunk/doc/allclasses-noframe.html trunk/doc/constant-values.html trunk/doc/deprecated-list.html trunk/doc/help-doc.html trunk/doc/index-files/index-1.html trunk/doc/index-files/index-10.html trunk/doc/index-files/index-11.html trunk/doc/index-files/index-12.html trunk/doc/index-files/index-13.html trunk/doc/index-files/index-14.html trunk/doc/index-files/index-15.html trunk/doc/index-files/index-16.html trunk/doc/index-files/index-17.html trunk/doc/index-files/index-18.html trunk/doc/index-files/index-19.html trunk/doc/index-files/index-2.html trunk/doc/index-files/index-20.html trunk/doc/index-files/index-21.html trunk/doc/index-files/index-22.html trunk/doc/index-files/index-23.html trunk/doc/index-files/index-24.html trunk/doc/index-files/index-25.html trunk/doc/index-files/index-3.html trunk/doc/index-files/index-4.html trunk/doc/index-files/index-5.html trunk/doc/index-files/index-6.html trunk/doc/index-files/index-7.html trunk/doc/index-files/index-8.html trunk/doc/index-files/index-9.html trunk/doc/index.html trunk/doc/org/dllearner/Info.html trunk/doc/org/dllearner/algorithms/BruteForceLearner.html trunk/doc/org/dllearner/algorithms/RandomGuesser.html trunk/doc/org/dllearner/algorithms/class-use/BruteForceLearner.html trunk/doc/org/dllearner/algorithms/class-use/RandomGuesser.html trunk/doc/org/dllearner/algorithms/gp/ADC.html trunk/doc/org/dllearner/algorithms/gp/GP.AlgorithmType.html trunk/doc/org/dllearner/algorithms/gp/GP.SelectionType.html trunk/doc/org/dllearner/algorithms/gp/GP.html trunk/doc/org/dllearner/algorithms/gp/GPUtilities.html trunk/doc/org/dllearner/algorithms/gp/Program.html trunk/doc/org/dllearner/algorithms/gp/class-use/ADC.html trunk/doc/org/dllearner/algorithms/gp/class-use/GP.AlgorithmType.html trunk/doc/org/dllearner/algorithms/gp/class-use/GP.SelectionType.html trunk/doc/org/dllearner/algorithms/gp/class-use/GP.html trunk/doc/org/dllearner/algorithms/gp/class-use/GPUtilities.html trunk/doc/org/dllearner/algorithms/gp/class-use/Program.html trunk/doc/org/dllearner/algorithms/gp/package-frame.html trunk/doc/org/dllearner/algorithms/gp/package-summary.html trunk/doc/org/dllearner/algorithms/gp/package-tree.html trunk/doc/org/dllearner/algorithms/gp/package-use.html trunk/doc/org/dllearner/algorithms/hybridgp/GeneticRefinementOperator.html trunk/doc/org/dllearner/algorithms/hybridgp/Psi.html trunk/doc/org/dllearner/algorithms/hybridgp/PsiDown.html trunk/doc/org/dllearner/algorithms/hybridgp/PsiUp.html trunk/doc/org/dllearner/algorithms/hybridgp/class-use/GeneticRefinementOperator.html trunk/doc/org/dllearner/algorithms/hybridgp/class-use/Psi.html trunk/doc/org/dllearner/algorithms/hybridgp/class-use/PsiDown.html trunk/doc/org/dllearner/algorithms/hybridgp/class-use/PsiUp.html trunk/doc/org/dllearner/algorithms/hybridgp/package-frame.html trunk/doc/org/dllearner/algorithms/hybridgp/package-summary.html trunk/doc/org/dllearner/algorithms/hybridgp/package-tree.html trunk/doc/org/dllearner/algorithms/hybridgp/package-use.html trunk/doc/org/dllearner/algorithms/package-frame.html trunk/doc/org/dllearner/algorithms/package-summary.html trunk/doc/org/dllearner/algorithms/package-tree.html trunk/doc/org/dllearner/algorithms/package-use.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedNode.QualityEvaluationMethod.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedNode.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedROLComponent.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.html trunk/doc/org/dllearner/algorithms/refexamples/FlexibleHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/LexicographicHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/NodeComparatorStable.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedNode.QualityEvaluationMethod.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedNode.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedROLComponent.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedROLearner.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/FlexibleHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/LexicographicHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/NodeComparatorStable.html trunk/doc/org/dllearner/algorithms/refexamples/package-frame.html trunk/doc/org/dllearner/algorithms/refexamples/package-summary.html trunk/doc/org/dllearner/algorithms/refexamples/package-tree.html trunk/doc/org/dllearner/algorithms/refexamples/package-use.html trunk/doc/org/dllearner/algorithms/refinement/Heuristic.html trunk/doc/org/dllearner/algorithms/refinement/Node.QualityEvaluationMethod.html trunk/doc/org/dllearner/algorithms/refinement/Node.html trunk/doc/org/dllearner/algorithms/refinement/NodeComparator.html trunk/doc/org/dllearner/algorithms/refinement/NodeComparator2.html trunk/doc/org/dllearner/algorithms/refinement/NodeComparatorStable.html trunk/doc/org/dllearner/algorithms/refinement/ROLearner.Heuristic.html trunk/doc/org/dllearner/algorithms/refinement/ROLearner.html trunk/doc/org/dllearner/algorithms/refinement/RefinementOperator.html trunk/doc/org/dllearner/algorithms/refinement/RhoDown.html trunk/doc/org/dllearner/algorithms/refinement/SearchSpace.html trunk/doc/org/dllearner/algorithms/refinement/class-use/Heuristic.html trunk/doc/org/dllearner/algorithms/refinement/class-use/Node.QualityEvaluationMethod.html trunk/doc/org/dllearner/algorithms/refinement/class-use/Node.html trunk/doc/org/dllearner/algorithms/refinement/class-use/NodeComparator.html trunk/doc/org/dllearner/algorithms/refinement/class-use/NodeComparator2.html trunk/doc/org/dllearner/algorithms/refinement/class-use/NodeComparatorStable.html trunk/doc/org/dllearner/algorithms/refinement/class-use/ROLearner.Heuristic.html trunk/doc/org/dllearner/algorithms/refinement/class-use/ROLearner.html trunk/doc/org/dllearner/algorithms/refinement/class-use/RefinementOperator.html trunk/doc/org/dllearner/algorithms/refinement/class-use/RhoDown.html trunk/doc/org/dllearner/algorithms/refinement/class-use/SearchSpace.html trunk/doc/org/dllearner/algorithms/refinement/package-frame.html trunk/doc/org/dllearner/algorithms/refinement/package-summary.html trunk/doc/org/dllearner/algorithms/refinement/package-tree.html trunk/doc/org/dllearner/algorithms/refinement/package-use.html trunk/doc/org/dllearner/class-use/Info.html trunk/doc/org/dllearner/cli/ConfFileOption.html trunk/doc/org/dllearner/cli/QuickStart.html trunk/doc/org/dllearner/cli/Start.html trunk/doc/org/dllearner/cli/class-use/ConfFileOption.html trunk/doc/org/dllearner/cli/class-use/QuickStart.html trunk/doc/org/dllearner/cli/class-use/Start.html trunk/doc/org/dllearner/cli/package-frame.html trunk/doc/org/dllearner/cli/package-summary.html trunk/doc/org/dllearner/cli/package-tree.html trunk/doc/org/dllearner/cli/package-use.html trunk/doc/org/dllearner/core/Component.html trunk/doc/org/dllearner/core/ComponentManager.html trunk/doc/org/dllearner/core/ComponentPool.html trunk/doc/org/dllearner/core/ComponentTest.html trunk/doc/org/dllearner/core/KnowledgeSource.html trunk/doc/org/dllearner/core/LearningAlgorithm.html trunk/doc/org/dllearner/core/LearningProblem.html trunk/doc/org/dllearner/core/OntologyFormat.html trunk/doc/org/dllearner/core/OntologyFormatUnsupportedException.html trunk/doc/org/dllearner/core/Reasoner.html trunk/doc/org/dllearner/core/ReasonerComponent.html trunk/doc/org/dllearner/core/ReasoningMethodUnsupportedException.html trunk/doc/org/dllearner/core/ReasoningService.html trunk/doc/org/dllearner/core/Score.html trunk/doc/org/dllearner/core/class-use/Component.html trunk/doc/org/dllearner/core/class-use/ComponentManager.html trunk/doc/org/dllearner/core/class-use/ComponentPool.html trunk/doc/org/dllearner/core/class-use/ComponentTest.html trunk/doc/org/dllearner/core/class-use/KnowledgeSource.html trunk/doc/org/dllearner/core/class-use/LearningAlgorithm.html trunk/doc/org/dllearner/core/class-use/LearningProblem.html trunk/doc/org/dllearner/core/class-use/OntologyFormat.html trunk/doc/org/dllearner/core/class-use/OntologyFormatUnsupportedException.html trunk/doc/org/dllearner/core/class-use/Reasoner.html trunk/doc/org/dllearner/core/class-use/ReasonerComponent.html trunk/doc/org/dllearner/core/class-use/ReasoningMethodUnsupportedException.html trunk/doc/org/dllearner/core/class-use/ReasoningService.html trunk/doc/org/dllearner/core/class-use/Score.html trunk/doc/org/dllearner/core/config/BooleanConfigOption.html trunk/doc/org/dllearner/core/config/CommonConfigMappings.html trunk/doc/org/dllearner/core/config/CommonConfigOptions.html trunk/doc/org/dllearner/core/config/ConfigDocumentationGenerator.html trunk/doc/org/dllearner/core/config/ConfigEntry.html trunk/doc/org/dllearner/core/config/ConfigOption.html trunk/doc/org/dllearner/core/config/DoubleConfigOption.html trunk/doc/org/dllearner/core/config/IntegerConfigOption.html trunk/doc/org/dllearner/core/config/InvalidConfigOptionValueException.html trunk/doc/org/dllearner/core/config/StringConfigOption.html trunk/doc/org/dllearner/core/config/StringSetConfigOption.html trunk/doc/org/dllearner/core/config/StringTupleListConfigOption.html trunk/doc/org/dllearner/core/config/UnknownConfigOptionException.html trunk/doc/org/dllearner/core/config/class-use/BooleanConfigOption.html trunk/doc/org/dllearner/core/config/class-use/CommonConfigMappings.html trunk/doc/org/dllearner/core/config/class-use/CommonConfigOptions.html trunk/doc/org/dllearner/core/config/class-use/ConfigDocumentationGenerator.html trunk/doc/org/dllearner/core/config/class-use/ConfigEntry.html trunk/doc/org/dllearner/core/config/class-use/ConfigOption.html trunk/doc/org/dllearner/core/config/class-use/DoubleConfigOption.html trunk/doc/org/dllearner/core/config/class-use/IntegerConfigOption.html trunk/doc/org/dllearner/core/config/class-use/InvalidConfigOptionValueException.html trunk/doc/org/dllearner/core/config/class-use/StringConfigOption.html trunk/doc/org/dllearner/core/config/class-use/StringSetConfigOption.html trunk/doc/org/dllearner/core/config/class-use/StringTupleListConfigOption.html trunk/doc/org/dllearner/core/config/class-use/UnknownConfigOptionException.html trunk/doc/org/dllearner/core/config/package-frame.html trunk/doc/org/dllearner/core/config/package-summary.html trunk/doc/org/dllearner/core/config/package-tree.html trunk/doc/org/dllearner/core/config/package-use.html trunk/doc/org/dllearner/core/dl/All.html trunk/doc/org/dllearner/core/dl/AssertionalAxiom.html trunk/doc/org/dllearner/core/dl/AtomicConcept.html trunk/doc/org/dllearner/core/dl/AtomicRole.html trunk/doc/org/dllearner/core/dl/Axiom.html trunk/doc/org/dllearner/core/dl/Bottom.html trunk/doc/org/dllearner/core/dl/Concept.html trunk/doc/org/dllearner/core/dl/ConceptAssertion.html trunk/doc/org/dllearner/core/dl/Conjunction.html trunk/doc/org/dllearner/core/dl/Disjunction.html trunk/doc/org/dllearner/core/dl/Equality.html trunk/doc/org/dllearner/core/dl/Exists.html trunk/doc/org/dllearner/core/dl/FlatABox.html trunk/doc/org/dllearner/core/dl/FunctionalRoleAxiom.html trunk/doc/org/dllearner/core/dl/GreaterEqual.html trunk/doc/org/dllearner/core/dl/Inclusion.html trunk/doc/org/dllearner/core/dl/Individual.html trunk/doc/org/dllearner/core/dl/InverseRole.html trunk/doc/org/dllearner/core/dl/InverseRoleAxiom.html trunk/doc/org/dllearner/core/dl/KB.html trunk/doc/org/dllearner/core/dl/KBElement.html trunk/doc/org/dllearner/core/dl/LessEqual.html trunk/doc/org/dllearner/core/dl/MultiConjunction.html trunk/doc/org/dllearner/core/dl/MultiDisjunction.html trunk/doc/org/dllearner/core/dl/Negation.html trunk/doc/org/dllearner/core/dl/NumberRestriction.html trunk/doc/org/dllearner/core/dl/Quantification.html trunk/doc/org/dllearner/core/dl/RBoxAxiom.html trunk/doc/org/dllearner/core/dl/Role.html trunk/doc/org/dllearner/core/dl/RoleAssertion.html trunk/doc/org/dllearner/core/dl/RoleHierarchy.html trunk/doc/org/dllearner/core/dl/SubRoleAxiom.html trunk/doc/org/dllearner/core/dl/SubsumptionHierarchy.html trunk/doc/org/dllearner/core/dl/SymmetricRoleAxiom.html trunk/doc/org/dllearner/core/dl/TerminologicalAxiom.html trunk/doc/org/dllearner/core/dl/Top.html trunk/doc/org/dllearner/core/dl/TransitiveRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/All.html trunk/doc/org/dllearner/core/dl/class-use/AssertionalAxiom.html trunk/doc/org/dllearner/core/dl/class-use/AtomicConcept.html trunk/doc/org/dllearner/core/dl/class-use/AtomicRole.html trunk/doc/org/dllearner/core/dl/class-use/Axiom.html trunk/doc/org/dllearner/core/dl/class-use/Bottom.html trunk/doc/org/dllearner/core/dl/class-use/Concept.html trunk/doc/org/dllearner/core/dl/class-use/ConceptAssertion.html trunk/doc/org/dllearner/core/dl/class-use/Conjunction.html trunk/doc/org/dllearner/core/dl/class-use/Disjunction.html trunk/doc/org/dllearner/core/dl/class-use/Equality.html trunk/doc/org/dllearner/core/dl/class-use/Exists.html trunk/doc/org/dllearner/core/dl/class-use/FlatABox.html trunk/doc/org/dllearner/core/dl/class-use/FunctionalRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/GreaterEqual.html trunk/doc/org/dllearner/core/dl/class-use/Inclusion.html trunk/doc/org/dllearner/core/dl/class-use/Individual.html trunk/doc/org/dllearner/core/dl/class-use/InverseRole.html trunk/doc/org/dllearner/core/dl/class-use/InverseRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/KB.html trunk/doc/org/dllearner/core/dl/class-use/KBElement.html trunk/doc/org/dllearner/core/dl/class-use/LessEqual.html trunk/doc/org/dllearner/core/dl/class-use/MultiConjunction.html trunk/doc/org/dllearner/core/dl/class-use/MultiDisjunction.html trunk/doc/org/dllearner/core/dl/class-use/Negation.html trunk/doc/org/dllearner/core/dl/class-use/NumberRestriction.html trunk/doc/org/dllearner/core/dl/class-use/Quantification.html trunk/doc/org/dllearner/core/dl/class-use/RBoxAxiom.html trunk/doc/org/dllearner/core/dl/class-use/Role.html trunk/doc/org/dllearner/core/dl/class-use/RoleAssertion.html trunk/doc/org/dllearner/core/dl/class-use/RoleHierarchy.html trunk/doc/org/dllearner/core/dl/class-use/SubRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/SubsumptionHierarchy.html trunk/doc/org/dllearner/core/dl/class-use/SymmetricRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/TerminologicalAxiom.html trunk/doc/org/dllearner/core/dl/class-use/Top.html trunk/doc/org/dllearner/core/dl/class-use/TransitiveRoleAxiom.html trunk/doc/org/dllearner/core/dl/package-frame.html trunk/doc/org/dllearner/core/dl/package-summary.html trunk/doc/org/dllearner/core/dl/package-tree.html trunk/doc/org/dllearner/core/dl/package-use.html trunk/doc/org/dllearner/core/package-frame.html trunk/doc/org/dllearner/core/package-summary.html trunk/doc/org/dllearner/core/package-tree.html trunk/doc/org/dllearner/core/package-use.html trunk/doc/org/dllearner/examples/Card.html trunk/doc/org/dllearner/examples/Hand.html trunk/doc/org/dllearner/examples/PokerTransformer.html trunk/doc/org/dllearner/examples/class-use/Card.html trunk/doc/org/dllearner/examples/class-use/Hand.html trunk/doc/org/dllearner/examples/class-use/PokerTransformer.html trunk/doc/org/dllearner/examples/package-frame.html trunk/doc/org/dllearner/examples/package-summary.html trunk/doc/org/dllearner/examples/package-tree.html trunk/doc/org/dllearner/examples/package-use.html trunk/doc/org/dllearner/gui/AbstractWidgetPanel.html trunk/doc/org/dllearner/gui/Config.html trunk/doc/org/dllearner/gui/KnowledgeSourcePanel.html trunk/doc/org/dllearner/gui/LearningAlgorithmPanel.html trunk/doc/org/dllearner/gui/LearningProblemPanel.html trunk/doc/org/dllearner/gui/MiniGUI.html trunk/doc/org/dllearner/gui/OptionPanel.html trunk/doc/org/dllearner/gui/ReasonerPanel.html trunk/doc/org/dllearner/gui/RunPanel.html trunk/doc/org/dllearner/gui/StartGUI.html trunk/doc/org/dllearner/gui/WidgetPanelBoolean.html trunk/doc/org/dllearner/gui/WidgetPanelDefault.html trunk/doc/org/dllearner/gui/WidgetPanelDouble.html trunk/doc/org/dllearner/gui/WidgetPanelInteger.html trunk/doc/org/dllearner/gui/WidgetPanelString.html trunk/doc/org/dllearner/gui/class-use/AbstractWidgetPanel.html trunk/doc/org/dllearner/gui/class-use/Config.html trunk/doc/org/dllearner/gui/class-use/KnowledgeSourcePanel.html trunk/doc/org/dllearner/gui/class-use/LearningAlgorithmPanel.html trunk/doc/org/dllearner/gui/class-use/LearningProblemPanel.html trunk/doc/org/dllearner/gui/class-use/MiniGUI.html trunk/doc/org/dllearner/gui/class-use/OptionPanel.html trunk/doc/org/dllearner/gui/class-use/ReasonerPanel.html trunk/doc/org/dllearner/gui/class-use/RunPanel.html trunk/doc/org/dllearner/gui/class-use/StartGUI.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelBoolean.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelDefault.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelDouble.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelInteger.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelString.html trunk/doc/org/dllearner/gui/package-frame.html trunk/doc/org/dllearner/gui/package-summary.html trunk/doc/org/dllearner/gui/package-tree.html trunk/doc/org/dllearner/gui/package-use.html trunk/doc/org/dllearner/kb/KBFile.html trunk/doc/org/dllearner/kb/OWLFile.html trunk/doc/org/dllearner/kb/class-use/KBFile.html trunk/doc/org/dllearner/kb/class-use/OWLFile.html trunk/doc/org/dllearner/kb/package-frame.html trunk/doc/org/dllearner/kb/package-summary.html trunk/doc/org/dllearner/kb/package-tree.html trunk/doc/org/dllearner/kb/package-use.html trunk/doc/org/dllearner/kb/sparql/ExtractionAlgorithm.html trunk/doc/org/dllearner/kb/sparql/Manager.html trunk/doc/org/dllearner/kb/sparql/Manipulator.html trunk/doc/org/dllearner/kb/sparql/SparqlKnowledgeSource.html trunk/doc/org/dllearner/kb/sparql/SparqlQueryMaker.html trunk/doc/org/dllearner/kb/sparql/TypedSparqlQuery.html trunk/doc/org/dllearner/kb/sparql/TypedSparqlQueryClasses.html trunk/doc/org/dllearner/kb/sparql/TypedSparqlQueryInterface.html trunk/doc/org/dllearner/kb/sparql/class-use/ExtractionAlgorithm.html trunk/doc/org/dllearner/kb/sparql/class-use/Manager.html trunk/doc/org/dllearner/kb/sparql/class-use/Manipulator.html trunk/doc/org/dllearner/kb/sparql/class-use/SparqlKnowledgeSource.html trunk/doc/org/dllearner/kb/sparql/class-use/SparqlQueryMaker.html trunk/doc/org/dllearner/kb/sparql/class-use/TypedSparqlQuery.html trunk/doc/org/dllearner/kb/sparql/class-use/TypedSparqlQueryClasses.html trunk/doc/org/dllearner/kb/sparql/class-use/TypedSparqlQueryInterface.html trunk/doc/org/dllearner/kb/sparql/configuration/Configuration.html trunk/doc/org/dllearner/kb/sparql/configuration/SparqlEndpoint.html trunk/doc/org/dllearner/kb/sparql/configuration/SparqlQueryType.html trunk/doc/org/dllearner/kb/sparql/configuration/class-use/Configuration.html trunk/doc/org/dllearner/kb/sparql/configuration/class-use/SparqlEndpoint.html trunk/doc/org/dllearner/kb/sparql/configuration/class-use/SparqlQueryType.html trunk/doc/org/dllearner/kb/sparql/configuration/package-frame.html trunk/doc/org/dllearner/kb/sparql/configuration/package-summary.html trunk/doc/org/dllearner/kb/sparql/configuration/package-tree.html trunk/doc/org/dllearner/kb/sparql/configuration/package-use.html trunk/doc/org/dllearner/kb/sparql/datastructure/ClassNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/InstanceNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/Node.html trunk/doc/org/dllearner/kb/sparql/datastructure/PropertyNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/ClassNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/InstanceNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/Node.html trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/PropertyNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/package-frame.html trunk/doc/org/dllearner/kb/sparql/datastructure/package-summary.html trunk/doc/org/dllearner/kb/sparql/datastructure/package-tree.html trunk/doc/org/dllearner/kb/sparql/datastructure/package-use.html trunk/doc/org/dllearner/kb/sparql/package-frame.html trunk/doc/org/dllearner/kb/sparql/package-summary.html trunk/doc/org/dllearner/kb/sparql/package-tree.html trunk/doc/org/dllearner/kb/sparql/package-use.html trunk/doc/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.html trunk/doc/org/dllearner/kb/sparql/test/JenaTestScript.html trunk/doc/org/dllearner/kb/sparql/test/TestExtraction.html trunk/doc/org/dllearner/kb/sparql/test/TestResultSet.html trunk/doc/org/dllearner/kb/sparql/test/class-use/JenaQueryToResultSpeedTest.html trunk/doc/org/dllearner/kb/sparql/test/class-use/JenaTestScript.html trunk/doc/org/dllearner/kb/sparql/test/class-use/TestExtraction.html trunk/doc/org/dllearner/kb/sparql/test/class-use/TestResultSet.html trunk/doc/org/dllearner/kb/sparql/test/package-frame.html trunk/doc/org/dllearner/kb/sparql/test/package-summary.html trunk/doc/org/dllearner/kb/sparql/test/package-tree.html trunk/doc/org/dllearner/kb/sparql/test/package-use.html trunk/doc/org/dllearner/learningproblems/DefinitionLP.html trunk/doc/org/dllearner/learningproblems/EvaluationCache.html trunk/doc/org/dllearner/learningproblems/InclusionLP.html trunk/doc/org/dllearner/learningproblems/PosNegDefinitionLP.html trunk/doc/org/dllearner/learningproblems/PosNegDefinitionLPStrict.html trunk/doc/org/dllearner/learningproblems/PosNegInclusionLP.html trunk/doc/org/dllearner/learningproblems/PosNegLP.UseMultiInstanceChecks.html trunk/doc/org/dllearner/learningproblems/PosNegLP.html trunk/doc/org/dllearner/learningproblems/PosOnlyDefinitionLP.html trunk/doc/org/dllearner/learningproblems/PosOnlyInclusionLP.html trunk/doc/org/dllearner/learningproblems/PosOnlyLP.html trunk/doc/org/dllearner/learningproblems/RoleLearning.html trunk/doc/org/dllearner/learningproblems/ScoreThreeValued.ScoreMethod.html trunk/doc/org/dllearner/learningproblems/ScoreThreeValued.html trunk/doc/org/dllearner/learningproblems/ScoreTwoValued.html trunk/doc/org/dllearner/learningproblems/class-use/DefinitionLP.html trunk/doc/org/dllearner/learningproblems/class-use/EvaluationCache.html trunk/doc/org/dllearner/learningproblems/class-use/InclusionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegDefinitionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegDefinitionLPStrict.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegInclusionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegLP.UseMultiInstanceChecks.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosOnlyDefinitionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosOnlyInclusionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosOnlyLP.html trunk/doc/org/dllearner/learningproblems/class-use/RoleLearning.html trunk/doc/org/dllearner/learningproblems/class-use/ScoreThreeValued.ScoreMethod.html trunk/doc/org/dllearner/learningproblems/class-use/ScoreThreeValued.html trunk/doc/org/dllearner/learningproblems/class-use/ScoreTwoValued.html trunk/doc/org/dllearner/learningproblems/package-frame.html trunk/doc/org/dllearner/learningproblems/package-summary.html trunk/doc/org/dllearner/learningproblems/package-tree.html trunk/doc/org/dllearner/learningproblems/package-use.html trunk/doc/org/dllearner/package-frame.html trunk/doc/org/dllearner/package-summary.html trunk/doc/org/dllearner/package-tree.html trunk/doc/org/dllearner/package-use.html trunk/doc/org/dllearner/parser/ConfParser.html trunk/doc/org/dllearner/parser/ConfParserConstants.html trunk/doc/org/dllearner/parser/ConfParserTokenManager.html trunk/doc/org/dllearner/parser/KBParser.html trunk/doc/org/dllearner/parser/KBParserConstants.html trunk/doc/org/dllearner/parser/KBParserTokenManager.html trunk/doc/org/dllearner/parser/ParseException.html trunk/doc/org/dllearner/parser/SimpleCharStream.html trunk/doc/org/dllearner/parser/Token.html trunk/doc/org/dllearner/parser/TokenMgrError.html trunk/doc/org/dllearner/parser/class-use/ConfParser.html trunk/doc/org/dllearner/parser/class-use/ConfParserConstants.html trunk/doc/org/dllearner/parser/class-use/ConfParserTokenManager.html trunk/doc/org/dllearner/parser/class-use/KBParser.html trunk/doc/org/dllearner/parser/class-use/KBParserConstants.html trunk/doc/org/dllearner/parser/class-use/KBParserTokenManager.html trunk/doc/org/dllearner/parser/class-use/ParseException.html trunk/doc/org/dllearner/parser/class-use/SimpleCharStream.html trunk/doc/org/dllearner/parser/class-use/Token.html trunk/doc/org/dllearner/parser/class-use/TokenMgrError.html trunk/doc/org/dllearner/parser/package-frame.html trunk/doc/org/dllearner/parser/package-summary.html trunk/doc/org/dllearner/parser/package-tree.html trunk/doc/org/dllearner/parser/package-use.html trunk/doc/org/dllearner/reasoning/DIGConverter.html trunk/doc/org/dllearner/reasoning/DIGHTTPConnector.html trunk/doc/org/dllearner/reasoning/DIGReasoner.html trunk/doc/org/dllearner/reasoning/FaCTBugDemo.html trunk/doc/org/dllearner/reasoning/FastRetrieval.html trunk/doc/org/dllearner/reasoning/FastRetrievalReasoner.html trunk/doc/org/dllearner/reasoning/JenaOWLDIGConverter.html trunk/doc/org/dllearner/reasoning/KAON2Reasoner.html trunk/doc/org/dllearner/reasoning/OWLAPIDIGConverter.html trunk/doc/org/dllearner/reasoning/OWLAPIReasoner.html trunk/doc/org/dllearner/reasoning/ReasonerType.html trunk/doc/org/dllearner/reasoning/class-use/DIGConverter.html trunk/doc/org/dllearner/reasoning/class-use/DIGHTTPConnector.html trunk/doc/org/dllearner/reasoning/class-use/DIGReasoner.html trunk/doc/org/dllearner/reasoning/class-use/FaCTBugDemo.html trunk/doc/org/dllearner/reasoning/class-use/FastRetrieval.html trunk/doc/org/dllearner/reasoning/class-use/FastRetrievalReasoner.html trunk/doc/org/dllearner/reasoning/class-use/JenaOWLDIGConverter.html trunk/doc/org/dllearner/reasoning/class-use/KAON2Reasoner.html trunk/doc/org/dllearner/reasoning/class-use/OWLAPIDIGConverter.html trunk/doc/org/dllearner/reasoning/class-use/OWLAPIReasoner.html trunk/doc/org/dllearner/reasoning/class-use/ReasonerType.html trunk/doc/org/dllearner/reasoning/package-frame.html trunk/doc/org/dllearner/reasoning/package-summary.html trunk/doc/org/dllearner/reasoning/package-tree.html trunk/doc/org/dllearner/reasoning/package-use.html trunk/doc/org/dllearner/server/ClientNotKnownException.html trunk/doc/org/dllearner/server/ClientState.html trunk/doc/org/dllearner/server/ConfigOptionTypeException.html trunk/doc/org/dllearner/server/DLLearnerWS.html trunk/doc/org/dllearner/server/DLLearnerWSStart.html trunk/doc/org/dllearner/server/UnknownComponentException.html trunk/doc/org/dllearner/server/class-use/ClientNotKnownException.html trunk/doc/org/dllearner/server/class-use/ClientState.html trunk/doc/org/dllearner/server/class-use/ConfigOptionTypeException.html trunk/doc/org/dllearner/server/class-use/DLLearnerWS.html trunk/doc/org/dllearner/server/class-use/DLLearnerWSStart.html trunk/doc/org/dllearner/server/class-use/UnknownComponentException.html trunk/doc/org/dllearner/server/jaxws/ClientNotKnownExceptionBean.html trunk/doc/org/dllearner/server/jaxws/ConfigOptionTypeExceptionBean.html trunk/doc/org/dllearner/server/jaxws/UnknownComponentExceptionBean.html trunk/doc/org/dllearner/server/jaxws/class-use/ClientNotKnownExceptionBean.html trunk/doc/org/dllearner/server/jaxws/class-use/ConfigOptionTypeExceptionBean.html trunk/doc/org/dllearner/server/jaxws/class-use/UnknownComponentExceptionBean.html trunk/doc/org/dllearner/server/jaxws/package-frame.html trunk/doc/org/dllearner/server/jaxws/package-summary.html trunk/doc/org/dllearner/server/jaxws/package-tree.html trunk/doc/org/dllearner/server/jaxws/package-use.html trunk/doc/org/dllearner/server/package-frame.html trunk/doc/org/dllearner/server/package-summary.html trunk/doc/org/dllearner/server/package-tree.html trunk/doc/org/dllearner/server/package-use.html trunk/doc/org/dllearner/test/AllTestsRunner.html trunk/doc/org/dllearner/test/ComponentTests.html trunk/doc/org/dllearner/test/class-use/AllTestsRunner.html trunk/doc/org/dllearner/test/class-use/ComponentTests.html trunk/doc/org/dllearner/test/package-frame.html trunk/doc/org/dllearner/test/package-summary.html trunk/doc/org/dllearner/test/package-tree.html trunk/doc/org/dllearner/test/package-use.html trunk/doc/org/dllearner/utilities/ConceptComparator.html trunk/doc/org/dllearner/utilities/ConceptTransformation.html trunk/doc/org/dllearner/utilities/Datastructures.html trunk/doc/org/dllearner/utilities/Files.html trunk/doc/org/dllearner/utilities/Helper.html trunk/doc/org/dllearner/utilities/OntologyClassRewriter.html trunk/doc/org/dllearner/utilities/PaperStatistics.html trunk/doc/org/dllearner/utilities/RoleComparator.html trunk/doc/org/dllearner/utilities/SortedSetTuple.html trunk/doc/org/dllearner/utilities/Stat.html trunk/doc/org/dllearner/utilities/StringTuple.html trunk/doc/org/dllearner/utilities/ToDoTaglet.html trunk/doc/org/dllearner/utilities/class-use/ConceptComparator.html trunk/doc/org/dllearner/utilities/class-use/ConceptTransformation.html trunk/doc/org/dllearner/utilities/class-use/Datastructures.html trunk/doc/org/dllearner/utilities/class-use/Files.html trunk/doc/org/dllearner/utilities/class-use/Helper.html trunk/doc/org/dllearner/utilities/class-use/OntologyClassRewriter.html trunk/doc/org/dllearner/utilities/class-use/PaperStatistics.html trunk/doc/org/dllearner/utilities/class-use/RoleComparator.html trunk/doc/org/dllearner/utilities/class-use/SortedSetTuple.html trunk/doc/org/dllearner/utilities/class-use/Stat.html trunk/doc/org/dllearner/utilities/class-use/StringTuple.html trunk/doc/org/dllearner/utilities/class-use/ToDoTaglet.html trunk/doc/org/dllearner/utilities/package-frame.html trunk/doc/org/dllearner/utilities/package-summary.html trunk/doc/org/dllearner/utilities/package-tree.html trunk/doc/org/dllearner/utilities/package-use.html trunk/doc/overview-frame.html trunk/doc/overview-summary.html trunk/doc/overview-tree.html trunk/doc/package-list trunk/doc/serialized-form.html Modified: trunk/doc/allclasses-frame.html =================================================================== --- trunk/doc/allclasses-frame.html 2008-01-30 06:24:01 UTC (rev 461) +++ trunk/doc/allclasses-frame.html 2008-01-30 07:20:32 UTC (rev 462) @@ -2,7 +2,7 @@ <!--NewPage--> <HTML> <HEAD> -<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 07:15:43 CET 2008 --> +<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 08:11:00 CET 2008 --> <TITLE> All Classes </TITLE> @@ -21,8 +21,406 @@ <TABLE BORDER="0" WIDTH="100%" SUMMARY=""> <TR> -<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/dllearner/gui/WidgetPanelBoolean.html" title="class in org.dllearner.gui" target="classFrame">WidgetPanelBoolean</A> +<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/dllearner/gui/AbstractWidgetPanel.html" title="class in org.dllearner.gui" target="classFrame">AbstractWidgetPanel</A> <BR> +<A HREF="org/dllearner/algorithms/gp/ADC.html" title="class in org.dllearner.algorithms.gp" target="classFrame">ADC</A> +<BR> +<A HREF="org/dllearner/core/dl/All.html" title="class in org.dllearner.core.dl" target="classFrame">All</A> +<BR> +<A HREF="org/dllearner/test/AllTestsRunner.html" title="class in org.dllearner.test" target="classFrame">AllTestsRunner</A> +<BR> +<A HREF="org/dllearner/core/dl/AssertionalAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">AssertionalAxiom</A> +<BR> +<A HREF="org/dllearner/core/dl/AtomicConcept.html" title="class in org.dllearner.core.dl" target="classFrame">AtomicConcept</A> +<BR> +<A HREF="org/dllearner/core/dl/AtomicRole.html" title="class in org.dllearner.core.dl" target="classFrame">AtomicRole</A> +<BR> +<A HREF="org/dllearner/core/dl/Axiom.html" title="class in org.dllearner.core.dl" target="classFrame">Axiom</A> +<BR> +<A HREF="org/dllearner/core/config/BooleanConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">BooleanConfigOption</A> +<BR> +<A HREF="org/dllearner/core/dl/Bottom.html" title="class in org.dllearner.core.dl" target="classFrame">Bottom</A> +<BR> +<A HREF="org/dllearner/algorithms/BruteForceLearner.html" title="class in org.dllearner.algorithms" target="classFrame">BruteForceLearner</A> +<BR> +<A HREF="org/dllearner/kb/sparql/Cache.html" title="class in org.dllearner.kb.sparql" target="classFrame">Cache</A> +<BR> +<A HREF="org/dllearner/examples/Card.html" title="class in org.dllearner.examples" target="classFrame">Card</A> +<BR> +<A HREF="org/dllearner/kb/sparql/datastructure/ClassNode.html" title="class in org.dllearner.kb.sparql.datastructure" target="classFrame">ClassNode</A> +<BR> +<A HREF="org/dllearner/server/ClientNotKnownException.html" title="class in org.dllearner.server" target="classFrame">ClientNotKnownException</A> +<BR> +<A HREF="org/dllearner/server/jaxws/ClientNotKnownExceptionBean.html" title="class in org.dllearner.server.jaxws" target="classFrame">ClientNotKnownExceptionBean</A> +<BR> +<A HREF="org/dllearner/server/ClientState.html" title="class in org.dllearner.server" target="classFrame">ClientState</A> +<BR> +<A HREF="org/dllearner/core/config/CommonConfigMappings.html" title="class in org.dllearner.core.config" target="classFrame">CommonConfigMappings</A> +<BR> +<A HREF="org/dllearner/core/config/CommonConfigOptions.html" title="class in org.dllearner.core.config" target="classFrame">CommonConfigOptions</A> +<BR> +<A HREF="org/dllearner/core/Component.html" title="class in org.dllearner.core" target="classFrame">Component</A> +<BR> +<A HREF="org/dllearner/core/ComponentManager.html" title="class in org.dllearner.core" target="classFrame">ComponentManager</A> +<BR> +<A HREF="org/dllearner/core/ComponentPool.html" title="class in org.dllearner.core" target="classFrame">ComponentPool</A> +<BR> +<A HREF="org/dllearner/core/ComponentTest.html" title="class in org.dllearner.core" target="classFrame">ComponentTest</A> +<BR> +<A HREF="org/dllearner/test/ComponentTests.html" title="class in org.dllearner.test" target="classFrame">ComponentTests</A> +<BR> +<A HREF="org/dllearner/core/dl/Concept.html" title="class in org.dllearner.core.dl" target="classFrame">Concept</A> +<BR> +<A HREF="org/dllearner/core/dl/ConceptAssertion.html" title="class in org.dllearner.core.dl" target="classFrame">ConceptAssertion</A> +<BR> +<A HREF="org/dllearner/utilities/ConceptComparator.html" title="class in org.dllearner.utilities" target="classFrame">ConceptComparator</A> +<BR> +<A HREF="org/dllearner/utilities/ConceptTransformation.html" title="class in org.dllearner.utilities" target="classFrame">ConceptTransformation</A> +<BR> +<A HREF="org/dllearner/cli/ConfFileOption.html" title="class in org.dllearner.cli" target="classFrame">ConfFileOption</A> +<BR> +<A HREF="org/dllearner/gui/Config.html" title="class in org.dllearner.gui" target="classFrame">Config</A> +<BR> +<A HREF="org/dllearner/core/config/ConfigDocumentationGenerator.html" title="class in org.dllearner.core.config" target="classFrame">ConfigDocumentationGenerator</A> +<BR> +<A HREF="org/dllearner/core/config/ConfigEntry.html" title="class in org.dllearner.core.config" target="classFrame">ConfigEntry</A> +<BR> +<A HREF="org/dllearner/core/config/ConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">ConfigOption</A> +<BR> +<A HREF="org/dllearner/server/ConfigOptionTypeException.html" title="class in org.dllearner.server" target="classFrame">ConfigOptionTypeException</A> +<BR> +<A HREF="org/dllearner/server/jaxws/ConfigOptionTypeExceptionBean.html" title="class in org.dllearner.server.jaxws" target="classFrame">ConfigOptionTypeExceptionBean</A> +<BR> +<A HREF="org/dllearner/kb/sparql/configuration/Configuration.html" title="class in org.dllearner.kb.sparql.configuration" target="classFrame">Configuration</A> +<BR> +<A HREF="org/dllearner/parser/ConfParser.html" title="class in org.dllearner.parser" target="classFrame">ConfParser</A> +<BR> +<A HREF="org/dllearner/parser/ConfParserConstants.html" title="interface in org.dllearner.parser" target="classFrame"><I>ConfParserConstants</I></A> +<BR> +<A HREF="org/dllearner/parser/ConfParserTokenManager.html" title="class in org.dllearner.parser" target="classFrame">ConfParserTokenManager</A> +<BR> +<A HREF="org/dllearner/core/dl/Conjunction.html" title="class in org.dllearner.core.dl" target="classFrame">Conjunction</A> +<BR> +<A HREF="org/dllearner/utilities/Datastructures.html" title="class in org.dllearner.utilities" target="classFrame">Datastructures</A> +<BR> +<A HREF="org/dllearner/learningproblems/DefinitionLP.html" title="interface in org.dllearner.learningproblems" target="classFrame"><I>DefinitionLP</I></A> +<BR> +<A HREF="org/dllearner/reasoning/DIGConverter.html" title="class in org.dllearner.reasoning" target="classFrame">DIGConverter</A> +<BR> +<A HREF="org/dllearner/reasoning/DIGHTTPConnector.html" title="class in org.dllearner.reasoning" target="classFrame">DIGHTTPConnector</A> +<BR> +<A HREF="org/dllearner/reasoning/DIGReasoner.html" title="class in org.dllearner.reasoning" target="classFrame">DIGReasoner</A> +<BR> +<A HREF="org/dllearner/core/dl/Disjunction.html" title="class in org.dllearner.core.dl" target="classFrame">Disjunction</A> +<BR> +<A HREF="org/dllearner/server/DLLearnerWS.html" title="class in org.dllearner.server" target="classFrame">DLLearnerWS</A> +<BR> +<A HREF="org/dllearner/server/DLLearnerWSStart.html" title="class in org.dllearner.server" target="classFrame">DLLearnerWSStart</A> +<BR> +<A HREF="org/dllearner/core/config/DoubleConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">DoubleConfigOption</A> +<BR> +<A HREF="org/dllearner/core/dl/Equality.html" title="class in org.dllearner.core.dl" target="classFrame">Equality</A> +<BR> +<A HREF="org/dllearner/learningproblems/EvaluationCache.html" title="class in org.dllearner.learningproblems" target="classFrame">EvaluationCache</A> +<BR> +<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedHeuristic.html" title="interface in org.dllearner.algorithms.refexamples" target="classFrame"><I>ExampleBasedHeuristic</I></A> +<BR> +<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedNode.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">ExampleBasedNode</A> +<BR> +<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedNode.QualityEvaluationMethod.html" title="enum in org.dllearner.algorithms.refexamples" target="classFrame">ExampleBasedNode.QualityEvaluationMethod</A> +<BR> +<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedROLComponent.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">ExampleBasedROLComponent</A> +<BR> +<A HREF="org/dllearner/algorithms/refexamples/ExampleBasedROLearner.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">ExampleBasedROLearner</A> +<BR> +<A HREF="org/dllearner/core/dl/Exists.html" title="class in org.dllearner.core.dl" target="classFrame">Exists</A> +<BR> +<A HREF="org/dllearner/kb/sparql/ExtractionAlgorithm.html" title="class in org.dllearner.kb.sparql" target="classFrame">ExtractionAlgorithm</A> +<BR> +<A HREF="org/dllearner/reasoning/FaCTBugDemo.html" title="class in org.dllearner.reasoning" target="classFrame">FaCTBugDemo</A> +<BR> +<A HREF="org/dllearner/reasoning/FastRetrieval.html" title="class in org.dllearner.reasoning" target="classFrame">FastRetrieval</A> +<BR> +<A HREF="org/dllearner/reasoning/FastRetrievalReasoner.html" title="class in org.dllearner.reasoning" target="classFrame">FastRetrievalReasoner</A> +<BR> +<A HREF="org/dllearner/utilities/Files.html" title="class in org.dllearner.utilities" target="classFrame">Files</A> +<BR> +<A HREF="org/dllearner/core/dl/FlatABox.html" title="class in org.dllearner.core.dl" target="classFrame">FlatABox</A> +<BR> +<A HREF="org/dllearner/algorithms/refexamples/FlexibleHeuristic.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">FlexibleHeuristic</A> +<BR> +<A HREF="org/dllearner/core/dl/FunctionalRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">FunctionalRoleAxiom</A> +<BR> +<A HREF="org/dllearner/algorithms/hybridgp/GeneticRefinementOperator.html" title="interface in org.dllearner.algorithms.hybridgp" target="classFrame"><I>GeneticRefinementOperator</I></A> +<BR> +<A HREF="org/dllearner/algorithms/gp/GP.html" title="class in org.dllearner.algorithms.gp" target="classFrame">GP</A> +<BR> +<A HREF="org/dllearner/algorithms/gp/GP.AlgorithmType.html" title="enum in org.dllearner.algorithms.gp" target="classFrame">GP.AlgorithmType</A> +<BR> +<A HREF="org/dllearner/algorithms/gp/GP.SelectionType.html" title="enum in org.dllearner.algorithms.gp" target="classFrame">GP.SelectionType</A> +<BR> +<A HREF="org/dllearner/algorithms/gp/GPUtilities.html" title="class in org.dllearner.algorithms.gp" target="classFrame">GPUtilities</A> +<BR> +<A HREF="org/dllearner/core/dl/GreaterEqual.html" title="class in org.dllearner.core.dl" target="classFrame">GreaterEqual</A> +<BR> +<A HREF="org/dllearner/examples/Hand.html" title="class in org.dllearner.examples" target="classFrame">Hand</A> +<BR> +<A HREF="org/dllearner/utilities/Helper.html" title="class in org.dllearner.utilities" target="classFrame">Helper</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/Heuristic.html" title="interface in org.dllearner.algorithms.refinement" target="classFrame"><I>Heuristic</I></A> +<BR> +<A HREF="org/dllearner/core/dl/Inclusion.html" title="class in org.dllearner.core.dl" target="classFrame">Inclusion</A> +<BR> +<A HREF="org/dllearner/learningproblems/InclusionLP.html" title="interface in org.dllearner.learningproblems" target="classFrame"><I>InclusionLP</I></A> +<BR> +<A HREF="org/dllearner/core/dl/Individual.html" title="class in org.dllearner.core.dl" target="classFrame">Individual</A> +<BR> +<A HREF="org/dllearner/Info.html" title="class in org.dllearner" target="classFrame">Info</A> +<BR> +<A HREF="org/dllearner/kb/sparql/datastructure/InstanceNode.html" title="class in org.dllearner.kb.sparql.datastructure" target="classFrame">InstanceNode</A> +<BR> +<A HREF="org/dllearner/core/config/IntegerConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">IntegerConfigOption</A> +<BR> +<A HREF="org/dllearner/core/config/InvalidConfigOptionValueException.html" title="class in org.dllearner.core.config" target="classFrame">InvalidConfigOptionValueException</A> +<BR> +<A HREF="org/dllearner/core/dl/InverseRole.html" title="class in org.dllearner.core.dl" target="classFrame">InverseRole</A> +<BR> +<A HREF="org/dllearner/core/dl/InverseRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">InverseRoleAxiom</A> +<BR> +<A HREF="org/dllearner/reasoning/JenaOWLDIGConverter.html" title="class in org.dllearner.reasoning" target="classFrame">JenaOWLDIGConverter</A> +<BR> +<A HREF="org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">JenaQueryToResultSpeedTest</A> +<BR> +<A HREF="org/dllearner/kb/sparql/test/JenaTestScript.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">JenaTestScript</A> +<BR> +<A HREF="org/dllearner/reasoning/KAON2Reasoner.html" title="class in org.dllearner.reasoning" target="classFrame">KAON2Reasoner</A> +<BR> +<A HREF="org/dllearner/core/dl/KB.html" title="class in org.dllearner.core.dl" target="classFrame">KB</A> +<BR> +<A HREF="org/dllearner/core/dl/KBElement.html" title="interface in org.dllearner.core.dl" target="classFrame"><I>KBElement</I></A> +<BR> +<A HREF="org/dllearner/kb/KBFile.html" title="class in org.dllearner.kb" target="classFrame">KBFile</A> +<BR> +<A HREF="org/dllearner/parser/KBParser.html" title="class in org.dllearner.parser" target="classFrame">KBParser</A> +<BR> +<A HREF="org/dllearner/parser/KBParserConstants.html" title="interface in org.dllearner.parser" target="classFrame"><I>KBParserConstants</I></A> +<BR> +<A HREF="org/dllearner/parser/KBParserTokenManager.html" title="class in org.dllearner.parser" target="classFrame">KBParserTokenManager</A> +<BR> +<A HREF="org/dllearner/core/KnowledgeSource.html" title="class in org.dllearner.core" target="classFrame">KnowledgeSource</A> +<BR> +<A HREF="org/dllearner/gui/KnowledgeSourcePanel.html" title="class in org.dllearner.gui" target="classFrame">KnowledgeSourcePanel</A> +<BR> +<A HREF="org/dllearner/core/LearningAlgorithm.html" title="class in org.dllearner.core" target="classFrame">LearningAlgorithm</A> +<BR> +<A HREF="org/dllearner/gui/LearningAlgorithmPanel.html" title="class in org.dllearner.gui" target="classFrame">LearningAlgorithmPanel</A> +<BR> +<A HREF="org/dllearner/core/LearningProblem.html" title="class in org.dllearner.core" target="classFrame">LearningProblem</A> +<BR> +<A HREF="org/dllearner/gui/LearningProblemPanel.html" title="class in org.dllearner.gui" target="classFrame">LearningProblemPanel</A> +<BR> +<A HREF="org/dllearner/core/dl/LessEqual.html" title="class in org.dllearner.core.dl" target="classFrame">LessEqual</A> +<BR> +<A HREF="org/dllearner/algorithms/refexamples/LexicographicHeuristic.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">LexicographicHeuristic</A> +<BR> +<A HREF="org/dllearner/kb/sparql/Manager.html" title="class in org.dllearner.kb.sparql" target="classFrame">Manager</A> +<BR> +<A HREF="org/dllearner/kb/sparql/Manipulator.html" title="class in org.dllearner.kb.sparql" target="classFrame">Manipulator</A> +<BR> +<A HREF="org/dllearner/gui/MiniGUI.html" title="class in org.dllearner.gui" target="classFrame">MiniGUI</A> +<BR> +<A HREF="org/dllearner/core/dl/MultiConjunction.html" title="class in org.dllearner.core.dl" target="classFrame">MultiConjunction</A> +<BR> +<A HREF="org/dllearner/core/dl/MultiDisjunction.html" title="class in org.dllearner.core.dl" target="classFrame">MultiDisjunction</A> +<BR> +<A HREF="org/dllearner/core/dl/Negation.html" title="class in org.dllearner.core.dl" target="classFrame">Negation</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/Node.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">Node</A> +<BR> +<A HREF="org/dllearner/kb/sparql/datastructure/Node.html" title="class in org.dllearner.kb.sparql.datastructure" target="classFrame">Node</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/Node.QualityEvaluationMethod.html" title="enum in org.dllearner.algorithms.refinement" target="classFrame">Node.QualityEvaluationMethod</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/NodeComparator.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">NodeComparator</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/NodeComparator2.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">NodeComparator2</A> +<BR> +<A HREF="org/dllearner/algorithms/refexamples/NodeComparatorStable.html" title="class in org.dllearner.algorithms.refexamples" target="classFrame">NodeComparatorStable</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/NodeComparatorStable.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">NodeComparatorStable</A> +<BR> +<A HREF="org/dllearner/core/dl/NumberRestriction.html" title="class in org.dllearner.core.dl" target="classFrame">NumberRestriction</A> +<BR> +<A HREF="org/dllearner/utilities/OntologyClassRewriter.html" title="class in org.dllearner.utilities" target="classFrame">OntologyClassRewriter</A> +<BR> +<A HREF="org/dllearner/core/OntologyFormat.html" title="enum in org.dllearner.core" target="classFrame">OntologyFormat</A> +<BR> +<A HREF="org/dllearner/core/OntologyFormatUnsupportedException.html" title="class in org.dllearner.core" target="classFrame">OntologyFormatUnsupportedException</A> +<BR> +<A HREF="org/dllearner/gui/OptionPanel.html" title="class in org.dllearner.gui" target="classFrame">OptionPanel</A> +<BR> +<A HREF="org/dllearner/reasoning/OWLAPIDIGConverter.html" title="class in org.dllearner.reasoning" target="classFrame">OWLAPIDIGConverter</A> +<BR> +<A HREF="org/dllearner/reasoning/OWLAPIReasoner.html" title="class in org.dllearner.reasoning" target="classFrame">OWLAPIReasoner</A> +<BR> +<A HREF="org/dllearner/kb/OWLFile.html" title="class in org.dllearner.kb" target="classFrame">OWLFile</A> +<BR> +<A HREF="org/dllearner/utilities/PaperStatistics.html" title="class in org.dllearner.utilities" target="classFrame">PaperStatistics</A> +<BR> +<A HREF="org/dllearner/parser/ParseException.html" title="class in org.dllearner.parser" target="classFrame">ParseException</A> +<BR> +<A HREF="org/dllearner/examples/PokerTransformer.html" title="class in org.dllearner.examples" target="classFrame">PokerTransformer</A> +<BR> +<A HREF="org/dllearner/learningproblems/PosNegDefinitionLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosNegDefinitionLP</A> +<BR> +<A HREF="org/dllearner/learningproblems/PosNegDefinitionLPStrict.html" title="class in org.dllearner.learningproblems" target="classFrame">PosNegDefinitionLPStrict</A> +<BR> +<A HREF="org/dllearner/learningproblems/PosNegInclusionLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosNegInclusionLP</A> +<BR> +<A HREF="org/dllearner/learningproblems/PosNegLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosNegLP</A> +<BR> +<A HREF="org/dllearner/learningproblems/PosNegLP.UseMultiInstanceChecks.html" title="enum in org.dllearner.learningproblems" target="classFrame">PosNegLP.UseMultiInstanceChecks</A> +<BR> +<A HREF="org/dllearner/learningproblems/PosOnlyDefinitionLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosOnlyDefinitionLP</A> +<BR> +<A HREF="org/dllearner/learningproblems/PosOnlyInclusionLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosOnlyInclusionLP</A> +<BR> +<A HREF="org/dllearner/learningproblems/PosOnlyLP.html" title="class in org.dllearner.learningproblems" target="classFrame">PosOnlyLP</A> +<BR> +<A HREF="org/dllearner/algorithms/gp/Program.html" title="class in org.dllearner.algorithms.gp" target="classFrame">Program</A> +<BR> +<A HREF="org/dllearner/kb/sparql/datastructure/PropertyNode.html" title="class in org.dllearner.kb.sparql.datastructure" target="classFrame">PropertyNode</A> +<BR> +<A HREF="org/dllearner/algorithms/hybridgp/Psi.html" title="class in org.dllearner.algorithms.hybridgp" target="classFrame">Psi</A> +<BR> +<A HREF="org/dllearner/algorithms/hybridgp/PsiDown.html" title="class in org.dllearner.algorithms.hybridgp" target="classFrame">PsiDown</A> +<BR> +<A HREF="org/dllearner/algorithms/hybridgp/PsiUp.html" title="class in org.dllearner.algorithms.hybridgp" target="classFrame">PsiUp</A> +<BR> +<A HREF="org/dllearner/core/dl/Quantification.html" title="class in org.dllearner.core.dl" target="classFrame">Quantification</A> +<BR> +<A HREF="org/dllearner/cli/QuickStart.html" title="class in org.dllearner.cli" target="classFrame">QuickStart</A> +<BR> +<A HREF="org/dllearner/algorithms/RandomGuesser.html" title="class in org.dllearner.algorithms" target="classFrame">RandomGuesser</A> +<BR> +<A HREF="org/dllearner/core/dl/RBoxAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">RBoxAxiom</A> +<BR> +<A HREF="org/dllearner/core/Reasoner.html" title="interface in org.dllearner.core" target="classFrame"><I>Reasoner</I></A> +<BR> +<A HREF="org/dllearner/core/ReasonerComponent.html" title="class in org.dllearner.core" target="classFrame">ReasonerComponent</A> +<BR> +<A HREF="org/dllearner/gui/ReasonerPanel.html" title="class in org.dllearner.gui" target="classFrame">ReasonerPanel</A> +<BR> +<A HREF="org/dllearner/reasoning/ReasonerType.html" title="enum in org.dllearner.reasoning" target="classFrame">ReasonerType</A> +<BR> +<A HREF="org/dllearner/core/ReasoningMethodUnsupportedException.html" title="class in org.dllearner.core" target="classFrame">ReasoningMethodUnsupportedException</A> +<BR> +<A HREF="org/dllearner/core/ReasoningService.html" title="class in org.dllearner.core" target="classFrame">ReasoningService</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/RefinementOperator.html" title="interface in org.dllearner.algorithms.refinement" target="classFrame"><I>RefinementOperator</I></A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/RhoDown.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">RhoDown</A> +<BR> +<A HREF="org/dllearner/core/dl/Role.html" title="class in org.dllearner.core.dl" target="classFrame">Role</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/ROLearner.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">ROLearner</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/ROLearner.Heuristic.html" title="enum in org.dllearner.algorithms.refinement" target="classFrame">ROLearner.Heuristic</A> +<BR> +<A HREF="org/dllearner/core/dl/RoleAssertion.html" title="class in org.dllearner.core.dl" target="classFrame">RoleAssertion</A> +<BR> +<A HREF="org/dllearner/utilities/RoleComparator.html" title="class in org.dllearner.utilities" target="classFrame">RoleComparator</A> +<BR> +<A HREF="org/dllearner/core/dl/RoleHierarchy.html" title="class in org.dllearner.core.dl" target="classFrame">RoleHierarchy</A> +<BR> +<A HREF="org/dllearner/learningproblems/RoleLearning.html" title="class in org.dllearner.learningproblems" target="classFrame">RoleLearning</A> +<BR> +<A HREF="org/dllearner/gui/RunPanel.html" title="class in org.dllearner.gui" target="classFrame">RunPanel</A> +<BR> +<A HREF="org/dllearner/core/Score.html" title="class in org.dllearner.core" target="classFrame">Score</A> +<BR> +<A HREF="org/dllearner/learningproblems/ScoreThreeValued.html" title="class in org.dllearner.learningproblems" target="classFrame">ScoreThreeValued</A> +<BR> +<A HREF="org/dllearner/learningproblems/ScoreThreeValued.ScoreMethod.html" title="enum in org.dllearner.learningproblems" target="classFrame">ScoreThreeValued.ScoreMethod</A> +<BR> +<A HREF="org/dllearner/learningproblems/ScoreTwoValued.html" title="class in org.dllearner.learningproblems" target="classFrame">ScoreTwoValued</A> +<BR> +<A HREF="org/dllearner/algorithms/refinement/SearchSpace.html" title="class in org.dllearner.algorithms.refinement" target="classFrame">SearchSpace</A> +<BR> +<A HREF="org/dllearner/parser/SimpleCharStream.html" title="class in org.dllearner.parser" target="classFrame">SimpleCharStream</A> +<BR> +<A HREF="org/dllearner/utilities/SortedSetTuple.html" title="class in org.dllearner.utilities" target="classFrame">SortedSetTuple</A> +<BR> +<A HREF="org/dllearner/kb/sparql/configuration/SparqlEndpoint.html" title="class in org.dllearner.kb.sparql.configuration" target="classFrame">SparqlEndpoint</A> +<BR> +<A HREF="org/dllearner/kb/sparql/SparqlKnowledgeSource.html" title="class in org.dllearner.kb.sparql" target="classFrame">SparqlKnowledgeSource</A> +<BR> +<A HREF="org/dllearner/kb/sparql/SparqlQuery.html" title="class in org.dllearner.kb.sparql" target="classFrame">SparqlQuery</A> +<BR> +<A HREF="org/dllearner/kb/sparql/SparqlQueryMaker.html" title="class in org.dllearner.kb.sparql" target="classFrame">SparqlQueryMaker</A> +<BR> +<A HREF="org/dllearner/kb/sparql/configuration/SparqlQueryType.html" title="class in org.dllearner.kb.sparql.configuration" target="classFrame">SparqlQueryType</A> +<BR> +<A HREF="org/dllearner/cli/Start.html" title="class in org.dllearner.cli" target="classFrame">Start</A> +<BR> +<A HREF="org/dllearner/gui/StartGUI.html" title="class in org.dllearner.gui" target="classFrame">StartGUI</A> +<BR> +<A HREF="org/dllearner/utilities/Stat.html" title="class in org.dllearner.utilities" target="classFrame">Stat</A> +<BR> +<A HREF="org/dllearner/core/config/StringConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">StringConfigOption</A> +<BR> +<A HREF="org/dllearner/core/config/StringSetConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">StringSetConfigOption</A> +<BR> +<A HREF="org/dllearner/utilities/StringTuple.html" title="class in org.dllearner.utilities" target="classFrame">StringTuple</A> +<BR> +<A HREF="org/dllearner/core/config/StringTupleListConfigOption.html" title="class in org.dllearner.core.config" target="classFrame">StringTupleListConfigOption</A> +<BR> +<A HREF="org/dllearner/core/dl/SubRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">SubRoleAxiom</A> +<BR> +<A HREF="org/dllearner/core/dl/SubsumptionHierarchy.html" title="class in org.dllearner.core.dl" target="classFrame">SubsumptionHierarchy</A> +<BR> +<A HREF="org/dllearner/core/dl/SymmetricRoleAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">SymmetricRoleAxiom</A> +<BR> +<A HREF="org/dllearner/core/dl/TerminologicalAxiom.html" title="class in org.dllearner.core.dl" target="classFrame">TerminologicalAxiom</A> +<BR> +<A HREF="org/dllearner/kb/sparql/test/TestExtraction.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">TestExtraction</A> +<BR> +<A HREF="org/dllearner/kb/sparql/test/TestHTTP.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">TestHTTP</A> +<BR> +<A HREF="org/dllearner/kb/sparql/test/TestResultSet.html" title="class in org.dllearner.kb.sparql.test" target="classFrame">TestResultSet</A> +<BR> +<A HREF="org/dllearner/utilities/ToDoTaglet.html" title="class in org.dllearner.utilities" target="classFrame">ToDoTaglet</A> +<BR> +<A HREF="org/dllearner/parser/Token.html" title="class in org.dllearner.parser" target="classFrame">Token</A> +<BR> +<A HREF="org/dllearner/parser/TokenMgrError.html" title="class in org.dllearner.parser" target="classFrame">TokenMgrError</A> +<BR> +<A HREF="org/dllearner/core/dl/Top.html" title="class in org.dllearner.core.dl" target="classFrame">Top</A> +<BR> +<A HREF="org/dllearner/core/dl/TransitiveRoleAxi... [truncated message content] |
From: <ton...@us...> - 2008-01-30 06:24:27
|
Revision: 461 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=461&view=rev Author: tonytacker Date: 2008-01-29 22:24:01 -0800 (Tue, 29 Jan 2008) Log Message: ----------- update doc - hope thats ok Added Paths: ----------- trunk/doc/allclasses-frame.html trunk/doc/allclasses-noframe.html trunk/doc/constant-values.html trunk/doc/deprecated-list.html trunk/doc/help-doc.html trunk/doc/index-files/ trunk/doc/index-files/index-1.html trunk/doc/index-files/index-10.html trunk/doc/index-files/index-11.html trunk/doc/index-files/index-12.html trunk/doc/index-files/index-13.html trunk/doc/index-files/index-14.html trunk/doc/index-files/index-15.html trunk/doc/index-files/index-16.html trunk/doc/index-files/index-17.html trunk/doc/index-files/index-18.html trunk/doc/index-files/index-19.html trunk/doc/index-files/index-2.html trunk/doc/index-files/index-20.html trunk/doc/index-files/index-21.html trunk/doc/index-files/index-22.html trunk/doc/index-files/index-23.html trunk/doc/index-files/index-24.html trunk/doc/index-files/index-25.html trunk/doc/index-files/index-3.html trunk/doc/index-files/index-4.html trunk/doc/index-files/index-5.html trunk/doc/index-files/index-6.html trunk/doc/index-files/index-7.html trunk/doc/index-files/index-8.html trunk/doc/index-files/index-9.html trunk/doc/index.html trunk/doc/org/ trunk/doc/org/dllearner/ trunk/doc/org/dllearner/Info.html trunk/doc/org/dllearner/algorithms/ trunk/doc/org/dllearner/algorithms/BruteForceLearner.html trunk/doc/org/dllearner/algorithms/RandomGuesser.html trunk/doc/org/dllearner/algorithms/class-use/ trunk/doc/org/dllearner/algorithms/class-use/BruteForceLearner.html trunk/doc/org/dllearner/algorithms/class-use/RandomGuesser.html trunk/doc/org/dllearner/algorithms/gp/ trunk/doc/org/dllearner/algorithms/gp/ADC.html trunk/doc/org/dllearner/algorithms/gp/GP.AlgorithmType.html trunk/doc/org/dllearner/algorithms/gp/GP.SelectionType.html trunk/doc/org/dllearner/algorithms/gp/GP.html trunk/doc/org/dllearner/algorithms/gp/GPUtilities.html trunk/doc/org/dllearner/algorithms/gp/Program.html trunk/doc/org/dllearner/algorithms/gp/class-use/ trunk/doc/org/dllearner/algorithms/gp/class-use/ADC.html trunk/doc/org/dllearner/algorithms/gp/class-use/GP.AlgorithmType.html trunk/doc/org/dllearner/algorithms/gp/class-use/GP.SelectionType.html trunk/doc/org/dllearner/algorithms/gp/class-use/GP.html trunk/doc/org/dllearner/algorithms/gp/class-use/GPUtilities.html trunk/doc/org/dllearner/algorithms/gp/class-use/Program.html trunk/doc/org/dllearner/algorithms/gp/package-frame.html trunk/doc/org/dllearner/algorithms/gp/package-summary.html trunk/doc/org/dllearner/algorithms/gp/package-tree.html trunk/doc/org/dllearner/algorithms/gp/package-use.html trunk/doc/org/dllearner/algorithms/hybridgp/ trunk/doc/org/dllearner/algorithms/hybridgp/GeneticRefinementOperator.html trunk/doc/org/dllearner/algorithms/hybridgp/Psi.html trunk/doc/org/dllearner/algorithms/hybridgp/PsiDown.html trunk/doc/org/dllearner/algorithms/hybridgp/PsiUp.html trunk/doc/org/dllearner/algorithms/hybridgp/class-use/ trunk/doc/org/dllearner/algorithms/hybridgp/class-use/GeneticRefinementOperator.html trunk/doc/org/dllearner/algorithms/hybridgp/class-use/Psi.html trunk/doc/org/dllearner/algorithms/hybridgp/class-use/PsiDown.html trunk/doc/org/dllearner/algorithms/hybridgp/class-use/PsiUp.html trunk/doc/org/dllearner/algorithms/hybridgp/package-frame.html trunk/doc/org/dllearner/algorithms/hybridgp/package-summary.html trunk/doc/org/dllearner/algorithms/hybridgp/package-tree.html trunk/doc/org/dllearner/algorithms/hybridgp/package-use.html trunk/doc/org/dllearner/algorithms/package-frame.html trunk/doc/org/dllearner/algorithms/package-summary.html trunk/doc/org/dllearner/algorithms/package-tree.html trunk/doc/org/dllearner/algorithms/package-use.html trunk/doc/org/dllearner/algorithms/refexamples/ trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedNode.QualityEvaluationMethod.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedNode.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedROLComponent.html trunk/doc/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.html trunk/doc/org/dllearner/algorithms/refexamples/FlexibleHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/LexicographicHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/NodeComparatorStable.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedNode.QualityEvaluationMethod.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedNode.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedROLComponent.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/ExampleBasedROLearner.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/FlexibleHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/LexicographicHeuristic.html trunk/doc/org/dllearner/algorithms/refexamples/class-use/NodeComparatorStable.html trunk/doc/org/dllearner/algorithms/refexamples/package-frame.html trunk/doc/org/dllearner/algorithms/refexamples/package-summary.html trunk/doc/org/dllearner/algorithms/refexamples/package-tree.html trunk/doc/org/dllearner/algorithms/refexamples/package-use.html trunk/doc/org/dllearner/algorithms/refinement/ trunk/doc/org/dllearner/algorithms/refinement/Heuristic.html trunk/doc/org/dllearner/algorithms/refinement/Node.QualityEvaluationMethod.html trunk/doc/org/dllearner/algorithms/refinement/Node.html trunk/doc/org/dllearner/algorithms/refinement/NodeComparator.html trunk/doc/org/dllearner/algorithms/refinement/NodeComparator2.html trunk/doc/org/dllearner/algorithms/refinement/NodeComparatorStable.html trunk/doc/org/dllearner/algorithms/refinement/ROLearner.Heuristic.html trunk/doc/org/dllearner/algorithms/refinement/ROLearner.html trunk/doc/org/dllearner/algorithms/refinement/RefinementOperator.html trunk/doc/org/dllearner/algorithms/refinement/RhoDown.html trunk/doc/org/dllearner/algorithms/refinement/SearchSpace.html trunk/doc/org/dllearner/algorithms/refinement/class-use/ trunk/doc/org/dllearner/algorithms/refinement/class-use/Heuristic.html trunk/doc/org/dllearner/algorithms/refinement/class-use/Node.QualityEvaluationMethod.html trunk/doc/org/dllearner/algorithms/refinement/class-use/Node.html trunk/doc/org/dllearner/algorithms/refinement/class-use/NodeComparator.html trunk/doc/org/dllearner/algorithms/refinement/class-use/NodeComparator2.html trunk/doc/org/dllearner/algorithms/refinement/class-use/NodeComparatorStable.html trunk/doc/org/dllearner/algorithms/refinement/class-use/ROLearner.Heuristic.html trunk/doc/org/dllearner/algorithms/refinement/class-use/ROLearner.html trunk/doc/org/dllearner/algorithms/refinement/class-use/RefinementOperator.html trunk/doc/org/dllearner/algorithms/refinement/class-use/RhoDown.html trunk/doc/org/dllearner/algorithms/refinement/class-use/SearchSpace.html trunk/doc/org/dllearner/algorithms/refinement/package-frame.html trunk/doc/org/dllearner/algorithms/refinement/package-summary.html trunk/doc/org/dllearner/algorithms/refinement/package-tree.html trunk/doc/org/dllearner/algorithms/refinement/package-use.html trunk/doc/org/dllearner/class-use/ trunk/doc/org/dllearner/class-use/Info.html trunk/doc/org/dllearner/cli/ trunk/doc/org/dllearner/cli/ConfFileOption.html trunk/doc/org/dllearner/cli/QuickStart.html trunk/doc/org/dllearner/cli/Start.html trunk/doc/org/dllearner/cli/class-use/ trunk/doc/org/dllearner/cli/class-use/ConfFileOption.html trunk/doc/org/dllearner/cli/class-use/QuickStart.html trunk/doc/org/dllearner/cli/class-use/Start.html trunk/doc/org/dllearner/cli/package-frame.html trunk/doc/org/dllearner/cli/package-summary.html trunk/doc/org/dllearner/cli/package-tree.html trunk/doc/org/dllearner/cli/package-use.html trunk/doc/org/dllearner/core/ trunk/doc/org/dllearner/core/Component.html trunk/doc/org/dllearner/core/ComponentManager.html trunk/doc/org/dllearner/core/ComponentPool.html trunk/doc/org/dllearner/core/ComponentTest.html trunk/doc/org/dllearner/core/KnowledgeSource.html trunk/doc/org/dllearner/core/LearningAlgorithm.html trunk/doc/org/dllearner/core/LearningProblem.html trunk/doc/org/dllearner/core/OntologyFormat.html trunk/doc/org/dllearner/core/OntologyFormatUnsupportedException.html trunk/doc/org/dllearner/core/Reasoner.html trunk/doc/org/dllearner/core/ReasonerComponent.html trunk/doc/org/dllearner/core/ReasoningMethodUnsupportedException.html trunk/doc/org/dllearner/core/ReasoningService.html trunk/doc/org/dllearner/core/Score.html trunk/doc/org/dllearner/core/class-use/ trunk/doc/org/dllearner/core/class-use/Component.html trunk/doc/org/dllearner/core/class-use/ComponentManager.html trunk/doc/org/dllearner/core/class-use/ComponentPool.html trunk/doc/org/dllearner/core/class-use/ComponentTest.html trunk/doc/org/dllearner/core/class-use/KnowledgeSource.html trunk/doc/org/dllearner/core/class-use/LearningAlgorithm.html trunk/doc/org/dllearner/core/class-use/LearningProblem.html trunk/doc/org/dllearner/core/class-use/OntologyFormat.html trunk/doc/org/dllearner/core/class-use/OntologyFormatUnsupportedException.html trunk/doc/org/dllearner/core/class-use/Reasoner.html trunk/doc/org/dllearner/core/class-use/ReasonerComponent.html trunk/doc/org/dllearner/core/class-use/ReasoningMethodUnsupportedException.html trunk/doc/org/dllearner/core/class-use/ReasoningService.html trunk/doc/org/dllearner/core/class-use/Score.html trunk/doc/org/dllearner/core/config/ trunk/doc/org/dllearner/core/config/BooleanConfigOption.html trunk/doc/org/dllearner/core/config/CommonConfigMappings.html trunk/doc/org/dllearner/core/config/CommonConfigOptions.html trunk/doc/org/dllearner/core/config/ConfigDocumentationGenerator.html trunk/doc/org/dllearner/core/config/ConfigEntry.html trunk/doc/org/dllearner/core/config/ConfigOption.html trunk/doc/org/dllearner/core/config/DoubleConfigOption.html trunk/doc/org/dllearner/core/config/IntegerConfigOption.html trunk/doc/org/dllearner/core/config/InvalidConfigOptionValueException.html trunk/doc/org/dllearner/core/config/StringConfigOption.html trunk/doc/org/dllearner/core/config/StringSetConfigOption.html trunk/doc/org/dllearner/core/config/StringTupleListConfigOption.html trunk/doc/org/dllearner/core/config/UnknownConfigOptionException.html trunk/doc/org/dllearner/core/config/class-use/ trunk/doc/org/dllearner/core/config/class-use/BooleanConfigOption.html trunk/doc/org/dllearner/core/config/class-use/CommonConfigMappings.html trunk/doc/org/dllearner/core/config/class-use/CommonConfigOptions.html trunk/doc/org/dllearner/core/config/class-use/ConfigDocumentationGenerator.html trunk/doc/org/dllearner/core/config/class-use/ConfigEntry.html trunk/doc/org/dllearner/core/config/class-use/ConfigOption.html trunk/doc/org/dllearner/core/config/class-use/DoubleConfigOption.html trunk/doc/org/dllearner/core/config/class-use/IntegerConfigOption.html trunk/doc/org/dllearner/core/config/class-use/InvalidConfigOptionValueException.html trunk/doc/org/dllearner/core/config/class-use/StringConfigOption.html trunk/doc/org/dllearner/core/config/class-use/StringSetConfigOption.html trunk/doc/org/dllearner/core/config/class-use/StringTupleListConfigOption.html trunk/doc/org/dllearner/core/config/class-use/UnknownConfigOptionException.html trunk/doc/org/dllearner/core/config/package-frame.html trunk/doc/org/dllearner/core/config/package-summary.html trunk/doc/org/dllearner/core/config/package-tree.html trunk/doc/org/dllearner/core/config/package-use.html trunk/doc/org/dllearner/core/dl/ trunk/doc/org/dllearner/core/dl/All.html trunk/doc/org/dllearner/core/dl/AssertionalAxiom.html trunk/doc/org/dllearner/core/dl/AtomicConcept.html trunk/doc/org/dllearner/core/dl/AtomicRole.html trunk/doc/org/dllearner/core/dl/Axiom.html trunk/doc/org/dllearner/core/dl/Bottom.html trunk/doc/org/dllearner/core/dl/Concept.html trunk/doc/org/dllearner/core/dl/ConceptAssertion.html trunk/doc/org/dllearner/core/dl/Conjunction.html trunk/doc/org/dllearner/core/dl/Disjunction.html trunk/doc/org/dllearner/core/dl/Equality.html trunk/doc/org/dllearner/core/dl/Exists.html trunk/doc/org/dllearner/core/dl/FlatABox.html trunk/doc/org/dllearner/core/dl/FunctionalRoleAxiom.html trunk/doc/org/dllearner/core/dl/GreaterEqual.html trunk/doc/org/dllearner/core/dl/Inclusion.html trunk/doc/org/dllearner/core/dl/Individual.html trunk/doc/org/dllearner/core/dl/InverseRole.html trunk/doc/org/dllearner/core/dl/InverseRoleAxiom.html trunk/doc/org/dllearner/core/dl/KB.html trunk/doc/org/dllearner/core/dl/KBElement.html trunk/doc/org/dllearner/core/dl/LessEqual.html trunk/doc/org/dllearner/core/dl/MultiConjunction.html trunk/doc/org/dllearner/core/dl/MultiDisjunction.html trunk/doc/org/dllearner/core/dl/Negation.html trunk/doc/org/dllearner/core/dl/NumberRestriction.html trunk/doc/org/dllearner/core/dl/Quantification.html trunk/doc/org/dllearner/core/dl/RBoxAxiom.html trunk/doc/org/dllearner/core/dl/Role.html trunk/doc/org/dllearner/core/dl/RoleAssertion.html trunk/doc/org/dllearner/core/dl/RoleHierarchy.html trunk/doc/org/dllearner/core/dl/SubRoleAxiom.html trunk/doc/org/dllearner/core/dl/SubsumptionHierarchy.html trunk/doc/org/dllearner/core/dl/SymmetricRoleAxiom.html trunk/doc/org/dllearner/core/dl/TerminologicalAxiom.html trunk/doc/org/dllearner/core/dl/Top.html trunk/doc/org/dllearner/core/dl/TransitiveRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/ trunk/doc/org/dllearner/core/dl/class-use/All.html trunk/doc/org/dllearner/core/dl/class-use/AssertionalAxiom.html trunk/doc/org/dllearner/core/dl/class-use/AtomicConcept.html trunk/doc/org/dllearner/core/dl/class-use/AtomicRole.html trunk/doc/org/dllearner/core/dl/class-use/Axiom.html trunk/doc/org/dllearner/core/dl/class-use/Bottom.html trunk/doc/org/dllearner/core/dl/class-use/Concept.html trunk/doc/org/dllearner/core/dl/class-use/ConceptAssertion.html trunk/doc/org/dllearner/core/dl/class-use/Conjunction.html trunk/doc/org/dllearner/core/dl/class-use/Disjunction.html trunk/doc/org/dllearner/core/dl/class-use/Equality.html trunk/doc/org/dllearner/core/dl/class-use/Exists.html trunk/doc/org/dllearner/core/dl/class-use/FlatABox.html trunk/doc/org/dllearner/core/dl/class-use/FunctionalRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/GreaterEqual.html trunk/doc/org/dllearner/core/dl/class-use/Inclusion.html trunk/doc/org/dllearner/core/dl/class-use/Individual.html trunk/doc/org/dllearner/core/dl/class-use/InverseRole.html trunk/doc/org/dllearner/core/dl/class-use/InverseRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/KB.html trunk/doc/org/dllearner/core/dl/class-use/KBElement.html trunk/doc/org/dllearner/core/dl/class-use/LessEqual.html trunk/doc/org/dllearner/core/dl/class-use/MultiConjunction.html trunk/doc/org/dllearner/core/dl/class-use/MultiDisjunction.html trunk/doc/org/dllearner/core/dl/class-use/Negation.html trunk/doc/org/dllearner/core/dl/class-use/NumberRestriction.html trunk/doc/org/dllearner/core/dl/class-use/Quantification.html trunk/doc/org/dllearner/core/dl/class-use/RBoxAxiom.html trunk/doc/org/dllearner/core/dl/class-use/Role.html trunk/doc/org/dllearner/core/dl/class-use/RoleAssertion.html trunk/doc/org/dllearner/core/dl/class-use/RoleHierarchy.html trunk/doc/org/dllearner/core/dl/class-use/SubRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/SubsumptionHierarchy.html trunk/doc/org/dllearner/core/dl/class-use/SymmetricRoleAxiom.html trunk/doc/org/dllearner/core/dl/class-use/TerminologicalAxiom.html trunk/doc/org/dllearner/core/dl/class-use/Top.html trunk/doc/org/dllearner/core/dl/class-use/TransitiveRoleAxiom.html trunk/doc/org/dllearner/core/dl/package-frame.html trunk/doc/org/dllearner/core/dl/package-summary.html trunk/doc/org/dllearner/core/dl/package-tree.html trunk/doc/org/dllearner/core/dl/package-use.html trunk/doc/org/dllearner/core/package-frame.html trunk/doc/org/dllearner/core/package-summary.html trunk/doc/org/dllearner/core/package-tree.html trunk/doc/org/dllearner/core/package-use.html trunk/doc/org/dllearner/examples/ trunk/doc/org/dllearner/examples/Card.html trunk/doc/org/dllearner/examples/Hand.html trunk/doc/org/dllearner/examples/PokerTransformer.html trunk/doc/org/dllearner/examples/class-use/ trunk/doc/org/dllearner/examples/class-use/Card.html trunk/doc/org/dllearner/examples/class-use/Hand.html trunk/doc/org/dllearner/examples/class-use/PokerTransformer.html trunk/doc/org/dllearner/examples/package-frame.html trunk/doc/org/dllearner/examples/package-summary.html trunk/doc/org/dllearner/examples/package-tree.html trunk/doc/org/dllearner/examples/package-use.html trunk/doc/org/dllearner/gui/ trunk/doc/org/dllearner/gui/AbstractWidgetPanel.html trunk/doc/org/dllearner/gui/Config.html trunk/doc/org/dllearner/gui/KnowledgeSourcePanel.html trunk/doc/org/dllearner/gui/LearningAlgorithmPanel.html trunk/doc/org/dllearner/gui/LearningProblemPanel.html trunk/doc/org/dllearner/gui/MiniGUI.html trunk/doc/org/dllearner/gui/OptionPanel.html trunk/doc/org/dllearner/gui/OutputPanel.html trunk/doc/org/dllearner/gui/ReasonerPanel.html trunk/doc/org/dllearner/gui/RunPanel.html trunk/doc/org/dllearner/gui/StartGUI.html trunk/doc/org/dllearner/gui/WidgetPanelBoolean.html trunk/doc/org/dllearner/gui/WidgetPanelDefault.html trunk/doc/org/dllearner/gui/WidgetPanelDouble.html trunk/doc/org/dllearner/gui/WidgetPanelInteger.html trunk/doc/org/dllearner/gui/WidgetPanelString.html trunk/doc/org/dllearner/gui/class-use/ trunk/doc/org/dllearner/gui/class-use/AbstractWidgetPanel.html trunk/doc/org/dllearner/gui/class-use/Config.html trunk/doc/org/dllearner/gui/class-use/KnowledgeSourcePanel.html trunk/doc/org/dllearner/gui/class-use/LearningAlgorithmPanel.html trunk/doc/org/dllearner/gui/class-use/LearningProblemPanel.html trunk/doc/org/dllearner/gui/class-use/MiniGUI.html trunk/doc/org/dllearner/gui/class-use/OptionPanel.html trunk/doc/org/dllearner/gui/class-use/OutputPanel.html trunk/doc/org/dllearner/gui/class-use/ReasonerPanel.html trunk/doc/org/dllearner/gui/class-use/RunPanel.html trunk/doc/org/dllearner/gui/class-use/StartGUI.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelBoolean.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelDefault.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelDouble.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelInteger.html trunk/doc/org/dllearner/gui/class-use/WidgetPanelString.html trunk/doc/org/dllearner/gui/package-frame.html trunk/doc/org/dllearner/gui/package-summary.html trunk/doc/org/dllearner/gui/package-tree.html trunk/doc/org/dllearner/gui/package-use.html trunk/doc/org/dllearner/kb/ trunk/doc/org/dllearner/kb/KBFile.html trunk/doc/org/dllearner/kb/OWLFile.html trunk/doc/org/dllearner/kb/class-use/ trunk/doc/org/dllearner/kb/class-use/KBFile.html trunk/doc/org/dllearner/kb/class-use/OWLFile.html trunk/doc/org/dllearner/kb/package-frame.html trunk/doc/org/dllearner/kb/package-summary.html trunk/doc/org/dllearner/kb/package-tree.html trunk/doc/org/dllearner/kb/package-use.html trunk/doc/org/dllearner/kb/sparql/ trunk/doc/org/dllearner/kb/sparql/ExtractionAlgorithm.html trunk/doc/org/dllearner/kb/sparql/Manager.html trunk/doc/org/dllearner/kb/sparql/Manipulator.html trunk/doc/org/dllearner/kb/sparql/SparqlKnowledgeSource.html trunk/doc/org/dllearner/kb/sparql/SparqlQueryMaker.html trunk/doc/org/dllearner/kb/sparql/TypedSparqlQuery.html trunk/doc/org/dllearner/kb/sparql/TypedSparqlQueryClasses.html trunk/doc/org/dllearner/kb/sparql/TypedSparqlQueryInterface.html trunk/doc/org/dllearner/kb/sparql/class-use/ trunk/doc/org/dllearner/kb/sparql/class-use/ExtractionAlgorithm.html trunk/doc/org/dllearner/kb/sparql/class-use/Manager.html trunk/doc/org/dllearner/kb/sparql/class-use/Manipulator.html trunk/doc/org/dllearner/kb/sparql/class-use/SparqlKnowledgeSource.html trunk/doc/org/dllearner/kb/sparql/class-use/SparqlQueryMaker.html trunk/doc/org/dllearner/kb/sparql/class-use/TypedSparqlQuery.html trunk/doc/org/dllearner/kb/sparql/class-use/TypedSparqlQueryClasses.html trunk/doc/org/dllearner/kb/sparql/class-use/TypedSparqlQueryInterface.html trunk/doc/org/dllearner/kb/sparql/configuration/ trunk/doc/org/dllearner/kb/sparql/configuration/Configuration.html trunk/doc/org/dllearner/kb/sparql/configuration/SparqlEndpoint.html trunk/doc/org/dllearner/kb/sparql/configuration/SparqlQueryType.html trunk/doc/org/dllearner/kb/sparql/configuration/class-use/ trunk/doc/org/dllearner/kb/sparql/configuration/class-use/Configuration.html trunk/doc/org/dllearner/kb/sparql/configuration/class-use/SparqlEndpoint.html trunk/doc/org/dllearner/kb/sparql/configuration/class-use/SparqlQueryType.html trunk/doc/org/dllearner/kb/sparql/configuration/package-frame.html trunk/doc/org/dllearner/kb/sparql/configuration/package-summary.html trunk/doc/org/dllearner/kb/sparql/configuration/package-tree.html trunk/doc/org/dllearner/kb/sparql/configuration/package-use.html trunk/doc/org/dllearner/kb/sparql/datastructure/ trunk/doc/org/dllearner/kb/sparql/datastructure/ClassNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/InstanceNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/Node.html trunk/doc/org/dllearner/kb/sparql/datastructure/PropertyNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/ trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/ClassNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/InstanceNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/Node.html trunk/doc/org/dllearner/kb/sparql/datastructure/class-use/PropertyNode.html trunk/doc/org/dllearner/kb/sparql/datastructure/package-frame.html trunk/doc/org/dllearner/kb/sparql/datastructure/package-summary.html trunk/doc/org/dllearner/kb/sparql/datastructure/package-tree.html trunk/doc/org/dllearner/kb/sparql/datastructure/package-use.html trunk/doc/org/dllearner/kb/sparql/package-frame.html trunk/doc/org/dllearner/kb/sparql/package-summary.html trunk/doc/org/dllearner/kb/sparql/package-tree.html trunk/doc/org/dllearner/kb/sparql/package-use.html trunk/doc/org/dllearner/kb/sparql/query/ trunk/doc/org/dllearner/kb/sparql/query/Cache.html trunk/doc/org/dllearner/kb/sparql/query/CachedSparqlQuery.html trunk/doc/org/dllearner/kb/sparql/query/SparqlQuery.html trunk/doc/org/dllearner/kb/sparql/query/class-use/ trunk/doc/org/dllearner/kb/sparql/query/class-use/Cache.html trunk/doc/org/dllearner/kb/sparql/query/class-use/CachedSparqlQuery.html trunk/doc/org/dllearner/kb/sparql/query/class-use/SparqlQuery.html trunk/doc/org/dllearner/kb/sparql/query/package-frame.html trunk/doc/org/dllearner/kb/sparql/query/package-summary.html trunk/doc/org/dllearner/kb/sparql/query/package-tree.html trunk/doc/org/dllearner/kb/sparql/query/package-use.html trunk/doc/org/dllearner/kb/sparql/test/ trunk/doc/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.html trunk/doc/org/dllearner/kb/sparql/test/JenaTestScript.html trunk/doc/org/dllearner/kb/sparql/test/TestExtraction.html trunk/doc/org/dllearner/kb/sparql/test/TestResultSet.html trunk/doc/org/dllearner/kb/sparql/test/class-use/ trunk/doc/org/dllearner/kb/sparql/test/class-use/JenaQueryToResultSpeedTest.html trunk/doc/org/dllearner/kb/sparql/test/class-use/JenaTestScript.html trunk/doc/org/dllearner/kb/sparql/test/class-use/TestExtraction.html trunk/doc/org/dllearner/kb/sparql/test/class-use/TestResultSet.html trunk/doc/org/dllearner/kb/sparql/test/package-frame.html trunk/doc/org/dllearner/kb/sparql/test/package-summary.html trunk/doc/org/dllearner/kb/sparql/test/package-tree.html trunk/doc/org/dllearner/kb/sparql/test/package-use.html trunk/doc/org/dllearner/learningproblems/ trunk/doc/org/dllearner/learningproblems/DefinitionLP.html trunk/doc/org/dllearner/learningproblems/EvaluationCache.html trunk/doc/org/dllearner/learningproblems/InclusionLP.html trunk/doc/org/dllearner/learningproblems/PosNegDefinitionLP.html trunk/doc/org/dllearner/learningproblems/PosNegDefinitionLPStrict.html trunk/doc/org/dllearner/learningproblems/PosNegInclusionLP.html trunk/doc/org/dllearner/learningproblems/PosNegLP.UseMultiInstanceChecks.html trunk/doc/org/dllearner/learningproblems/PosNegLP.html trunk/doc/org/dllearner/learningproblems/PosOnlyDefinitionLP.html trunk/doc/org/dllearner/learningproblems/PosOnlyInclusionLP.html trunk/doc/org/dllearner/learningproblems/PosOnlyLP.html trunk/doc/org/dllearner/learningproblems/RoleLearning.html trunk/doc/org/dllearner/learningproblems/ScoreThreeValued.ScoreMethod.html trunk/doc/org/dllearner/learningproblems/ScoreThreeValued.html trunk/doc/org/dllearner/learningproblems/ScoreTwoValued.html trunk/doc/org/dllearner/learningproblems/class-use/ trunk/doc/org/dllearner/learningproblems/class-use/DefinitionLP.html trunk/doc/org/dllearner/learningproblems/class-use/EvaluationCache.html trunk/doc/org/dllearner/learningproblems/class-use/InclusionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegDefinitionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegDefinitionLPStrict.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegInclusionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegLP.UseMultiInstanceChecks.html trunk/doc/org/dllearner/learningproblems/class-use/PosNegLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosOnlyDefinitionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosOnlyInclusionLP.html trunk/doc/org/dllearner/learningproblems/class-use/PosOnlyLP.html trunk/doc/org/dllearner/learningproblems/class-use/RoleLearning.html trunk/doc/org/dllearner/learningproblems/class-use/ScoreThreeValued.ScoreMethod.html trunk/doc/org/dllearner/learningproblems/class-use/ScoreThreeValued.html trunk/doc/org/dllearner/learningproblems/class-use/ScoreTwoValued.html trunk/doc/org/dllearner/learningproblems/package-frame.html trunk/doc/org/dllearner/learningproblems/package-summary.html trunk/doc/org/dllearner/learningproblems/package-tree.html trunk/doc/org/dllearner/learningproblems/package-use.html trunk/doc/org/dllearner/package-frame.html trunk/doc/org/dllearner/package-summary.html trunk/doc/org/dllearner/package-tree.html trunk/doc/org/dllearner/package-use.html trunk/doc/org/dllearner/parser/ trunk/doc/org/dllearner/parser/ConfParser.html trunk/doc/org/dllearner/parser/ConfParserConstants.html trunk/doc/org/dllearner/parser/ConfParserTokenManager.html trunk/doc/org/dllearner/parser/KBParser.html trunk/doc/org/dllearner/parser/KBParserConstants.html trunk/doc/org/dllearner/parser/KBParserTokenManager.html trunk/doc/org/dllearner/parser/ParseException.html trunk/doc/org/dllearner/parser/SimpleCharStream.html trunk/doc/org/dllearner/parser/Token.html trunk/doc/org/dllearner/parser/TokenMgrError.html trunk/doc/org/dllearner/parser/class-use/ trunk/doc/org/dllearner/parser/class-use/ConfParser.html trunk/doc/org/dllearner/parser/class-use/ConfParserConstants.html trunk/doc/org/dllearner/parser/class-use/ConfParserTokenManager.html trunk/doc/org/dllearner/parser/class-use/KBParser.html trunk/doc/org/dllearner/parser/class-use/KBParserConstants.html trunk/doc/org/dllearner/parser/class-use/KBParserTokenManager.html trunk/doc/org/dllearner/parser/class-use/ParseException.html trunk/doc/org/dllearner/parser/class-use/SimpleCharStream.html trunk/doc/org/dllearner/parser/class-use/Token.html trunk/doc/org/dllearner/parser/class-use/TokenMgrError.html trunk/doc/org/dllearner/parser/package-frame.html trunk/doc/org/dllearner/parser/package-summary.html trunk/doc/org/dllearner/parser/package-tree.html trunk/doc/org/dllearner/parser/package-use.html trunk/doc/org/dllearner/reasoning/ trunk/doc/org/dllearner/reasoning/DIGConverter.html trunk/doc/org/dllearner/reasoning/DIGHTTPConnector.html trunk/doc/org/dllearner/reasoning/DIGReasoner.html trunk/doc/org/dllearner/reasoning/FaCTBugDemo.html trunk/doc/org/dllearner/reasoning/FastRetrieval.html trunk/doc/org/dllearner/reasoning/FastRetrievalReasoner.html trunk/doc/org/dllearner/reasoning/JenaOWLDIGConverter.html trunk/doc/org/dllearner/reasoning/KAON2Reasoner.html trunk/doc/org/dllearner/reasoning/OWLAPIDIGConverter.html trunk/doc/org/dllearner/reasoning/OWLAPIReasoner.html trunk/doc/org/dllearner/reasoning/ReasonerType.html trunk/doc/org/dllearner/reasoning/class-use/ trunk/doc/org/dllearner/reasoning/class-use/DIGConverter.html trunk/doc/org/dllearner/reasoning/class-use/DIGHTTPConnector.html trunk/doc/org/dllearner/reasoning/class-use/DIGReasoner.html trunk/doc/org/dllearner/reasoning/class-use/FaCTBugDemo.html trunk/doc/org/dllearner/reasoning/class-use/FastRetrieval.html trunk/doc/org/dllearner/reasoning/class-use/FastRetrievalReasoner.html trunk/doc/org/dllearner/reasoning/class-use/JenaOWLDIGConverter.html trunk/doc/org/dllearner/reasoning/class-use/KAON2Reasoner.html trunk/doc/org/dllearner/reasoning/class-use/OWLAPIDIGConverter.html trunk/doc/org/dllearner/reasoning/class-use/OWLAPIReasoner.html trunk/doc/org/dllearner/reasoning/class-use/ReasonerType.html trunk/doc/org/dllearner/reasoning/package-frame.html trunk/doc/org/dllearner/reasoning/package-summary.html trunk/doc/org/dllearner/reasoning/package-tree.html trunk/doc/org/dllearner/reasoning/package-use.html trunk/doc/org/dllearner/server/ trunk/doc/org/dllearner/server/ClientNotKnownException.html trunk/doc/org/dllearner/server/ClientState.html trunk/doc/org/dllearner/server/ConfigOptionTypeException.html trunk/doc/org/dllearner/server/DLLearnerWS.html trunk/doc/org/dllearner/server/DLLearnerWSStart.html trunk/doc/org/dllearner/server/UnknownComponentException.html trunk/doc/org/dllearner/server/class-use/ trunk/doc/org/dllearner/server/class-use/ClientNotKnownException.html trunk/doc/org/dllearner/server/class-use/ClientState.html trunk/doc/org/dllearner/server/class-use/ConfigOptionTypeException.html trunk/doc/org/dllearner/server/class-use/DLLearnerWS.html trunk/doc/org/dllearner/server/class-use/DLLearnerWSStart.html trunk/doc/org/dllearner/server/class-use/UnknownComponentException.html trunk/doc/org/dllearner/server/jaxws/ trunk/doc/org/dllearner/server/jaxws/ClientNotKnownExceptionBean.html trunk/doc/org/dllearner/server/jaxws/ConfigOptionTypeExceptionBean.html trunk/doc/org/dllearner/server/jaxws/UnknownComponentExceptionBean.html trunk/doc/org/dllearner/server/jaxws/class-use/ trunk/doc/org/dllearner/server/jaxws/class-use/ClientNotKnownExceptionBean.html trunk/doc/org/dllearner/server/jaxws/class-use/ConfigOptionTypeExceptionBean.html trunk/doc/org/dllearner/server/jaxws/class-use/UnknownComponentExceptionBean.html trunk/doc/org/dllearner/server/jaxws/package-frame.html trunk/doc/org/dllearner/server/jaxws/package-summary.html trunk/doc/org/dllearner/server/jaxws/package-tree.html trunk/doc/org/dllearner/server/jaxws/package-use.html trunk/doc/org/dllearner/server/package-frame.html trunk/doc/org/dllearner/server/package-summary.html trunk/doc/org/dllearner/server/package-tree.html trunk/doc/org/dllearner/server/package-use.html trunk/doc/org/dllearner/test/ trunk/doc/org/dllearner/test/AllTestsRunner.html trunk/doc/org/dllearner/test/ComponentTests.html trunk/doc/org/dllearner/test/class-use/ trunk/doc/org/dllearner/test/class-use/AllTestsRunner.html trunk/doc/org/dllearner/test/class-use/ComponentTests.html trunk/doc/org/dllearner/test/package-frame.html trunk/doc/org/dllearner/test/package-summary.html trunk/doc/org/dllearner/test/package-tree.html trunk/doc/org/dllearner/test/package-use.html trunk/doc/org/dllearner/utilities/ trunk/doc/org/dllearner/utilities/ConceptComparator.html trunk/doc/org/dllearner/utilities/ConceptTransformation.html trunk/doc/org/dllearner/utilities/Datastructures.html trunk/doc/org/dllearner/utilities/Files.html trunk/doc/org/dllearner/utilities/Helper.html trunk/doc/org/dllearner/utilities/OntologyClassRewriter.html trunk/doc/org/dllearner/utilities/PaperStatistics.html trunk/doc/org/dllearner/utilities/RoleComparator.html trunk/doc/org/dllearner/utilities/SortedSetTuple.html trunk/doc/org/dllearner/utilities/Stat.html trunk/doc/org/dllearner/utilities/StringTuple.html trunk/doc/org/dllearner/utilities/ToDoTaglet.html trunk/doc/org/dllearner/utilities/class-use/ trunk/doc/org/dllearner/utilities/class-use/ConceptComparator.html trunk/doc/org/dllearner/utilities/class-use/ConceptTransformation.html trunk/doc/org/dllearner/utilities/class-use/Datastructures.html trunk/doc/org/dllearner/utilities/class-use/Files.html trunk/doc/org/dllearner/utilities/class-use/Helper.html trunk/doc/org/dllearner/utilities/class-use/OntologyClassRewriter.html trunk/doc/org/dllearner/utilities/class-use/PaperStatistics.html trunk/doc/org/dllearner/utilities/class-use/RoleComparator.html trunk/doc/org/dllearner/utilities/class-use/SortedSetTuple.html trunk/doc/org/dllearner/utilities/class-use/Stat.html trunk/doc/org/dllearner/utilities/class-use/StringTuple.html trunk/doc/org/dllearner/utilities/class-use/ToDoTaglet.html trunk/doc/org/dllearner/utilities/package-frame.html trunk/doc/org/dllearner/utilities/package-summary.html trunk/doc/org/dllearner/utilities/package-tree.html trunk/doc/org/dllearner/utilities/package-use.html trunk/doc/overview-frame.html trunk/doc/overview-summary.html trunk/doc/overview-tree.html trunk/doc/package-list trunk/doc/resources/ trunk/doc/resources/inherit.gif trunk/doc/serialized-form.html trunk/doc/stylesheet.css Added: trunk/doc/allclasses-frame.html =================================================================== --- trunk/doc/allclasses-frame.html (rev 0) +++ trunk/doc/allclasses-frame.html 2008-01-30 06:24:01 UTC (rev 461) @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 07:15:43 CET 2008 --> +<TITLE> +All Classes +</TITLE> + +<META NAME="date" CONTENT="2008-01-30"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameHeadingFont"> +<B>All Classes</B></FONT> +<BR> + +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/dllearner/gui/WidgetPanelBoolean.html" title="class in org.dllearner.gui" target="classFrame">WidgetPanelBoolean</A> +<BR> +</FONT></TD> +</TR> +</TABLE> + +</BODY> +</HTML> Added: trunk/doc/allclasses-noframe.html =================================================================== --- trunk/doc/allclasses-noframe.html (rev 0) +++ trunk/doc/allclasses-noframe.html 2008-01-30 06:24:01 UTC (rev 461) @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 07:15:43 CET 2008 --> +<TITLE> +All Classes +</TITLE> + +<META NAME="date" CONTENT="2008-01-30"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameHeadingFont"> +<B>All Classes</B></FONT> +<BR> + +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/dllearner/gui/WidgetPanelBoolean.html" title="class in org.dllearner.gui">WidgetPanelBoolean</A> +<BR> +</FONT></TD> +</TR> +</TABLE> + +</BODY> +</HTML> Added: trunk/doc/constant-values.html =================================================================== --- trunk/doc/constant-values.html (rev 0) +++ trunk/doc/constant-values.html 2008-01-30 06:24:01 UTC (rev 461) @@ -0,0 +1,144 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 07:15:41 CET 2008 --> +<TITLE> +Constant Field Values +</TITLE> + +<META NAME="date" CONTENT="2008-01-30"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Constant Field Values"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/dllearner/gui/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> + <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H1> +Constant Field Values</H1> +</CENTER> +<HR SIZE="4" NOSHADE> +<B>Contents</B><UL> +</UL> + +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/dllearner/gui/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> + <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> Added: trunk/doc/deprecated-list.html =================================================================== --- trunk/doc/deprecated-list.html (rev 0) +++ trunk/doc/deprecated-list.html 2008-01-30 06:24:01 UTC (rev 461) @@ -0,0 +1,144 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 07:15:43 CET 2008 --> +<TITLE> +Deprecated List +</TITLE> + +<META NAME="date" CONTENT="2008-01-30"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Deprecated List"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/dllearner/gui/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A> + <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +<B>Deprecated API</B></H2> +</CENTER> +<HR SIZE="4" NOSHADE> +<B>Contents</B><UL> +</UL> + +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/dllearner/gui/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A> + <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> Added: trunk/doc/help-doc.html =================================================================== --- trunk/doc/help-doc.html (rev 0) +++ trunk/doc/help-doc.html 2008-01-30 06:24:01 UTC (rev 461) @@ -0,0 +1,215 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 07:15:43 CET 2008 --> +<TITLE> +API Help +</TITLE> + +<META NAME="date" CONTENT="2008-01-30"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="API Help"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/dllearner/gui/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A> + <A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H1> +How This API Document Is Organized</H1> +</CENTER> +This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3> +Package</H3> +<BLOCKQUOTE> + +<P> +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:<UL> +<LI>Interfaces (italic)<LI>Classes<LI>Enums<LI>Exceptions<LI>Errors<LI>Annotation Types</UL> +</BLOCKQUOTE> +<H3> +Class/Interface</H3> +<BLOCKQUOTE> + +<P> +Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:<UL> +<LI>Class inheritance diagram<LI>Direct Subclasses<LI>All Known Subinterfaces<LI>All Known Implementing Classes<LI>Class/interface declaration<LI>Class/interface description +<P> +<LI>Nested Class Summary<LI>Field Summary<LI>Constructor Summary<LI>Method Summary +<P> +<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL> +Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</BLOCKQUOTE> +</BLOCKQUOTE> +<H3> +Annotation Type</H3> +<BLOCKQUOTE> + +<P> +Each annotation type has its own separate page with the following sections:<UL> +<LI>Annotation Type declaration<LI>Annotation Type description<LI>Required Element Summary<LI>Optional Element Summary<LI>Element Detail</UL> +</BLOCKQUOTE> +</BLOCKQUOTE> +<H3> +Enum</H3> +<BLOCKQUOTE> + +<P> +Each enum has its own separate page with the following sections:<UL> +<LI>Enum declaration<LI>Enum description<LI>Enum Constant Summary<LI>Enum Constant Detail</UL> +</BLOCKQUOTE> +<H3> +Use</H3> +<BLOCKQUOTE> +Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</BLOCKQUOTE> +<H3> +Tree (Class Hierarchy)</H3> +<BLOCKQUOTE> +There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL> +<LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL> +</BLOCKQUOTE> +<H3> +Deprecated API</H3> +<BLOCKQUOTE> +The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE> +<H3> +Index</H3> +<BLOCKQUOTE> +The <A HREF="index-files/index-1.html">Index</A> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</BLOCKQUOTE> +<H3> +Prev/Next</H3> +These links take you to the next or previous class, interface, package, or related page.<H3> +Frames/No Frames</H3> +These links show and hide the HTML frames. All pages are available with or without frames. +<P> +<H3> +Serialized Form</H3> +Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +<P> +<H3> +Constant Field Values</H3> +The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values. +<P> +<FONT SIZE="-1"> +<EM> +This help file applies to API documentation generated using the standard doclet.</EM> +</FONT> +<BR> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="org/dllearner/gui/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A> + <A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> Added: trunk/doc/index-files/index-1.html =================================================================== --- trunk/doc/index-files/index-1.html (rev 0) +++ trunk/doc/index-files/index-1.html 2008-01-30 06:24:01 UTC (rev 461) @@ -0,0 +1,143 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0_03) on Wed Jan 30 07:15:43 CET 2008 --> +<TITLE> +A-Index +</TITLE> + +<META NAME="date" CONTENT="2008-01-30"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="A-Index"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../org/dllearner/gui/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPA... [truncated message content] |
From: <ton...@us...> - 2008-01-30 06:10:04
|
Revision: 460 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=460&view=rev Author: tonytacker Date: 2008-01-29 22:10:00 -0800 (Tue, 29 Jan 2008) Log Message: ----------- fixed one warning Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java Modified: trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java 2008-01-30 06:03:27 UTC (rev 459) +++ trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java 2008-01-30 06:10:00 UTC (rev 460) @@ -28,7 +28,6 @@ import javax.swing.JComboBox; import javax.swing.JLabel; import javax.swing.JPanel; -import javax.swing.JButton; import org.dllearner.core.Component; import org.dllearner.core.config.ConfigEntry; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ton...@us...> - 2008-01-30 06:03:31
|
Revision: 459 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=459&view=rev Author: tonytacker Date: 2008-01-29 22:03:27 -0800 (Tue, 29 Jan 2008) Log Message: ----------- widgetPanelBoolean without setButton, add widget double, add widget string Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/gui/OptionPanel.java trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java trunk/src/dl-learner/org/dllearner/gui/WidgetPanelInteger.java Added Paths: ----------- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelDouble.java trunk/src/dl-learner/org/dllearner/gui/WidgetPanelString.java Modified: trunk/src/dl-learner/org/dllearner/gui/OptionPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/OptionPanel.java 2008-01-29 20:04:57 UTC (rev 458) +++ trunk/src/dl-learner/org/dllearner/gui/OptionPanel.java 2008-01-30 06:03:27 UTC (rev 459) @@ -92,10 +92,7 @@ */ private void showWidgets() { JPanel widgetPanel; - optionList = ComponentManager.getConfigOptions(componentOption); // get - // class - // for - // options + optionList = ComponentManager.getConfigOptions(componentOption); centerPanel.removeAll(); // clear panel for (int i = 0; i < optionList.size(); i++) { buildConstraints(constraints, 0, i, 1, 1, 0, 0); @@ -107,6 +104,14 @@ "BooleanConfigOption")) { widgetPanel = new WidgetPanelBoolean(config, component, componentOption, optionList.get(i)); + } else if (optionList.get(i).getClass().toString().contains( + "DoubleConfigOption")) { + widgetPanel = new WidgetPanelDouble(config, component, + componentOption, optionList.get(i)); + } else if (optionList.get(i).getClass().toString().contains( + "StringConfigOption")) { + widgetPanel = new WidgetPanelString(config, component, + componentOption, optionList.get(i)); } else { widgetPanel = new WidgetPanelDefault(config, component, componentOption, optionList.get(i)); Modified: trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java 2008-01-29 20:04:57 UTC (rev 458) +++ trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java 2008-01-30 06:03:27 UTC (rev 459) @@ -50,7 +50,6 @@ private ConfigOption<?> configOption; private JLabel nameLabel; private JPanel widgetPanel = new JPanel(); - private JButton setButton = new JButton("Set"); private Component component; private Class<? extends Component> componentOption; @@ -76,9 +75,7 @@ } public void actionPerformed(ActionEvent e) { - if (e.getSource() == setButton) { - setEntry(); - } + setEntry(); } @Override @@ -107,9 +104,9 @@ cb.setSelectedIndex(0); else cb.setSelectedIndex(1); - setButton.addActionListener(this); + cb.addActionListener(this); + widgetPanel.add(cb); - widgetPanel.add(setButton); } // UNKNOWN else { Added: trunk/src/dl-learner/org/dllearner/gui/WidgetPanelDouble.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelDouble.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/gui/WidgetPanelDouble.java 2008-01-30 06:03:27 UTC (rev 459) @@ -0,0 +1,140 @@ +package org.dllearner.gui; + +/** + * Copyright (C) 2007-2008, Jens Lehmann + * + * This file is part of DL-Learner. + * + * DL-Learner is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * DL-Learner is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +import java.awt.BorderLayout; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.Color; + +import javax.swing.JTextField; +import javax.swing.JLabel; +import javax.swing.JPanel; +import javax.swing.JButton; + +import org.dllearner.core.Component; +import org.dllearner.core.config.ConfigEntry; +import org.dllearner.core.config.ConfigOption; +import org.dllearner.core.config.DoubleConfigOption; +import org.dllearner.core.config.InvalidConfigOptionValueException; + +/** + * WidgetPanelDouble + * + * @author Tilo Hielscher + * + */ +public class WidgetPanelDouble extends AbstractWidgetPanel implements + ActionListener { + + private static final long serialVersionUID = 5238903690721116289L; + private Config config; + private ConfigOption<?> configOption; + private JLabel nameLabel; + private JPanel widgetPanel = new JPanel(); + private JButton setButton = new JButton("Set"); + private Component component; + private Class<? extends Component> componentOption; + + private Double value; + private JTextField doubleField = new JTextField(5); + + public WidgetPanelDouble(Config config, Component component, + Class<? extends Component> componentOption, + ConfigOption<?> configOption) { + this.config = config; + this.configOption = configOption; + this.component = component; + this.componentOption = componentOption; + + showLabel(); // name of option and tooltip + showThingToChange(); // textfield, setbutton + add(widgetPanel, BorderLayout.CENTER); + } + + public JPanel getPanel() { + return this; + } + + public void actionPerformed(ActionEvent e) { + if (e.getSource() == setButton) { + setEntry(); + } + } + + @Override + protected void showLabel() { + nameLabel = new JLabel(configOption.getName()); + nameLabel.setToolTipText(configOption.getDescription()); + widgetPanel.add(nameLabel); + } + + @Override + protected void showThingToChange() { + if (component != null) { + // DoubleConfigOption + if (configOption.getClass().toString().contains( + "DoubleConfigOption")) { + // default value + if (configOption.getDefaultValue() != null) { + value = (Double) configOption.getDefaultValue(); + } + // then 0 + else { + value = 0.0; + } + doubleField.setText(value.toString()); + doubleField.setToolTipText(configOption.getAllowedValuesDescription()); + setButton.addActionListener(this); + widgetPanel.add(doubleField); + widgetPanel.add(setButton); + } + // UNKNOWN + else { + JLabel notImplementedLabel = new JLabel("not a double"); + notImplementedLabel.setForeground(Color.RED); + widgetPanel.add(notImplementedLabel); + } + } else { // configOption == NULL + JLabel noConfigOptionLabel = new JLabel("no init (Double)"); + noConfigOptionLabel.setForeground(Color.MAGENTA); + widgetPanel.add(noConfigOptionLabel); + } + } + + @Override + protected void setEntry() { + DoubleConfigOption specialOption; + value = Double.parseDouble(doubleField.getText()); // get from input + specialOption = (DoubleConfigOption) config.getComponentManager() + .getConfigOption(componentOption, configOption.getName()); + try { + ConfigEntry<Double> specialEntry = new ConfigEntry<Double>( + specialOption, value); + config.getComponentManager().applyConfigEntry(component, + specialEntry); + System.out.println("set Double: " + configOption.getName() + " = " + + value); + } catch (InvalidConfigOptionValueException s) { + s.printStackTrace(); + } + } +} Modified: trunk/src/dl-learner/org/dllearner/gui/WidgetPanelInteger.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelInteger.java 2008-01-29 20:04:57 UTC (rev 458) +++ trunk/src/dl-learner/org/dllearner/gui/WidgetPanelInteger.java 2008-01-30 06:03:27 UTC (rev 459) @@ -103,6 +103,7 @@ value = 0; } integerField.setText(value.toString()); + integerField.setToolTipText(configOption.getAllowedValuesDescription()); setButton.addActionListener(this); widgetPanel.add(integerField); widgetPanel.add(setButton); Added: trunk/src/dl-learner/org/dllearner/gui/WidgetPanelString.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelString.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/gui/WidgetPanelString.java 2008-01-30 06:03:27 UTC (rev 459) @@ -0,0 +1,140 @@ +package org.dllearner.gui; + +/** + * Copyright (C) 2007-2008, Jens Lehmann + * + * This file is part of DL-Learner. + * + * DL-Learner is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * DL-Learner is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +import java.awt.BorderLayout; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.Color; + +import javax.swing.JTextField; +import javax.swing.JLabel; +import javax.swing.JPanel; +import javax.swing.JButton; + +import org.dllearner.core.Component; +import org.dllearner.core.config.ConfigEntry; +import org.dllearner.core.config.ConfigOption; +import org.dllearner.core.config.StringConfigOption; +import org.dllearner.core.config.InvalidConfigOptionValueException; + +/** + * WidgetPanelString + * + * @author Tilo Hielscher + * + */ +public class WidgetPanelString extends AbstractWidgetPanel implements + ActionListener { + + private static final long serialVersionUID = -2169739820989891226L; + private Config config; + private ConfigOption<?> configOption; + private JLabel nameLabel; + private JPanel widgetPanel = new JPanel(); + private JButton setButton = new JButton("Set"); + private Component component; + private Class<? extends Component> componentOption; + + private String value; + private JTextField stringField = new JTextField(15); + + public WidgetPanelString(Config config, Component component, + Class<? extends Component> componentOption, + ConfigOption<?> configOption) { + this.config = config; + this.configOption = configOption; + this.component = component; + this.componentOption = componentOption; + + showLabel(); // name of option and tooltip + showThingToChange(); // textfield, setbutton + add(widgetPanel, BorderLayout.CENTER); + } + + public JPanel getPanel() { + return this; + } + + public void actionPerformed(ActionEvent e) { + if (e.getSource() == setButton) { + setEntry(); + } + } + + @Override + protected void showLabel() { + nameLabel = new JLabel(configOption.getName()); + nameLabel.setToolTipText(configOption.getDescription()); + widgetPanel.add(nameLabel); + } + + @Override + protected void showThingToChange() { + if (component != null) { + // StringConfigOption + if (configOption.getClass().toString().contains( + "StringConfigOption")) { + // default value + if (configOption.getDefaultValue() != null) { + value = (String) configOption.getDefaultValue(); + } + // then "" + else { + value = ""; + } + stringField.setText(value.toString()); + stringField.setToolTipText(configOption.getAllowedValuesDescription()); + setButton.addActionListener(this); + widgetPanel.add(stringField); + widgetPanel.add(setButton); + } + // UNKNOWN + else { + JLabel notImplementedLabel = new JLabel("not a string"); + notImplementedLabel.setForeground(Color.RED); + widgetPanel.add(notImplementedLabel); + } + } else { // configOption == NULL + JLabel noConfigOptionLabel = new JLabel("no init (String)"); + noConfigOptionLabel.setForeground(Color.MAGENTA); + widgetPanel.add(noConfigOptionLabel); + } + } + + @Override + protected void setEntry() { + StringConfigOption specialOption; + value = stringField.getText(); // get from input + specialOption = (StringConfigOption) config.getComponentManager() + .getConfigOption(componentOption, configOption.getName()); + try { + ConfigEntry<String> specialEntry = new ConfigEntry<String>( + specialOption, value); + config.getComponentManager().applyConfigEntry(component, + specialEntry); + System.out.println("set String: " + configOption.getName() + " = " + + value); + } catch (InvalidConfigOptionValueException s) { + s.printStackTrace(); + } + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jen...@us...> - 2008-01-29 20:05:04
|
Revision: 458 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=458&view=rev Author: jenslehmann Date: 2008-01-29 12:04:57 -0800 (Tue, 29 Jan 2008) Log Message: ----------- finished cache implementation (probably still not working - needs to be tested) Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java 2008-01-29 19:24:02 UTC (rev 457) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java 2008-01-29 20:04:57 UTC (rev 458) @@ -28,7 +28,7 @@ import java.io.Serializable; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; -import java.util.HashMap; +import java.util.LinkedList; import org.apache.log4j.Logger; @@ -49,6 +49,10 @@ * If a cached result of a SPARQL query exists, but is too old, the cache * behaves as if the cached result would not exist. * + * TODO: We are doing md5 hashing at the moment, so in rare cases different + * SPARQL queries can be mapped to the same file. Support for such scenarios + * needs to be included. + * * @author Sebastian Hellmann * @author Sebastian Knappe * @author Jens Lehmann @@ -60,12 +64,12 @@ private static final long serialVersionUID = 843308736471742205L; // maps hash of a SPARQL queries to JSON representation - // of its results; this - private HashMap<String, String> hm; + // of its results; this + // private HashMap<String, String> hm; private transient String cacheDir = ""; private transient String fileEnding = ".cache"; - private long timestamp; + // private long timestamp; // specifies after how many seconds a cached result becomes invalid private long freshnessSeconds = 15 * 24 * 60 * 60; @@ -85,22 +89,7 @@ } } - /** - * constructor for single cache object(one entry) - * - * @param sparqlQuery - * query - * @param content - * that is the sparql query result as xml - */ - private Cache(String sparqlQuery, String content) { - // this.content = c; - // this.sparqlquery = sparql; - this.timestamp = System.currentTimeMillis(); - this.hm = new HashMap<String, String>(); - hm.put(sparqlQuery, content); - } - + // compute md5-hash private String getHash(String string) { // calculate md5 hash of the string (code is somewhat // difficult to read, but there doesn't seem to be a @@ -122,110 +111,92 @@ return hexString.toString(); } + // return filename where the query result should be saved private String getFilename(String sparqlQuery) { - return getHash(sparqlQuery) + fileEnding; + return cacheDir + getHash(sparqlQuery) + fileEnding; } - + /** - * Gets the query result for a SPARQL query. + * Gets a result for a query if it is in the cache. * * @param sparqlQuery * SPARQL query to check. * @return Query result or null if no result has been found or it is * outdated. */ - public String get(String sparqlQuery) { - Cache c = readFromFile(getFilename(sparqlQuery)); - if (c == null) + @SuppressWarnings({"unchecked"}) + private String getCacheEntry(String sparqlQuery) { + String filename = getFilename(sparqlQuery); + File file = new File(filename); + + // return null (indicating no result) if file does not exist + if(!file.exists()) return null; - // System.out.println(" file found"); - if (!c.checkFreshness()) - return null; - // System.out.println("fresh"); - String xml = ""; + + LinkedList<Object> entry = null; try { - xml = c.hm.get(sparqlQuery); - } catch (Exception e) { + FileInputStream fos = new FileInputStream(filename); + ObjectInputStream o = new ObjectInputStream(fos); + entry = (LinkedList<Object>) o.readObject(); + } catch (IOException e) { + e.printStackTrace(); + } catch (ClassNotFoundException e) { + e.printStackTrace(); + } + + // TODO: we need to check whether the query is correct + // (may not always be the case due to md5 hashing) + + // determine whether query is outdated + long timestamp = (Long) entry.get(0); + boolean fresh = checkFreshness(timestamp); + + if(!fresh) { + // delete file + file.delete(); + // return null indicating no result return null; } - return xml; + + return (String) entry.get(2); } /** - * @param key - * is the resource, the identifier - * @param sparqlquery - * is the query used as another identifier - * @param content - * is the result of the query + * Adds an entry to the cache. + * + * @param sparqlQuery + * The SPARQL query. + * @param result + * Result of the SPARQL query. */ - public void put(String sparqlQuery, String content) { - String hash = getHash(sparqlQuery); - Cache c = readFromFile(hash); - if (c == null) { - c = new Cache(sparqlQuery, content); - putIntoFile(hash, c); - } else { - c.hm.put(sparqlQuery, content); - putIntoFile(hash, c); - } + private void addToCache(String sparqlQuery, String result) { + String filename = getFilename(sparqlQuery); + long timestamp = System.currentTimeMillis(); - } + // create the object which will be serialised + LinkedList<Object> list = new LinkedList<Object>(); + list.add(timestamp); + list.add(sparqlQuery); + list.add(result); - public void checkFile(String Filename) { - if (!new File(Filename).exists()) { - try { - new File(Filename).createNewFile(); - } catch (Exception e) { - e.printStackTrace(); - } + // create the file we want to use + File file = new File(filename); - } - - } - - /** - * puts a cache entry in a file - * - * @param filename - * @param c - */ - protected void putIntoFile(String filename, Cache c) { try { - // FileWriter fw=new FileWriter(new File(Filename),true); + file.createNewFile(); FileOutputStream fos = new FileOutputStream(filename, false); ObjectOutputStream o = new ObjectOutputStream(fos); - o.writeObject(c); + o.writeObject(list); fos.flush(); fos.close(); - } catch (Exception e) { - System.out.println("Not in cache creating: " + filename); - } - } - - /** - * reads a cache entry from a file - * - * @param Filename - * @return cache entry - */ - protected Cache readFromFile(String Filename) { - Cache content = null; - try { - FileInputStream fos = new FileInputStream(Filename); - ObjectInputStream o = new ObjectInputStream(fos); - content = (Cache) o.readObject(); } catch (IOException e) { e.printStackTrace(); - } catch (ClassNotFoundException e) { - e.printStackTrace(); } - return content; } - private boolean checkFreshness() { - if ((System.currentTimeMillis() - this.timestamp) <= (freshnessSeconds * 1000)) - // fresh + // check whether the given timestamp is fresh + private boolean checkFreshness(long timestamp) { + if ((System.currentTimeMillis() - timestamp) <= (freshnessSeconds * 1000)) return true; else return false; @@ -242,12 +213,15 @@ * @return Jena result set. */ public ResultSet executeSparqlQuery(SparqlQuery query) { - if (hm.containsKey(query.getQueryString())) { - String result = hm.get(query.getQueryString()); + String result = getCacheEntry(query.getQueryString()); + if (result != null) { return SparqlQuery.JSONtoResultSet(result); } else { query.send(); - return query.getResultSet(); + ResultSet rs = query.getResultSet(); + String json = SparqlQuery.getAsJSON(rs); + addToCache(query.getQueryString(), json); + return rs; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jen...@us...> - 2008-01-29 19:24:54
|
Revision: 457 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=457&view=rev Author: jenslehmann Date: 2008-01-29 11:24:02 -0800 (Tue, 29 Jan 2008) Log Message: ----------- - started to rewrite Cache such that it can be used for arbitrary SPARQL queries (i.e. not only in the extraction algorithm) - not working yet Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQuery.java trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQueryClasses.java trunk/src/dl-learner/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.java trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestResultSet.java trunk/src/dl-learner/org/dllearner/server/ClientState.java trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java Added Paths: ----------- trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java Removed Paths: ------------- trunk/src/dl-learner/org/dllearner/kb/sparql/query/ Copied: trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java (from rev 456, trunk/src/dl-learner/org/dllearner/kb/sparql/query/Cache.java) =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/Cache.java 2008-01-29 19:24:02 UTC (rev 457) @@ -0,0 +1,254 @@ +/** + * Copyright (C) 2007-2008, Jens Lehmann + * + * This file is part of DL-Learner. + * + * DL-Learner is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * DL-Learner is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +package org.dllearner.kb.sparql; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; +import java.io.Serializable; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.util.HashMap; + +import org.apache.log4j.Logger; + +import com.hp.hpl.jena.query.ResultSet; + +/** + * SPARQL query cache to avoid possibly expensive multiple queries. The queries + * and their results are written to files. A cache has an associated cache + * directory where all files are written. + * + * Each SPARQL query and its result is written to one file. The name of this + * file is a hash of the query. The result of the query is written as JSON + * serialisation of the SPARQL XML result, see + * http://www.w3.org/TR/rdf-sparql-json-res/. + * + * Apart from the query and its result, a timestamp of the query is stored. + * After a configurable amount of time, query results are considered outdated. + * If a cached result of a SPARQL query exists, but is too old, the cache + * behaves as if the cached result would not exist. + * + * @author Sebastian Hellmann + * @author Sebastian Knappe + * @author Jens Lehmann + */ +public class Cache implements Serializable { + + private static Logger logger = Logger.getLogger(Cache.class); + + private static final long serialVersionUID = 843308736471742205L; + + // maps hash of a SPARQL queries to JSON representation + // of its results; this + private HashMap<String, String> hm; + + private transient String cacheDir = ""; + private transient String fileEnding = ".cache"; + private long timestamp; + + // specifies after how many seconds a cached result becomes invalid + private long freshnessSeconds = 15 * 24 * 60 * 60; + + /** + * Constructor for the cache itself. + * + * @param cacheDir + * Where the base path to the cache is . + */ + public Cache(String cacheDir) { + this.cacheDir = cacheDir + File.separator; + if (!new File(cacheDir).exists()) { + logger + .info("Created directory: " + cacheDir + " : " + new File(cacheDir).mkdir() + + "."); + } + } + + /** + * constructor for single cache object(one entry) + * + * @param sparqlQuery + * query + * @param content + * that is the sparql query result as xml + */ + private Cache(String sparqlQuery, String content) { + // this.content = c; + // this.sparqlquery = sparql; + this.timestamp = System.currentTimeMillis(); + this.hm = new HashMap<String, String>(); + hm.put(sparqlQuery, content); + } + + private String getHash(String string) { + // calculate md5 hash of the string (code is somewhat + // difficult to read, but there doesn't seem to be a + // single function call in Java for md5 hashing) + MessageDigest md5 = null; + try { + md5 = MessageDigest.getInstance("MD5"); + } catch (NoSuchAlgorithmException e) { + e.printStackTrace(); + } + md5.reset(); + md5.update(string.getBytes()); + byte[] result = md5.digest(); + + StringBuffer hexString = new StringBuffer(); + for (int i = 0; i < result.length; i++) { + hexString.append(Integer.toHexString(0xFF & result[i])); + } + return hexString.toString(); + } + + private String getFilename(String sparqlQuery) { + return getHash(sparqlQuery) + fileEnding; + } + + /** + * Gets the query result for a SPARQL query. + * + * @param sparqlQuery + * SPARQL query to check. + * @return Query result or null if no result has been found or it is + * outdated. + */ + public String get(String sparqlQuery) { + Cache c = readFromFile(getFilename(sparqlQuery)); + if (c == null) + return null; + // System.out.println(" file found"); + if (!c.checkFreshness()) + return null; + // System.out.println("fresh"); + String xml = ""; + try { + xml = c.hm.get(sparqlQuery); + } catch (Exception e) { + return null; + } + return xml; + } + + /** + * @param key + * is the resource, the identifier + * @param sparqlquery + * is the query used as another identifier + * @param content + * is the result of the query + */ + public void put(String sparqlQuery, String content) { + String hash = getHash(sparqlQuery); + Cache c = readFromFile(hash); + if (c == null) { + c = new Cache(sparqlQuery, content); + putIntoFile(hash, c); + } else { + c.hm.put(sparqlQuery, content); + putIntoFile(hash, c); + } + + } + + public void checkFile(String Filename) { + if (!new File(Filename).exists()) { + try { + new File(Filename).createNewFile(); + } catch (Exception e) { + e.printStackTrace(); + } + + } + + } + + /** + * puts a cache entry in a file + * + * @param filename + * @param c + */ + protected void putIntoFile(String filename, Cache c) { + try { + // FileWriter fw=new FileWriter(new File(Filename),true); + FileOutputStream fos = new FileOutputStream(filename, false); + ObjectOutputStream o = new ObjectOutputStream(fos); + o.writeObject(c); + fos.flush(); + fos.close(); + } catch (Exception e) { + System.out.println("Not in cache creating: " + filename); + } + } + + /** + * reads a cache entry from a file + * + * @param Filename + * @return cache entry + */ + protected Cache readFromFile(String Filename) { + Cache content = null; + try { + FileInputStream fos = new FileInputStream(Filename); + ObjectInputStream o = new ObjectInputStream(fos); + content = (Cache) o.readObject(); + } catch (IOException e) { + e.printStackTrace(); + } catch (ClassNotFoundException e) { + e.printStackTrace(); + } + return content; + } + + private boolean checkFreshness() { + if ((System.currentTimeMillis() - this.timestamp) <= (freshnessSeconds * 1000)) + // fresh + return true; + else + return false; + } + + /** + * Takes a SPARQL query (which has not been evaluated yet) as argument and + * returns a result set. The result set is taken from this cache if the + * query is stored here. Otherwise the query is send and its result added to + * the cache and returned. Convenience method. + * + * @param query + * The SPARQL query. + * @return Jena result set. + */ + public ResultSet executeSparqlQuery(SparqlQuery query) { + if (hm.containsKey(query.getQueryString())) { + String result = hm.get(query.getQueryString()); + return SparqlQuery.JSONtoResultSet(result); + } else { + query.send(); + return query.getResultSet(); + } + } + +} Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java 2008-01-29 17:34:13 UTC (rev 456) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java 2008-01-29 19:24:02 UTC (rev 457) @@ -46,7 +46,6 @@ import org.dllearner.core.dl.KB; import org.dllearner.kb.sparql.configuration.SparqlEndpoint; import org.dllearner.kb.sparql.configuration.SparqlQueryType; -import org.dllearner.kb.sparql.query.SparqlQuery; import org.dllearner.parser.KBParser; import org.dllearner.reasoning.DIGConverter; import org.dllearner.reasoning.JenaOWLDIGConverter; Copied: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java (from rev 456, trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java) =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQuery.java 2008-01-29 19:24:02 UTC (rev 457) @@ -0,0 +1,204 @@ +/** + * Copyright (C) 2007-2008, Jens Lehmann + * + * This file is part of DL-Learner. + * + * DL-Learner is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * DL-Learner is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +package org.dllearner.kb.sparql; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.nio.charset.Charset; +import java.util.Iterator; +import java.util.List; + +import org.apache.log4j.Logger; +import org.dllearner.kb.sparql.configuration.SparqlEndpoint; + +import com.hp.hpl.jena.query.ResultSet; +import com.hp.hpl.jena.query.ResultSetFactory; +import com.hp.hpl.jena.query.ResultSetFormatter; +import com.hp.hpl.jena.sparql.core.ResultBinding; +import com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP; + +/** + * Represents one SPARQL query. It includes support for stopping the SPARQL + * query (which may be necessary if a timeout is reached). + * + * @author Jens Lehmann + * + */ +public class SparqlQuery { + + private static Logger logger = Logger.getLogger(SparqlKnowledgeSource.class); + + private boolean isRunning = false; + // TODO: declare as private + protected String queryString; + private QueryEngineHTTP queryExecution; + private SparqlEndpoint endpoint; + // TODO: declare as private + protected ResultSet rs = null; + + /** + * Standard constructor. + * + * @param queryString + * @param endpoint + */ + public SparqlQuery(String queryString, SparqlEndpoint endpoint) { + this.queryString = queryString; + this.endpoint = endpoint; + } + + @Deprecated + public void setIsRunning(boolean running) { + this.isRunning = running; + } + + /** + * Sends a SPARQL query using the Jena library. + */ + public ResultSet send() { + isRunning = true; + logger.info(queryString); + + String service = endpoint.getURL().toString(); + logger.info(endpoint.getURL().toString()); + // Jena access to SPARQL endpoint + queryExecution = new QueryEngineHTTP(service, queryString); + for (String dgu : endpoint.getDefaultGraphURIs()) { + queryExecution.addDefaultGraph(dgu); + } + for (String ngu : endpoint.getNamedGraphURIs()) { + queryExecution.addNamedGraph(ngu); + } + logger.info("query SPARQL server"); + + rs = queryExecution.execSelect(); + logger.info(rs.getResultVars().toString()); + isRunning = false; + return rs; + } + + public void stop() { + queryExecution.abort(); + isRunning = false; + } + + public String getQueryString() { + return queryString; + } + + public ResultSet getResultSet() { + return rs; + } + + public boolean isRunning() { + return isRunning; + } + + public boolean hasCompleted() { + return (rs != null); + } + + /** + * TODO define the format + * + * @return + */ + @Deprecated + @SuppressWarnings( { "unchecked" }) + public String[][] getAsStringArray() { + if (rs == null) + this.send(); + System.out.println("Starting Query"); + List<ResultBinding> l = ResultSetFormatter.toList(rs); + List<String> resultVars = rs.getResultVars(); + String[][] array = new String[l.size()][resultVars.size()]; + Iterator<String> iter = resultVars.iterator(); + int i = 0, j = 0; + + for (ResultBinding resultBinding : l) { + while (iter.hasNext()) { + String varName = (String) iter.next(); + array[i][j] = resultBinding.get(varName).toString(); + j++; + } + iter = resultVars.iterator(); + i++; + j = 0; + } + System.out.println("Query complete"); + return array; + } + + /** + * sends a query and returns XML + * + * @return String xml + */ + public static String getAsXMLString(ResultSet resultSet) { + //if (rs == null) + // this.send(); + return ResultSetFormatter.asXMLString(resultSet); + } + + /** + * sends a query and returns complicated Jena List with ResultBindings + * + * + * @return jena List<ResultBinding> + */ + @Deprecated + @SuppressWarnings( { "unchecked" }) + public List<ResultBinding> getAsList() { + if (rs == null) + this.send(); + return ResultSetFormatter.toList(rs); + } + + /** + * Converts Jena result set to JSON. + * + * @param resultSet The result set to transform. + * @return JSON representation of the result set. + */ + public static String getAsJSON(ResultSet resultSet) { + // if (rs == null) + // this.send(); + ByteArrayOutputStream baos = new ByteArrayOutputStream(); + ResultSetFormatter.outputAsJSON(baos, resultSet); + // possible Jena bug: Jena modifies the result set during + // JSON transformation, so we need to get it back + resultSet = JSONtoResultSet(baos.toString()); + return baos.toString(); + } + + /** + * Converts from JSON to internal Jena format. + * + * @param json + * A JSON representation if a SPARQL query result. + * @return A Jena ResultSet. + */ + public static ResultSet JSONtoResultSet(String json) { + ByteArrayInputStream bais = new ByteArrayInputStream(json + .getBytes(Charset.forName("UTF-8"))); + return ResultSetFactory.fromJSON(bais); + } + +} Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQuery.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQuery.java 2008-01-29 17:34:13 UTC (rev 456) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQuery.java 2008-01-29 19:24:02 UTC (rev 457) @@ -25,8 +25,6 @@ import java.util.Set; import org.dllearner.kb.sparql.configuration.Configuration; -import org.dllearner.kb.sparql.query.Cache; -import org.dllearner.kb.sparql.query.CachedSparqlQuery; import org.dllearner.utilities.StringTuple; import com.hp.hpl.jena.query.ResultSet; @@ -85,13 +83,12 @@ String sparqlQueryString = sparqlQueryMaker .makeSubjectQueryUsingFilters(uri.toString()); - CachedSparqlQuery csq = new CachedSparqlQuery(configuration - .getSparqlEndpoint(), cache, uri.toString(), sparqlQueryString); +// CachedSparqlQuery csq = new CachedSparqlQuery(configuration +// .getSparqlEndpoint(), cache, uri.toString(), sparqlQueryString); + SparqlQuery query = new SparqlQuery(sparqlQueryString, configuration.getSparqlEndpoint()); + ResultSet rs = cache.executeSparqlQuery(query); - // TODO optimize - ResultSet rs = csq.getAsResultSet(); - List<ResultBinding> l = ResultSetFormatter.toList(rs); p(l.toString()); for (ResultBinding resultBinding : l) { Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQueryClasses.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQueryClasses.java 2008-01-29 17:34:13 UTC (rev 456) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQueryClasses.java 2008-01-29 19:24:02 UTC (rev 457) @@ -25,7 +25,6 @@ import java.util.Set; import org.dllearner.kb.sparql.configuration.Configuration; -import org.dllearner.kb.sparql.query.CachedSparqlQuery; import org.dllearner.utilities.StringTuple; import com.hp.hpl.jena.query.ResultSet; @@ -64,11 +63,9 @@ + " FILTER (!regex(str(?object),'http://xmlns.com/foaf/0.1/'))" + "}"; - CachedSparqlQuery csq = new CachedSparqlQuery(configuration - .getSparqlEndpoint(), cache, uri.toString(), sparqlQueryString); - - // TODO optimize - ResultSet rs = csq.getAsResultSet(); + SparqlQuery query = new SparqlQuery(sparqlQueryString, configuration.getSparqlEndpoint()); + ResultSet rs = cache.executeSparqlQuery(query); + List<ResultBinding> l = ResultSetFormatter.toList(rs); for (ResultBinding resultBinding : l) { Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.java 2008-01-29 17:34:13 UTC (rev 456) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.java 2008-01-29 19:24:02 UTC (rev 457) @@ -19,8 +19,8 @@ */ package org.dllearner.kb.sparql.test; +import org.dllearner.kb.sparql.SparqlQuery; import org.dllearner.kb.sparql.configuration.SparqlEndpoint; -import org.dllearner.kb.sparql.query.SparqlQuery; import com.hp.hpl.jena.query.ResultSet; Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestResultSet.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestResultSet.java 2008-01-29 17:34:13 UTC (rev 456) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestResultSet.java 2008-01-29 19:24:02 UTC (rev 457) @@ -25,8 +25,8 @@ import java.io.ObjectOutputStream; import java.util.List; +import org.dllearner.kb.sparql.SparqlQuery; import org.dllearner.kb.sparql.configuration.SparqlEndpoint; -import org.dllearner.kb.sparql.query.SparqlQuery; import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.sparql.core.ResultBinding; Modified: trunk/src/dl-learner/org/dllearner/server/ClientState.java =================================================================== --- trunk/src/dl-learner/org/dllearner/server/ClientState.java 2008-01-29 17:34:13 UTC (rev 456) +++ trunk/src/dl-learner/org/dllearner/server/ClientState.java 2008-01-29 19:24:02 UTC (rev 457) @@ -34,7 +34,7 @@ import org.dllearner.core.ReasoningService; import org.dllearner.kb.OWLFile; import org.dllearner.kb.sparql.SparqlKnowledgeSource; -import org.dllearner.kb.sparql.query.SparqlQuery; +import org.dllearner.kb.sparql.SparqlQuery; /** * Stores the state of a DL-Learner client session. Modified: trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java =================================================================== --- trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java 2008-01-29 17:34:13 UTC (rev 456) +++ trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java 2008-01-29 19:24:02 UTC (rev 457) @@ -47,7 +47,7 @@ import org.dllearner.core.dl.Individual; import org.dllearner.kb.OWLFile; import org.dllearner.kb.sparql.SparqlKnowledgeSource; -import org.dllearner.kb.sparql.query.SparqlQuery; +import org.dllearner.kb.sparql.SparqlQuery; import org.dllearner.learningproblems.PosNegDefinitionLP; import org.dllearner.learningproblems.PosNegInclusionLP; import org.dllearner.learningproblems.PosOnlyDefinitionLP; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jen...@us...> - 2008-01-29 17:34:22
|
Revision: 456 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=456&view=rev Author: jenslehmann Date: 2008-01-29 09:34:13 -0800 (Tue, 29 Jan 2008) Log Message: ----------- - rewrote SPARQL query - added method to cache for executing a SPARQL query (result is either taken from cache or query is send) Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQuery.java trunk/src/dl-learner/org/dllearner/kb/sparql/query/Cache.java trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQuery.java trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java trunk/src/dl-learner/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.java trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestResultSet.java trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java Removed Paths: ------------- trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQueryTest.java Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlKnowledgeSource.java 2008-01-29 17:34:13 UTC (rev 456) @@ -46,8 +46,6 @@ import org.dllearner.core.dl.KB; import org.dllearner.kb.sparql.configuration.SparqlEndpoint; import org.dllearner.kb.sparql.configuration.SparqlQueryType; -import org.dllearner.kb.sparql.query.Cache; -import org.dllearner.kb.sparql.query.CachedSparqlQueryTest; import org.dllearner.kb.sparql.query.SparqlQuery; import org.dllearner.parser.KBParser; import org.dllearner.reasoning.DIGConverter; @@ -398,8 +396,10 @@ public SparqlQuery sparqlQuery(String query) { this.endpoint = new SparqlEndpoint(url, defaultGraphURIs, namedGraphURIs); - if (cached) return new CachedSparqlQueryTest(endpoint, new Cache("cache"),""+query.hashCode(),query); - else return new SparqlQuery(query, endpoint); +// if (cached) +// return new CachedSparqlQueryTest(endpoint, new Cache("cache"),""+query.hashCode(),query); +// else + return new SparqlQuery(query, endpoint); } /*public static void main(String[] args) throws MalformedURLException { Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQuery.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQuery.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/TypedSparqlQuery.java 2008-01-29 17:34:13 UTC (rev 456) @@ -27,7 +27,6 @@ import org.dllearner.kb.sparql.configuration.Configuration; import org.dllearner.kb.sparql.query.Cache; import org.dllearner.kb.sparql.query.CachedSparqlQuery; -import org.dllearner.kb.sparql.query.SparqlQuery; import org.dllearner.utilities.StringTuple; import com.hp.hpl.jena.query.ResultSet; @@ -230,13 +229,6 @@ return xml; } - @Deprecated - public String sendAndReceiveSPARQL(String queryString) { - // SparqlQuery sq=new SparqlQuery(configuration.getSparqlEndpoint()); - return new SparqlQuery(queryString, configuration.getSparqlEndpoint()) - .getAsXMLString(); - } - public void p(String str) { if (print_flag) { System.out.println(str); Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/query/Cache.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/query/Cache.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/query/Cache.java 2008-01-29 17:34:13 UTC (rev 456) @@ -28,30 +28,34 @@ import java.net.URLEncoder; import java.util.HashMap; +import com.hp.hpl.jena.query.ResultSet; + /** * SPARQL query cache to avoid possibly expensive multiple queries. An object of * this class can be the cache itself or a cache object(one entry), We could * split that in two classes, but one entry o object only has contains data and * one additional function and would just be a data class + * TODO: decipher previous sentence * * it writes the files according to one resource in the basedir and saves the * cache object in it. Filename is the subject, a resource * e.g. http://dbpedia.org/resource/Angela_Merkel which is first urlencoded * and so serves as the hash for the filename. + * TODO: Why not just take some hash of the SPARQL query itself? * * the cache object in the file remembers: a timestamp, * a hashmap SparqlQuery -> SparqlXMLResult * Cache validates if timestamp too old and Sparql-Query the same * before returning the SPARQL xml-result + * TODO: it is not JSON, not XML is it? * * @author Sebastian Hellmann * @author Sebastian Knappe + * @author Jens Lehmann */ public class Cache implements Serializable { - /** - * This maps sparql query to sparql result - */ + // maps SPARQL queries to JSON represenation of results protected HashMap<String, String> hm; final static long serialVersionUID = 104; @@ -232,4 +236,23 @@ return false; } + /** + * Takes a SPARQL query (which has not been evaluated yet) as + * argument and returns a result set. The result set is taken from + * this cache if the query is stored here. Otherwise the query is + * send and its result added to the cache and returned. + * + * @param query The SPARQL query. + * @return Jena result set. + */ + public ResultSet executeSparqlQuery(SparqlQuery query) { + if(hm.containsKey(query.getQueryString())) { + String result = hm.get(query.getQueryString()); + return SparqlQuery.JSONtoResultSet(result); + } else { + query.send(); + return query.getResultSet(); + } + } + } Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQuery.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQuery.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQuery.java 2008-01-29 17:34:13 UTC (rev 456) @@ -8,9 +8,12 @@ * Does the same as SparqlQuery, but uses the cache. key should be an uri or * something that can be mapped to a file see cache * + * Do not use this class anymore, but use Cache.executeSparqlQuery instead. + * * @author Jens Lehmann * */ +@Deprecated public class CachedSparqlQuery { String key; @@ -52,7 +55,8 @@ // if not in cache get it from EndPoint if (FromCache == null) { // configuration.increaseNumberOfuncachedSparqlQueries(); - xml = this.sparqlQuery.getAsXMLString(); + ResultSet rs = sparqlQuery.send(); + xml = SparqlQuery.getAsXMLString(rs); // sendAndReceiveSPARQL(sparql); // p(sparql); // System.out.println(xml); @@ -92,7 +96,8 @@ // if not in cache get it from EndPoint if (FromCache == null) { // configuration.increaseNumberOfuncachedSparqlQueries(); - JSON = this.sparqlQuery.getAsJSON(); + ResultSet rs = sparqlQuery.send(); + JSON = SparqlQuery.getAsJSON(rs); System.out.println(JSON); // sendAndReceiveSPARQL(sparql); // p(sparql); Deleted: trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQueryTest.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQueryTest.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQueryTest.java 2008-01-29 17:34:13 UTC (rev 456) @@ -1,37 +0,0 @@ -package org.dllearner.kb.sparql.query; - -import org.dllearner.kb.sparql.configuration.SparqlEndpoint; - -/** - * Does the same as SparqlQuery, but uses the cache. key should be an uri or - * something that can be mapped to a file see cache - * - * @author Sebastian Knappe - * - */ -public class CachedSparqlQueryTest extends SparqlQuery { - - private Cache cache; - private String key; - - public CachedSparqlQueryTest(SparqlEndpoint endpoint, Cache cache, String key, - String queryString) { - super(queryString,endpoint); - this.cache = cache; - this.key = key; - } - - public void send() - { - String FromCache = cache.get(key, queryString); - - // if not in cache get it from EndPoint - if (FromCache == null) { - super.send(); - this.cache.put(key, queryString, getAsJSON()); - } else { - this.rs=SparqlQuery.JSONtoResultSet(FromCache); - System.out.println("FROM CACHE"); - } - } -} Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java 2008-01-29 17:34:13 UTC (rev 456) @@ -24,12 +24,10 @@ import java.nio.charset.Charset; import java.util.Iterator; import java.util.List; -import java.util.Vector; import org.apache.log4j.Logger; import org.dllearner.kb.sparql.SparqlKnowledgeSource; import org.dllearner.kb.sparql.configuration.SparqlEndpoint; -import org.dllearner.utilities.StringTuple; import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.query.ResultSetFactory; @@ -38,22 +36,23 @@ import com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP; /** - * Represents one SPARQL query. It includes support for stopping the SPARQL query - * (which may be necessary if a timeout is reached). + * Represents one SPARQL query. It includes support for stopping the SPARQL + * query (which may be necessary if a timeout is reached). * * @author Jens Lehmann * */ public class SparqlQuery { - private static Logger logger = Logger - .getLogger(SparqlKnowledgeSource.class); - - protected boolean isRunning = false; + private static Logger logger = Logger.getLogger(SparqlKnowledgeSource.class); + + private boolean isRunning = false; + // TODO: declare as private protected String queryString; - protected QueryEngineHTTP queryExecution; - protected SparqlEndpoint endpoint; - protected ResultSet rs=null; + private QueryEngineHTTP queryExecution; + private SparqlEndpoint endpoint; + // TODO: declare as private + protected ResultSet rs = null; /** * Standard constructor. @@ -66,32 +65,34 @@ this.endpoint = endpoint; } - public void setIsRunning(boolean running){ - this.isRunning=running; + @Deprecated + public void setIsRunning(boolean running) { + this.isRunning = running; } - + /** - * method used for sending over Jena - * @return jena ResultSet + * Sends a SPARQL query using the Jena library. */ - public void send() { + public ResultSet send() { + isRunning = true; logger.info(queryString); - + String service = endpoint.getURL().toString(); logger.info(endpoint.getURL().toString()); // Jena access to SPARQL endpoint - queryExecution=new QueryEngineHTTP(service,queryString); - for (String dgu : endpoint.getDefaultGraphURIs()){ + queryExecution = new QueryEngineHTTP(service, queryString); + for (String dgu : endpoint.getDefaultGraphURIs()) { queryExecution.addDefaultGraph(dgu); } - for (String ngu : endpoint.getNamedGraphURIs()){ + for (String ngu : endpoint.getNamedGraphURIs()) { queryExecution.addNamedGraph(ngu); } logger.info("query SPARQL server"); - - + rs = queryExecution.execSelect(); logger.info(rs.getResultVars().toString()); + isRunning = false; + return rs; } public void stop() { @@ -99,46 +100,62 @@ isRunning = false; } + public String getQueryString() { + return queryString; + } + + public ResultSet getResultSet() { + return rs; + } + public boolean isRunning() { return isRunning; } + + public boolean hasCompleted() { + return (rs != null); + } /** * TODO define the format + * * @return */ - @SuppressWarnings({"unchecked"}) - public String[][] getAsStringArray(){ - if (rs==null) this.send(); + @Deprecated + @SuppressWarnings( { "unchecked" }) + public String[][] getAsStringArray() { + if (rs == null) + this.send(); System.out.println("Starting Query"); List<ResultBinding> l = ResultSetFormatter.toList(rs); - List<String> resultVars=rs.getResultVars(); - String[][] array=new String[l.size()][resultVars.size()]; - Iterator<String> iter=resultVars.iterator(); - int i=0,j=0; - + List<String> resultVars = rs.getResultVars(); + String[][] array = new String[l.size()][resultVars.size()]; + Iterator<String> iter = resultVars.iterator(); + int i = 0, j = 0; + for (ResultBinding resultBinding : l) { - while (iter.hasNext()){ - String varName=(String)iter.next(); - array[i][j]=resultBinding.get(varName).toString(); + while (iter.hasNext()) { + String varName = (String) iter.next(); + array[i][j] = resultBinding.get(varName).toString(); j++; } - iter=resultVars.iterator(); + iter = resultVars.iterator(); i++; - j=0; + j = 0; } System.out.println("Query complete"); return array; } - + /** * sends a query and returns XML * * @return String xml */ - public String getAsXMLString() { - if (rs==null) this.send(); - return ResultSetFormatter.asXMLString(rs); + public static String getAsXMLString(ResultSet resultSet) { + //if (rs == null) + // this.send(); + return ResultSetFormatter.asXMLString(resultSet); } /** @@ -147,67 +164,42 @@ * * @return jena List<ResultBinding> */ - @SuppressWarnings({"unchecked"}) + @Deprecated + @SuppressWarnings( { "unchecked" }) public List<ResultBinding> getAsList() { - if (rs==null) this.send(); + if (rs == null) + this.send(); return ResultSetFormatter.toList(rs); } /** - * sends a query and returns the results for two variables - * ex: getAsVectorOfTupels("predicate", "object") - * TODO untested and not used, feel free to change + * Converts Jena result set to JSON. * - * @param varName1 - * @param varName2 - * @return Vector<StringTuple> + * @param resultSet The result set to transform. + * @return JSON representation of the result set. */ - @SuppressWarnings({"unchecked"}) - @Deprecated - public Vector<StringTuple> getAsVectorOfTupels(String varName1, - String varName2) { - Vector<StringTuple> vret = new Vector<StringTuple>(); - List<ResultBinding> l = ResultSetFormatter.toList(rs); - //System.out.println(l); - //System.out.println(ResultSetFormatter.asXMLString(rs)); - for (ResultBinding resultBinding : l) { - - vret.add(new StringTuple(resultBinding.get(varName1).toString(), - resultBinding.get(varName2).toString())); - } - return vret; - } - - /** - * sends a query and returns JSON - * @return a String representation of the Resultset as JSON - */ - public String getAsJSON(){ - if (rs==null) this.send(); - ByteArrayOutputStream baos=new ByteArrayOutputStream(); - ResultSetFormatter.outputAsJSON(baos, rs); + public static String getAsJSON(ResultSet resultSet) { + // if (rs == null) + // this.send(); + ByteArrayOutputStream baos = new ByteArrayOutputStream(); + ResultSetFormatter.outputAsJSON(baos, resultSet); // possible Jena bug: Jena modifies the result set during // JSON transformation, so we need to get it back - rs=JSONtoResultSet(baos.toString()); + resultSet = JSONtoResultSet(baos.toString()); return baos.toString(); } - + /** - * @param json a string representation string object - * @return jena ResultSet + * Converts from JSON to internal Jena format. + * + * @param json + * A JSON representation if a SPARQL query result. + * @return A Jena ResultSet. */ - public static ResultSet JSONtoResultSet(String json){ - ResultSet rs=null; - try{ - ByteArrayInputStream bais=new ByteArrayInputStream(json.getBytes(Charset.forName("UTF-8"))); - rs=ResultSetFactory.fromJSON(bais); - }catch (Exception e) {e.printStackTrace();} - return rs; - + public static ResultSet JSONtoResultSet(String json) { + ByteArrayInputStream bais = new ByteArrayInputStream(json + .getBytes(Charset.forName("UTF-8"))); + return ResultSetFactory.fromJSON(bais); } - - public String getQueryString() { - return queryString; - } } Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/test/JenaQueryToResultSpeedTest.java 2008-01-29 17:34:13 UTC (rev 456) @@ -22,7 +22,9 @@ import org.dllearner.kb.sparql.configuration.SparqlEndpoint; import org.dllearner.kb.sparql.query.SparqlQuery; +import com.hp.hpl.jena.query.ResultSet; + public class JenaQueryToResultSpeedTest { static boolean print_flag=false; @@ -51,12 +53,14 @@ SparqlEndpoint sse = SparqlEndpoint.dbpediaEndpoint(); SparqlQuery sqJena = new SparqlQuery(queryString, sse); // first query is not counted - sqJena.getAsXMLString(); + ResultSet rs = sqJena.send(); + SparqlQuery.getAsXMLString(rs); long now = System.currentTimeMillis(); long tmp = now; for (int i = 0; i < howOften; i++) { - sqJena.getAsXMLString(); + rs = sqJena.send(); + SparqlQuery.getAsXMLString(rs); p("Jena as XML needed: " + (System.currentTimeMillis() - tmp)); tmp = System.currentTimeMillis(); @@ -92,12 +96,14 @@ SparqlEndpoint sse = SparqlEndpoint.dbpediaEndpoint(); SparqlQuery sqJena = new SparqlQuery(queryString, sse); // first query is not counted - sqJena.getAsJSON(); + ResultSet rs = sqJena.send(); + SparqlQuery.getAsJSON(rs); long now = System.currentTimeMillis(); long tmp = now; for (int i = 0; i < howOften; i++) { - sqJena.getAsJSON(); + rs = sqJena.send(); + SparqlQuery.getAsJSON(rs); p("Jena as JSON needed: " + (System.currentTimeMillis() - tmp)); tmp = System.currentTimeMillis(); @@ -113,13 +119,16 @@ SparqlEndpoint sse = SparqlEndpoint.dbpediaEndpoint(); SparqlQuery sqJena = new SparqlQuery(queryString, sse); // first query is not counted - sqJena.getAsJSON(); + ResultSet rs = sqJena.send(); + SparqlQuery.getAsJSON(rs); long now = System.currentTimeMillis(); long tmp = now; for (int i = 0; i < howOften; i++) { // System.out.println(sqJena.getAsJSON()); - SparqlQuery.JSONtoResultSet(sqJena.getAsJSON()); + rs = sqJena.send(); + String json = SparqlQuery.getAsJSON(rs); + SparqlQuery.JSONtoResultSet(json); p("Jena as JSON and back needed: " + (System.currentTimeMillis() - tmp)); tmp = System.currentTimeMillis(); @@ -137,7 +146,8 @@ SparqlQuery sqJena = new SparqlQuery(queryString, sse); // SparqlQueryConventional sqConv=new SparqlQueryConventional(sse); - System.out.println(sqJena.getAsXMLString()); + ResultSet rs = sqJena.send(); + System.out.println(SparqlQuery.getAsXMLString(rs)); // System.out.println(sqConv.getAsXMLString("")); } Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestResultSet.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestResultSet.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestResultSet.java 2008-01-29 17:34:13 UTC (rev 456) @@ -28,6 +28,7 @@ import org.dllearner.kb.sparql.configuration.SparqlEndpoint; import org.dllearner.kb.sparql.query.SparqlQuery; +import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.sparql.core.ResultBinding; public class TestResultSet { @@ -43,7 +44,8 @@ SparqlEndpoint sse = SparqlEndpoint.dbpediaEndpoint(); SparqlQuery sqJena = new SparqlQuery(queryString, sse); - String json=sqJena.getAsJSON(); + ResultSet rs = sqJena.send(); + String json = SparqlQuery.getAsJSON(rs); System.out.println(json); @@ -107,12 +109,14 @@ } System.out.println("Conv total: " + (System.currentTimeMillis() - now)); // first query is not counted - sqJena.getAsXMLString(); + ResultSet rs = sqJena.send(); + SparqlQuery.getAsXMLString(rs); now = System.currentTimeMillis(); tmp = now; for (int i = 0; i < howOften; i++) { - sqJena.getAsXMLString(); + rs = sqJena.send(); + SparqlQuery.getAsXMLString(rs); System.out.println("Jena needed: " + (System.currentTimeMillis() - tmp)); tmp = System.currentTimeMillis(); @@ -140,7 +144,8 @@ SparqlQuery sqJena = new SparqlQuery(queryString, sse); // SparqlQueryConventional sqConv = new SparqlQueryConventional(sse); - System.out.println(sqJena.getAsXMLString()); + ResultSet rs = sqJena.send(); + System.out.println(SparqlQuery.getAsXMLString(rs)); //System.out.println(sqConv.getAsXMLString(queryString)); } Modified: trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java =================================================================== --- trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java 2008-01-29 14:36:53 UTC (rev 455) +++ trunk/src/dl-learner/org/dllearner/server/DLLearnerWS.java 2008-01-29 17:34:13 UTC (rev 456) @@ -57,6 +57,8 @@ import org.dllearner.utilities.Datastructures; import org.dllearner.utilities.Helper; +import com.hp.hpl.jena.query.ResultSet; + /** * DL-Learner web service interface. * @@ -499,14 +501,16 @@ public String getAsJSON(int sessionID, int queryID) throws ClientNotKnownException { ClientState state = getState(sessionID); - return state.getQuery(queryID).getAsJSON(); + ResultSet rs = state.getQuery(queryID).send(); + return SparqlQuery.getAsJSON(rs); } @WebMethod public String getAsXMLString(int sessionID, int queryID) throws ClientNotKnownException { ClientState state = getState(sessionID); - return state.getQuery(queryID).getAsXMLString(); + ResultSet rs = state.getQuery(queryID).send(); + return SparqlQuery.getAsXMLString(rs); } @WebMethod This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jen...@us...> - 2008-01-29 14:36:56
|
Revision: 455 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=455&view=rev Author: jenslehmann Date: 2008-01-29 06:36:53 -0800 (Tue, 29 Jan 2008) Log Message: ----------- - added comment - fixed warnings Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java trunk/src/dl-learner/org/dllearner/gui/WidgetPanelDefault.java trunk/src/dl-learner/org/dllearner/gui/WidgetPanelInteger.java trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestHTTP.java Modified: trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java 2008-01-29 14:25:52 UTC (rev 454) +++ trunk/src/dl-learner/org/dllearner/gui/WidgetPanelBoolean.java 2008-01-29 14:36:53 UTC (rev 455) @@ -81,12 +81,14 @@ } } + @Override protected void showLabel() { nameLabel = new JLabel(configOption.getName()); nameLabel.setToolTipText(configOption.getDescription()); widgetPanel.add(nameLabel); } + @Override protected void showThingToChange() { if (component != null) { // IntegerConfigOption @@ -123,6 +125,7 @@ } } + @Override protected void setEntry() { BooleanConfigOption specialOption; if (cb.getSelectedIndex() == 0) Modified: trunk/src/dl-learner/org/dllearner/gui/WidgetPanelDefault.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelDefault.java 2008-01-29 14:25:52 UTC (rev 454) +++ trunk/src/dl-learner/org/dllearner/gui/WidgetPanelDefault.java 2008-01-29 14:36:53 UTC (rev 455) @@ -54,12 +54,14 @@ add(widgetPanel, BorderLayout.CENTER); } + @Override protected void showLabel() { nameLabel = new JLabel(configOption.getName()); nameLabel.setToolTipText(configOption.getDescription()); widgetPanel.add(nameLabel); } + @Override protected void showThingToChange() { JLabel notImplementedLabel = new JLabel(configOption.getClass() .getSimpleName() @@ -69,6 +71,7 @@ widgetPanel.add(notImplementedLabel); } + @Override protected void setEntry() { } Modified: trunk/src/dl-learner/org/dllearner/gui/WidgetPanelInteger.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/WidgetPanelInteger.java 2008-01-29 14:25:52 UTC (rev 454) +++ trunk/src/dl-learner/org/dllearner/gui/WidgetPanelInteger.java 2008-01-29 14:36:53 UTC (rev 455) @@ -81,12 +81,14 @@ } } + @Override protected void showLabel() { nameLabel = new JLabel(configOption.getName()); nameLabel.setToolTipText(configOption.getDescription()); widgetPanel.add(nameLabel); } + @Override protected void showThingToChange() { if (component != null) { // IntegerConfigOption @@ -118,6 +120,7 @@ } } + @Override protected void setEntry() { IntegerConfigOption specialOption; value = Integer.parseInt(integerField.getText()); // get from input Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java 2008-01-29 14:25:52 UTC (rev 454) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/query/SparqlQuery.java 2008-01-29 14:36:53 UTC (rev 455) @@ -21,12 +21,13 @@ import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; -import java.net.URL; import java.nio.charset.Charset; import java.util.Iterator; import java.util.List; import java.util.Vector; +import org.apache.log4j.Logger; +import org.dllearner.kb.sparql.SparqlKnowledgeSource; import org.dllearner.kb.sparql.configuration.SparqlEndpoint; import org.dllearner.utilities.StringTuple; @@ -45,7 +46,9 @@ */ public class SparqlQuery { - private boolean print_flag = false; + private static Logger logger = Logger + .getLogger(SparqlKnowledgeSource.class); + protected boolean isRunning = false; protected String queryString; protected QueryEngineHTTP queryExecution; @@ -53,19 +56,9 @@ protected ResultSet rs=null; /** - * simplest contructor, works only with some endpoints, - * not with DBpedia + * Standard constructor. + * * @param queryString - * @param url - */ - public SparqlQuery(String queryString, URL url) { - this.queryString = queryString; - this.endpoint = new SparqlEndpoint(url); - } - - /** - * standard constructor - * @param queryString * @param endpoint */ public SparqlQuery(String queryString, SparqlEndpoint endpoint) { @@ -82,10 +75,10 @@ * @return jena ResultSet */ public void send() { - p(queryString); + logger.info(queryString); String service = endpoint.getURL().toString(); - p(endpoint.getURL().toString()); + logger.info(endpoint.getURL().toString()); // Jena access to SPARQL endpoint queryExecution=new QueryEngineHTTP(service,queryString); for (String dgu : endpoint.getDefaultGraphURIs()){ @@ -94,12 +87,11 @@ for (String ngu : endpoint.getNamedGraphURIs()){ queryExecution.addNamedGraph(ngu); } - p("query SPARQL server"); + logger.info("query SPARQL server"); rs = queryExecution.execSelect(); - p(rs.getResultVars().toString()); - //p(ResultSetFormatter.asXMLString(rs)); + logger.info(rs.getResultVars().toString()); } public void stop() { @@ -161,26 +153,7 @@ return ResultSetFormatter.toList(rs); } - /** - * sends a query and returns the results for variable - * TODO untested and not used, feel free to change - * varName as Vector<String> - * @param varName - * @return Vector<String> - */ - @SuppressWarnings({"unchecked"}) - @Deprecated - public Vector<String> getAsVector(String varName) { - Vector<String> vret = new Vector<String>(); - List<ResultBinding> l = ResultSetFormatter.toList(rs); - for (ResultBinding resultBinding : l) { - vret.add(resultBinding.get(varName).toString()); - } - return vret; - } - - /** * sends a query and returns the results for two variables * ex: getAsVectorOfTupels("predicate", "object") * TODO untested and not used, feel free to change @@ -205,32 +178,7 @@ return vret; } - /** - * sends a query and returns the results for n variables - * TODO not working, finish - * @param varNames - * @return Vector<Vector<String>> - */ - @Deprecated - public Vector<Vector<String>> getAsVectorOfVectors(Vector<String> varNames) { - // ResultSet rs = send(); - Vector<Vector<String>> vret = new Vector<Vector<String>>(); - /* - * Does not work yet List<ResultBinding> l = - * ResultSetFormatter.toList(rs); for (ResultBinding resultBinding : l) { - * vret.add(new StringTuple(resultBinding.get(varName1).toString(), - * resultBinding.get(varName2).toString())); } - */ - return vret; - } - - // probably not needed - /* - * public Model asJenaModel(){ ResultSet rs=send(); return - * ResultSetFormatter.toModel(rs); } - */ - /** * sends a query and returns JSON * @return a String representation of the Resultset as JSON */ @@ -238,11 +186,12 @@ if (rs==null) this.send(); ByteArrayOutputStream baos=new ByteArrayOutputStream(); ResultSetFormatter.outputAsJSON(baos, rs); + // possible Jena bug: Jena modifies the result set during + // JSON transformation, so we need to get it back rs=JSONtoResultSet(baos.toString()); return baos.toString(); } - /** * @param json a string representation string object * @return jena ResultSet @@ -261,10 +210,4 @@ return queryString; } - public void p(String str) { - if (print_flag) { - System.out.println(str); - } - } - } Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestHTTP.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestHTTP.java 2008-01-29 14:25:52 UTC (rev 454) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestHTTP.java 2008-01-29 14:36:53 UTC (rev 455) @@ -7,7 +7,6 @@ import java.net.Socket; import java.net.URLEncoder; -import com.hp.hpl.jena.query.ResultSet; import com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP; public class TestHTTP { @@ -23,7 +22,7 @@ if (i!=0) time+=TestHTTP.httpQuery(query); } time=time/100; - System.out.println("Durchschnittliche Zeit f\xFCr eine Anfrage per Http-Methode: "+time); + System.out.println("Durchschnittliche Zeit f�r eine Anfrage per Http-Methode: "+time); time=0; for (int i=0; i<101; i++) @@ -31,7 +30,7 @@ if (i!=0) time+=TestHTTP.jenaQuery(query); } time=time/100; - System.out.println("Durchschnittliche Zeit f\xFCr eine Anfrage per Jena-Methode: "+time); + System.out.println("Durchschnittliche Zeit f�r eine Anfrage per Jena-Methode: "+time); } private static double jenaQuery(String query) @@ -40,7 +39,8 @@ QueryEngineHTTP queryExecution=new QueryEngineHTTP("http://localhost:8890/sparql",query); queryExecution.addDefaultGraph("http://dbpedia.org"); // Jena access to DBpedia SPARQL endpoint - ResultSet rs = queryExecution.execSelect(); + // ResultSet rs = + queryExecution.execSelect(); double end=System.currentTimeMillis(); return ((end-start)/1000); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-29 14:25:54
|
Revision: 454 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=454&view=rev Author: sknappe Date: 2008-01-29 06:25:52 -0800 (Tue, 29 Jan 2008) Log Message: ----------- added comment Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQueryTest.java Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQueryTest.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQueryTest.java 2008-01-29 13:38:57 UTC (rev 453) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/query/CachedSparqlQueryTest.java 2008-01-29 14:25:52 UTC (rev 454) @@ -2,6 +2,13 @@ import org.dllearner.kb.sparql.configuration.SparqlEndpoint; +/** + * Does the same as SparqlQuery, but uses the cache. key should be an uri or + * something that can be mapped to a file see cache + * + * @author Sebastian Knappe + * + */ public class CachedSparqlQueryTest extends SparqlQuery { private Cache cache; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sk...@us...> - 2008-01-29 13:39:06
|
Revision: 453 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=453&view=rev Author: sknappe Date: 2008-01-29 05:38:57 -0800 (Tue, 29 Jan 2008) Log Message: ----------- test for the http and the jena version of getting knowledge from endpoint Added Paths: ----------- trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestHTTP.java Added: trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestHTTP.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestHTTP.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/test/TestHTTP.java 2008-01-29 13:38:57 UTC (rev 453) @@ -0,0 +1,102 @@ +package org.dllearner.kb.sparql.test; + +import java.io.BufferedInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.net.InetAddress; +import java.net.Socket; +import java.net.URLEncoder; + +import com.hp.hpl.jena.query.ResultSet; +import com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP; + +public class TestHTTP { + public static void main(String[] args) throws Exception{ + + String query="SELECT DISTINCT ?object\n"+ + "FROM <http://dbpedia.org>\n"+ + "WHERE { <http://dbpedia.org/resource/Leipzig> <http://www.w3.org/2000/01/rdf-schema#label> ?object}\n"; + + double time=0; + for (int i=0; i<101; i++) + { + if (i!=0) time+=TestHTTP.httpQuery(query); + } + time=time/100; + System.out.println("Durchschnittliche Zeit f\xFCr eine Anfrage per Http-Methode: "+time); + + time=0; + for (int i=0; i<101; i++) + { + if (i!=0) time+=TestHTTP.jenaQuery(query); + } + time=time/100; + System.out.println("Durchschnittliche Zeit f\xFCr eine Anfrage per Jena-Methode: "+time); + } + + private static double jenaQuery(String query) + { + double start=System.currentTimeMillis(); + QueryEngineHTTP queryExecution=new QueryEngineHTTP("http://localhost:8890/sparql",query); + queryExecution.addDefaultGraph("http://dbpedia.org"); + // Jena access to DBpedia SPARQL endpoint + ResultSet rs = queryExecution.execSelect(); + double end=System.currentTimeMillis(); + return ((end-start)/1000); + } + + private static double httpQuery(String query) throws Exception + { + char value[]={13,10}; + String cut=new String(value); + String test="GET /sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=" + + URLEncoder.encode(query, "UTF-8")+ + "&format=application%2Fsparql-results%2Bxml HTTP/1.1"+cut+ + "Host: localhost"+cut+ + "Connection: close"+cut+ + "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"+cut+ + "Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3"+cut+ + "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"+cut+ + "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Web-Sniffer/1.0.24"+cut+ + cut; + String retval=""; + // + double start=System.currentTimeMillis(); + byte resp[]=null; + + try{ + Socket SparqlServer=new Socket(InetAddress.getByName("localhost"),8890); + String request=test; + // send request + (SparqlServer.getOutputStream()).write(request.getBytes()); + + //get Response + resp=readBuffer(new BufferedInputStream(SparqlServer.getInputStream())); + retval=new String(resp); + retval=retval.substring(retval.indexOf(cut+""+cut)+4); + + SparqlServer.close(); + } catch (Exception e){} + double end=System.currentTimeMillis(); + return (end-start)/1000; + } + + private static byte[] readBuffer(InputStream IS) + throws IOException{ + byte buffer[] = new byte[0xffff]; + int nbytes=0; + byte resp[]=new byte[0]; + while ((nbytes=IS.read(buffer))!=-1) { + byte tmp[]=new byte[resp.length+nbytes]; + int i=0; + for (;i<resp.length;i++){ + tmp[i]=resp[i]; + } + for(int a=0;a<nbytes;a++,i++){ + tmp[i]=buffer[a]; + } + resp=tmp; + } + return resp; + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |