Re: [Owlim-discussion] question about SwiftOWLIM/Sesame integration

2009-02-16 Thread Damyan Ognyanoff

Hi Bob,


The command create owlim. gave me the error message ERROR: No template 
called owlim found in C:\Documents and Settings\myusername\Application 
Data\Aduna\OpenRDF Sesame console\templates, so I realized that the Aduna 
subdirectory should be called OpenRDF Sesame console, not OpenRDF 
Sesame. I created it and put owlim.ttl into a templates subdirectory of 
that. Then, all the other steps happened as you described.


no - this means the you are using the console's own storage folder - you 
need to connect to the openrdf-sesame application first and then to issue 
the create owlim. command


you just created new repository within the console storage which ofcource is 
not vizible through the workbench web appication


so start the tomcat and then run the console
while in the console, issue connect http://localhost:8080/openrdf-sesame.; 
command to connect to the openrdf-sesame running in your tomcat (use here 
your url and port)

and then create the repository with the above command.

HTH,
Damyan

___
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion


Re: [Owlim-discussion] question about SwiftOWLIM/Sesame integration

2009-02-12 Thread Damyan Ognyanoff

Hi Bob,


1. copied the owlim-2.9.1\lib\*.lib files to openrdf-sesame-2.2.4\lib


I was thinking that you are using SwiftOWLIM v3.0b9 instead, which is Sesame 
2.x compatible - the v2.9.1 you are using is for Sesame 1.x so you could not 
use it with Sesame 2. So download it from http://www.ontotext.com/owlim/ and 
give it a try.


regards,
Damyan


- Original Message - 
From: Bob DuCharme b...@snee.com

To: Damyan Ognyanoff dam...@sirma.bg
Cc: owlim-discussion@ontotext.com
Sent: Thursday, February 12, 2009 1:22 AM
Subject: Re: [Owlim-discussion] question about SwiftOWLIM/Sesame integration



Thanks! Here's what I tried:

1. copied the owlim-2.9.1\lib\*.lib files to openrdf-sesame-2.2.4\lib

2. created a templates subdirectory of the \Documents and 
Settings\my-username\Application Data\Aduna\OpenRDF Sesame directory. 
Sesame had already created that directory, so I know that it knows that 
that directory is there.  (Note that that last step on the path was called 
OpenRDF Sesame and not openrdf-sesame as you described below, if that 
means anything).


3. copied the owlim.ttl that you supplied into that templates directory

4. restarted Tomcat

5. loaded the data file shown below, which lists given name and surname 
information for two people using different namespaces to do so, and 
includes a bit of OWL to say that v:given-name and f:firstName are 
equivalent properties


6. issued this query, and didn't get Dobalena returned with Mutt, as I 
did when I had Pellet issue the same query against the data file:


 select ?ln where  { ?s http://xmlns.com/foaf/0.1/surname ?ln }

Did the slight difference in the directory name make a difference, or did 
I miss a step?


thanks,

Bob

!-- data file --

rdf:RDF xmlns:o=urn:schemas-microsoft-com:office:outlook#
xmlns:owl=http://www.w3.org/2002/07/owl#;
xmlns:f=http://xmlns.com/foaf/0.1/;
xmlns:v=http://www.w3.org/2006/vcard/ns#;
xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#;

 rdf:Description rdf:about=http://localhost:2020/addrbook/RichardMutt;
   f:firstNameRichard/f:firstName
   f:surnameMutt/f:surname
 /rdf:Description

 rdf:Description rdf:about=http://localhost:2020/addrbook/BobDobalena;
   v:given-nameBob/v:given-name
   v:family-nameDobalena/v:family-name
 /rdf:Description

 owl:DatatypeProperty 
rdf:about=http://www.w3.org/2006/vcard/ns#family-name;

   owl:equivalentProperty
 owl:DatatypeProperty rdf:about=http://xmlns.com/foaf/0.1/surname/
   /owl:equivalentProperty
 /owl:DatatypeProperty

/rdf:RDF





Damyan Ognyanoff wrote:

Hi Bob,

there shouldn't be a problem of setting up and use a SwiftOWLIM 
repository from inside of openrdf-workbench application - all you need is 
to copy the template ttl  file (attached) into 
ADUNA_DATA/openrdf-sesame/templates folder and that is - feel free to 
alter the paramaters - do not forget also to place both owlim jars into 
the lib subfolder of openrdf-sesame webapplication


regards,
Damyan


- Original Message - From: Bob DuCharme b...@snee.com
To: owlim-discussion@ontotext.com
Sent: Tuesday, February 10, 2009 7:06 PM
Subject: [Owlim-discussion] question about SwiftOWLIM/Sesame integration


I got SwiftOWLIM installed under Windows XP and I got the 
getting-started\example.cmd script running easily enough, but I can't 
figure out how to integrate it with Sesame without writing Java code to 
the API. Before I got SwiftOWLIM, If I loaded a file of RDF triples and 
RDFS statements (for example, some rdfs:subPropertyOf properties) into 
the Sesame repository from the Sesame Workbench, SPARQL queries reflect 
the metadata added by the RDFS statements. I'd love to be able to add 
some OWL properties to a set of the same triples and then have their 
metadata reflected in SPARQL queries from the Workbench, but I can't 
figure out if SwiftOLIM integration with Sesame reaches that level. Does 
anyone have any suggestions?


thanks,

Bob DuCharme
snee.com/bobdc.blog
@bobdc

___
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion 


___
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion


[Owlim-discussion] question about SwiftOWLIM/Sesame integration

2009-02-10 Thread Bob DuCharme
I got SwiftOWLIM installed under Windows XP and I got the 
getting-started\example.cmd script running easily enough, but I can't 
figure out how to integrate it with Sesame without writing Java code to 
the API. Before I got SwiftOWLIM, If I loaded a file of RDF triples and 
RDFS statements (for example, some rdfs:subPropertyOf properties) into 
the Sesame repository from the Sesame Workbench, SPARQL queries reflect 
the metadata added by the RDFS statements. I'd love to be able to add 
some OWL properties to a set of the same triples and then have their 
metadata reflected in SPARQL queries from the Workbench, but I can't 
figure out if SwiftOLIM integration with Sesame reaches that level. Does 
anyone have any suggestions?


thanks,

Bob DuCharme
snee.com/bobdc.blog
@bobdc

___
OWLIM-discussion mailing list
OWLIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/owlim-discussion