Am 24.06.2011 um 18:19 schrieb Dave Reynolds:

> On Fri, 2011-06-24 at 17:58 +0200, Mauro Bieg wrote:
> 
>> i guess i need owl reasoning (as i want to infer from an owl:unionOf). would 
>> you know whether Pellet or the OWLMicroFBRuleReasoner is faster?
> 
> It depends. 
> 
> For complex ontologies then Pellet is generally faster, as well as being
> complete.
> 
> For simple cases OWLMicro can be faster.
> 
> Try it, I'd be interested to hear how they compare on your data.
> 
>> p.s. i haven't written any java code for this and might not have to. 
>> currently i'm just using the assembler posted above to start up fuseki (with 
>> --desc=./assembler.ttl) and query/update the rdf-store with sparql over http.
>> so it might be a good idea to post that list (maybe along with my assembler) 
>> to http://openjena.org/wiki/Fuseki so that other people don't have to do the 
>> same search as i did. so far fuseki has served me great, just adding the 
>> reasoner was nowhere really documented.
> 
> Yes, the list of Reasoner URIs should certainly be posted somewhere,
> possibly as part of the assembler documentation. I'll log that on Jira
> since the web documentation is all in transition right now.
> 
> Dave


okay, i'm trying to get fuseki to run with pellet now.. i have the following 
pellet.ttl assembler file now:

@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
<#dataset> rdf:type ja:RDFDataset ;
        ja:defaultGraph <#inf_graph> ;
        .
<#inf_graph> rdf:type ja:InfModel ;
        ja:reasoner [ja:reasonerClass
                "org.mindswap.pellet.jena.PelletReasonerFactory" ;
        ] ;
        ja:baseModel <#baseGraph>
        .
<#baseGraph> a ja:MemoryModel ;
        ja:content [ja:externalContent 
<file:///Users/maurobieg/semCMS/code/Fuseki-0.2.1-SNAPSHOT/sample.ttl>] 
        .


but when i start fuseki with it (--desc=./pellet.ttl) it understandably says:
"com.hp.hpl.jena.assembler.exceptions.CannotLoadClassException: the class 
'org.mindswap.pellet.jena.PelletReasonerFactory' required by the object 
-14f0ac6b:130c33fec3d:-7ffe [ja:reasoner of 
file:///Users/maurobieg/semCMS/code/Fuseki-0.2.1-SNAPSHOT/pellet.ttl#inf_graph] 
could not be loaded"

i tried loading the pellet directory in the classpath when starting fuseki but 
no luck:
java -cp ./fuseki-sys.jar:../pellet-2.2.2/lib org.openjena.fuseki.FusekiCmd 
--update --desc=./pellet.ttl dataset

can you help me out with this one too, or point me somewhere i can find docs?

thanks again,
Mauro

Reply via email to