From: <jen...@us...> - 2009-06-12 11:30:55
|
Revision: 1795 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1795&view=rev Author: jenslehmann Date: 2009-06-12 11:30:46 +0000 (Fri, 12 Jun 2009) Log Message: ----------- adapted architecture picture for ontology engineering Modified Paths: -------------- trunk/src/php-examples/Suggestions.php Added Paths: ----------- trunk/resources/architecture_celoe.png trunk/resources/architecture_celoe.svg Property Changed: ---------------- trunk/src/dl-learner/org/dllearner/core/owl/NamedClass.java Added: trunk/resources/architecture_celoe.png =================================================================== (Binary files differ) Property changes on: trunk/resources/architecture_celoe.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/resources/architecture_celoe.svg =================================================================== --- trunk/resources/architecture_celoe.svg (rev 0) +++ trunk/resources/architecture_celoe.svg 2009-06-12 11:30:46 UTC (rev 1795) @@ -0,0 +1,371 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="744.09448819" + height="1052.3622047" + id="svg2" + sodipodi:version="0.32" + inkscape:version="0.46" + sodipodi:docname="architecture_celoe.svg" + sodipodi:docbase="/home/jl/promotion/dl-learner-svn/trunk/resources" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + inkscape:export-filename="/home/jl/promotion/dl-learner-svn/trunk/resources/architecture_celoe.png" + inkscape:export-xdpi="147.28065" + inkscape:export-ydpi="147.28065"> + <defs + id="defs4"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + id="perspective64" /> + <marker + inkscape:stockid="TriangleOutL" + orient="auto" + refY="0.0" + refX="0.0" + id="TriangleOutL" + style="overflow:visible"> + <path + id="path3302" + d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z " + style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none" + transform="scale(0.8)" /> + </marker> + <marker + inkscape:stockid="TriangleOutM" + orient="auto" + refY="0.0" + refX="0.0" + id="TriangleOutM" + style="overflow:visible"> + <path + id="path3299" + d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z " + style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none" + transform="scale(0.4)" /> + </marker> + <marker + inkscape:stockid="Arrow2Lend" + orient="auto" + refY="0.0" + refX="0.0" + id="Arrow2Lend" + style="overflow:visible;"> + <path + id="path3379" + style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;" + d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z " + transform="scale(1.1) rotate(180) translate(1,0)" /> + </marker> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + gridtolerance="10000" + guidetolerance="10" + objecttolerance="10" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.7" + inkscape:cx="375" + inkscape:cy="577.14286" + inkscape:document-units="px" + inkscape:current-layer="layer1" + inkscape:window-width="1280" + inkscape:window-height="954" + inkscape:window-x="-5" + inkscape:window-y="-3" + showgrid="false" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <g + id="g2753" + transform="translate(0,28)"> + <rect + y="177.64302" + x="50.494846" + height="89.010307" + width="249.01031" + id="rect2160" + style="opacity:0.58500001;fill:#ffd42a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.98969221;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + <text + id="text2162" + y="203.79076" + x="71.428574" + style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + style="font-size:18px" + y="203.79076" + x="71.428574" + id="tspan2164" + sodipodi:role="line">background knowledge</tspan><tspan + style="font-size:18px" + id="tspan2166" + y="226.29076" + x="71.428574" + sodipodi:role="line"> (OWL ontology or</tspan><tspan + style="font-size:18px" + id="tspan2168" + y="248.79076" + x="71.428574" + sodipodi:role="line"> SPARQL endpoint)</tspan></text> + </g> + <rect + style="opacity:0.58500001;fill:#ffd42a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.07453477;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="rect3169" + width="248.92546" + height="88.925468" + x="400.53726" + y="369.87546" /> + <rect + style="opacity:0.58500001;fill:#ffd42a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.97974563;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="rect3171" + width="249.02025" + height="89.020256" + x="50.489872" + y="369.06635" /> + <rect + style="opacity:0.58500001;fill:#ffd42a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="rect3173" + width="304.28571" + height="97.14286" + x="205.71428" + y="556.64783" /> + <g + id="g2760" + transform="translate(0,29.442843)"> + <rect + y="176.24979" + x="400.53046" + height="88.939102" + width="248.9391" + id="rect3167" + style="opacity:0.58500001;fill:#ffd42a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.06090128;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" /> + <text + id="text3175" + y="213.79076" + x="442.85712" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + id="tspan3179" + y="213.79076" + x="442.85712" + sodipodi:role="line">information about </tspan><tspan + id="tspan2721" + y="236.29076" + x="442.85712" + sodipodi:role="line">class to describe</tspan></text> + </g> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="77.14286" + y="395.21933" + id="text3181"><tspan + sodipodi:role="line" + id="tspan3183" + x="77.14286" + y="395.21933"> reasoner</tspan><tspan + sodipodi:role="line" + x="77.14286" + y="417.71933" + id="tspan3185">(Pellet, FaCT, KAON2,</tspan><tspan + sodipodi:role="line" + x="77.14286" + y="440.21933" + id="tspan3423">Racer Pro, HermiT)</tspan></text> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="430" + y="396.64789" + id="text3187"><tspan + sodipodi:role="line" + x="430" + y="396.64789" + id="tspan3191">measuring quality of</tspan><tspan + sodipodi:role="line" + x="430" + y="419.14789" + id="tspan2719"> class expression </tspan><tspan + sodipodi:role="line" + x="430" + y="441.64789" + id="tspan2727"> (heuristics)</tspan></text> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="214.28572" + y="596.64789" + id="text3193"><tspan + sodipodi:role="line" + x="214.28572" + y="596.64789" + id="tspan2709">generation of class expressions</tspan><tspan + sodipodi:role="line" + x="214.28572" + y="619.14789" + id="tspan2715">using a refinement operator</tspan></text> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="-347.21228" + y="507.72968" + id="text3413" + transform="matrix(2.6333242e-3,-0.9999965,0.9999965,2.6333242e-3,0,0)"><tspan + sodipodi:role="line" + id="tspan3415" + x="-347.21228" + y="507.72968">use</tspan></text> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.64779848;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#TriangleOutL);stroke-miterlimit:4;stroke-dasharray:2.59119395, 2.59119395;stroke-dashoffset:0;stroke-opacity:1" + d="M 162.85714,361.27485 L 162.85714,309.28729" + id="path3419" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.97576565;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#TriangleOutL);stroke-miterlimit:4;stroke-dasharray:3.90306258, 3.90306258;stroke-dashoffset:0;stroke-opacity:1" + d="M 395.95553,408.43421 C 365.52641,422.06523 335.22418,433.61629 307.34169,405.51055" + id="path3421" + sodipodi:nodetypes="cc" /> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="-347.34915" + y="151.48549" + id="text3425" + transform="matrix(2.6333246e-3,-0.9999965,0.9999965,2.6333246e-3,0,0)"><tspan + sodipodi:role="line" + id="tspan3427" + x="-347.34915" + y="151.48549">use</tspan></text> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.90932429;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#TriangleOutL);stroke-miterlimit:4;stroke-dasharray:2.7279727, 2.7279727;stroke-dashoffset:0;stroke-opacity:1" + d="M 544.48318,465.45996 C 504.89558,458.38783 475.6447,491.54308 451.56873,544.83742" + id="path3451" + sodipodi:nodetypes="cc" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.98453361;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#TriangleOutL);stroke-miterlimit:4;stroke-dasharray:2.95360103, 2.95360103;stroke-dashoffset:0;stroke-opacity:1" + d="M 475.85156,549.83705 C 521.04331,557.09936 554.43503,523.05257 581.91927,468.32516" + id="path3453" + sodipodi:nodetypes="cc" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.64693761;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#TriangleOutL);stroke-miterlimit:4;stroke-dasharray:2.58775042, 2.58775042;stroke-dashoffset:0;stroke-opacity:1" + d="M 518.57143,360.94183 L 518.57143,309.02341" + id="path3455" /> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="565.71429" + y="519.50507" + id="text3457"><tspan + sodipodi:role="line" + id="tspan3459" + x="565.71429" + y="519.50507">test</tspan><tspan + sodipodi:role="line" + x="565.71429" + y="542.00507" + id="tspan3461">expression</tspan></text> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="391.42859" + y="498.07648" + id="text3463"><tspan + sodipodi:role="line" + id="tspan3465" + x="391.42859" + y="498.07648">return</tspan><tspan + sodipodi:role="line" + x="391.42859" + y="520.57648" + id="tspan3467">quality</tspan></text> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.94272459;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#TriangleOutL);stroke-miterlimit:4;stroke-dasharray:2.82817393, 2.82817393;stroke-dashoffset:0;stroke-opacity:1" + d="M 217.62905,548.94843 C 176.19401,556.21074 145.57809,522.16395 120.37857,467.43654" + id="path3469" + sodipodi:nodetypes="cc" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.91076428;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#TriangleOutL);stroke-miterlimit:4;stroke-dasharray:2.73229266, 2.73229266;stroke-dashoffset:0;stroke-opacity:1" + d="M 154.30839,465.51986 C 194.02146,458.44773 223.36506,491.60298 247.51734,544.89732" + id="path3471" + sodipodi:nodetypes="cc" /> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="237.14285" + y="490.93359" + id="text3473"><tspan + sodipodi:role="line" + id="tspan3475" + x="237.14285" + y="490.93359">query</tspan><tspan + sodipodi:role="line" + x="237.14285" + y="513.43359" + id="tspan3477">results</tspan></text> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="88.571426" + y="535.21936" + id="text3479"><tspan + sodipodi:role="line" + id="tspan3481" + x="88.571426" + y="535.21936">query</tspan></text> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="314.28571" + y="439.50504" + id="text3485"><tspan + sodipodi:role="line" + id="tspan3487" + x="314.28571" + y="439.50504">instance</tspan><tspan + sodipodi:role="line" + x="314.28571" + y="462.00504" + id="tspan3489">checks</tspan></text> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.89501047;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#TriangleOutL);stroke-miterlimit:4;stroke-dasharray:3.5800417, 3.5800417;stroke-dashoffset:0;stroke-opacity:1" + d="M 305.42618,385.92792 C 334.98062,374.12036 364.41182,364.11452 391.49283,388.46048" + id="path3491" + sodipodi:nodetypes="cc" /> + <text + xml:space="preserve" + style="font-size:18px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + x="318.57144" + y="363.79077" + id="text3493"><tspan + sodipodi:role="line" + id="tspan3495" + x="318.57144" + y="363.79077">results</tspan></text> + </g> +</svg> Modified: trunk/src/php-examples/Suggestions.php =================================================================== --- trunk/src/php-examples/Suggestions.php 2009-06-11 14:57:29 UTC (rev 1794) +++ trunk/src/php-examples/Suggestions.php 2009-06-12 11:30:46 UTC (rev 1795) @@ -15,7 +15,7 @@ $id = $client->generateID(); $ksID=$client->addKnowledgeSource($id,"sparql","http://dbpedia.org/sparql"); -$client->applyConfigEntryInt($id, $ksID, "recursionDepth", 1); +$client->applyConfigEntryInt($id, $ksID, "recursionDepth", 2); $filterClasses=array("http://xmlns.com/foaf/","http://dbpedia.org/class/yago/","http://dbpedia.org/ontology/Resource"); // $relatedInstances = $client->getNegativeExamples($id,$ksID,$examples,count($examples),"http://dbpedia.org/resource/",$filterClasses); // $relatedInstances = $relatedInstances->item; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |