If the "visible to public" setting is off, then the data should only exist
in the users webdav correct?

The ACL and security work has my vote as the most important feature for
wider dataspace deployment. Thanks for looking into this issue of dropping
the data from the public graph after the setting is changed.  It would make
sense for admins to manage default app sharing settings for the entire site
under Site Settings -> Application Instances.

I've also found it difficult to manage the deletion of graphs associated
with the user when the account is deleted.  I have some orphaned dataspace
graphs for test users whose accounts were removed, and conductor refuses to
delete (as dba) in the RDF -> List of graphs.  Since I can't delete these
rebuilding the RDF data in ODS still includes all of this user data. Is this
the same issue you were looking at above?

Thanks,
Steve


On Tue, Mar 10, 2009 at 1:50 AM, Rumi Tsekova <rtsek...@openlinksw.com>wrote:

>  Hi Steve,
>
> Possible actions:
> rebuild your RDF data from ODS logged in as dba or dav, go to Site
> Settings->RDF Data->Rebuild RDF Data
> (in case of missing data, etc.)
>
> For the problem with the same results our developers are looking at it now.
> In general when you have public instance->the data from it goes to the
> graph. When you set the instance to not public->the data is removed from the
> graph.
>
> About setting shared information, this is currently in process of
> development of ACL, security of the rdf_quad, etc.
> For now all the data that goes into the graph, is public.
>
>
> Best Regards,
> Rumi
>
> ----- Original Message -----
>  *From:* Steve Judkins <steve.judk...@gmail.com>
>  *To:* Rumi Tsekova <rtsek...@openlinksw.com> ;
> us...@lists.sourceforge.net
> *Sent:* Monday, March 09, 2009 6:30 PM
> *Subject:* Re: [Virtuoso-users] Querying private dataspace data
>
> Thank you Rumi, your response was very helpful.   I seem to get the same
> results whether the Actions "visible to public" setting is on or off.  I
> turned it off for all applications and even restarted virtuoso for good
> measure.  Is this a bug?
>
> I would like to make this option false for applications by default so users
> don't share information without having to make an explicit decision. What is
> the best way to configure the server to make this change across all app
> instances?
>
>
> On Sat, Mar 7, 2009 at 10:20 AM, Rumi Tsekova <rtsek...@openlinksw.com>wrote:
>
>>  Hi Steve,
>>
>> You can try (no authentication required) this query to get all user demo
>> for ex. AddressBook contacts:
>> * Note that this will return data only for the user's AddressBook
>> instance(s) which is public.
>> (public is settable from Application Settings->Applications
>> Management->for the instance in question click Edit from the Actions column.
>> Finally set "   Visible to public". )
>>
>>
>> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
>> prefix sioc: <http://rdfs.org/sioc/ns#>
>> prefix sioct: <http://rdfs.org/sioc/types#>
>> prefix xsd: <http://www.w3.org/2001/XMLSchema#>
>> prefix vcd: <http://www.w3.org/2001/vcard-rdf/3.0#>
>> prefix dct: <http://purl.org/dc/elements/1.1/>
>> prefix dcc: <http://purl.org/dc/terms/>
>> select ?forum_name ?FN ?nick ?address ?title ?created ?link ?topic
>> from <http://demo.openlinksw.com/dataspace>
>> where
>>   {
>>     ?forum a sioct:AddressBook .
>>     ?forum sioc:id ?forum_name.
>>     ?forum sioc:scope_of ?role.
>>     ?role sioc:function_of <
>> http://demo.openlinksw.com/dataspace/demo#this> .
>>     ?forum sioc:container_of ?post.
>>     optional {?post vcd:FN ?FN }.
>>     optional {?post vcd:NICKNAME ?nick}.
>>     optional {?post vcd:ADR ?address}.
>>     optional {?post dct:title ?title}.
>>     optional {?post dcc:created ?created}.
>>     optional {?post sioc:link ?link }.
>>     optional {?post sioc:topic ?topic } .
>>
>>   }
>>
>>
>> If you want to use authentication with curl, then query from above will
>> look like:
>>
>> curl -i -d "query=your_query_here" -u "user:pwd" http://host:port/sparql
>>
>> i.e for user demo at demo server sparql endpoint it will look like:
>>
>> curl -i -d "query=%0Aprefix%20rdf%3A%20%3Chttp://
>> www.w3.org/1999/02/22-rdf-syntax-ns%23%3E%20%0Aprefix%20sioc%3A%20%3Chttp://rdfs.org/sioc/ns%23%3E%20%0Aprefix%20sioct%3A%20%3Chttp://rdfs.org/sioc/types%23%3E%20%0Aprefix%20xsd%3A%20%3Chttp://www.w3.org/2001/XMLSchema%23%3E%20%0Aprefix%20vcd%3A%20%3Chttp://www.w3.org/2001/vcard-rdf/3.0%23%3E%20%0Aprefix%20dct%3A%20%3Chttp://purl.org/dc/elements/1.1/
>> >%20%0Aprefix%20dcc%3A%20%3Chttp://purl.org/dc/terms/
>> >%20%0Aselect%20%0A?forum_name%20%0A?FN%20%0A?nick%20%0A?address%20%0A?title%20%0A?created%20%0A?link%20%0A?topic%20%0Afrom%20%0A%3Chttp://
>> demo.openlinksw.com/dataspace
>> >%20%0Awhere%20%0A%20%0A%7B%20%0A?forum%20%0Aa%20%0Asioct:AddressBook%20%0A.%20%0A?forum%20%0Asioc:id%20%0A?forum_name.%20%0A%20%0A?forum%20%0Asioc:scope_of%20%0A?role.%20%0A%20%0A%20%0A?role%20%0Asioc:function_of%20%0A%3Chttp://
>> demo.openlinksw.com/dataspace/demo#this>%20%0A.%20%0A%20%0A?forum%20%0Asioc:container_of%20%0A?post.%20%0A%20%0Aoptional%20%0A%7B?post%20%0Avcd:FN%20%0A?FN%20%0A%7D.%20%0Aoptional%20%0A%7B?post%20%0Avcd:NICKNAME%20%0A?nick%7D.%20%0Aoptional%20%0A%7B?post%20%0Avcd:ADR%20%0A?address%7D.%20%0Aoptional%20%0A%7B?post%20%0Adct:title%20%0A?title%7D.%20%0Aoptional%20%0A%7B?post%20%0Adcc:created%20%0A?created%7D.%20%0Aoptional%20%0A%7B?post%20%0Asioc:link%20%0A?link%20%0A%7D.%20%0A%20%0Aoptional%20%0A%7B?post%20%0Asioc:topic%20%0A?topic%20%0A%7D%20%0A.%20%0A%7D"
>> -u "demo:demo" http://demo.openlinksw.com/sparql
>>
>>
>> Hope this to help.
>>
>> Best Regards,
>> Rumi
>>
>>   ----- Original Message -----
>>  *From:* Steve Judkins <steve.judk...@gmail.com>
>> *To:* virtuoso-users@lists.sourceforge.net
>> *Sent:* Saturday, March 07, 2009 4:31 AM
>> *Subject:* [Virtuoso-users] Querying private dataspace data
>>
>> What is the proper way to query private data in a user's dataspace via the
>> sparql endpoint?  For example, how do I query my private addressbook data?
>> Perhaps someone can provide a curl example to clarify, because I have been
>> trying to use these examples for querying a dataspace:
>> http://virtuoso.openlinksw.com/wiki/main/Main/ODSSIOCRef
>>
>> These live queries against the demo account don't use authentication, and
>> the "Dump all AddressBook's contacts" example doesn't specify a specific
>> user.
>>
>> I guess I'm assuming there is a way to query all dataspace application
>> data with user credentials on the sparql endpoint.  If this is scenario
>> requiring OAuth let me know.  Thanks in advance.
>>
>>
>>
>>
>>
>>
>>  ------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>>
>> ------------------------------
>>
>> _______________________________________________
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>>
>>
>

Reply via email to