@prefix rdf: . @prefix schema: . rdf:type schema:EntryPoint . @prefix pwdr: . @prefix ns3: . pwdr:describedby ns3:ods_calendar , ; schema:name "EntryPoint - calendar_annotation_claim" ; schema:contentType "text/xml" ; schema:description "

An annotation claim is a triple which makes a statement over the annotation.

FIXME: why do we only have a claim method for annotations and not one for any resource?

  • \n\nannotation_id\n\n\n

    The id of the annotation as returned by annotation.new().

    \n
  • \n
  • \n\nclaimIri\n\n\n

    The IRI of the annotation. FIXME: this seems redundant seeing that we also put in the id

    \n
  • \n
  • \n\nclaimRelation\n\n\n

    The property to be stored.

    \n
  • \n
  • \n\nclaimValue\n\n\n

    The value of the property.

    \n
  • \n\n

    An error code stating the success of the command execution as detailed in ODS Error Result Codes.

    \nExample:
    \n $ curl -i \"http://ods-qa.openlinksw.com/ods/api/calendar.annotation.claim?annotation_id=2&claimIri=http://mytest.com&claimRelation=test&claimValue=demo&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\"\n\n HTTP/1.1 200 OK\n Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64  VDB\n Connection: Keep-Alive\n Date: Fri, 20 May 2011 07:00:18 GMT\n Accept-Ranges: bytes\n Content-Type: text/xml; charset=\"UTF-8\"\n Content-Length: 57\n\n <result>\n   <code>1</code>\n   <message>Success</message>\n </result>\n 

    " , "

    An annotation claim is a triple which makes a statement over the annotation.

    FIXME: why do we only have a claim method for annotations and not one for any resource?

  • \n\nannotation_id\n\n\n

    The id of the annotation as returned by annotation.new().

    \n
  • \n
  • \n\nclaimIri\n\n\n

    The IRI of the annotation. FIXME: this seems redundant seeing that we also put in the id

    \n
  • \n
  • \n\nclaimRelation\n\n\n

    The property to be stored.

    \n
  • \n
  • \n\nclaimValue\n\n\n

    The value of the property.

    \n
  • \n\n

    An error code stating the success of the command execution as detailed in ODS Error Result Codes.

    \nExample:
    $ curl -i \"http://ods-qa.openlinksw.com/ods/api/calendar.annotation.claim?annotation_id=2&claimIri=http://mytest.com&claimRelation=test&claimValue=demo&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\"\n\nHTTP/1.1 200 OK\nServer: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64  VDB\nConnection: Keep-Alive\nDate: Fri, 20 May 2011 07:00:18 GMT\nAccept-Ranges: bytes\nContent-Type: text/xml; charset=\"UTF-8\"\nContent-Length: 57\n\n<result>\n  <code>1</code>\n  <message>Success</message>\n</result>\n

    " , "

    An annotation claim is a triple which makes a statement over the annotation.

    \n

    FIXME: why do we only have a claim method for annotations and not one for any resource?

    \n

  • \n\nannotation_id\n\n\n

    The id of the annotation as returned by annotation.new().

    \n
    \n
  • \n
  • \n\nclaimIri\n\n\n

    The IRI of the annotation. FIXME: this seems redundant seeing that we also put in the id

    \n
    \n
  • \n
  • \n\nclaimRelation\n\n\n

    The property to be stored.

    \n
    \n
  • \n
  • \n\nclaimValue\n\n\n

    The value of the property.

    \n
    \n
  • \n\n

    An error code stating the success of the command execution as detailed in ODS Error Result Codes.

    \n
    \nExample:
    $ curl -i \"http://ods-qa.openlinksw.com/ods/api/calendar.annotation.claim?annotation_id=2&claimIri=http://mytest.com&claimRelation=test&claimValue=demo&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh\"\n\nHTTP/1.1 200 OK\nServer: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64  VDB\nConnection: Keep-Alive\nDate: Fri, 20 May 2011 07:00:18 GMT\nAccept-Ranges: bytes\nContent-Type: text/xml; charset=\"UTF-8\"\nContent-Length: 57\n\n<result>\n  <code>1</code>\n  <message>Success</message>\n</result>\n

    " ; schema:httpMethod "GET" ; schema:shortDescription "

    Create an annotation claim.

    " . @prefix oplwebservices: . @prefix ns5: . oplwebservices:isWebServiceOf ns5:this_ODSCalendarModuleAPI ; schema:url , ; oplwebservices:endPointURL , . @prefix ns6: . oplwebservices:hasParameter ns6:_claimIri , ns6:_claimRelation , ns6:_claimValue , ns6:_annotation_id .