Hi Markus,

Thanks.

I updated the  configuration  and now I  have some results,
although I was quite sure i tried this settings before.

Next step is to find out what happen if i have 2 SMW's on Virtuoso.
With 4Store i use 2 instances and it works fine.

Giovanni


PS. working conf SMW 1.17 beta and   virtuoso-opensource-6.1

$smwgDefaultStore = 'SMWSparqlStore';
$smwgSparqlDatabase = 'SMWSparqlDatabase'; // for 4Store
$smwgSparqlQueryEndpoint = 'http://localhost:8890/sparql/';
$smwgSparqlUpdateEndpoint = 'http://localhost:8890/update/';
$smwgSparqlDataEndpoint = ''; // can be empty


..
[SPARQL]
;ExternalQuerySource        = 1
;ExternalXsltSource         = 1
;DefaultGraph              = http://localhost:8890/DAV
ResultSetMaxRows           = 10000
MaxQueryCostEstimationTime = 400    ; in seconds
MaxQueryExecutionTime      = 60    ; in seconds
DefaultQuery               = select distinct ?Concept where {[] a ?Concept}
DeferInferenceRulesInit    = 0    ; controls inference rules loading
..

On 2011-12-06 17:58, Markus Krötzsch wrote:
> Dear Giovanni,
>
> we are still trying to figure out why Virtuoso does not work with SMW 
> in various cases. It cannot be a difficult problem but some support on 
> the user side for testing would help to speed up diagnosis.
>
> As a first measure, I suggest you turn off $smwgSparqlDataEndpoint; 
> i.e., you leave the setting empty. This will use SPARQL update instead 
> of the SPARQL-over-HTTP protocol for writing. Maybe it works, maybe it 
> creates more helpful errors. Last time we tried, Virtuoso had trouble 
> with the SPARQL syntax for named graphs in Updates. If it still fails 
> to work, we could try and use the non-standard SPARUL-style syntax 
> with Virtuoso.
>
> Markus
>
>
> On 06/12/11 14:35, solab wrote:
>> Hi all,
>>
>> It was my intention to see how SMW perform on the 4store and on the
>> Virtuoso rdf store.
>>
>> Runing 4store was simple but i have some difficulties with virtuoso.
>>
>> I run the SMW_refreshData.php, after  virtuoso configuration,  but  no
>> errors are visible and no  data from the inline queries.
>>
>> Does somebody have a idea what i have to check or what could be wrong ?
>>
>> Thanks
>> Giovanni
>>
>> PS my conf
>>
>> ==sparql Local settings ==
>> $smwgDefaultStore = 'SMWSparqlStore';
>> $smwgSparqlDatabase = 'SMWSparqlDatabase';
>> $smwgSparqlQueryEndpoint = 'http://localhost:8890/sparql';
>> $smwgSparqlUpdateEndpoint = 'http://localhost:8890/update';
>> $smwgSparqlDataEndpoint = 'http://localhost:8890/dataspace'; // can 
>> be empty
>>
>>
>> ==sparql part my viruoso.ini==
>>
>> [SPARQL]
>> ExternalQuerySource             = 1
>> ExternalXsltSource              = 1
>> DefaultGraph                    = http://localhost:8890/dataspace
>> ImmutableGraphs                 = http://localhost:8890/dataspace
>> ResultSetMaxRows           = 10000
>> MaxQueryCostEstimationTime = 400        ; in seconds
>> MaxQueryExecutionTime      = 60 ; in seconds
>> DefaultQuery               = select distinct ?Concept where {[] a 
>> ?Concept}
>> DeferInferenceRulesInit    = 0  ; controls inference rules loading
>>
>>
>> ------------------------------------------------------------------------------
>>  
>>
>> Cloud Services Checklist: Pricing and Packaging Optimization
>> This white paper is intended to serve as a reference, checklist and 
>> point of
>> discussion for anyone considering optimizing the pricing and 
>> packaging model
>> of a cloud services business. Read Now!
>> http://www.accelacomm.com/jaw/sfnl/114/51491232/
>> _______________________________________________
>> Semediawiki-devel mailing list
>> Semediawiki-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>
>


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to