W3C home > Mailing lists > Public > public-annotea-dev@w3.org > January to March 2005

Annotation Query Help Algae

From: Behzad Kateli <bakateli@students.latrobe.edu.au>
Date: Tue, 1 Feb 2005 12:31:10 +1100
To: <public-annotea-dev@w3.org>
Message-Id: <200502011231463.SM01624@dragonfire>
Hello All,

 

I need help with using Algae scripts to query my annotation server. All I
want to do is to return all annotations with URI: http://www.google.com.au/
with creator bkateli@gmail.com. I have tried to use a number of methods of
getting the desired result but I have been unsuccessful: Example:



ns rdf=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ns a=<http://www.w3.org/2000/10/annotation-ns#>

ns t=<http://www.w3.org/2001/03/thread#>

ns http=<http://www.w3.org/1999/xx/http#>

ns d=<http://purl.org/dc/elements/1.1/>

ask (

       ?annotation rdf:type a:Annotation. 

       ?annotation a:annotates <http://www.google.com.au/>.

       ?annotation d:creator ?creator {?creator == "bkateli@gmail.com"}.

       ?annotation a:context ?context.

       ?annotation d:date ?date .

       ?annotation a:body ?body)

collect (?annotation ?context ?date ?body ?creator)

 

Does anyone know how to query using Algae???? All help is appreciated if you
want to test your solution please visit my annotation website
http://matchbox01.cs.latrobe.edu.au/quinkan/annotations 

 

Kind Regards 

Behzad Kateli  

 
Received on Tuesday, 1 February 2005 01:31:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:16 GMT