Hi,
I have some questions:

1 - It's necessary define in the file .nt an instance of type"Alias"?
I defined the following sentences in this file:

<http://www.ontotext.com/kim/2005/04/wkb#CiudadBayona> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type>  <
http://choikebilingue#Ciudad> .
<http://www.ontotext.com/kim/2005/04/wkb#CiudadBayona> <
http://www.w3.org/2000/01/rdf-schema#label> "Bayona" .
<http://www.ontotext.com/kim/2005/04/wkb#CiudadBayona1> <
http://www.w3.org/2000/01/rdf-schema#label> "Bayona" .
<http://www.ontotext.com/kim/2005/04/wkb#CiudadBayona> <
http://proton.semanticweb.org/2005/04/protons#hasAlias> <
http://www.ontotext.com/kim/2005/04/wkb#CiudadBayona1> .

...and the city Bayona is recognized without the requirement of the next
sentence:
<http://www.ontotext.com/kim/2005/04/wkb#CiudadBayona1> <
http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://proton.semanticweb.org/2005/04/protons#Alias> .

2 - I'd like to use only protons and protont, so I extend the protont
ontology with my own ontology.
I removed the other ontologies and modified the configuration file. Concern
to the knowledge base (.nt)...Need I only remove the instances that have
references to protonu, protonkm, etc from the wkb.nt and wkbx.nt?

3 - In my case, I don't have the knowledge in triples, I have the instances
loaded in the ontology. Can I use this instances in the owl and not load a
.nt file?

4 - I've had a problem when I tried to proof persistency. Any idea what's
the problem?
Code:
public static final String INDEX_AND_PERSIST_URL =
"lucene:/C:/kim-platform/context/default/populated/index-and-store";
private static IndexAndPersistAPI apiIndexAndPersist = null;
apiIndexAndPersist = serviceKim.getIndexAndPersistAPI
(INDEX_AND_PERSIST_URL);

Message Error:
java.rmi.RemoteException: Cannot Connect to KIMService; nested exception is:

       java.rmi.ConnectException: Connection refused to host: localhost;
nested exception is:
       java.net.ConnectException: Connection refused: connect
       at com.ontotext.kim.client.GetService.from(GetService.java:103)
       at com.ontotext.kim.client.GetService.from(GetService.java:80)
       at com.ontotext.kim.client.GetService.from(GetService.java:67)
       at prueba.Main.main(Main.java:38)
Caused by: java.rmi.ConnectException: Connection refused to host: localhost;
nested exception is:
       java.net.ConnectException: Connection refused: connect
       at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
       at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java
:185)
       at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java
:171)
       at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
       at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
       at com.ontotext.kim.client.GetService.from(GetService.java:100)
       ... 3 more
Caused by: java.net.ConnectException: Connection refused: connect
       at java.net.PlainSocketImpl.socketConnect(Native Method)
       at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
       at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java
:195)
       at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
       at java.net.Socket.connect(Socket.java:516)
       at java.net.Socket.connect(Socket.java:466)
       at java.net.Socket.<init>(Socket.java:366)
       at java.net.Socket.<init>(Socket.java:179)
       at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(
RMIDirectSocketFactory.java:22)
       at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(
RMIMasterSocketFactory.java:128)
       at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)

Thanks in advance,
                          Marina
_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com

Reply via email to