Thanks Daniel for the information. I tried the sample search query and it 
worked well. Scott can you please share your ideas to integrate these queries 
in Rave. Is there a JIRA task? 

We will try the new release after its out. 

Raminder

On Nov 28, 2012, at 9:03 AM, Daniel Dahrendorf wrote:

> Hi Viknes and Raminder,
> 
> sorry for the late answers, but unfortunately I was not on the list of 
> recipients of your mails.
> 
>> Thanks Daniel for the information. The sample SPARQL URL does not
>> return any data. Can you please share sample SPARQL queries? I will
>> play with those and try to build a service in Rave. As Scott said,
>> having support of OMDL will definitely help for integration with Rave.
> 
> I will try to translate your requested queries in SPARQL for our system:
> 
> 
> 
>> Searching:search?q=${SEARCHTERM}&start=${OFFSET}&resultsize=${LIMIT}
> 
> PREFIX dcterms : <http://purl.org/dc/terms/>
> PREFIX role: <http://purl.org/role/terms/>
> PREFIX foaf : <http://xmlns.com/foaf/0.1/> 
> 
> DESCRIBE ?widget ?userId WHERE {
> ?widget rdf:type "http://purl.org/role/terms/OpenSocialGadget";.
> ?widget dcterms:title ?title . 
> ?widget foaf:Maker ?userId.
> FILTER regex(?title, "{$SEARCHTERM}", "i").
> }
> LIMIT ${LIMIT}
> OFFSET ${OFFSET}
> 
> http://role-widgetstore.eu/simplerdf/sparql?query=PREFIX+dcterms+%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0APREFIX+role%3A+%3Chttp%3A%2F%2Fpurl.org%2Frole%2Fterms%2F%3E%0D%0APREFIX+foaf+%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E+%0D%0A%0D%0ADESCRIBE+%3Fwidget+%3FuserId+WHERE+%7B%0D%0A+%3Fwidget+rdf%3Atype+%22http%3A%2F%2Fpurl.org%2Frole%2Fterms%2FOpenSocialGadget%22.%0D%0A+%3Fwidget+dcterms%3Atitle+%3Ftitle+.+%0D%0A+%3Fwidget+foaf%3AMaker+%3FuserId.%0D%0A+FILTER+regex%28%3Ftitle%2C+%22trainer%22%2C+%22i%22%29.%0D%0A%7D%0D%0ALIMIT+10%0D%0AOFFSET+0&output=json&jsonp=&key=&show_inline=1
> 
> 
> 
>> Browse: tag/${CATEGORY}/widgets?start=${OFFSET}&resultsize=${LIMIT}
> 
> PREFIX dcterms : <http://purl.org/dc/terms/>
> PREFIX role : <http://purl.org/role/terms/>
> PREFIX foaf : <http://xmlns.com/foaf/0.1/>
> 
> DESCRIBE ?widget ?userId WHERE {
> ?widget rdf:type role:OpenSocialGadget.
> ?widget foaf:Maker ?userId.
> ?widget role:category ${CATEGORY}/
> }
> 
> LIMIT ${LIMIT}
> OFFSET ${OFFSET}
> 
> http://role-widgetstore.eu/simplerdf/sparql?query=PREFIX+dcterms+%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0APREFIX+role+%3A+%3Chttp%3A%2F%2Fpurl.org%2Frole%2Fterms%2F%3E%0D%0APREFIX+foaf+%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0A%0D%0ADESCRIBE+%3Fwidget+%3FuserId+WHERE+%7B%0D%0A+%3Fwidget+rdf%3Atype+role%3AOpenSocialGadget.%0D%0A+%3Fwidget+foaf%3AMaker+%3FuserId.%0D%0A+%3Fwidget+role%3Acategory+%3Chttp%3A%2F%2Fpurl.org%2Frole%2Finstances%2FToolCategory%23CreateAndModify%3E.%0D%0A%7D%0D%0A%0D%0ALIMIT+10%0D%0AOFFSET+0&output=json&jsonp=&key=&show_inline=1
> 
> 
> 
>> Detail:widgets/{ID}
> Here we are using the uri of the widget as id.
> 
> PREFIX dcterms : <http://purl.org/dc/terms/>
> PREFIX role : <http://purl.org/role/terms/>
> PREFIX foaf : <http://xmlns.com/foaf/0.1/>
> 
> DESCRIBE ?widget ?userId WHERE {
>  ?widget rdf:type role:OpenSocialGadget.
>  ?widget foaf:Maker ?userId.
>  FILTER (?widget = {ID})
> }
> 
> LIMIT 10
> OFFSET 0
> 
> http://role-widgetstore.eu/simplerdf/sparql?query=PREFIX+dcterms+%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0APREFIX+role+%3A+%3Chttp%3A%2F%2Fpurl.org%2Frole%2Fterms%2F%3E%0D%0APREFIX+foaf+%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0A%0D%0ADESCRIBE+%3Fwidget+%3FuserId+WHERE+%7B%0D%0A++%3Fwidget+rdf%3Atype+role%3AOpenSocialGadget.%0D%0A++%3Fwidget+foaf%3AMaker+%3FuserId.%0D%0A++FILTER+%28%3Fwidget+%3D+%3Chttp%3A%2F%2Frole-widgetstore.eu%2Ftool%2Fremote-lab-demo%3E%29.+%0D%0A%7D%0D%0A%0D%0ALIMIT+10%0D%0AOFFSET+0&output=json&jsonp=&key=&show_inline=1
> 
> 
> 
>> Tag list:tag/all
> 
> PREFIX role: <http://purl.org/role/terms/>
> SELECT DISTINCT ?category WHERE { 
> ?widget role:category ?category.
> }
> 
> http://role-widgetstore.eu/simplerdf/sparql?query=PREFIX+role%3A+%3Chttp%3A%2F%2Fpurl.org%2Frole%2Fterms%2F%3E%0D%0ASELECT+DISTINCT+%3Fcategory+WHERE+%7B+%0D%0A+%3Fwidget+role%3Acategory+%3Fcategory.%0D%0A%7D%0D%0A&output=json&jsonp=&key=&show_inline=1
> 
> 
> Hope these queries with fit your needs. Please let me know if you have 
> further questions regarding these queries.
> 
> 
>> I have attached the screenshots of the gadgets(both working and not
>> working). Can you please give us a timeline for the changes that would
>> be made to the ROLE Gadgets.
> 
> Regarding the timeline for changing our widgets to OpenSocial 0.9 we fixed 
> December 7 as our deadline. In a next version of the store it will be also 
> possible to query for the used OpenSocial version.
> 
> Best,
> Daniel
> 
> 
>> -----Ursprüngliche Nachricht-----
>> Von: Viknes B [mailto:[email protected]]
>> Gesendet: Mittwoch, 14. November 2012 20:11
>> An: [email protected]
>> Cc: 'Martin Wolpers'; 'Scott Wilson'; Nils Faltin; 'Dominik Renzel';
>> Diana Dikke
>> Betreff: RE: AW: ROLE Widget Store gadgets in Rave
>> 
>> Hi Daniel And Nils,
>> 
>> I have attached the screenshots of the gadgets(both working and not
>> working). Can you please give us a timeline for the changes that would
>> be made to the ROLE Gadgets.
>> 
>> Thanks
>> Viknes
>> 
>> -----Original Message-----
>> From: Raminderjeet Singh [mailto:[email protected]]
>> Sent: Wednesday, October 24, 2012 9:32 AM
>> To: [email protected]
>> Cc: Martin Wolpers; Scott Wilson; Nils Faltin; Dominik Renzel; Diana
>> Dikke
>> Subject: Re: AW: ROLE Widget Store gadgets in Rave
>> 
>> Thanks Daniel for the information. The sample SPARQL URL does not
>> return any data. Can you please share sample SPARQL queries? I will
>> play with those and try to build a service in Rave. As Scott said,
>> having support of OMDL will definitely help for integration with Rave.
>> 
>> Raminder
>> 
>> On Oct 24, 2012, at 6:17 AM, Daniel Dahrendorf wrote:
>> 
>>> Dear Raminder and Viknes,
>>> 
>>> thank you for evaluating the widgets form the ROLE Store. I need to
>>> talk
>> to the gadget developers and will discuss the required changes at our
>> next developer meeting.
>>> 
>>> For accessing the data of the widgetstore we set up a SPARQL
>> endpoint.
>>> It
>> is available under the following URL:
>>> http://role-widgetstore.eu/simplerdf/sparql
>>> 
>>> The following query lists most of the information in JSON:
>>> http://role-
>> widgetstore.eu/simplerdf/sparql?query=PREFIX+dcterms+%3A+%
>>> 
>> 3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0APREFIX+role%3A+%3Chttp
>>> 
>> %3A%2F%2Fpurl.org%2Frole%2Fterms%2F%3E%0D%0ASELECT+%3Ftitle+%3Fdescrip
>>> 
>> tion+%3Fsource+%3Ftype+%3Fcategory+%3Ffunctionality+WHERE+%7B%0D%0A+%3
>>> 
>> Fwidget+rdf%3Atype+%22http%3A%2F%2Fpurl.org%2Frole%2Fterms%2FOpenSocia
>>> 
>> lGadget%22.%0D%0A+%3Fwidget+rdf%3Atype+%3Ftype.%0D%0A+%3Fwidget+dcterm
>>> 
>> s%3Atitle+%3Ftitle.%0D%0A+%3Fwidget+dcterms%3Adescription+%3Fdescripti
>>> 
>> on.%0D%0A+%3Fwidget+dcterms%3Asource+%3Fsource.+%0D%0A+%3Fwidget+role%
>>> 
>> 3Acategory+%3Fcategory.%0D%0A+%3Fwidget+role%3Afunctionality+%3Ffuncti
>>> onality.%0D%0A%7D%0D%0ALIMIT+10&output=json&jsonp=&key=&show_inline=1
>>> 
>>> The required information should be retrievable by using our endpoint.
>>> 
>>> Please let us know if you have any questions or need further data.
>>> 
>>> Best,
>>> Daniel
>>> 
>>> 
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Martin Wolpers [mailto:[email protected]]
>>>> Gesendet: Mittwoch, 24. Oktober 2012 10:17
>>>> An: Scott Wilson; Daniel Dahrendorf; Nils Faltin
>>>> Cc: [email protected]; Dominik Renzel
>>>> Betreff: Re: ROLE Widget Store gadgets in Rave
>>>> 
>>>> Dear Daniel, Nils, Scott and Raminder,
>>>> 
>>>> I forward your questions to Daniel and Nils who are coordinating the
>>>> development of the widget store. I trust that they will respond
>>>> quickly, as I anticipate a clear interesting in cooperation with
>>>> other stores.
>>>> 
>>>> Best,
>>>> Martin
>>>> 
>>>> Am 23.10.2012 16:50, schrieb Scott Wilson:
>>>>> 
>>>>> On 23 Oct 2012, at 15:32, Raminderjeet Singh wrote:
>>>>> 
>>>>>> Hi Dominik & Martin,
>>>>>> 
>>>>>> We evaluated lot of gadgets hosted on ROLE to use them in Rave.
>>>>>> Idea is to make ROLE widget store available for Rave users. During
>>>>>> the exercise we found lot of Role gadgets have open-social version
>>>>>> 0.7
>>>> or
>>>>>> 0.8. These versions do not work with Shindig 2.5, it needs
>>>> opensocial
>>>>>> version 0.9+. Please take a look at excel sheet attached to
>>>>>> http://grids.ucs.indiana.edu:9090/browse/RSG-10 JIRA task. Version
>>>>>> problem can be solved by updating the open-social version in
>> gadget
>>>>>> xml(attached the zip file to JIRA). Some of the gadget hosted use
>>>>>> openapp module which is not available in shindig.  Any idea about
>>>> this?
>>>>>> 
>>>>>> To integrate ROLE widget store with Rave widget store, Are there
>>>>>> any API's we can work with?
>>>>> 
>>>>> Can the ROLE widget store provide the same JSON APIs as Edukapp?
>>>>> 
>>>>> The APIs needed are
>>>>> 
>>>>> 
>> Searching:search?q=${SEARCHTERM}&start=${OFFSET}&resultsize=${LIMIT}
>>>>> Browse: tag/${CATEGORY}/widgets?start=${OFFSET}&resultsize=${LIMIT}
>>>>> Detail:widgets/{ID}
>>>>> Tag list:tag/all
>>>>> 
>>>>> E.g.,
>>>>> 
>>>>> api/search?q=youtube
>>>>> 
>>>>> 
>>>> 
>> {"number_of_results":1,"SearchResults":[{"id":110,"name":"YouTube","i
>>>> c
>>>>> 
>>>> 
>> on":"http://localhost:8080/wookie/wservices/wookie.apache.org/widgets
>>>> /
>>>>> youtube/icon.png","featured":0,"created":"2012-07-
>>>> 16T23:00:00.000+0000
>>>>> ","updated":"2012-07-16T23:00:00.000+0000","license":"Licensed
>>>>> info","author":"Apache Wookie (Incubating)
>>>>> Team","tags":[],"activities":[],"description":"Find and play
>> YouTube
>>>>> videos","type":"W3C
>>>>> 
>>>> 
>> Widget","downloadUrl":"http://localhost:8080/wookie/widgets/http://wo
>>>> o
>>>>> 
>>>> 
>> kie.apache.org/widgets/youtube?format=application/widget","uri":"http:
>>>>> //wookie.apache.org/widgets/youtube"}]}
>>>>> 
>>>>> 
>>>>> 
>>>>>> 
>>>>>> Thanks
>>>>>> Raminder & Viknes
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> Prof. Dr. Martin Wolpers
>>>> Fraunhofer-Institut für Angewandte Informationstechnik FIT Schloss
>>>> Birlinghoven
>>>> 53754 Sankt Augustin, Germany
>>>> 
>>>> email: [email protected]
>>>> Tel: +49 2241 14 2128
>>>> Fax: +49 2241 14 2146
> 

Reply via email to