Re: Adding an app to a profile

On 11/28/12 1:22 PM, ☮ elf Pavlik ☮ wrote:
> Excerpts from Kingsley Idehen's message of 2012-11-28 18:13:19 +0000:
>> On 11/28/12 12:36 PM, Melvin Carvalho wrote:
>>>
>>> On 28 November 2012 18:32, Nathan <nathan@webr3.org
>>> <mailto:nathan@webr3.org>> wrote:
>>>
>>>      Melvin Carvalho wrote:
>>>
>>>          Part of the RWW is a clean separation between apps, data and
>>>          identiry.
>>>
>>>          I was wondering if there's a convenient single predicate to
>>>          add a webapp to
>>>          a profile page.
>>>
>>>          Currently I use foaf : interest which isnt really accurate.
>>>
>>>          We were thinking about creating
>>>
>>>          plink : webapp
>>>
>>>          As per http://ontologi.es/
>>>
>>>          Any thoughts on this?
>>>
>>>          I think it would be awesome when we can finally start adding
>>>          apps to our
>>>          pages.
>>>
>>>
>>>      Somehow I don't follow lol, why would we link from our foaf to an
>>>      app? and in what capacity?
>>>
>>>      - saying "I created/contribute to this app"
>>>      - saying "this is my account on website/app x" (eg this is my twitter)
>>>      - something else?
>>>
>>>      (generally I'd thought we'd link to our data, and then different
>>>      apps of a users preference would consume/display that data)
>>>
>>>      Apologies for the confusing, I think I'm just missing a little
>>>      context somwhere :D
>>>
>>>
>>> It's similar to when you add an app to facebook or google plus.  Then
>>> you get a link in your sidebar of your profile to say, your calendar,
>>> tasks, etc.
>>>
>>> Also then other people can see what apps you use
>>>
>>>
>>>      Nath
>>>
>>>
>> Yes, so you have "use" as the verb in the sentence: I use X . Thus, you
>> can just start with a Turtle file that states:
>>
>> # start
>>
>> <#i> <#use> <SomeApp>.
>>
>> #if you find a preferred predicate from a shared vocabulary or ontology,
>> you can just add:
>> <#use> rdfs:subPropertyOf <NewlyDiscoveredPredictateURI> .
>>
>> # OR
>>
>> <#use> owl:equivalentProperty <NewlyDiscoveredPredictateURI> .
>>
>> # end
>>
>> It just depends on what you are trying to say, don't be distracted by
>> the search for a perfect predicate from a shared vocabulary etc..
> thanks for this tip!
>
> how does it work later on when i start writing queries?
>
>
>
Depends on your DBMS or Data Store. If using Virtuoso the FROM CLAUSE 
will invoke an HTTP GET, the kind that also leverages HTTP's in-built 
cache invalidation functionality.

select distinct * from <RDFDocumentURL> where {?s ?p ?o}

or

describe ?s from <RDFDocumentURL> where {?s ?p ?o}

etc..

And if for whatever reasons you don't get anything or what you get is 
stale, just add the following pragma before the query:

define get:soft "replace"

This forces an HTTP GET and ignores cache invalidation modality of the 
instance.

-- 

Regards,

Kingsley Idehen 
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen

Received on Wednesday, 28 November 2012 19:34:00 UTC