You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by en...@apache.org on 2011/04/01 15:16:17 UTC
svn commit: r1087695 [10/11] - in /incubator/stanbol/trunk/reasoners: ./
base/ base/.settings/ base/src/ base/src/main/ base/src/main/java/
base/src/main/java/org/ base/src/main/java/org/apache/
base/src/main/java/org/apache/stanbol/ base/src/main/java...
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/scripts/tinybox.js
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/scripts/tinybox.js?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/scripts/tinybox.js (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/scripts/tinybox.js Fri Apr 1 13:16:11 2011
@@ -0,0 +1,342 @@
+var TINY={};
+
+function T$(i){return document.getElementById(i)}
+
+TINY.box=function(){
+ var p,m,b,fn,ic,iu,iw,ih,ia,f=0;
+ return{
+ show:function(c,u,w,h,a,t){
+ if(!f){
+ p=document.createElement('div'); p.id='tinybox';
+ m=document.createElement('div'); m.id='tinymask';
+ b=document.createElement('div'); b.id='tinycontent';
+ document.body.appendChild(m); document.body.appendChild(p); p.appendChild(b);
+ m.onclick=TINY.box.hide; window.onresize=TINY.box.resize; f=1
+ var useragent = navigator.userAgent;
+
+ if(useragent.indexOf('MSIE')> -1){
+ p.style.marginLeft = "50%";
+ p.style.marginTop = "15%";
+ p.style.position = "absolute";
+ }
+ else{
+ p.style.position = "absolute";
+ }
+ }
+ if(!a&&!u){
+ p.style.width=w?w+'px':'auto'; p.style.height=h?h+'px':'auto';
+ p.style.backgroundImage='none'; b.innerHTML=c
+ }else{
+ b.style.display='none'; p.style.width=p.style.height='100px'
+ }
+ this.mask();
+ ic=c; iu=u; iw=w; ih=h; ia=a; this.alpha(m,1,80,3);
+ if(t){setTimeout(function(){TINY.box.hide()},1000*t)}
+ },
+ showS:function(c,u,w,h,a,t){
+ if(!f){
+ p=document.createElement('div'); p.id='tinybox';
+ m=document.createElement('div'); m.id='tinymask';
+ document.body.appendChild(m); document.body.appendChild(p);
+ m.onclick=TINY.box.hide; window.onresize=TINY.box.resize; f=1
+ var useragent = navigator.userAgent;
+
+ if(useragent.indexOf('MSIE')> -1){
+ p.style.marginLeft = "50%";
+ p.style.marginTop = "15%";
+ p.style.position = "absolute";
+ }
+ else{
+ p.style.position = "absolute";
+ }
+ }
+ p.style.width=p.style.height='100px';
+ this.mask();
+ ic=c; iu=u; iw=w; ih=h; ia=a; this.alpha(m,1,80,3);
+ if(t){setTimeout(function(){TINY.box.hide()},1000*t)}
+ },
+ showL:function(c,u,w,h,a,t){
+
+ b=document.createElement('div'); b.id='tinycontent';
+ p.appendChild(b);
+
+ p.style.width=w?w+'px':'auto'; p.style.height=h?h+'px':'auto';
+ p.style.backgroundImage='none'; b.innerHTML=c
+
+ },
+ fill:function(c,u,w,h,a){
+ if(u){
+ p.style.backgroundImage='';
+ var x=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject('Microsoft.XMLHTTP');
+ x.onreadystatechange=function(){
+ if(x.readyState==4&&x.status==200){TINY.box.psh(x.responseText,w,h,a)}
+ };
+ x.open('GET',c,1); x.send(null)
+ }else{
+ this.psh(c,w,h,a)
+ }
+ },
+ psh:function(c,w,h,a){
+ if(a){
+ if(!w||!h){
+ var x=p.style.width, y=p.style.height; b.innerHTML=c;
+ p.style.width=w?w+'px':''; p.style.height=h?h+'px':'';
+ b.style.display='';
+ w=parseInt(b.offsetWidth); h=parseInt(b.offsetHeight);
+ b.style.display='none'; p.style.width=x; p.style.height=y;
+ }else{
+ b.innerHTML=c
+ }
+ this.size(p,w,h,4)
+ }else{
+ p.style.backgroundImage='none'
+ }
+ },
+ hide:function(){
+ TINY.box.alpha(p,-1,0,3)
+ },
+ resize:function(){
+ TINY.box.pos(); TINY.box.mask()
+ },
+ mask:function(){
+ m.style.height=TINY.page.theight()+'px';
+ m.style.width=''; m.style.width=TINY.page.twidth()+'px'
+ },
+ pos:function(){
+ var t=(TINY.page.height()/2)-(p.offsetHeight/2); t=t<10?10:t;
+ p.style.top=(t+TINY.page.top())+'px';
+ p.style.left=(TINY.page.width()/2)-(p.offsetWidth/2)+'px'
+ },
+ alpha:function(e,d,a,s){
+ clearInterval(e.ai);
+ if(d==1){
+ e.style.opacity=0; e.style.filter='alpha(opacity=0)';
+ e.style.display='block'; this.pos()
+ }
+ e.ai=setInterval(function(){TINY.box.twalpha(e,a,d,s)},20)
+ },
+ twalpha:function(e,a,d,s){
+ var o=Math.round(e.style.opacity*100);
+ if(o==a){
+ clearInterval(e.ai);
+ if(d==-1){
+ e.style.display='none';
+ e==p?TINY.box.alpha(m,-1,0,2):b.innerHTML=p.style.backgroundImage=''
+ }else{
+ e==m?this.alpha(p,1,100,5):TINY.box.fill(ic,iu,iw,ih,ia)
+ }
+ }else{
+ var n=o+Math.ceil(Math.abs(a-o)/s)*d;
+ e.style.opacity=n/100; e.style.filter='alpha(opacity='+n+')'
+ }
+ },
+ size:function(e,w,h,s){
+ e=typeof e=='object'?e:T$(e); clearInterval(e.si);
+ var ow=e.offsetWidth, oh=e.offsetHeight,
+ wo=ow-parseInt(e.style.width), ho=oh-parseInt(e.style.height);
+ var wd=ow-wo>w?-1:1, hd=(oh-ho>h)?-1:1;
+ e.si=setInterval(function(){TINY.box.twsize(e,w,wo,wd,h,ho,hd,s)},20)
+ },
+ twsize:function(e,w,wo,wd,h,ho,hd,s){
+ var ow=e.offsetWidth-wo, oh=e.offsetHeight-ho;
+ if(ow==w&&oh==h){
+ clearInterval(e.si); p.style.backgroundImage='none'; b.style.display='block'
+ }else{
+ if(ow!=w){e.style.width=ow+(Math.ceil(Math.abs(w-ow)/s)*wd)+'px'}
+ if(oh!=h){e.style.height=oh+(Math.ceil(Math.abs(h-oh)/s)*hd)+'px'}
+ this.pos()
+ }
+ },
+ work:function(){
+ var tinybox = document.getElementById("tinybox");
+ if(tinybox != null){
+ tinybox.style.background = "#fff url(img/loading.gif) no-repeat 50% 50%";
+ tinybox.style.display = "block";
+ var tinycontent = document.getElementById("tinycontent");
+ if(tinycontent != null){
+ tinycontent.innerHTML = "<br>";
+ //tinycontent.style.background = "#fff url(img/loading.gif) no-repeat 40% 40%";
+ //tinycontent.style.display = 'none';
+ }
+
+ }
+ },
+ searchShow:function(c,u,w,h,a,t){
+ if(!f){
+ p=document.createElement('div'); p.id='tinybox';
+ m=document.createElement('div'); m.id='tinymask';
+ document.body.appendChild(m); document.body.appendChild(p);
+ m.onclick=TINY.box.hide; window.onresize=TINY.box.resize; f=1
+ var useragent = navigator.userAgent;
+
+ if(useragent.indexOf('MSIE')> -1){
+ p.style.marginLeft = "50%";
+ p.style.marginTop = "15%";
+ p.style.position = "absolute";
+ }
+ else{
+ p.style.position = "absolute";
+ }
+ }
+
+ this.mask();
+ ic=c; iu=u; iw=w; ih=h; ia=a; this.alpha(m,1,80,3);
+ if(t){setTimeout(function(){TINY.box.hide()},1000*t)}
+ }
+ }
+}();
+
+TINY.page=function(){
+ return{
+ top:function(){return document.body.scrollTop||document.documentElement.scrollTop},
+ width:function(){return self.innerWidth||document.documentElement.clientWidth},
+ height:function(){return self.innerHeight||document.documentElement.clientHeight},
+ theight:function(){
+ var d=document, b=d.body, e=d.documentElement;
+ return Math.max(Math.max(b.scrollHeight,e.scrollHeight),Math.max(b.clientHeight,e.clientHeight))
+ },
+ twidth:function(){
+ var d=document, b=d.body, e=d.documentElement;
+ return Math.max(Math.max(b.scrollWidth,e.scrollWidth),Math.max(b.clientWidth,e.clientWidth))
+ }
+ }
+}();
+
+
+function popupCentrata(req, parameter) {
+
+ var ebhclibrary = readCookie("ebhclibrary");
+ var auth;
+ var remember = false;
+ if(ebhclibrary != null){
+ auth = ebhclibrary.split(";");
+ auth = auth[0].split(" ");
+ remember = true;
+ }
+
+ var content2;
+
+ if(remember){
+ content2 = "<div id=\"popupbox\">" +
+ "<form name=\"login\" action=\"\" method=\"post\">" +
+ "<center>Username:</center>" +
+ "<center><input id=\"username\" name=\"username\" value=\""+auth[0]+"\" size=\"14\" /></center>" +
+ "<center>Password:</center>" +
+ "<center><input id=\"password\" name=\"password\" type=\"password\" value=\""+auth[1]+"\" size=\"14\" /></center>";
+ }
+ else{
+ content2 = "<div id=\"popupbox\">" +
+ "<form name=\"login\" action=\"\" method=\"post\">" +
+ "<center>Username:</center>" +
+ "<center><input id=\"username\" name=\"username\" size=\"14\" /></center>" +
+ "<center>Password:</center>" +
+ "<center><input id=\"password\" name=\"password\" type=\"password\" size=\"14\" /></center>";
+ }
+
+
+ if(req != null){
+ req = "'"+req+"'";
+ }
+ if(parameter != null){
+ parameter = "'"+parameter+"'";
+ }
+
+ if(remember){
+ content2 += "<center><input id=\"rememberme\" type=\"checkbox\" name=\"rememberme\" value=\"rememberme\" checked/>Remember me</center></form>";
+ }
+ else{
+ content2 += "<center><input id=\"rememberme\" type=\"checkbox\" name=\"rememberme\" value=\"rememberme\"/>Remember me</center></form>";
+ }
+
+ content2 += "<center><input type=\"button\" name=\"submit\" value=\"login\" onclick=\"javascript:loggin("+req+", "+parameter+")\"/></center></form>" +
+ "<center><span id=\"loginincorrect\" style=\"color:red\"></span></center>";
+
+ //var content2 = "<img src='img/full-text.gif' width='298' height='373' alt='' />";
+
+ //TINY.box.show(content2,0,0,0,1);
+ TINY.box.showL(content2,0,0,0,1);
+
+ }
+
+function poplog(req, parameter) {
+
+ var ebhclibrary = readCookie("ebhclibrary");
+ var auth;
+ var remember = false;
+ if(ebhclibrary != null){
+ auth = ebhclibrary.split(";");
+ auth = auth[0].split(" ");
+ remember = true;
+ }
+
+ var content2;
+
+ if(remember){
+ content2 = "<div id=\"popupbox\">" +
+ "<form name=\"login\" action=\"\" method=\"post\">" +
+ "<center>Username:</center>" +
+ "<center><input id=\"username\" name=\"username\" value=\""+auth[0]+"\" size=\"14\" /></center>" +
+ "<center>Password:</center>" +
+ "<center><input id=\"password\" name=\"password\" type=\"password\" value=\""+auth[1]+"\" size=\"14\" /></center>";
+ }
+ else{
+ content2 = "<div id=\"popupbox\">" +
+ "<form name=\"login\" action=\"\" method=\"post\">" +
+ "<center>Username:</center>" +
+ "<center><input id=\"username\" name=\"username\" size=\"14\" /></center>" +
+ "<center>Password:</center>" +
+ "<center><input id=\"password\" name=\"password\" type=\"password\" size=\"14\" /></center>";
+ }
+
+
+ if(req != null){
+ req = "'"+req+"'";
+ }
+ if(parameter != null){
+ parameter = "'"+parameter+"'";
+ }
+
+ if(remember){
+ content2 += "<center><input id=\"rememberme\" type=\"checkbox\" name=\"rememberme\" value=\"rememberme\" checked/>Remember me</center></form>";
+ }
+ else{
+ content2 += "<center><input id=\"rememberme\" type=\"checkbox\" name=\"rememberme\" value=\"rememberme\"/>Remember me</center></form>";
+ }
+
+ content2 += "<center><input type=\"button\" name=\"submit\" value=\"login\" onclick=\"javascript:loggin("+req+", "+parameter+")\"/></center></form>" +
+ "<center><span id=\"loginincorrect\" style=\"color:red\"></span></center>";
+
+ //var content2 = "<img src='img/full-text.gif' width='298' height='373' alt='' />";
+
+ TINY.box.show(content2,0,0,0,1);
+
+ }
+
+
+function readCookie(name) {
+ var nameEQ = name + "=";
+ var ca = document.cookie.split(';');
+ for(var i=0;i < ca.length;i++) {
+ var c = ca[i];
+ while (c.charAt(0)==' ') c = c.substring(1,c.length);
+ if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
+ }
+ return null;
+}
+
+function createCookie(name,value,days) {
+ if (days) {
+ var date = new Date();
+ date.setTime(date.getTime()+(days*24*60*60*1000));
+ var expires = "; expires="+date.toGMTString();
+ }
+ else var expires = "";
+
+ document.cookie = name+"="+value+expires+"; path=/";
+}
+
+function eraseCookie(name) {
+ createCookie(name,"",-1);
+}
+
+
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:16:11 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/fise.css
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/fise.css?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/fise.css (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/fise.css Fri Apr 1 13:16:11 2011
@@ -0,0 +1,368 @@
+body {
+ font: normal 13px/20px Arial,Helvetica,sans-serif;
+ padding: 0;
+ margin: 0;
+ background-color: #eff9f0;
+}
+
+img {
+ border: none;
+}
+
+a:link, a:visited, a:hover {
+ color: #c43187;
+}
+
+a: active {
+ color: black;
+}
+
+a:focus {
+ outline: none;
+}
+
+dt, dd {
+ margin-top: 1em;
+}
+
+pre, textarea {
+ border: 1px solid #f8dcbb;
+ padding: 1em;
+ background-color: #f8f8f8;
+ font-size: 90%;
+ overflow: auto;
+}
+
+textarea {
+ width: 100%;
+}
+
+pre {
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+
+form {
+ margin-bottom: 2em;
+}
+
+.home {
+ position: absolute;
+}
+
+.header {
+ padding: 0.5em 1em;
+ background: #4c4c4c url("/static/images/header_bg.png") repeat-x top left;
+ border-bottom: 1px solid black;
+}
+
+.header h1 {
+ float: left;
+}
+
+.header .mainNavigationMenu {
+ margin: 23px 1em 0;
+ text-align: right;
+}
+
+.header .mainNavigationMenu ul {
+ display: inline;
+}
+
+.header .mainNavigationMenu li {
+ display: inline;
+ margin-left: 0.5em;
+ border: 1px solid transparent;
+ padding: 0.3em 0.5em 0.5em 0.5em;
+ border-radius: 8px;
+}
+
+.header .mainNavigationMenu li.selected {
+ border: 1px solid #222;
+ background-color: #333;
+}
+
+.header .mainNavigationMenu a {
+ font-weight: bold;
+ color: #EFF9F0;
+}
+
+
+h1 {
+ color: #e9e9e9;
+ font-size: 18px;
+ font-weight: normal;
+ margin: 22px 0 3px;
+ padding: 0 0 0 160px;
+ text-shadow: 0 1px 0 #000;
+}
+
+h2 {
+ padding: 0;
+ margin: 1em 0;
+ font-size: 16px;
+}
+
+h3 {
+ padding: 0;
+ margin: 1em 0;
+ font-size: 14px;
+ font-weight:bold;
+}
+
+.content {
+ background-color: #fff;
+ border-color: #d1dfce;
+ border-style: solid;
+ border-width: 0 1px 2px;
+ margin: 0 auto 5em;
+ padding: 0.5em 2em 1em;
+ width: 75%;
+}
+
+.content img {
+ border: 1px solid gray;
+ max-width: 800px;
+}
+
+.content fieldset {
+ border-color: #d1dfce;
+ border-style: solid;
+ border-width: 1px;
+}
+
+.footer {
+ background-color: #494949;
+ border-top: 2px solid #373737;
+ color: #d9d9d9;
+ font-size: 85%;
+ padding: 1em 1em 2em;
+ text-shadow: 0 1px 0 #111111;
+}
+
+.footer .column {
+ float: left;
+ width: 48%;
+ padding: 0.5em;
+}
+
+.column a img {
+ border: 1px solid #373737;
+}
+
+.footer img.swcube {
+ padding: 6px;
+ background-color: white;
+}
+
+.right {
+ text-align: right;
+}
+
+table {
+ text-align: left;
+ width: 100%;
+}
+
+.storeContents table {
+ border-collapse: collapse;
+ margin: 5px 0 0px;
+}
+
+.storeContents th {
+ color: #000;
+ font-size: 105%;
+ font-weight: normal;
+ padding: 6px 10px;
+ border-bottom: 1px solid #d1dfce;
+ background-color:#f8f8f8;
+}
+
+.storeContents th img {
+ vertical-align: top;
+ border: medium none;
+ margin: 0 0.1em;
+}
+
+.storeContents td {
+ padding: 4px 10px 5px;
+ border-bottom: 1px solid #ffe8f9;
+}
+
+.content input.url {
+ width: 600px;
+}
+
+.content .contentItemPreview pre {
+ max-height: 200px;
+}
+
+.content table {
+ font-size: 95%;
+}
+
+.entitylistings {
+ margin-top: 20px;
+ }
+
+.entitylisting h3 {
+ text-align: center;
+}
+
+.entitylisting {
+ float: left;
+ width: 33%;
+ margin: auto;
+}
+
+.entitylisting p {
+ margin: 0.2em;
+}
+
+.entitylisting table {
+ border: 1px solid #eee;
+ border-radius: 8px;
+ background: url("/static/images/foldable_unfolded.png") no-repeat scroll right 17px transparent;
+}
+
+.entitylisting table.collapsed {
+ background: url("/static/images/foldable_folded.png") no-repeat scroll right center transparent;
+ }
+
+.entitylisting .subheader {
+ height: 25px;
+}
+
+.entitylisting .subheader td {
+ background-color: #f9f9f9;
+ border-bottom: 1px solid #eee;
+ border-top: 1px solid #eee;
+ font-weight: bold;
+ padding: 0 10px;
+}
+
+.entitylisting img {
+ vertical-align: middle;
+ border: 1px solid transparent;
+}
+
+.entitylisting .thumb {
+ width: 50px;
+}
+
+.entitylisting thead {
+ cursor: pointer;
+}
+
+.entitylisting tbody{
+ background-color: #fcfcfc;
+ }
+
+.entitylisting tbody tr {
+ height: 42px;
+}
+
+.entitylisting .collapsed tbody tr {
+ display: none;
+}
+
+.downloadLinks, .previousNext {
+ list-style: none;
+ text-align: right;
+ padding: 0;
+ }
+
+.downloadLinks li, .previousNext li {
+ border: 1px solid #c3c3c3;
+ display: inline;
+ margin: 0 0 0 30px;
+ padding: 4px 6px 5px;
+ background-color: #fafafa;
+ }
+
+.downloadLinks li a, .previousNext li a {
+ color: #333;
+ text-decoration: none;
+ }
+
+.downloadLinks li a:hover, .previousNext li a:hover {
+ text-decoration: underline;
+ }
+
+li.older a {
+ background: url("/static/images/next.png") no-repeat scroll right center transparent;
+ padding: 0 12px 0 0;
+ }
+
+li.moreRecent a {
+ background: url("/static/images/previous.png") no-repeat scroll left center transparent;
+ padding: 0 0 0 13px;
+ }
+
+.download {
+ background: url("/static/images/download.png") no-repeat scroll left center transparent;
+ padding: 0 0 2px 20px;
+ }
+
+.downloadRDF {
+ background: url("/static/images/download_rdf.png") no-repeat scroll left center transparent;
+ padding: 0 0 2px 20px;
+ }
+
+.external {
+ background: url("/static/images/external.png") no-repeat scroll right center transparent;
+ padding: 0 18px 0 0;
+ }
+
+#enginesOuputWaiter {
+ opacity: 90%;
+ font-style: italic;
+ text-align: center;
+}
+
+#enginesOuput pre {
+ max-height: 200px;
+}
+
+.enginelisting {
+ padding: 0.5em;
+ border: 1px solid #eee;
+ border-radius: 8px;
+}
+
+.enginelisting .collapseheader {
+ margin: 0.1em;
+ cursor: pointer;
+ background: url("/static/images/foldable_unfolded.png") no-repeat scroll right center transparent;
+}
+
+.enginelisting .collapsed .collapseheader {
+ background: url("/static/images/foldable_folded.png") no-repeat scroll right center transparent;
+}
+
+.enginelisting ul {
+ padding-left: 0;
+}
+
+.enginelisting .collapsed .collapsable {
+ display: none;
+}
+
+.enginelisting li {
+ list-style: none;
+ padding-left: 20px;
+ background: transparent url(/static/images/black_gear_16.png) no-repeat scroll 0% 50%;
+}
+
+#enginesInput .submitButtons {
+ text-align: right;
+}
+
+p.note {
+ font-size: 90%;
+ font-style: italic;
+ text-align: right;
+}
\ No newline at end of file
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:16:11 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/date-bottom.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/date-bottom.gif?rev=1087695&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/date-bottom.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/date-top.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/date-top.gif?rev=1087695&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/date-top.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/footer.jpg
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/footer.jpg?rev=1087695&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/footer.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/frontphoto.jpg
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/frontphoto.jpg?rev=1087695&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/frontphoto.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/header.jpg
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/header.jpg?rev=1087695&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/header.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/wrapbg.gif
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/wrapbg.gif?rev=1087695&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/images/wrapbg.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/kres.css
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/kres.css?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/kres.css (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/kres.css Fri Apr 1 13:16:11 2011
@@ -0,0 +1,108 @@
+
+* {margin:0; padding:0;}
+
+/******** General tags ********/
+body {margin:25px auto; padding:0; font:76% Verdana,Tahoma,Arial,sans-serif; background:#1e3044; color:#303030; line-height:1.3em;}
+a {text-decoration:none; color:#20526a; font-weight:bold;}
+a:hover {text-decoration:underline; color:#20526a;}
+a img {border:0;}
+p {margin:0 0 18px 8px;}
+h2 {font-size:1.5em; font-weight:normal; letter-spacing:-1px; margin:10px 0 8px 0;}
+h3 {font-size:1.2em; margin:2px 0 8px 0;}
+
+/******** Main wrap ********/
+#wrap {background:#ffffff url(images/wrapbg.gif) top left repeat-y; color:#303030; margin:0 auto; width:760px;}
+
+/******** Header ********/
+#header {clear:both; background:url(images/header.jpg) top left no-repeat; height:150px;}
+#header h1 {font-size:3.8em; letter-spacing:-4px; color:#d88d44; padding:10px 0 10px 45px;}
+#header h1 a {color:#d88d44; text-decoration:none;}
+#header h1 a:hover {color:#e99e55;}
+#slogan {color:#20526a; margin:60px 0 0 45px; font-size:1.6em; letter-spacing:-1px; }
+
+#leftHeader {width: 15%; float: left;}
+#rightHeader {width: 85%; float: right;}
+
+/******** Sitemenu, left sidebar ********/
+#sitemenu {clear:both; float:left; width:135px; margin:0; padding:20px 0 0 15px;}
+#sitemenu ul {list-style:none; width:135px; margin:0 0 20px 0; padding:0; font-size:1#2em; letter-spacing:-1px;}
+#sitemenu li {margin-bottom:4px;}
+#sitemenu li a {font-weight:bold; text-decoration:none; color:#20526a; display:block; height:1.1em; padding:2px 2px 2px 8px; border-left: 8px solid #70a2ba;}
+#sitemenu li a:hover {color:#d88d44; text-decoration:none; border-left:8px solid #d88d44;}
+#sitemenu #current {border-left:8px solid #d88d44;}
+#sitemenu ul ul {font-size:0.8em; width:110px; font-weight:normal; margin:5px 0 8px 20px;}
+#sitemenu ul ul li {margin-bottom:2px;}
+#sitemenu ul ul li a {border:0; padding:2px;}
+#sitemenu ul ul li a:hover {border:0; padding:2px; text-decoration:underline;}
+
+/******** Extras, right sitebar ********/
+#extras {float:right; width:135px; margin:0; padding:10px 15px 0 0;}
+#extras ul {margin:0 0 14px 2px; list-style:none; color:#808080;}
+#extras li {margin:0 0 2px 0;}
+#extras li a {padding:2px 2px 2px 2px; height:1.2em; letter-spacing:-1px; font-weight:bold;}
+#extras li a:hover {color:#d88d44;}
+#extras ul ul, #extras ul ul ul {font-size:0.9em; line-height:1.2em; margin:2px 0 2px 15px;}
+#extras ul ul a, #extras ul ul ul a {font-weight:normal;}
+
+/******** Content variations ********/
+#content {margin:5px 170px 0 170px; padding:2px 0 0 0; line-height:1.5em; text-align:left;}
+#content h2 {font-size:1.6em; margin:20px 0 10px 0;}
+#content h3 {font-size:1.4em; font-weight:normal; letter-spacing:-1px; margin:10px 0 8px 0;}
+#content p {text-align:justify;}
+
+/******** Footer ********/
+#footer {clear:both; margin:5px auto 0 auto; padding:10px 0 10px 0; width:760px; text-align:center; background: url(images/footer.jpg) bottom left no-repeat; color:#555; font-size:0.9em; line-height:1.5em;}
+#footer p {margin:3px;}
+#footer p strong {font-size:1.1em; font-weight:400;}
+#footer a {color:#777; font-weight:400; text-decoration:none;}
+#footer a:hover {text-decoration:underline;}
+
+/******** Various classes ********/
+.datetag {width:50px; padding:0 0 10px 0; text-align:center; background:.20526a url(images/date-bottom.gif) bottom left no-repeat; margin:2px 15px 1px 10px; color:.ffffff; font-size:2.2em; text-align:center; float:left;}
+.datetag .date {width:50px; display:block; letter-spacing:-1px; padding:15px 0 5px 0; background:.20526a url(images/date-top.gif) top left no-repeat;}
+.datetag .month {font-size:0.5em; letter-spacing:-1px; width:50px; display:block; font-weight:bold;}
+.textright {text-align:right;}
+.center {text-align:center;}
+.frontphoto {margin:20px 0 10px 0;}
+.small {font-size:0.8em;}
+.bold {font-weight:bold;}
+.clear {clear:both;}
+.hide {display:none;}
+
+input.url {width: 400px;}
+
+div#data-source-form{
+ margin-left: 25px;
+ margin-top: 25px;
+}
+
+ul.kressList{
+ margin: 0 0 0 25px;
+}
+
+.indent{margin-left: 20px;}
+.indent code{border: thin; border-style: dotted; padding: 5px 5px 5px 5px;}
+
+
+.configure {margin-left: 5px; width: 12px; height: 12px;}
+.scopeDIV {margin: 20px 0 20px 20px; display: none;}
+.contentAlign {margin: 20px 0 0 20px;}
+.menuLeft {width: 80%; float: left;}
+.menuRight {width: 20%; float: right; margin-top: 10px;}
+.menuRightText {width: 20%; float: right;}
+.contentTag {margin-right: 10px;}
+.contentTagNoShow {margin: 30px 0 0 30px; display: none;}
+.refactor {width: 350px; margin-bottom: 10px;}
+
+#recipeList {display: none; width: 100%;}
+
+#tinybox {width:230px; height:190px; display:none; padding:10px; background:#fff url(img/loading.gif) no-repeat 50% 50%; border:10px solid #e3e3e3; z-index:2000}
+#tinymask {text-align:center; position:absolute; display:none; top:0; left:0; height:100%; width:100%; background:#000; z-index:1500}
+#tinycontent {background:#fff}
+
+.code {width: 300px;}
+
+.contentTag fieldset {border-color: #d1dfce; border-style: solid; border-width: 1px; width: 380px; margin: 0 0 30px 18px;}
+.contentTag div.fieldset {margin: 20px 20px 20px 20px;}
+.fieldset select {width: 300px;}
+.fieldset .code {width: 200px;}
\ No newline at end of file
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/kress.css
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/kress.css?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/kress.css (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/static/style/kress.css Fri Apr 1 13:16:11 2011
@@ -0,0 +1,67 @@
+
+* {margin:0; padding:0;}
+
+/******** General tags ********/
+body {margin:25px auto; padding:0; font:76% Verdana,Tahoma,Arial,sans-serif; background:.1e3044; color:.303030; line-height:1.3em;}
+a {text-decoration:none; color:.20526a; font-weight:bold;}
+a:hover {text-decoration:underline; color:.20526a;}
+a img {border:0;}
+p {margin:0 0 18px 8px;}
+h2 {font-size:1.5em; font-weight:normal; letter-spacing:-1px; margin:10px 0 8px 0;}
+h3 {font-size:1.2em; margin:2px 0 8px 0;}
+
+/******** Main wrap ********/
+#wrap {background:.ffffff url(images/wrapbg.gif) top left repeat-y; color:.303030; margin:0 auto; width:760px;}
+
+/******** Header ********/
+.header {clear:both; background:url(images/header.jpg) top left no-repeat; height:150px;}
+.header h1 {font-size:3.8em; letter-spacing:-4px; color:.d88d44; padding:55px 0 10px 45px;}
+.header h1 a {color:.d88d44; text-decoration:none;}
+.header h1 a:hover {color:.e99e55;}
+.slogan {color:.20526a; margin:15px 0 0 45px; font-size:1.6em; letter-spacing:-1px;}
+
+/******** Sitemenu, left sidebar ********/
+.sitemenu {clear:both; float:left; width:135px; margin:0; padding:20px 0 0 15px;}
+.sitemenu ul {list-style:none; width:135px; margin:0 0 20px 0; padding:0; font-size:1.2em; letter-spacing:-1px;}
+.sitemenu li {margin-bottom:4px;}
+.sitemenu li a {font-weight:bold; text-decoration:none; color:.20526a; display:block; height:1.1em; padding:2px 2px 2px 8px; border-left: 8px solid .70a2ba;}
+.sitemenu li a:hover {color:.d88d44; text-decoration:none; border-left:8px solid .d88d44;}
+.sitemenu .current {border-left:8px solid .d88d44;}
+.sitemenu ul ul {font-size:0.8em; width:110px; font-weight:normal; margin:5px 0 8px 20px;}
+.sitemenu ul ul li {margin-bottom:2px;}
+.sitemenu ul ul li a {border:0; padding:2px;}
+.sitemenu ul ul li a:hover {border:0; padding:2px; text-decoration:underline;}
+
+/******** Extras, right sitebar ********/
+.extras {float:right; width:135px; margin:0; padding:10px 15px 0 0;}
+.extras ul {margin:0 0 14px 2px; list-style:none; color:.808080;}
+.extras li {margin:0 0 2px 0;}
+.extras li a {padding:2px 2px 2px 2px; height:1.2em; letter-spacing:-1px; font-weight:bold;}
+.extras li a:hover {color:.d88d44;}
+.extras ul ul, .extras ul ul ul {font-size:0.9em; line-height:1.2em; margin:2px 0 2px 15px;}
+.extras ul ul a, .extras ul ul ul a {font-weight:normal;}
+
+/******** Content variations ********/
+.content {margin:5px 170px 0 170px; padding:2px 0 0 0; line-height:1.5em; text-align:left;}
+.content h2 {font-size:1.6em; margin:20px 0 10px 0;}
+.content h3 {font-size:1.4em; font-weight:normal; letter-spacing:-1px; margin:10px 0 8px 0;}
+.content p {text-align:justify;}
+
+/******** Footer ********/
+.footer {clear:both; margin:5px auto 0 auto; padding:10px 0 10px 0; width:760px; text-align:center; background: url(images/footer.jpg) bottom left no-repeat; color:.555; font-size:0.9em; line-height:1.5em;}
+.footer p {margin:3px;}
+.footer p strong {font-size:1.1em; font-weight:400;}
+.footer a {color:.777; font-weight:400; text-decoration:none;}
+.footer a:hover {text-decoration:underline;}
+
+/******** Various classes ********/
+.datetag {width:50px; padding:0 0 10px 0; text-align:center; background:.20526a url(images/date-bottom.gif) bottom left no-repeat; margin:2px 15px 1px 10px; color:.ffffff; font-size:2.2em; text-align:center; float:left;}
+.datetag .date {width:50px; display:block; letter-spacing:-1px; padding:15px 0 5px 0; background:.20526a url(images/date-top.gif) top left no-repeat;}
+.datetag .month {font-size:0.5em; letter-spacing:-1px; width:50px; display:block; font-weight:bold;}
+.textright {text-align:right;}
+.center {text-align:center;}
+.frontphoto {margin:20px 0 10px 0;}
+.small {font-size:0.8em;}
+.bold {font-weight:bold;}
+.clear {clear:both;}
+.hide {display:none;}
\ No newline at end of file
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:16:11 2011
@@ -0,0 +1 @@
+target
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/ajax/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:16:11 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/ajax/contentitem.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/ajax/contentitem.ftl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/ajax/contentitem.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/ajax/contentitem.ftl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,9 @@
+<#import "/imports/contentitem.ftl" as contentitem>
+<#escape x as x?html>
+
+<@contentitem.view />
+
+<h3>Raw RDF output</h3>
+<pre>${it.rdfMetadata}</pre>
+</div>
+</#escape>
\ No newline at end of file
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:16:11 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/common.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/common.ftl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/common.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/common.ftl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,69 @@
+<#macro page title>
+<html>
+ <head>
+
+ <title>KReS Platform - ${title?html}</title>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+
+ <link rel="stylesheet" href="/kres/static/style/kres.css" title="KReS Style" media="screen,projection" />
+
+ <link rel="icon" type="image/png" href="/kres/static/images/kresLogoExtended.png" />
+
+ <script type="text/javascript" src="/kres/static/scripts/jquery-1.4.2.js"></script>
+ <script type="text/javascript" src="/kres/static/scripts/kres.js"></script>
+ <script type="text/javascript" src="/kres/static/scripts/jquery.rdfquery.core-1.0.js"></script>
+ <script type="text/javascript" src="/kres/static/scripts/tinybox.js"></script>
+ <script type="text/javascript" src="/kres/static/scripts/jit-yc.js"></script>
+
+ </head>
+ <body> <div id="wrap">
+ <div id="header">
+ <div id="leftHeader">
+ <h1><a href="/kres"><img alt="KReS Logo" src="/kres/static/images/kresLogoExtended.png" width="110" height="112"></a></h1>
+ </div>
+ <div id="rightHeader">
+ <p id="slogan">The Knowledge Representation and Reasoning System!</p>
+ </div>
+
+ </div>
+
+ <#if it?exists && it.mainMenuItems?exists>
+ <div id="sitemenu">
+ <h2 class="hide">KReS menu:</h2>
+ <ul>
+ <#list it.mainMenuItems as item>
+ <li><a class="${item.cssClass}" href="${item.link}">${item.label}</a>
+ <#if item.subMenu?exists>
+ <div id="${item.id}" class="hide">
+ <ul>
+ <#list item.subMenu as subItem>
+ <a class="${subItem.cssClass}" href="${subItem.link}">${subItem.label}</a></li>
+ </#list>
+ </ul>
+ </div>
+ </#if>
+ </li>
+ </#list>
+ </ul>
+ <h2><a href="http://stlab.istc.cnr.it/stlab/The_Semantic_Technology_Laboratory_(STLab)"><img src="/kres/static/images/stlabLogo.jpg" width="80" height="40"></a></h2>
+ </div>
+ </#if>
+
+ <div id="content">
+ <h2>${title?html}</h2>
+ <#nested>
+ </div>
+
+ <div id="footer">
+
+ <a href="http://www.w3.org/standards/semanticweb/"><img class="swcube"
+ src="/kres/static/images/sw-cube.png"/></a>
+ <a href="http://www.iks-project.eu"><img
+ height="60px" alt="IKS Project" src="/kres/static/images/iks_project_logo.jpg" /></a>
+ <p><em>The research leading to these results has received funding from the European Community's
+ Seventh Framework Programme (FP7/2007-2013) under grant agreement n° 231527</em></p>
+ </div>
+ </div>
+ </body>
+</html>
+</#macro>
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/contentitem.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/contentitem.ftl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/contentitem.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/contentitem.ftl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,40 @@
+<#import "/imports/entities.ftl" as entities>
+<#macro view>
+
+<div class="entitylistings">
+<#if it.personOccurrences?size != 0 || it.organizationOccurrences?size != 0 || it.placeOccurrences?size != 0>
+<h3>Extracted entities</h3>
+</#if>
+
+<div class="entitylisting">
+<#if it.personOccurrences?size != 0>
+<h3>People</h3>
+<@entities.listing entities=it.personOccurrences
+ iconsrc="/static/images/user_48.png" />
+</#if>
+</div>
+
+<div class="entitylisting">
+<#if it.organizationOccurrences?size != 0>
+<h3>Organizations</h3>
+<@entities.listing entities=it.organizationOccurrences
+ iconsrc="/static/images/organization_48.png" />
+</#if>
+</div>
+
+<div class="entitylisting">
+<#if it.placeOccurrences?size != 0>
+<h3>Places</h3>
+<@entities.listing entities=it.placeOccurrences
+ iconsrc="/static/images/compass_48.png" />
+</#if>
+</div>
+</div>
+<div style="clear: both"></div>
+
+<script>
+$("th").click(function () {
+ $(this).parents("table").toggleClass("collapsed");
+});
+</script>
+</#macro>
\ No newline at end of file
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/entities.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/entities.ftl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/entities.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/entities.ftl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,46 @@
+<#macro listing entities iconsrc>
+<#list entities as entity>
+<p>
+<table class="collapsed">
+<thead>
+<tr>
+ <th class="thumb">
+ <img src="${iconsrc}" height="42" width="48" />
+ </th>
+ <th class="name">
+ <#if entity.uri?exists>
+ <a href="${entity.uri}" title="${entity.uri}">${entity.name}</a>
+ <#else>
+ ${entity.name}
+ </#if>
+ </th>
+</tr>
+</thead>
+<tbody>
+<#if entity.suggestions?size != 0>
+<tr class="subheader">
+ <td colspan="2">Referenced entities</td>
+</tr>
+</#if>
+<#list entity.suggestions as suggestion>
+<tr>
+ <td><img src="${iconsrc}" height="42" width="48" /></td>
+ <td><a href="${suggestion.uri}" title="${suggestion.uri}" class="external">${suggestion.label}</a></td>
+</tr>
+</#list>
+<#if entity.mentions?size != 0>
+<tr class="subheader">
+ <td colspan="2">Mentions</td>
+</tr>
+</#if>
+<#list entity.mentions as mention>
+<tr>
+ <td></td>
+ <td>${mention}</td>
+</tr>
+</#list>
+</tbody>
+</table>
+</p>
+</#list>
+</#macro>
\ No newline at end of file
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/kres.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/kres.ftl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/kres.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/kres.ftl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,18 @@
+<#macro form>
+<form id="sparql" action="/kres" method="POST"
+ enctype="application/x-www-form-urlencoded"
+ accept="application/sparql-results+xml, application/rdf+xml">
+<input type="text" class="url" name="databaseName" value="" >Database Name for NGraph</Input
+<input type="text" class="url" name="namespace" value="" >Triples namespace
+<input type="text" class="url" name="phisicalDBName" value="" >Phisical DB Name
+<input type="text" class="url" name="jdbcDriver" value="" >JDBC Driver
+<input type="text" class="url" name="protocol" value="" >Protocol
+<input type="text" class="url" name="host" value="" >Host
+<input type="text" class="url" name="port" value="" >Port
+<input type="text" class="url" name="username" value="" >Username
+<input type="text" class="url" name="password" value="" >Password
+<p><input type="submit" class="submit" value="RDB Reengineering"/></p>
+<pre class="prettyprint result" style="max-height: 200px; display: none" disabled="disabled">
+</pre>
+</form>
+</#macro>
\ No newline at end of file
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/sparql.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/sparql.ftl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/sparql.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/META-INF/templates/imports/sparql.ftl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,49 @@
+<#macro form>
+<form id="sparql" action="/sparql" method="GET"
+ enctype="application/x-www-form-urlencoded"
+ accept="application/sparql-results+xml, application/rdf+xml">
+<textarea class="query" rows="11" name="query">
+PREFIX fise: <http://fise.iks-project.eu/ontology/>
+PREFIX dc: <http://purl.org/dc/terms/>
+SELECT distinct ?enhancement ?content ?engine ?extraction_time
+WHERE {
+ ?enhancement a fise:Enhancement .
+ ?enhancement fise:extracted-from ?content .
+ ?enhancement dc:creator ?engine .
+ ?enhancement dc:created ?extraction_time .
+}
+ORDER BY DESC(?extraction_time) LIMIT 5
+</textarea>
+<p><input type="submit" class="submit" value="Run SPARQL query" /></p>
+<pre class="prettyprint result" style="max-height: 200px; display: none" disabled="disabled">
+</pre>
+</form>
+<script language="javascript"><!--
+function registersSparqlHandler() {
+ $("#sparql input.submit", this).click(function(e) {
+ // disable regular form click
+ e.preventDefault();
+
+ // clean the result area
+ $("#sparql textarea.result").text('');
+
+ // submit sparql query using Ajax
+ $.ajax({
+ type: "POST",
+ url: "/sparql",
+ data: {query: $("#sparql textarea.query").val()},
+ dataType: "html",
+ cache: false,
+ success: function(result) {
+ $("#sparql pre.result").text(result).css("display", "block");
+ prettyPrint();
+ },
+ error: function(result) {
+ $("#sparql pre.result").text('Invalid query.').css("display", "block");
+ }
+ });
+ });
+ }
+ $(document).ready(registersSparqlHandler);
+--></script>
+</#macro>
\ No newline at end of file
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:16:11 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/OffLineKReSOntologyRules.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/OffLineKReSOntologyRules.owl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/OffLineKReSOntologyRules.owl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/OffLineKReSOntologyRules.owl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,317 @@
+<?xml version="1.0"?>
+
+
+<!DOCTYPE rdf:RDF [
+ <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
+ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+ <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
+ <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
+ <!ENTITY rmi "http://kres.iks-project.eu/ontology/meta/rmi.owl#" >
+ <!ENTITY sequence "http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#" >
+ <!ENTITY cpannotationschema "http://www.ontologydesignpatterns.org/schemas/cpannotationschema.owl#" >
+]>
+
+
+<rdf:RDF xmlns="http://eu.iksproject.kres/KReSOntologyRules.owl#"
+ xml:base="http://eu.iksproject.kres/KReSOntologyRules.owl"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:cpannotationschema="http://www.ontologydesignpatterns.org/schemas/cpannotationschema.owl#"
+ xmlns:sequence="http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#"
+ xmlns:owl="http://www.w3.org/2002/07/owl#"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rmi="http://kres.iks-project.eu/ontology/meta/rmi.owl#">
+ <owl:Ontology rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl"/>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Annotation properties
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+ <owl:AnnotationProperty rdf:about="&cpannotationschema;hasAuthor"/>
+ <owl:AnnotationProperty rdf:about="&cpannotationschema;hasConsequences"/>
+ <owl:AnnotationProperty rdf:about="&cpannotationschema;extractedFrom"/>
+ <owl:AnnotationProperty rdf:about="&cpannotationschema;coversRequirements"/>
+ <owl:AnnotationProperty rdf:about="&cpannotationschema;hasIntent"/>
+ <owl:AnnotationProperty rdf:about="&rdfs;label"/>
+ <owl:AnnotationProperty rdf:about="&rdfs;comment"/>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Object Properties
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#endWith -->
+
+ <owl:ObjectProperty rdf:about="&rmi;endWith">
+ <rdfs:range rdf:resource="&rmi;KReSRule"/>
+ <rdfs:domain rdf:resource="&rmi;Recipe"/>
+ <rdfs:subPropertyOf rdf:resource="&owl;topObjectProperty"/>
+ </owl:ObjectProperty>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#hasRule -->
+
+ <owl:ObjectProperty rdf:about="&rmi;hasRule">
+ <rdfs:range rdf:resource="&rmi;KReSRule"/>
+ <rdfs:domain rdf:resource="&rmi;Recipe"/>
+ <owl:inverseOf rdf:resource="&rmi;isRuleOf"/>
+ <rdfs:subPropertyOf rdf:resource="&owl;topObjectProperty"/>
+ </owl:ObjectProperty>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#isRuleOf -->
+
+ <owl:ObjectProperty rdf:about="&rmi;isRuleOf">
+ <rdfs:domain rdf:resource="&rmi;KReSRule"/>
+ <rdfs:range rdf:resource="&rmi;Recipe"/>
+ <rdfs:subPropertyOf rdf:resource="&owl;topObjectProperty"/>
+ </owl:ObjectProperty>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#startWith -->
+
+ <owl:ObjectProperty rdf:about="&rmi;startWith">
+ <rdfs:range rdf:resource="&rmi;KReSRule"/>
+ <rdfs:domain rdf:resource="&rmi;Recipe"/>
+ <rdfs:subPropertyOf rdf:resource="&owl;topObjectProperty"/>
+ </owl:ObjectProperty>
+
+
+
+ <!-- http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#directlyFollows -->
+
+ <owl:ObjectProperty rdf:about="&sequence;directlyFollows">
+ <rdfs:label xml:lang="en">directly follows</rdfs:label>
+ <rdfs:label xml:lang="it">segue direttamente</rdfs:label>
+ <rdfs:comment>The intransitive follows relation. For example, Wednesday directly precedes Thursday. Directness of precedence depends on the designer conceptualization.</rdfs:comment>
+ <owl:inverseOf rdf:resource="&sequence;directlyPrecedes"/>
+ <rdfs:subPropertyOf rdf:resource="&sequence;follows"/>
+ <rdfs:range rdf:resource="&owl;Thing"/>
+ <rdfs:domain rdf:resource="&owl;Thing"/>
+ </owl:ObjectProperty>
+
+
+
+ <!-- http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#directlyPrecedes -->
+
+ <owl:ObjectProperty rdf:about="&sequence;directlyPrecedes">
+ <rdfs:label xml:lang="en">directly precedes</rdfs:label>
+ <rdfs:label xml:lang="it">precede direttamente</rdfs:label>
+ <rdfs:comment>The intransitive precedes relation. For example, Monday directly precedes Tuesday. Directness of precedence depends on the designer conceptualization.</rdfs:comment>
+ <rdfs:subPropertyOf rdf:resource="&sequence;precedes"/>
+ <rdfs:range rdf:resource="&owl;Thing"/>
+ <rdfs:domain rdf:resource="&owl;Thing"/>
+ </owl:ObjectProperty>
+
+
+
+ <!-- http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#follows -->
+
+ <owl:ObjectProperty rdf:about="&sequence;follows">
+ <rdf:type rdf:resource="&owl;TransitiveProperty"/>
+ <rdfs:label xml:lang="en">follows</rdfs:label>
+ <rdfs:label xml:lang="it">segue</rdfs:label>
+ <rdfs:comment rdf:datatype="&xsd;string">A relation between entities, expressing a 'sequence' schema.
+E.g. 'year 2000 follows 1999', 'preparing coffee' follows 'deciding what coffee to use', 'II World War follows I World War', etc.
+It can be used between tasks, processes or time intervals, and subproperties would fit best in order to distinguish the different uses.</rdfs:comment>
+ <rdfs:domain rdf:resource="&owl;Thing"/>
+ <rdfs:range rdf:resource="&owl;Thing"/>
+ </owl:ObjectProperty>
+
+
+
+ <!-- http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#precedes -->
+
+ <owl:ObjectProperty rdf:about="&sequence;precedes">
+ <rdf:type rdf:resource="&owl;TransitiveProperty"/>
+ <rdfs:label xml:lang="en">precedes</rdfs:label>
+ <rdfs:label xml:lang="it">precede</rdfs:label>
+ <rdfs:comment rdf:datatype="&xsd;string">A relation between entities, expressing a 'sequence' schema.
+E.g. 'year 1999 precedes 2000', 'deciding what coffee to use' precedes 'preparing coffee', 'World War II follows World War I', 'in the Milan to Rome autoroute, Bologna precedes Florence', etc.
+It can then be used between tasks, processes, time intervals, spatially locate objects, situations, etc.
+Subproperties can be defined in order to distinguish the different uses.</rdfs:comment>
+ <owl:inverseOf rdf:resource="&sequence;follows"/>
+ <rdfs:domain rdf:resource="&owl;Thing"/>
+ <rdfs:range rdf:resource="&owl;Thing"/>
+ </owl:ObjectProperty>
+
+
+
+ <!-- http://www.w3.org/2002/07/owl#topObjectProperty -->
+
+ <owl:ObjectProperty rdf:about="&owl;topObjectProperty"/>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Data properties
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#hasBodyAndHead -->
+
+ <owl:DatatypeProperty rdf:about="&rmi;hasBodyAndHead">
+ <rdfs:domain rdf:resource="&rmi;KReSRule"/>
+ <rdfs:subPropertyOf rdf:resource="&rmi;topDataProperty"/>
+ <rdfs:range rdf:resource="&xsd;string"/>
+ </owl:DatatypeProperty>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#hasDescription -->
+
+ <owl:DatatypeProperty rdf:about="&rmi;hasDescription">
+ <rdfs:subPropertyOf rdf:resource="&rmi;topDataProperty"/>
+ <rdfs:range rdf:resource="&xsd;string"/>
+ <rdfs:domain rdf:resource="&owl;Thing"/>
+ </owl:DatatypeProperty>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#hasSequence -->
+
+ <owl:DatatypeProperty rdf:about="&rmi;hasSequence">
+ <rdfs:domain rdf:resource="&rmi;Recipe"/>
+ <rdfs:subPropertyOf rdf:resource="&rmi;topDataProperty"/>
+ <rdfs:range rdf:resource="&xsd;string"/>
+ </owl:DatatypeProperty>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#topDataProperty -->
+
+ <owl:DatatypeProperty rdf:about="&rmi;topDataProperty"/>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Classes
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#KReSRule -->
+
+ <owl:Class rdf:about="&rmi;KReSRule">
+ <rdfs:subClassOf rdf:resource="&owl;Thing"/>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="&rmi;isRuleOf"/>
+ <owl:someValuesFrom rdf:resource="&rmi;Recipe"/>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ <owl:disjointWith rdf:resource="&rmi;Recipe"/>
+ </owl:Class>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#Recipe -->
+
+ <owl:Class rdf:about="&rmi;Recipe">
+ <rdfs:subClassOf rdf:resource="&owl;Thing"/>
+ <rdfs:subClassOf>
+ <owl:Restriction>
+ <owl:onProperty rdf:resource="&rmi;hasRule"/>
+ <owl:onClass rdf:resource="&rmi;KReSRule"/>
+ <owl:minQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minQualifiedCardinality>
+ </owl:Restriction>
+ </rdfs:subClassOf>
+ </owl:Class>
+
+
+
+ <!-- http://www.w3.org/2002/07/owl#Thing -->
+
+ <owl:Class rdf:about="&owl;Thing"/>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Annotations
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#isRuleOf">
+ <rdfs:label xml:lang="en">is rule of</rdfs:label>
+ <rdfs:label xml:lang="it">è regola di</rdfs:label>
+ <rdfs:comment xml:lang="en">This property links a KReS rule to a Recipe</rdfs:comment>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#hasDescription">
+ <rdfs:label xml:lang="en">has description</rdfs:label>
+ <rdfs:label xml:lang="it">ha descrizione</rdfs:label>
+ <rdfs:comment xml:lang="en">Any kind of description about rules or recipes.</rdfs:comment>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#startWith">
+ <rdfs:label xml:lang="en">start with</rdfs:label>
+ <rdfs:label xml:lang="it">inizia con</rdfs:label>
+ <rdfs:comment xml:lang="en">This property identifies the starting rule of the recipe.</rdfs:comment>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#endWith">
+ <rdfs:label xml:lang="en">end with</rdfs:label>
+ <rdfs:label xml:lang="it">finisce con</rdfs:label>
+ <rdfs:comment xml:lang="en">This property identifies the last rule of the recipe.</rdfs:comment>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#hasBodyAndHead">
+ <rdfs:label xml:lang="en">has body and head</rdfs:label>
+ <rdfs:label xml:lang="it">ha corpo e testa</rdfs:label>
+ <rdfs:comment xml:lang="en">Physical Storage of a rule. Here there is the kres rule string.</rdfs:comment>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#KReSRule">
+ <rdfs:label xml:lang="en">SWRL rules</rdfs:label>
+ <rdfs:label xml:lang="it">Regole SWRL</rdfs:label>
+ <rdfs:comment xml:lang="en">This class contains the IRI (the name) that identifies the rule.</rdfs:comment>
+ <rdfs:comment xml:lang="it">Questa classe contiene gli IRI che identificano le regole (i nomi) su una o più ontologie. </rdfs:comment>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#Recipe">
+ <rdfs:label xml:lang="en">Receipt</rdfs:label>
+ <rdfs:label xml:lang="it">Ricetta</rdfs:label>
+ <rdfs:comment xml:lang="en">"This class contains the IRI that identifies a sequence of rules to perform particular action on the dataset. It must have at least one KReS rule</rdfs:comment>
+ <rdfs:comment xml:lang="it">"Questa classe contiene l'IRI che identifica una sequenza di regole che eseguiranno una particolare azione sul dataset. L'istanza di questa classe deve contenere almeno una regola KReS</rdfs:comment>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#hasRule">
+ <rdfs:label xml:lang="en">has rule</rdfs:label>
+ <rdfs:label xml:lang="it">ha regola</rdfs:label>
+ <rdfs:comment xml:lang="en">This property links a Recipe instance to a KReS rule.</rdfs:comment>
+ </rdf:Description>
+ <rdf:Description rdf:about="http://eu.iksproject.kres/KReSOntologyRules.owl#hasSequence">
+ <rdfs:label xml:lang="en">has sequence</rdfs:label>
+ <rdfs:label xml:lang="it">ha sequenza</rdfs:label>
+ <rdfs:comment xml:lang="en">Define the rule sequence of a recipe.</rdfs:comment>
+ </rdf:Description>
+</rdf:RDF>
+
+
+
+<!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net -->
+
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/TestKReSOntologyRules.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/TestKReSOntologyRules.owl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/TestKReSOntologyRules.owl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/TestKReSOntologyRules.owl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,316 @@
+<?xml version="1.0"?>
+
+
+<!DOCTYPE Ontology [
+ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+ <!ENTITY xml "http://www.w3.org/XML/1998/namespace" >
+ <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
+ <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
+]>
+
+
+<Ontology xmlns="http://www.w3.org/2002/07/owl#"
+ xml:base="http://kres.iks-project.eu/ontology/meta/rmi.owl"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace"
+ ontologyIRI="http://kres.iks-project.eu/ontology/meta/rmi.owl">
+ <Prefix name="xsd" IRI="http://www.w3.org/2001/XMLSchema#"/>
+ <Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/>
+ <Prefix name="" IRI="http://www.w3.org/2002/07/owl#"/>
+ <Prefix name="rdf" IRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <Prefix name="rdfs" IRI="http://www.w3.org/2000/01/rdf-schema#"/>
+ <Import>http://www.ontologydesignpatterns.org/cp/owl/sequence.owl</Import>
+ <Declaration>
+ <Class IRI="#KReSRule"/>
+ </Declaration>
+ <Declaration>
+ <Class IRI="#Recipe"/>
+ </Declaration>
+ <Declaration>
+ <ObjectProperty IRI="#endWith"/>
+ </Declaration>
+ <Declaration>
+ <ObjectProperty IRI="#hasRule"/>
+ </Declaration>
+ <Declaration>
+ <ObjectProperty IRI="#isRuleOf"/>
+ </Declaration>
+ <Declaration>
+ <ObjectProperty IRI="#startWith"/>
+ </Declaration>
+ <Declaration>
+ <DataProperty IRI="#hasBodyAndHead"/>
+ </Declaration>
+ <Declaration>
+ <DataProperty IRI="#hasDescription"/>
+ </Declaration>
+ <Declaration>
+ <DataProperty IRI="#hasSequence"/>
+ </Declaration>
+ <SubClassOf>
+ <Class IRI="#KReSRule"/>
+ <Class abbreviatedIRI=":Thing"/>
+ </SubClassOf>
+ <SubClassOf>
+ <Class IRI="#KReSRule"/>
+ <ObjectSomeValuesFrom>
+ <ObjectProperty IRI="#isRuleOf"/>
+ <Class IRI="#Recipe"/>
+ </ObjectSomeValuesFrom>
+ </SubClassOf>
+ <SubClassOf>
+ <Class IRI="#Recipe"/>
+ <Class abbreviatedIRI=":Thing"/>
+ </SubClassOf>
+ <SubClassOf>
+ <Class IRI="#Recipe"/>
+ <ObjectMinCardinality cardinality="1">
+ <ObjectProperty IRI="#hasRule"/>
+ <Class IRI="#KReSRule"/>
+ </ObjectMinCardinality>
+ </SubClassOf>
+ <DisjointClasses>
+ <Class IRI="#KReSRule"/>
+ <Class IRI="#Recipe"/>
+ </DisjointClasses>
+ <SubObjectPropertyOf>
+ <ObjectProperty IRI="#endWith"/>
+ <ObjectProperty abbreviatedIRI=":topObjectProperty"/>
+ </SubObjectPropertyOf>
+ <SubObjectPropertyOf>
+ <ObjectProperty IRI="#hasRule"/>
+ <ObjectProperty abbreviatedIRI=":topObjectProperty"/>
+ </SubObjectPropertyOf>
+ <SubObjectPropertyOf>
+ <ObjectProperty IRI="#isRuleOf"/>
+ <ObjectProperty abbreviatedIRI=":topObjectProperty"/>
+ </SubObjectPropertyOf>
+ <SubObjectPropertyOf>
+ <ObjectProperty IRI="#startWith"/>
+ <ObjectProperty abbreviatedIRI=":topObjectProperty"/>
+ </SubObjectPropertyOf>
+ <InverseObjectProperties>
+ <ObjectProperty IRI="#hasRule"/>
+ <ObjectProperty IRI="#isRuleOf"/>
+ </InverseObjectProperties>
+ <ObjectPropertyDomain>
+ <ObjectProperty IRI="#endWith"/>
+ <Class IRI="#Recipe"/>
+ </ObjectPropertyDomain>
+ <ObjectPropertyDomain>
+ <ObjectProperty IRI="#hasRule"/>
+ <Class IRI="#Recipe"/>
+ </ObjectPropertyDomain>
+ <ObjectPropertyDomain>
+ <ObjectProperty IRI="#isRuleOf"/>
+ <Class IRI="#KReSRule"/>
+ </ObjectPropertyDomain>
+ <ObjectPropertyDomain>
+ <ObjectProperty IRI="#startWith"/>
+ <Class IRI="#Recipe"/>
+ </ObjectPropertyDomain>
+ <ObjectPropertyRange>
+ <ObjectProperty IRI="#endWith"/>
+ <Class IRI="#KReSRule"/>
+ </ObjectPropertyRange>
+ <ObjectPropertyRange>
+ <ObjectProperty IRI="#hasRule"/>
+ <Class IRI="#KReSRule"/>
+ </ObjectPropertyRange>
+ <ObjectPropertyRange>
+ <ObjectProperty IRI="#isRuleOf"/>
+ <Class IRI="#Recipe"/>
+ </ObjectPropertyRange>
+ <ObjectPropertyRange>
+ <ObjectProperty IRI="#startWith"/>
+ <Class IRI="#KReSRule"/>
+ </ObjectPropertyRange>
+ <SubDataPropertyOf>
+ <DataProperty IRI="#hasBodyAndHead"/>
+ <DataProperty abbreviatedIRI=":topDataProperty"/>
+ </SubDataPropertyOf>
+ <SubDataPropertyOf>
+ <DataProperty IRI="#hasDescription"/>
+ <DataProperty abbreviatedIRI=":topDataProperty"/>
+ </SubDataPropertyOf>
+ <SubDataPropertyOf>
+ <DataProperty IRI="#hasSequence"/>
+ <DataProperty abbreviatedIRI=":topDataProperty"/>
+ </SubDataPropertyOf>
+ <DataPropertyDomain>
+ <DataProperty IRI="#hasBodyAndHead"/>
+ <Class IRI="#KReSRule"/>
+ </DataPropertyDomain>
+ <DataPropertyDomain>
+ <DataProperty IRI="#hasDescription"/>
+ <Class abbreviatedIRI=":Thing"/>
+ </DataPropertyDomain>
+ <DataPropertyDomain>
+ <DataProperty IRI="#hasSequence"/>
+ <Class IRI="#Recipe"/>
+ </DataPropertyDomain>
+ <DataPropertyRange>
+ <DataProperty IRI="#hasBodyAndHead"/>
+ <Datatype abbreviatedIRI="xsd:string"/>
+ </DataPropertyRange>
+ <DataPropertyRange>
+ <DataProperty IRI="#hasDescription"/>
+ <Datatype abbreviatedIRI="xsd:string"/>
+ </DataPropertyRange>
+ <DataPropertyRange>
+ <DataProperty IRI="#hasSequence"/>
+ <Datatype abbreviatedIRI="xsd:string"/>
+ </DataPropertyRange>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#KReSRule</IRI>
+ <Literal xml:lang="it">Questa classe contiene gli IRI che identificano le regole (i nomi) su una o più ontologie. </Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#KReSRule</IRI>
+ <Literal xml:lang="en">This class contains the IRI (the name) that identifies the rule. </Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#KReSRule</IRI>
+ <Literal xml:lang="en">SWRL rules</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#KReSRule</IRI>
+ <Literal xml:lang="it">regole SWRL</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#Recipe</IRI>
+ <Literal xml:lang="it">Questa classe contiene l'IRI che identifica una sequenza di regole che eseguirano una particolare azione sul dataset. L'istanza di questa classe deve contenere almeno una regola KReS</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#Recipe</IRI>
+ <Literal xml:lang="en">This class contains the IRI that identifies a sequence of rules to perform particular action on the dataset. It must have at least one KReS rule</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#Recipe</IRI>
+ <Literal xml:lang="en">Receipt</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#Recipe</IRI>
+ <Literal xml:lang="it">Ricevere</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#endWith</IRI>
+ <Literal xml:lang="en">This property indentifies the last rule of the recipe.</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#endWith</IRI>
+ <Literal xml:lang="en">end with</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#endWith</IRI>
+ <Literal xml:lang="it">finisce con</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasBodyAndHead</IRI>
+ <Literal xml:lang="en">Physical Storage of a rule. Here there is the kres rule string.</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasBodyAndHead</IRI>
+ <Literal xml:lang="it">ha corpo e testa</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasBodyAndHead</IRI>
+ <Literal xml:lang="en">has body and head</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasDescription</IRI>
+ <Literal xml:lang="en">Any kind of description about rules or recipes.</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasDescription</IRI>
+ <Literal xml:lang="it">ha descrizione</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasDescription</IRI>
+ <Literal xml:lang="en">has description</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasRule</IRI>
+ <Literal xml:lang="en">This property links a Recipe istance to a KReS rule.</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasRule</IRI>
+ <Literal xml:lang="it">ha regola</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasRule</IRI>
+ <Literal xml:lang="en">has rule</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasSequence</IRI>
+ <Literal xml:lang="en">Define the rule sequence of a recipe.</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasSequence</IRI>
+ <Literal xml:lang="it">ha sequenza</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#hasSequence</IRI>
+ <Literal xml:lang="en">has sequence</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#isRuleOf</IRI>
+ <Literal xml:lang="en">This property links a KReS rule to a Recipe</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#isRuleOf</IRI>
+ <Literal xml:lang="en">is rule of</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#isRuleOf</IRI>
+ <Literal xml:lang="it">è regola di</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:comment"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#startWith</IRI>
+ <Literal xml:lang="en">This property identifies the starting rule of the recipe.</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#startWith</IRI>
+ <Literal xml:lang="it">inizia con</Literal>
+ </AnnotationAssertion>
+ <AnnotationAssertion>
+ <AnnotationProperty abbreviatedIRI="rdfs:label"/>
+ <IRI>http://www.semanticweb.org/ontologies/ontologyrules.owl#startWith</IRI>
+ <Literal xml:lang="en">start with</Literal>
+ </AnnotationAssertion>
+</Ontology>
+
+
+
+<!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net -->
+
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/TestRuleFileExample.txt
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/TestRuleFileExample.txt?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/TestRuleFileExample.txt (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/TestRuleFileExample.txt Fri Apr 1 13:16:11 2011
@@ -0,0 +1,60 @@
+#This is a comment to the file
+
+#These are the rules that I want to insert in the system.
+$KReSRule
+@MyRuleA
+*My comment to the rule A
+MyRuleABody -> MyRuleAHead
+@MyRuleB
+*My comment to the rule B
+MyRuleBBody -> MyRuleBHead
+@MyRuleC
+*My comment to the rule C
+MyRuleCBody -> MyRuleCHead
+
+#This is a recipe
+
+$Recipe
+@MyRecipe
+*My comment to the recipe
+MyRuleC
+MyRuleB
+MyRuleA
+
+#These are the rules that I want to insert in the system.
+$KReSRule
+@MyRuleD
+*My comment to the rule D
+MyRuleDBody -> MyRuleDHead
+@MyRuleE
+*My comment to the rule E
+MyRuleEBody -> MyRuleEHead
+@MyRuleF
+*My comment to the rule F
+MyRuleFBody -> MyRuleFHead
+
+#This is a recipe
+
+$Recipe
+@MyRecipe2
+*My comment to the recipe 2
+MyRuleE
+MyRuleD
+
+$Recipe
+@MyRecipe3
+*My comment to the recipe 3
+MyRuleF
+
+$Recipe
+@MyRecipe4
+*My comment to the recipe 4
+MyRuleC
+MyRuleF
+MyRuleB
+MyRuleD
+
+$KReSRule
+@MyRuleX
+*My comment to the rule X
+PREFIX var http://kres.iksproject.eu/rules# .PREFIX dbs http://andriry.altervista.org/tesiSpecialistica/dbs_l1.owl# .PREFIX lmm http://www.ontologydesignpatterns.org/ont/lmm/LMM_L1.owl# .rule1[dbs:Table(?x) -> lmm:Meaning(?x)]
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/rmi_config.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/rmi_config.owl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/rmi_config.owl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/RuleOntology/rmi_config.owl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,175 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#"
+ xml:base="http://kres.iks-project.eu/ontology/meta/rmi_config.owl"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:rmi_config="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#"
+ xmlns:sequence="http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#"
+ xmlns:owl="http://www.w3.org/2002/07/owl#"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rmi="http://kres.iks-project.eu/ontology/meta/rmi.owl#">
+ <owl:Ontology rdf:about="http://kres.iks-project.eu/ontology/meta/rmi_config.owl">
+ <owl:imports rdf:resource="http://ontologydesignpatterns.org/ont/iks/kres/rmi.owl"/>
+ </owl:Ontology>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Object Properties
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#endWith -->
+
+ <owl:ObjectProperty rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl#endWith"/>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#hasRule -->
+
+ <owl:ObjectProperty rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl#hasRule"/>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#startWith -->
+
+ <owl:ObjectProperty rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl#startWith"/>
+
+
+
+ <!-- http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#directlyPrecedes -->
+
+ <owl:ObjectProperty rdf:about="http://www.ontologydesignpatterns.org/cp/owl/sequence.owl#directlyPrecedes"/>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Data properties
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#hasBodyAndHead -->
+
+ <owl:DatatypeProperty rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl#hasBodyAndHead"/>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#hasDescription -->
+
+ <owl:DatatypeProperty rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl#hasDescription"/>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#hasSequence -->
+
+ <owl:DatatypeProperty rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl#hasSequence"/>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Classes
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#KReSRule -->
+
+ <owl:Class rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl#KReSRule"/>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi.owl#Recipe -->
+
+ <owl:Class rdf:about="http://kres.iks-project.eu/ontology/meta/rmi.owl#Recipe"/>
+
+
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////
+ //
+ // Individuals
+ //
+ ///////////////////////////////////////////////////////////////////////////////////////
+ -->
+
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRecipeA -->
+
+ <owl:NamedIndividual rdf:about="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRecipeA">
+ <rdf:type rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi.owl#Recipe"/>
+ <rmi:hasDescription rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Some description here</rmi:hasDescription>
+ <rmi:hasSequence rdf:datatype="http://www.w3.org/2001/XMLSchema#string">kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleB,kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleA</rmi:hasSequence>
+ <rmi:hasRule rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleA"/>
+ <rmi:endWith rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleA"/>
+ <rmi:hasRule rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleB"/>
+ <rmi:startWith rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleB"/>
+ </owl:NamedIndividual>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleA -->
+
+ <owl:NamedIndividual rdf:about="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleA">
+ <rdf:type rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi.owl#KReSRule"/>
+ <rmi:hasDescription rdf:datatype="http://www.w3.org/2001/XMLSchema#string">An example of description for my rule A</rmi:hasDescription>
+ <rmi:hasBodyAndHead rdf:datatype="http://www.w3.org/2001/XMLSchema#string">BodyA -> BodyB</rmi:hasBodyAndHead>
+ </owl:NamedIndividual>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleB -->
+
+ <owl:NamedIndividual rdf:about="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleB">
+ <rdf:type rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi.owl#KReSRule"/>
+ <rmi:hasDescription rdf:datatype="http://www.w3.org/2001/XMLSchema#string">An example of description..for my rule B</rmi:hasDescription>
+ <rmi:hasBodyAndHead rdf:datatype="http://www.w3.org/2001/XMLSchema#string">BodyB -> HeadB</rmi:hasBodyAndHead>
+ <sequence:directlyPrecedes rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyRuleA"/>
+ </owl:NamedIndividual>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi_config.owl#ProvaParentRecipe -->
+
+ <owl:NamedIndividual rdf:about="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#ProvaParentRecipe">
+ <rdf:type rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi.owl#Recipe"/>
+ <rmi:hasDescription rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A single rule recipe.</rmi:hasDescription>
+ <rmi:hasSequence rdf:datatype="http://www.w3.org/2001/XMLSchema#string">http://kres.iks-project.eu/ontology/meta/rmi.owl#ProvaParentRule</rmi:hasSequence>
+ <rmi:endWith rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#ProvaParentRule"/>
+ <rmi:hasRule rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#ProvaParentRule"/>
+ <rmi:startWith rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#ProvaParentRule"/>
+ </owl:NamedIndividual>
+
+
+
+ <!-- http://kres.iks-project.eu/ontology/meta/rmi_config.owl#ProvaParentRule -->
+
+ <owl:NamedIndividual rdf:about="http://kres.iks-project.eu/ontology/meta/rmi_config.owl#ProvaParentRule">
+ <rdf:type rdf:resource="http://kres.iks-project.eu/ontology/meta/rmi.owl#KReSRule"/>
+ <rmi:hasDescription rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A rule to inference if a person has an uncle.</rmi:hasDescription>
+ <rmi:hasBodyAndHead rdf:datatype="http://www.w3.org/2001/XMLSchema#string">ProvaParent = <http://www.semanticweb.org/ontologies/2010/6/ProvaParent.owl#> . rule1[ has(ProvaParent:hasParent, ?x, ?y) . has(ProvaParent:hasBrother, ?y, ?z) -> has(ProvaParent:hasUncle, ?x, ?z) ]</rmi:hasBodyAndHead>
+ </owl:NamedIndividual>
+</rdf:RDF>
+
+
+
+<!-- Generated by the OWL API (version 3.0.0.1413) http://owlapi.sourceforge.net -->
+
Propchange: incubator/stanbol/trunk/reasoners/web/src/main/resources/TestFile/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Apr 1 13:16:11 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/TestFile/OnlyRuledProvaParent.owl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/TestFile/OnlyRuledProvaParent.owl?rev=1087695&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/TestFile/OnlyRuledProvaParent.owl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/TestFile/OnlyRuledProvaParent.owl Fri Apr 1 13:16:11 2011
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+
+
+<!DOCTYPE Ontology [
+ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
+ <!ENTITY xml "http://www.w3.org/XML/1998/namespace" >
+ <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
+ <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
+]>
+
+
+<Ontology xmlns="http://www.w3.org/2002/07/owl#"
+ xml:base="http://www.semanticweb.org/ontologies/2010/6/ProvaParent.owl"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace"
+ ontologyIRI="http://www.semanticweb.org/ontologies/2010/6/ProvaParent.owl">
+ <Prefix name="rdf" IRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+ <Prefix name="rdfs" IRI="http://www.w3.org/2000/01/rdf-schema#"/>
+ <Prefix name="xsd" IRI="http://www.w3.org/2001/XMLSchema#"/>
+ <Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/>
+ <DLSafeRule>
+ <Annotation>
+ <AnnotationProperty IRI="http://www.semanticweb.org/owlapi#iri"/>
+ <Literal><http://www.semanticweb.org/ontologies/2010/6/ProvaParent.owl#Uncle-Rule></Literal>
+ </Annotation>
+ <Body>
+ <ObjectPropertyAtom>
+ <ObjectProperty IRI="#hasBrother"/>
+ <Variable IRI="#y"/>
+ <Variable IRI="#z"/>
+ </ObjectPropertyAtom>
+ <ObjectPropertyAtom>
+ <ObjectProperty IRI="#hasParent"/>
+ <Variable IRI="#x"/>
+ <Variable IRI="#y"/>
+ </ObjectPropertyAtom>
+ </Body>
+ <Head>
+ <ObjectPropertyAtom>
+ <ObjectProperty IRI="#hasUncle"/>
+ <Variable IRI="#x"/>
+ <Variable IRI="#z"/>
+ </ObjectPropertyAtom>
+ </Head>
+ </DLSafeRule>
+</Ontology>
+
+
+
+<!-- Generated by the OWL API (version 3.0.0.1451) http://owlapi.sourceforge.net -->
+