Hi all,
Now the output of startKIM.bat is OK!
And my program recognizes well known words, like George Bush, but not R2D2 or 
VBE...  :-(


Today I had a dozen tests, but KIM doesn't recognize my istances. I think 
there are some problems in sesame.inmem.conf,  about 2006/05 or 2006/04... I 
don't know what it means... so I attach also my old sesame.inmem.conf (before I 
modified it).
Please, when you have time... check them.
Thansk so much,
Valentina


<?xml version="1.0" encoding="ISO-8859-1"?>
<system-conf>
	<!-- users -->
	<userlist>
		<!-- User ID's 1 and 2 are reserved for the ADMIN and ANONYMOUS
		accounts respectively. Uncomment these accounts if you need them
		-->
		<user login="admin" id="1">
			<fullname>Admin</fullname>
			<password>admin</password>
		</user>
	</userlist>
	<!-- Set enabled attribute to "true" to enable RMI access.  	-->
	<rmi-factory enabled="true" class="com.ontotext.util.rmi.CustomFactory" port="1098"/>

	<!-- Change value to "ARP" to use ARP for parsing RDF/XML data -->
	<systemprop key="nl.aidministrator.sesame.rdfXmlParser" value="Sesame"/>

<log dir="../../log/sesame" level="3"/>

<!-- repositories -->
<repositorylist>

	<repository id="kim">
	   <title>PROTON In-MemSail</title>
	   <sailstack>
		<sail class="org.openrdf.sesame.sailimpl.OWLIMSchemaRepository">
			<param name="file" value="populated/rkb.nt"/>
			<param name="dataFormat" value="ntriples"/>
			<param name="compressFile" value="no"/>
			<param name="new-triples-file" value="populated/new-temp-triples.nt"/>
			<param name="auto-write-time-minutes" value="15"/>
			<param name="base-URL" value="http://www.ontotext.com/kim/2006/05/wkb#"/>
			<param name="partialRDFS" value="true"/>
			<param name="ruleset" value="kb/KIMRules.pie"/>

			<!-- semicolon should be used as delimiter -->
			<param name="imports" value=
				"kb/owl/owl.rdfs;
				 kb/owl/protons.owl;
				 kb/owl/protont.owl;
				 kb/owl/protonu.owl;
				 kb/visibility.nt;
				 kb/wkb.nt;
				 kb/wkbx.nt;"/>
			<param name="defaultNS" value=
				"http://www.w3.org/2002/07/owl#;
				http://proton.semanticweb.org/2006/05/protons#;
				http://proton.semanticweb.org/2006/05/protont#;
				http://proton.semanticweb.org/2006/05/protonu#;
				http://www.ontotext.com/kim/2006/04/wkb#;
				http://www.ontotext.com/kim/2006/04/wkb#;
				http://www.ontotext.com/kim/2006/04/wkb#;"/>  
  			<param name="concurentInference" value="true"/>
		</sail>
	   </sailstack>

	   <!--Access Control List can contain zero or more 'user' elements-->
	   <acl worldReadable="true" worldWritable="true">
		  <user login="admin" readAccess="true" writeAccess="true"/>
	   </acl>
	</repository>

</repositorylist>
</system-conf>
<?xml version="1.0" encoding="ISO-8859-1"?>
<system-conf>
	<!-- users -->
	<userlist>
		<!-- User ID's 1 and 2 are reserved for the ADMIN and ANONYMOUS
		accounts respectively. Uncomment these accounts if you need them
		-->
		<user login="admin" id="1">
			<fullname>Admin</fullname>
			<password>admin</password>
		</user>
	</userlist>
	<!-- Set enabled attribute to "true" to enable RMI access.  	-->
	<rmi-factory enabled="true" class="com.ontotext.util.rmi.CustomFactory" port="1098"/>

	<!-- Change value to "ARP" to use ARP for parsing RDF/XML data -->
	<systemprop key="nl.aidministrator.sesame.rdfXmlParser" value="Sesame"/>

<log dir="../../log/sesame" level="3"/>

<!-- repositories -->
<repositorylist>

	<repository id="kim">
	   <title>PROTON In-MemSail</title>
	   <sailstack>
		<sail class="org.openrdf.sesame.sailimpl.OWLIMSchemaRepository">
			<param name="file" value="populated/rkb.nt"/>
			<param name="dataFormat" value="ntriples"/>
			<param name="compressFile" value="no"/>
			<param name="new-triples-file" value="populated/new-temp-triples.nt"/>
			<param name="auto-write-time-minutes" value="15"/>
			<param name="base-URL" value="http://www.ontotext.com/kim/2006/05/wkb#"/>
			<param name="partialRDFS" value="true"/>
			<param name="ruleset" value="kb/KIMRules.pie"/>

			<!-- semicolon should be used as delimiter -->
			<param name="imports" value=
				"kb/owl/owl.rdfs;
				 kb/owl/protons.owl;
				 kb/owl/protont.owl;
				 kb/owl/protonu.owl;
                         kb/owl/vbe.owl; 
                         kb/owl/in.space.owl;
                         kb/vbe.nt;
                         kb/in.space.nt;
				 kb/visibility.nt;
				 kb/wkb.nt; 
				 kb/wkbx.nt;"/>
			<param name="defaultNS" value=
				"http://www.w3.org/2002/07/owl#;
				http://proton.semanticweb.org/2006/05/protons#;
				http://proton.semanticweb.org/2006/05/protont#;
				http://proton.semanticweb.org/2006/05/protonu#;
                        http://www.ontotext.com/kim/2006/05/vbe#;
                        http://www.ontotext.com/kim/2006/05/in.space#;
                        http://www.ontotext.com/kim/2006/05/vbe#;
                        http://www.ontotext.com/kim/2006/05/in.space#;
                        http://www.ontotext.com/kim/2006/05/wkb#;
                        http://www.ontotext.com/kim/2006/05/wkb#;
                        http://www.ontotext.com/kim/2006/05/wkb#;
                        http://www.ontotext.com/kim/2006/05/wkb#;
				http://www.ontotext.com/kim/2006/04/wkb#;
                        http://www.ontotext.com/kim/2006/04/wkb#;
                        http://www.ontotext.com/kim/2006/04/wkb#;
				http://www.ontotext.com/kim/2006/04/wkb#;"/>  
  			<param name="concurentInference" value="true"/>
		</sail>
	   </sailstack>

	   <!-- Access Control List can contain zero or more 'user' elements-->
	   <acl worldReadable="true" worldWritable="true">
		  <user login="admin" readAccess="true" writeAccess="true"/>
	   </acl>
	</repository>

</repositorylist>
</system-conf>

Attachment: visibility.nt
Description: Binary data

Attachment: vbe.nt
Description: Binary data

<?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE owl [ 
        <!ENTITY rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
        <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
        <!ENTITY owl  'http://www.w3.org/2002/07/owl#' >
        <!ENTITY xsd  'http://www.w3.org/2001/XMLSchema#' >
        <!ENTITY psys  'http://proton.semanticweb.org/2006/05/protons#'>
        <!ENTITY ptop  'http://proton.semanticweb.org/2006/05/protont#'>    
        <!ENTITY protonkm 'http://proton.semanticweb.org/2006/05/protonkm#'>
    ]>
    <rdf:RDF 
        xmlns:owl="&owl;"
        xmlns:rdf="&rdf;"
        xmlns:rdfs="&rdfs;"
        xmlns:psys="&psys;"
        xmlns:ptop="&ptop;"
        xmlns:protonkm="&protonkm;"
        xmlns="http://vbe#";
        xml:base="http://vbe#";>   

    <owl:AnnotationProperty rdf:about="http://www.w3.org/2000/01/rdf-schema#comment"/>
    <owl:AnnotationProperty rdf:about="http://www.w3.org/2000/01/rdf-schema#label"/>
    <owl:AnnotationProperty rdf:about="http://www.w3.org/2002/07/owl#versionInfo"/>

    <owl:Ontology rdf:about="">
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>InSpace</rdfs:label>
        <rdfs:comment>InSpace Ontology</rdfs:comment>
        <owl:imports rdf:resource="http://proton.semanticweb.org/2006/05/protonkm"/>
        <owl:versionInfo>"0.1"</owl:versionInfo>
    </owl:Ontology>

    <owl:Class rdf:ID="VBE">
        <rdfs:label>VBE</rdfs:label>
        <rdfs:comment>
        A mechanical or electronic device that resembles a living animal and moves automatically or by remote control.
        </rdfs:comment>
        <rdfs:subClassOf rdf:resource="&protonkm;Device"/>
    </owl:Class>

    <owl:ObjectProperty rdf:about="#createdBy" rdfs:label="createdBy">
        <rdfs:domain rdf:resource="#VBE"/>
        <rdfs:range rdf:resource="&ptop;Person"/>
    </owl:ObjectProperty>

    </rdf:RDF>

Attachment: in.space.nt
Description: Binary data

<?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE owl [ 
        <!ENTITY rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
        <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
        <!ENTITY owl  'http://www.w3.org/2002/07/owl#' >
        <!ENTITY xsd  'http://www.w3.org/2001/XMLSchema#' >
        <!ENTITY psys  'http://proton.semanticweb.org/2006/05/protons#'>
        <!ENTITY ptop  'http://proton.semanticweb.org/2006/05/protont#'>    
        <!ENTITY protonkm 'http://proton.semanticweb.org/2006/05/protonkm#'>
    ]>
    <rdf:RDF 
        xmlns:owl="&owl;"
        xmlns:rdf="&rdf;"
        xmlns:rdfs="&rdfs;"
        xmlns:psys="&psys;"
        xmlns:ptop="&ptop;"
        xmlns:protonkm="&protonkm;"
        xmlns="http://in.space#";
        xml:base="http://in.space#";>   

    <owl:AnnotationProperty rdf:about="http://www.w3.org/2000/01/rdf-schema#comment"/>
    <owl:AnnotationProperty rdf:about="http://www.w3.org/2000/01/rdf-schema#label"/>
    <owl:AnnotationProperty rdf:about="http://www.w3.org/2002/07/owl#versionInfo"/>

    <owl:Ontology rdf:about="">
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>InSpac</rdfs:label>
        <rdfs:comment>InSpace Ontolog</rdfs:comment>
        <owl:imports rdf:resource="http://proton.semanticweb.org/2006/05/protonkm"/>
        <owl:versionInfo>"0.11"</owl:versionInfo>
    </owl:Ontology>

    <owl:Class rdf:ID="Robot">
        <rdfs:label>Robot</rdfs:label>
        <rdfs:comment>
        A mechanical or electronic device that resembles a living animal and moves automatically or by remote control.
        </rdfs:comment>
        <rdfs:subClassOf rdf:resource="&protonkm;Device"/>
    </owl:Class>

    <owl:ObjectProperty rdf:about="#createdBy" rdfs:label="createdBy">
        <rdfs:domain rdf:resource="#Robot"/>
        <rdfs:range rdf:resource="&ptop;Person"/>
    </owl:ObjectProperty>

    </rdf:RDF>
_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion

Reply via email to